Mercurial > emacs
annotate etc/NEWS @ 45636:58de4f15ebf6
(Spelling): Document ispell-complete-word-dict.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Tue, 04 Jun 2002 16:32:55 +0000 |
parents | 8f47aa4a587a |
children | 77cb605109fc |
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 |
44724 | 15 * Installation Changes in Emacs 21.4 |
41099
eab977ad2163
Mention installation options --program-prefix, --program-suffix
Pavel Janík <Pavel@Janik.cz>
parents:
41091
diff
changeset
|
16 |
44431
dbbff2e791e6
Emacs can be built without sound.
Pavel Janík <Pavel@Janik.cz>
parents:
44418
diff
changeset
|
17 ** Emacs can now be built without sound support. |
dbbff2e791e6
Emacs can be built without sound.
Pavel Janík <Pavel@Janik.cz>
parents:
44418
diff
changeset
|
18 |
41099
eab977ad2163
Mention installation options --program-prefix, --program-suffix
Pavel Janík <Pavel@Janik.cz>
parents:
41091
diff
changeset
|
19 ** 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
|
20 `--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
|
21 installed programs. |
eab977ad2163
Mention installation options --program-prefix, --program-suffix
Pavel Janík <Pavel@Janik.cz>
parents:
41091
diff
changeset
|
22 |
44822
0ecfbafcac13
*** empty log message ***
Colin Walters <walters@gnu.org>
parents:
44724
diff
changeset
|
23 ** By default, Emacs now uses a setgid helper program to update game |
44857
59ced914827b
*** empty log message ***
Colin Walters <walters@gnu.org>
parents:
44843
diff
changeset
|
24 scores. The directory ${localstatedir}/games/emacs is the normal |
59ced914827b
*** empty log message ***
Colin Walters <walters@gnu.org>
parents:
44843
diff
changeset
|
25 place for game scores to be stored. This may be controlled by the |
59ced914827b
*** empty log message ***
Colin Walters <walters@gnu.org>
parents:
44843
diff
changeset
|
26 configure option `--with-game-dir'. The specific user that Emacs uses |
59ced914827b
*** empty log message ***
Colin Walters <walters@gnu.org>
parents:
44843
diff
changeset
|
27 to own the game scores is controlled by `--with-game-user'. If access |
44996
dbde822f9021
*** empty log message ***
Colin Walters <walters@gnu.org>
parents:
44972
diff
changeset
|
28 to a game user is not available, then scores will be stored separately |
dbde822f9021
*** empty log message ***
Colin Walters <walters@gnu.org>
parents:
44972
diff
changeset
|
29 in each user's home directory. |
44822
0ecfbafcac13
*** empty log message ***
Colin Walters <walters@gnu.org>
parents:
44724
diff
changeset
|
30 |
42216
8fc2782f2f8d
Document the inclusion of Leim in the standard tarball.
Eli Zaretskii <eliz@gnu.org>
parents:
42197
diff
changeset
|
31 --- |
8fc2782f2f8d
Document the inclusion of Leim in the standard tarball.
Eli Zaretskii <eliz@gnu.org>
parents:
42197
diff
changeset
|
32 ** 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
|
33 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
|
34 Emacs with Leim. |
8fc2782f2f8d
Document the inclusion of Leim in the standard tarball.
Eli Zaretskii <eliz@gnu.org>
parents:
42197
diff
changeset
|
35 |
42990
94da0e3159a2
Mention support for BSD/OS 5.0.
Eli Zaretskii <eliz@gnu.org>
parents:
42984
diff
changeset
|
36 --- |
43925
c770b7554015
Document support for AIX 5.1.
Eli Zaretskii <eliz@gnu.org>
parents:
43875
diff
changeset
|
37 ** Support for AIX 5.1 was added. |
c770b7554015
Document support for AIX 5.1.
Eli Zaretskii <eliz@gnu.org>
parents:
43875
diff
changeset
|
38 |
c770b7554015
Document support for AIX 5.1.
Eli Zaretskii <eliz@gnu.org>
parents:
43875
diff
changeset
|
39 --- |
41675 | 40 ** Support for FreeBSD/Alpha has been added. |
41 | |
42990
94da0e3159a2
Mention support for BSD/OS 5.0.
Eli Zaretskii <eliz@gnu.org>
parents:
42984
diff
changeset
|
42 --- |
94da0e3159a2
Mention support for BSD/OS 5.0.
Eli Zaretskii <eliz@gnu.org>
parents:
42984
diff
changeset
|
43 ** 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
|
44 |
44898
457be7d90d62
Document the MacOS X support.
Eli Zaretskii <eliz@gnu.org>
parents:
44876
diff
changeset
|
45 --- |
45195
8572b81e3c30
Document support for s390-linux-gnu.
Eli Zaretskii <eliz@gnu.org>
parents:
45119
diff
changeset
|
46 ** Support for GNU/Linux systems on S390 machines was added. |
8572b81e3c30
Document support for s390-linux-gnu.
Eli Zaretskii <eliz@gnu.org>
parents:
45119
diff
changeset
|
47 |
8572b81e3c30
Document support for s390-linux-gnu.
Eli Zaretskii <eliz@gnu.org>
parents:
45119
diff
changeset
|
48 --- |
44898
457be7d90d62
Document the MacOS X support.
Eli Zaretskii <eliz@gnu.org>
parents:
44876
diff
changeset
|
49 ** Support for MacOS X was added. |
457be7d90d62
Document the MacOS X support.
Eli Zaretskii <eliz@gnu.org>
parents:
44876
diff
changeset
|
50 See the files mac/README and mac/INSTALL for build instructions. |
457be7d90d62
Document the MacOS X support.
Eli Zaretskii <eliz@gnu.org>
parents:
44876
diff
changeset
|
51 |
41099
eab977ad2163
Mention installation options --program-prefix, --program-suffix
Pavel Janík <Pavel@Janik.cz>
parents:
41091
diff
changeset
|
52 |
44724 | 53 * Changes in Emacs 21.4 |
41229
70059cb88be4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41099
diff
changeset
|
54 |
45495 | 55 ** The appearance of the fringes can now be customized, using either |
56 the global command M-x fringe-mode, the frame specific command M-x | |
57 set-fringe-style, the Show/Hide submenu of the top-level Options menu, | |
58 or customizing the `fringe-mode' variable. | |
59 | |
45426
784a17ff4998
Move remarks on `mail-default-directory' down to section
Markus Rost <rost@math.uni-bielefeld.de>
parents:
45425
diff
changeset
|
60 ** There is a new user option `mail-default-directory' that allows you |
784a17ff4998
Move remarks on `mail-default-directory' down to section
Markus Rost <rost@math.uni-bielefeld.de>
parents:
45425
diff
changeset
|
61 to specify the value of `default-directory' for mail buffers. This |
784a17ff4998
Move remarks on `mail-default-directory' down to section
Markus Rost <rost@math.uni-bielefeld.de>
parents:
45425
diff
changeset
|
62 directory is used for auto-save files of mail buffers. It defaults to |
784a17ff4998
Move remarks on `mail-default-directory' down to section
Markus Rost <rost@math.uni-bielefeld.de>
parents:
45425
diff
changeset
|
63 "~/". |
784a17ff4998
Move remarks on `mail-default-directory' down to section
Markus Rost <rost@math.uni-bielefeld.de>
parents:
45425
diff
changeset
|
64 |
44876 | 65 --- |
45336
a6bd3dde3bfd
Document that ps-print can print Unicode characters.
Eli Zaretskii <eliz@gnu.org>
parents:
45302
diff
changeset
|
66 ** ps-print can now print Unicode characters. |
a6bd3dde3bfd
Document that ps-print can print Unicode characters.
Eli Zaretskii <eliz@gnu.org>
parents:
45302
diff
changeset
|
67 |
a6bd3dde3bfd
Document that ps-print can print Unicode characters.
Eli Zaretskii <eliz@gnu.org>
parents:
45302
diff
changeset
|
68 Printing text with characters from the mule-unicode-* sets works with |
a6bd3dde3bfd
Document that ps-print can print Unicode characters.
Eli Zaretskii <eliz@gnu.org>
parents:
45302
diff
changeset
|
69 ps-print, provided that you have installed the appropriate BDF fonts. |
a6bd3dde3bfd
Document that ps-print can print Unicode characters.
Eli Zaretskii <eliz@gnu.org>
parents:
45302
diff
changeset
|
70 See the file INSTALL for URLs where you can find these fonts. |
a6bd3dde3bfd
Document that ps-print can print Unicode characters.
Eli Zaretskii <eliz@gnu.org>
parents:
45302
diff
changeset
|
71 |
a6bd3dde3bfd
Document that ps-print can print Unicode characters.
Eli Zaretskii <eliz@gnu.org>
parents:
45302
diff
changeset
|
72 --- |
44876 | 73 ** The new options `buffers-menu-show-directories' and |
74 `buffers-menu-show-status' let you control how buffers are displayed | |
75 in the menu dropped down when you click "Buffers" from the menu bar. | |
76 | |
77 `buffers-menu-show-directories' controls whether the menu displays | |
78 leading directories as part of the file name visited by the buffer. | |
79 If its value is `unless-uniquify', the default, directories will be | |
80 shown unless uniquify-buffer-name-style' is non-nil. The value of nil | |
81 and t turn the display of directories off and on, respectively. | |
82 | |
83 `buffers-menu-show-status' controls whether the Buffers menu includes | |
84 the modified and read-only status of the buffers. By default it is | |
85 t, and the status is shown. | |
86 | |
87 Setting these variables directly does not take effect until next time | |
88 the Buffers menu is regenerated. | |
89 | |
90 +++ | |
91 ** `C-u C-x =' now displays text properties of the character at point. | |
92 | |
44843
4872781b98d4
Customize-face suggesting to customize face under point.
Gerd Moellmann <gerd@gnu.org>
parents:
44827
diff
changeset
|
93 ** The commands M-x customize-face and M-x customize-face-other-window |
4872781b98d4
Customize-face suggesting to customize face under point.
Gerd Moellmann <gerd@gnu.org>
parents:
44827
diff
changeset
|
94 now look at the text at point. If that text has a face specified, |
4872781b98d4
Customize-face suggesting to customize face under point.
Gerd Moellmann <gerd@gnu.org>
parents:
44827
diff
changeset
|
95 the commands suggest to customize that face. |
4872781b98d4
Customize-face suggesting to customize face under point.
Gerd Moellmann <gerd@gnu.org>
parents:
44827
diff
changeset
|
96 |
44018
9ebe6b2c13f3
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
43973
diff
changeset
|
97 ** Limited support for charset unification has been added. |
9ebe6b2c13f3
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
43973
diff
changeset
|
98 By default, Emacs now knows how to translate latin-N chars between their |
9ebe6b2c13f3
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
43973
diff
changeset
|
99 charset and some other latin-N charset or unicode. You can force a |
9ebe6b2c13f3
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
43973
diff
changeset
|
100 more complete unification by calling (unify-8859-on-decoding-mode 1). |
9ebe6b2c13f3
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
43973
diff
changeset
|
101 |
45022
4359b383982c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44996
diff
changeset
|
102 --- |
43947
348e264952d1
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
43932
diff
changeset
|
103 ** The scrollbar under Motif has a smoother drag-scrolling. |
348e264952d1
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
43932
diff
changeset
|
104 On the other hand, the size of the thumb does not represent the actual |
348e264952d1
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
43932
diff
changeset
|
105 amount of text shown any more (only a crude approximation of it). |
348e264952d1
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
43932
diff
changeset
|
106 |
44694
04976f1e1ec2
Document the addition of `hbar'.
Eli Zaretskii <eliz@gnu.org>
parents:
44680
diff
changeset
|
107 +++ |
04976f1e1ec2
Document the addition of `hbar'.
Eli Zaretskii <eliz@gnu.org>
parents:
44680
diff
changeset
|
108 ** Emacs can produce an underscore-like (horizontal bar) cursor. |
04976f1e1ec2
Document the addition of `hbar'.
Eli Zaretskii <eliz@gnu.org>
parents:
44680
diff
changeset
|
109 The underscore cursor is set by putting `(cursor-type . hbar)' in |
04976f1e1ec2
Document the addition of `hbar'.
Eli Zaretskii <eliz@gnu.org>
parents:
44680
diff
changeset
|
110 default-frame-alist. It supports variable heights, like the `bar' |
04976f1e1ec2
Document the addition of `hbar'.
Eli Zaretskii <eliz@gnu.org>
parents:
44680
diff
changeset
|
111 cursor does. |
04976f1e1ec2
Document the addition of `hbar'.
Eli Zaretskii <eliz@gnu.org>
parents:
44680
diff
changeset
|
112 |
44934
ae16f63fe28f
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44898
diff
changeset
|
113 ** Filesets are collections of files. You can define a fileset in |
ae16f63fe28f
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44898
diff
changeset
|
114 various ways, such as based on a directory tree or based on |
ae16f63fe28f
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44898
diff
changeset
|
115 program files that include other program files. |
ae16f63fe28f
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44898
diff
changeset
|
116 |
ae16f63fe28f
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44898
diff
changeset
|
117 Once you have defined a fileset, you can perform various operations on |
ae16f63fe28f
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44898
diff
changeset
|
118 all the files in it, such as visiting them or searching and replacing |
ae16f63fe28f
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44898
diff
changeset
|
119 in them. |
ae16f63fe28f
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44898
diff
changeset
|
120 |
43931 | 121 --- |
122 ** PO translation files are decoded according to their MIME headers | |
123 when Emacs visits them. | |
124 | |
45022
4359b383982c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44996
diff
changeset
|
125 --- |
43772
c8b075cfe7eb
Document enhancements to `mpuz.el'.
Eli Zaretskii <eliz@gnu.org>
parents:
43754
diff
changeset
|
126 ** The game `mpuz' is enhanced. |
c8b075cfe7eb
Document enhancements to `mpuz.el'.
Eli Zaretskii <eliz@gnu.org>
parents:
43754
diff
changeset
|
127 |
c8b075cfe7eb
Document enhancements to `mpuz.el'.
Eli Zaretskii <eliz@gnu.org>
parents:
43754
diff
changeset
|
128 `mpuz' now allows the 2nd factor not to have two identical digits. By |
c8b075cfe7eb
Document enhancements to `mpuz.el'.
Eli Zaretskii <eliz@gnu.org>
parents:
43754
diff
changeset
|
129 default, all trivial operations involving whole lines are performed |
c8b075cfe7eb
Document enhancements to `mpuz.el'.
Eli Zaretskii <eliz@gnu.org>
parents:
43754
diff
changeset
|
130 automatically. The game uses faces for better visual feedback. |
c8b075cfe7eb
Document enhancements to `mpuz.el'.
Eli Zaretskii <eliz@gnu.org>
parents:
43754
diff
changeset
|
131 |
43626 | 132 ** On X and MS Windows, the blinking cursor's "off" state is now shown |
133 as a hollow box or a thin bar. | |
134 | |
43563
1440b9054cb4
Document the changes with compound-text and compound-text-with-extensions.
Eli Zaretskii <eliz@gnu.org>
parents:
43503
diff
changeset
|
135 +++ |
43459
d242c8e8b2a0
Document the support for ICCCM Extended Segments.
Eli Zaretskii <eliz@gnu.org>
parents:
43433
diff
changeset
|
136 ** Emacs now supports ICCCM Extended Segments in X selections. |
d242c8e8b2a0
Document the support for ICCCM Extended Segments.
Eli Zaretskii <eliz@gnu.org>
parents:
43433
diff
changeset
|
137 |
d242c8e8b2a0
Document the support for ICCCM Extended Segments.
Eli Zaretskii <eliz@gnu.org>
parents:
43433
diff
changeset
|
138 Some versions of X, notably XFree86, use Extended Segments to encode |
d242c8e8b2a0
Document the support for ICCCM Extended Segments.
Eli Zaretskii <eliz@gnu.org>
parents:
43433
diff
changeset
|
139 in X selections characters that belong to character sets which are not |
d242c8e8b2a0
Document the support for ICCCM Extended Segments.
Eli Zaretskii <eliz@gnu.org>
parents:
43433
diff
changeset
|
140 part of the list of standard charsets supported by the ICCCM spec. |
d242c8e8b2a0
Document the support for ICCCM Extended Segments.
Eli Zaretskii <eliz@gnu.org>
parents:
43433
diff
changeset
|
141 Examples of such non-standard character sets include ISO 8859-14, ISO |
43563
1440b9054cb4
Document the changes with compound-text and compound-text-with-extensions.
Eli Zaretskii <eliz@gnu.org>
parents:
43503
diff
changeset
|
142 8859-15, KOI8-R, and BIG5. The new coding system |
1440b9054cb4
Document the changes with compound-text and compound-text-with-extensions.
Eli Zaretskii <eliz@gnu.org>
parents:
43503
diff
changeset
|
143 `compound-text-with-extensions' supports these extensions, and is now |
1440b9054cb4
Document the changes with compound-text and compound-text-with-extensions.
Eli Zaretskii <eliz@gnu.org>
parents:
43503
diff
changeset
|
144 used by default for encoding and decoding X selections. If you don't |
1440b9054cb4
Document the changes with compound-text and compound-text-with-extensions.
Eli Zaretskii <eliz@gnu.org>
parents:
43503
diff
changeset
|
145 want this support, set `selection-coding-system' to `compound-text'. |
43459
d242c8e8b2a0
Document the support for ICCCM Extended Segments.
Eli Zaretskii <eliz@gnu.org>
parents:
43433
diff
changeset
|
146 |
43356
ba0eac6c2e94
Mark the new hscroll-related variables as documented in the manual.
Eli Zaretskii <eliz@gnu.org>
parents:
43353
diff
changeset
|
147 +++ |
ba0eac6c2e94
Mark the new hscroll-related variables as documented in the manual.
Eli Zaretskii <eliz@gnu.org>
parents:
43353
diff
changeset
|
148 ** The parameters of automatic hscrolling can now be customized. |
43666
a84483ed5134
Rename the variables related to automatic horizontal scrolling.
Eli Zaretskii <eliz@gnu.org>
parents:
43626
diff
changeset
|
149 The variable `hscroll-margin' determines how many columns away from |
a84483ed5134
Rename the variables related to automatic horizontal scrolling.
Eli Zaretskii <eliz@gnu.org>
parents:
43626
diff
changeset
|
150 the window edge point is allowed to get before automatic hscrolling |
a84483ed5134
Rename the variables related to automatic horizontal scrolling.
Eli Zaretskii <eliz@gnu.org>
parents:
43626
diff
changeset
|
151 will horizontally scroll the window. The default value is 5. |
a84483ed5134
Rename the variables related to automatic horizontal scrolling.
Eli Zaretskii <eliz@gnu.org>
parents:
43626
diff
changeset
|
152 |
a84483ed5134
Rename the variables related to automatic horizontal scrolling.
Eli Zaretskii <eliz@gnu.org>
parents:
43626
diff
changeset
|
153 The variable `hscroll-step' determines how many columns automatic |
a84483ed5134
Rename the variables related to automatic horizontal scrolling.
Eli Zaretskii <eliz@gnu.org>
parents:
43626
diff
changeset
|
154 hscrolling will scroll the window when point gets too close to the |
a84483ed5134
Rename the variables related to automatic horizontal scrolling.
Eli Zaretskii <eliz@gnu.org>
parents:
43626
diff
changeset
|
155 window edge. If its value is zero, the default, Emacs scrolls the |
a84483ed5134
Rename the variables related to automatic horizontal scrolling.
Eli Zaretskii <eliz@gnu.org>
parents:
43626
diff
changeset
|
156 window so as to center point. If its value is an integer, it says how |
a84483ed5134
Rename the variables related to automatic horizontal scrolling.
Eli Zaretskii <eliz@gnu.org>
parents:
43626
diff
changeset
|
157 many columns to scroll. If the value is a floating-point number, it |
a84483ed5134
Rename the variables related to automatic horizontal scrolling.
Eli Zaretskii <eliz@gnu.org>
parents:
43626
diff
changeset
|
158 gives the fraction of the window's width to scroll the window. |
a84483ed5134
Rename the variables related to automatic horizontal scrolling.
Eli Zaretskii <eliz@gnu.org>
parents:
43626
diff
changeset
|
159 |
45022
4359b383982c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44996
diff
changeset
|
160 +++ |
44827
7ced19dba698
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44822
diff
changeset
|
161 ** The user option `tex-start-options-string' has been replaced |
7ced19dba698
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44822
diff
changeset
|
162 by two new user options: `tex-start-options', which should hold |
7ced19dba698
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44822
diff
changeset
|
163 command-line options to feed to TeX, and `tex-start-commands' which should hold |
7ced19dba698
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44822
diff
changeset
|
164 TeX commands to use at startup. |
7ced19dba698
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44822
diff
changeset
|
165 |
43666
a84483ed5134
Rename the variables related to automatic horizontal scrolling.
Eli Zaretskii <eliz@gnu.org>
parents:
43626
diff
changeset
|
166 +++ |
a84483ed5134
Rename the variables related to automatic horizontal scrolling.
Eli Zaretskii <eliz@gnu.org>
parents:
43626
diff
changeset
|
167 ** The variable `automatic-hscrolling' was renamed to `auto-hscroll-mode'. |
a84483ed5134
Rename the variables related to automatic horizontal scrolling.
Eli Zaretskii <eliz@gnu.org>
parents:
43626
diff
changeset
|
168 The old name is still available as an alias. |
43353
10f59509c416
Document automatic-hscroll-margin and automatic-hscroll-step.
Eli Zaretskii <eliz@gnu.org>
parents:
43345
diff
changeset
|
169 |
45022
4359b383982c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44996
diff
changeset
|
170 +++ |
43388
232b6637e788
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43383
diff
changeset
|
171 ** New display feature: focus follows mouse. If you set the variable |
44356
493f53a29dd3
Rename variable autoselect-window-p to mouse-autoselect-window.
Pavel Janík <Pavel@Janik.cz>
parents:
44308
diff
changeset
|
172 mouse-autoselect-window to non-nil value, moving the mouse to a different |
493f53a29dd3
Rename variable autoselect-window-p to mouse-autoselect-window.
Pavel Janík <Pavel@Janik.cz>
parents:
44308
diff
changeset
|
173 Emacs window will select that window (minibuffer window can be selected |
493f53a29dd3
Rename variable autoselect-window-p to mouse-autoselect-window.
Pavel Janík <Pavel@Janik.cz>
parents:
44308
diff
changeset
|
174 only when it is active). The default is nil, so that this feature is not |
493f53a29dd3
Rename variable autoselect-window-p to mouse-autoselect-window.
Pavel Janík <Pavel@Janik.cz>
parents:
44308
diff
changeset
|
175 enabled. |
43345 | 176 |
43297 | 177 ** The new command `describe-text-at' pops up a buffer with description |
178 of text properties, overlays, and widgets at point, and lets you get | |
179 more information about them, by clicking on mouse-sensitive areas or | |
180 moving there and pressing RET. | |
181 | |
44822
0ecfbafcac13
*** empty log message ***
Colin Walters <walters@gnu.org>
parents:
44724
diff
changeset
|
182 +++ |
0ecfbafcac13
*** empty log message ***
Colin Walters <walters@gnu.org>
parents:
44724
diff
changeset
|
183 ** The new command `multi-occur' is just like `occur', except it can |
0ecfbafcac13
*** empty log message ***
Colin Walters <walters@gnu.org>
parents:
44724
diff
changeset
|
184 search multiple buffers. There is also a new command |
0ecfbafcac13
*** empty log message ***
Colin Walters <walters@gnu.org>
parents:
44724
diff
changeset
|
185 `multi-occur-by-filename-regexp' which allows you to specify the |
0ecfbafcac13
*** empty log message ***
Colin Walters <walters@gnu.org>
parents:
44724
diff
changeset
|
186 buffers to search by their filename. Internally, Occur mode has been |
0ecfbafcac13
*** empty log message ***
Colin Walters <walters@gnu.org>
parents:
44724
diff
changeset
|
187 rewritten, and now uses font-lock, among other changes. |
0ecfbafcac13
*** empty log message ***
Colin Walters <walters@gnu.org>
parents:
44724
diff
changeset
|
188 |
45022
4359b383982c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44996
diff
changeset
|
189 +++ |
43433 | 190 ** Emacs normally highlights mouse sensitive text whenever the mouse |
191 is over the text. By setting the new variable `mouse-highlight', you | |
192 can optionally enable mouse highlighting only after you move the | |
193 mouse, so that highlighting disappears when you press a key. You can | |
194 also disable mouse highlighting. | |
43375
7370da6d0364
Document new mouse-highlight variable and associated behaviour.
Kim F. Storm <storm@cua.dk>
parents:
43356
diff
changeset
|
195 |
45022
4359b383982c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44996
diff
changeset
|
196 +++ |
43238
14e305b050b5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
43217
diff
changeset
|
197 ** font-lock: in modes like C and Lisp where the fontification assumes that |
14e305b050b5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
43217
diff
changeset
|
198 an open-paren in column 0 is always outside of any string or comment, |
14e305b050b5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
43217
diff
changeset
|
199 font-lock now highlights any such open-paren-in-column-zero in bold-red |
14e305b050b5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
43217
diff
changeset
|
200 if it is inside a string or a comment, to indicate that it can cause |
14e305b050b5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
43217
diff
changeset
|
201 trouble with fontification and/or indentation. |
14e305b050b5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
43217
diff
changeset
|
202 |
43100
b31f95ef830a
Document the minibuffer-prompt face.
Eli Zaretskii <eliz@gnu.org>
parents:
43061
diff
changeset
|
203 +++ |
b31f95ef830a
Document the minibuffer-prompt face.
Eli Zaretskii <eliz@gnu.org>
parents:
43061
diff
changeset
|
204 ** There's a new face `minibuffer-prompt'. |
b31f95ef830a
Document the minibuffer-prompt face.
Eli Zaretskii <eliz@gnu.org>
parents:
43061
diff
changeset
|
205 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
|
206 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
|
207 prompt string. |
b31f95ef830a
Document the minibuffer-prompt face.
Eli Zaretskii <eliz@gnu.org>
parents:
43061
diff
changeset
|
208 |
43263 | 209 +++ |
43206
cc9c8c17538f
Describe new mode-line-inactive face.
Kim F. Storm <storm@cua.dk>
parents:
43196
diff
changeset
|
210 ** The new face `mode-line-inactive' is used to display the mode line |
cc9c8c17538f
Describe new mode-line-inactive face.
Kim F. Storm <storm@cua.dk>
parents:
43196
diff
changeset
|
211 of non-selected windows. The `mode-line' face is now used to display |
cc9c8c17538f
Describe new mode-line-inactive face.
Kim F. Storm <storm@cua.dk>
parents:
43196
diff
changeset
|
212 the mode line of the currently selected window. |
cc9c8c17538f
Describe new mode-line-inactive face.
Kim F. Storm <storm@cua.dk>
parents:
43196
diff
changeset
|
213 |
43245
6a3915789e36
Describe mode-line-in-non-selected-windows variable.
Kim F. Storm <storm@cua.dk>
parents:
43238
diff
changeset
|
214 The new variable `mode-line-in-non-selected-windows' controls whether |
6a3915789e36
Describe mode-line-in-non-selected-windows variable.
Kim F. Storm <storm@cua.dk>
parents:
43238
diff
changeset
|
215 the `mode-line-inactive' face is used. |
6a3915789e36
Describe mode-line-in-non-selected-windows variable.
Kim F. Storm <storm@cua.dk>
parents:
43238
diff
changeset
|
216 |
43008 | 217 ** A menu item "Show/Hide" was added to the top-level menu "Options". |
218 This menu allows you to turn various display features on and off (like | |
219 tool bar and the menu bar itself). You can also move the vertical | |
43217 | 220 scroll bar to either side here or turn it off completely. There is also |
221 a menu-item to toggle displaying of current date and time, current line | |
222 and column number in the mode-line. | |
43008 | 223 |
43383
d21a74d23497
2002-02-17 Per Abrahamsen <abraham@dina.kvl.dk>
Per Abrahamsen <abraham@dina.kvl.dk>
parents:
43375
diff
changeset
|
224 ** Speedbar has moved from the "Tools" top level menu to "Show/Hide". |
d21a74d23497
2002-02-17 Per Abrahamsen <abraham@dina.kvl.dk>
Per Abrahamsen <abraham@dina.kvl.dk>
parents:
43375
diff
changeset
|
225 |
45022
4359b383982c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44996
diff
changeset
|
226 +++ |
4359b383982c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44996
diff
changeset
|
227 ** Emacs can now indicate in the mode-line the presence of new e-mails |
4359b383982c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44996
diff
changeset
|
228 in a directory or in a file. See the documentation of the user option |
43009 | 229 `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
|
230 |
42822
b2bfe0b4018b
Advertise Info-scroll-prefer-subnodes.
Eli Zaretskii <eliz@gnu.org>
parents:
42820
diff
changeset
|
231 +++ |
b2bfe0b4018b
Advertise Info-scroll-prefer-subnodes.
Eli Zaretskii <eliz@gnu.org>
parents:
42820
diff
changeset
|
232 ** 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
|
233 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
|
234 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
|
235 (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
|
236 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
|
237 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
|
238 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
|
239 |
b2bfe0b4018b
Advertise Info-scroll-prefer-subnodes.
Eli Zaretskii <eliz@gnu.org>
parents:
42820
diff
changeset
|
240 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
|
241 NEWS. |
b2bfe0b4018b
Advertise Info-scroll-prefer-subnodes.
Eli Zaretskii <eliz@gnu.org>
parents:
42820
diff
changeset
|
242 |
42786
66b0f6a32c47
LDAP support now defaults to ldapsearch from OpenLDAP version 2.
Pavel Janík <Pavel@Janik.cz>
parents:
42749
diff
changeset
|
243 --- |
66b0f6a32c47
LDAP support now defaults to ldapsearch from OpenLDAP version 2.
Pavel Janík <Pavel@Janik.cz>
parents:
42749
diff
changeset
|
244 ** 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
|
245 |
43045
39d6853f817c
Mark the pc-selection-mode change as documented.
Eli Zaretskii <eliz@gnu.org>
parents:
43043
diff
changeset
|
246 +++ |
43043
98b7448c1aac
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43009
diff
changeset
|
247 ** 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
|
248 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
|
249 argument it toggles the mode. |
98b7448c1aac
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43009
diff
changeset
|
250 |
98b7448c1aac
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43009
diff
changeset
|
251 Turning off PC-Selection mode restores the global key bindings |
98b7448c1aac
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43009
diff
changeset
|
252 that were replaced by turning on the mode. |
98b7448c1aac
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43009
diff
changeset
|
253 |
45565
c3aabeb6a3af
*** empty log message ***
Colin Walters <walters@gnu.org>
parents:
45547
diff
changeset
|
254 ** Emacs now displays a splash screen by default even if command-line |
c3aabeb6a3af
*** empty log message ***
Colin Walters <walters@gnu.org>
parents:
45547
diff
changeset
|
255 arguments were given. The new command-line option --no-splash |
c3aabeb6a3af
*** empty log message ***
Colin Walters <walters@gnu.org>
parents:
45547
diff
changeset
|
256 disables the splash screen; see also the variable |
c3aabeb6a3af
*** empty log message ***
Colin Walters <walters@gnu.org>
parents:
45547
diff
changeset
|
257 `inhibit-startup-message' (which is also aliased as |
c3aabeb6a3af
*** empty log message ***
Colin Walters <walters@gnu.org>
parents:
45547
diff
changeset
|
258 `inhibit-splash-screen'). |
c3aabeb6a3af
*** empty log message ***
Colin Walters <walters@gnu.org>
parents:
45547
diff
changeset
|
259 |
42958
2d81f84af342
Document the extended color support for xterm and rxvt, and the
Eli Zaretskii <eliz@gnu.org>
parents:
42940
diff
changeset
|
260 ** 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
|
261 |
42729
5814fed2f430
Document the new full-screen options.
Eli Zaretskii <eliz@gnu.org>
parents:
42725
diff
changeset
|
262 +++ |
42958
2d81f84af342
Document the extended color support for xterm and rxvt, and the
Eli Zaretskii <eliz@gnu.org>
parents:
42940
diff
changeset
|
263 *** 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
|
264 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
|
265 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
|
266 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
|
267 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
|
268 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
|
269 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
|
270 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
|
271 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
|
272 |
42958
2d81f84af342
Document the extended color support for xterm and rxvt, and the
Eli Zaretskii <eliz@gnu.org>
parents:
42940
diff
changeset
|
273 --- |
2d81f84af342
Document the extended color support for xterm and rxvt, and the
Eli Zaretskii <eliz@gnu.org>
parents:
42940
diff
changeset
|
274 *** 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
|
275 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
|
276 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
|
277 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
|
278 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
|
279 |
2d81f84af342
Document the extended color support for xterm and rxvt, and the
Eli Zaretskii <eliz@gnu.org>
parents:
42940
diff
changeset
|
280 --- |
2d81f84af342
Document the extended color support for xterm and rxvt, and the
Eli Zaretskii <eliz@gnu.org>
parents:
42940
diff
changeset
|
281 *** 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
|
282 |
42749
62c6ce7088f2
Document the new --color arg and tty-color-mode frame parameter.
Eli Zaretskii <eliz@gnu.org>
parents:
42739
diff
changeset
|
283 +++ |
42729
5814fed2f430
Document the new full-screen options.
Eli Zaretskii <eliz@gnu.org>
parents:
42725
diff
changeset
|
284 ** 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
|
285 |
5814fed2f430
Document the new full-screen options.
Eli Zaretskii <eliz@gnu.org>
parents:
42725
diff
changeset
|
286 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
|
287 `--fullwidth', `--fullheight', and `--fullscreen' produce a frame |
5814fed2f430
Document the new full-screen options.
Eli Zaretskii <eliz@gnu.org>
parents:
42725
diff
changeset
|
288 whose width, height, or both width and height take up the entire |
45119
bb7bdd25e045
--fullscreen options supported on Windows too
Jason Rumney <jasonr@gnu.org>
parents:
45022
diff
changeset
|
289 screen size. (For now, this does not work with some window managers.) |
42729
5814fed2f430
Document the new full-screen options.
Eli Zaretskii <eliz@gnu.org>
parents:
42725
diff
changeset
|
290 |
41847
7423116b7ac3
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41820
diff
changeset
|
291 ** Info-index finally offers completion. |
7423116b7ac3
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41820
diff
changeset
|
292 |
43493
dcf4af6ac385
*** empty log message ***
Colin Walters <walters@gnu.org>
parents:
43459
diff
changeset
|
293 ** shell-mode now supports programmable completion using `pcomplete'. |
dcf4af6ac385
*** empty log message ***
Colin Walters <walters@gnu.org>
parents:
43459
diff
changeset
|
294 |
45614
8f47aa4a587a
*** empty log message ***
Colin Walters <walters@gnu.org>
parents:
45610
diff
changeset
|
295 ** Emacs now tries to set up buffer coding systems for XML files |
8f47aa4a587a
*** empty log message ***
Colin Walters <walters@gnu.org>
parents:
45610
diff
changeset
|
296 automatically. This is accomplished using the general mechanism of a |
8f47aa4a587a
*** empty log message ***
Colin Walters <walters@gnu.org>
parents:
45610
diff
changeset
|
297 new variable called `auto-coding-functions', which you may add to. |
8f47aa4a587a
*** empty log message ***
Colin Walters <walters@gnu.org>
parents:
45610
diff
changeset
|
298 |
44622
a632dc3d85af
Add entries for some things I did earlier:
Miles Bader <miles@gnu.org>
parents:
44589
diff
changeset
|
299 ** The new command `comint-input-previous-argument' in comint-derived |
a632dc3d85af
Add entries for some things I did earlier:
Miles Bader <miles@gnu.org>
parents:
44589
diff
changeset
|
300 modes (shell-mode etc) inserts arguments from previous command lines, |
a632dc3d85af
Add entries for some things I did earlier:
Miles Bader <miles@gnu.org>
parents:
44589
diff
changeset
|
301 like bash's `ESC .' binding. It is bound by default to `C-c .', but |
a632dc3d85af
Add entries for some things I did earlier:
Miles Bader <miles@gnu.org>
parents:
44589
diff
changeset
|
302 otherwise behaves quite similarly to the bash version. |
a632dc3d85af
Add entries for some things I did earlier:
Miles Bader <miles@gnu.org>
parents:
44589
diff
changeset
|
303 |
41730
fb0e629655ed
Document left-fringe and right-fringe frame parameters.
Kim F. Storm <storm@cua.dk>
parents:
41706
diff
changeset
|
304 ** 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
|
305 |
fb0e629655ed
Document left-fringe and right-fringe frame parameters.
Kim F. Storm <storm@cua.dk>
parents:
41706
diff
changeset
|
306 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
|
307 `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
|
308 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
|
309 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
|
310 |
41730
fb0e629655ed
Document left-fringe and right-fringe frame parameters.
Kim F. Storm <storm@cua.dk>
parents:
41706
diff
changeset
|
311 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
|
312 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
|
313 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
|
314 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
|
315 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
|
316 specified width). |
41730
fb0e629655ed
Document left-fringe and right-fringe frame parameters.
Kim F. Storm <storm@cua.dk>
parents:
41706
diff
changeset
|
317 |
41749
83a9052556ea
Setting left-fringe and rigth-fringe parameters to nil causes
Kim F. Storm <storm@cua.dk>
parents:
41748
diff
changeset
|
318 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
|
319 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
|
320 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
|
321 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
|
322 |
42739
f53ba4c83bf8
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42729
diff
changeset
|
323 ** Changes in C-h bindings: |
f53ba4c83bf8
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42729
diff
changeset
|
324 |
f53ba4c83bf8
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42729
diff
changeset
|
325 C-h e displays the *Messages* buffer. |
f53ba4c83bf8
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42729
diff
changeset
|
326 |
f53ba4c83bf8
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42729
diff
changeset
|
327 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
|
328 that do not change: |
f53ba4c83bf8
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42729
diff
changeset
|
329 |
f53ba4c83bf8
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42729
diff
changeset
|
330 C-h C-f displays the FAQ. |
f53ba4c83bf8
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42729
diff
changeset
|
331 C-h C-e displays the PROBLEMS file. |
f53ba4c83bf8
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42729
diff
changeset
|
332 |
f53ba4c83bf8
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42729
diff
changeset
|
333 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
|
334 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
|
335 |
43159 | 336 C-h c, C-h k, C-h w, and C-h f now handle remapped interactive commands. |
337 | |
338 - C-h c and C-h k report the actual command (after possible remapping) | |
339 run by the key sequence. | |
340 | |
341 - C-h w and C-h f on a command which has been remapped now report the | |
342 command it is remapped to, and the keys which can be used to run | |
343 that command. | |
344 | |
345 For example, if C-k is bound to kill-line, and kill-line is remapped | |
43724
16affaf7292b
etags honours #line directives.
Francesco Potortì <pot@gnu.org>
parents:
43666
diff
changeset
|
346 to new-kill-line, these commands now report: |
43159 | 347 |
348 - C-h c and C-h k C-k reports: | |
349 C-k runs the command new-kill-line | |
350 | |
351 - C-h w and C-h f kill-line reports: | |
352 kill-line is remapped to new-kill-line which is on C-k, <deleteline> | |
353 | |
354 - C-h w and C-h f new-kill-line reports: | |
355 new-kill-line is on C-k | |
356 | |
41928
31fb6b379d0f
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
41923
diff
changeset
|
357 ** 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
|
358 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
|
359 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
|
360 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
|
361 |
44680
39c7ce6f26c1
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44666
diff
changeset
|
362 ** Yanking text now discards certain text properties that can |
39c7ce6f26c1
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44666
diff
changeset
|
363 be inconvenient when you did not expect them. The variable |
39c7ce6f26c1
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44666
diff
changeset
|
364 `yank-excluded-properties' specifies which ones. Insertion |
39c7ce6f26c1
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44666
diff
changeset
|
365 of register contents and rectangles also discards these properties. |
39c7ce6f26c1
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44666
diff
changeset
|
366 |
45565
c3aabeb6a3af
*** empty log message ***
Colin Walters <walters@gnu.org>
parents:
45547
diff
changeset
|
367 ** Occur, Info, and comint-derived modes now support using |
c3aabeb6a3af
*** empty log message ***
Colin Walters <walters@gnu.org>
parents:
45547
diff
changeset
|
368 M-x font-lock-mode to toggle fontification. The variable |
c3aabeb6a3af
*** empty log message ***
Colin Walters <walters@gnu.org>
parents:
45547
diff
changeset
|
369 `Info-fontify' is no longer applicable; to disable fontification, |
c3aabeb6a3af
*** empty log message ***
Colin Walters <walters@gnu.org>
parents:
45547
diff
changeset
|
370 remove `turn-on-font-lock' from `Info-mode-hook'. |
c3aabeb6a3af
*** empty log message ***
Colin Walters <walters@gnu.org>
parents:
45547
diff
changeset
|
371 |
c3aabeb6a3af
*** empty log message ***
Colin Walters <walters@gnu.org>
parents:
45547
diff
changeset
|
372 ** The Emacs Lisp byte-compiler now displays the actual line and |
45614
8f47aa4a587a
*** empty log message ***
Colin Walters <walters@gnu.org>
parents:
45610
diff
changeset
|
373 character position of errors, where possible. Additionally, the form |
8f47aa4a587a
*** empty log message ***
Colin Walters <walters@gnu.org>
parents:
45610
diff
changeset
|
374 of its warning and error messages have been brought more in line with |
8f47aa4a587a
*** empty log message ***
Colin Walters <walters@gnu.org>
parents:
45610
diff
changeset
|
375 the output of other GNU tools. |
45565
c3aabeb6a3af
*** empty log message ***
Colin Walters <walters@gnu.org>
parents:
45547
diff
changeset
|
376 |
44622
a632dc3d85af
Add entries for some things I did earlier:
Miles Bader <miles@gnu.org>
parents:
44589
diff
changeset
|
377 ** M-x grep now tries to avoid appending `/dev/null' to the command line |
a632dc3d85af
Add entries for some things I did earlier:
Miles Bader <miles@gnu.org>
parents:
44589
diff
changeset
|
378 by using GNU grep `-H' option instead. M-x grep will automatically |
a632dc3d85af
Add entries for some things I did earlier:
Miles Bader <miles@gnu.org>
parents:
44589
diff
changeset
|
379 detect whether this is possible or not the first time it is invoked. |
a632dc3d85af
Add entries for some things I did earlier:
Miles Bader <miles@gnu.org>
parents:
44589
diff
changeset
|
380 When `-H' is used, the grep command line supplied by the user is passed |
a632dc3d85af
Add entries for some things I did earlier:
Miles Bader <miles@gnu.org>
parents:
44589
diff
changeset
|
381 unchanged to the system to execute, which allows more complicated |
a632dc3d85af
Add entries for some things I did earlier:
Miles Bader <miles@gnu.org>
parents:
44589
diff
changeset
|
382 command lines to be used than was possible before. |
a632dc3d85af
Add entries for some things I did earlier:
Miles Bader <miles@gnu.org>
parents:
44589
diff
changeset
|
383 |
a632dc3d85af
Add entries for some things I did earlier:
Miles Bader <miles@gnu.org>
parents:
44589
diff
changeset
|
384 ** The face-customization widget has been reworked to be less confusing. |
a632dc3d85af
Add entries for some things I did earlier:
Miles Bader <miles@gnu.org>
parents:
44589
diff
changeset
|
385 In particular, when you enable a face attribute using the corresponding |
a632dc3d85af
Add entries for some things I did earlier:
Miles Bader <miles@gnu.org>
parents:
44589
diff
changeset
|
386 check-box, there's no longer a redundant `*' option in value selection |
a632dc3d85af
Add entries for some things I did earlier:
Miles Bader <miles@gnu.org>
parents:
44589
diff
changeset
|
387 for that attribute; the values you can choose are only those which make |
a632dc3d85af
Add entries for some things I did earlier:
Miles Bader <miles@gnu.org>
parents:
44589
diff
changeset
|
388 sense for the attribute. When an attribute is de-selected by unchecking |
a632dc3d85af
Add entries for some things I did earlier:
Miles Bader <miles@gnu.org>
parents:
44589
diff
changeset
|
389 its check-box, then the (now ignored, but still present temporarily in |
a632dc3d85af
Add entries for some things I did earlier:
Miles Bader <miles@gnu.org>
parents:
44589
diff
changeset
|
390 case you re-select the attribute) value is hidden. |
a632dc3d85af
Add entries for some things I did earlier:
Miles Bader <miles@gnu.org>
parents:
44589
diff
changeset
|
391 |
41923
86ecd07d46fb
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
41847
diff
changeset
|
392 ** 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
|
393 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
|
394 |
42874
95d25103a45e
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42867
diff
changeset
|
395 ** GUD mode improvements for jdb: |
42830
20fac7788e1f
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42822
diff
changeset
|
396 |
20fac7788e1f
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42822
diff
changeset
|
397 *** Search for source files using jdb classpath and class |
20fac7788e1f
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42822
diff
changeset
|
398 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
|
399 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
|
400 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
|
401 and `gud-jdb-classpath' customization variables documentation. |
20fac7788e1f
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42822
diff
changeset
|
402 |
20fac7788e1f
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42822
diff
changeset
|
403 *** Supports the standard breakpoint (gud-break, gud-clear) |
20fac7788e1f
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42822
diff
changeset
|
404 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
|
405 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
|
406 (gud-finish). |
20fac7788e1f
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42822
diff
changeset
|
407 |
20fac7788e1f
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42822
diff
changeset
|
408 *** 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
|
409 (Java 1.1 jdb). |
20fac7788e1f
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42822
diff
changeset
|
410 |
20fac7788e1f
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42822
diff
changeset
|
411 *** The previous method of searching for source files has been |
20fac7788e1f
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42822
diff
changeset
|
412 preserved in case someone still wants/needs to use it. |
20fac7788e1f
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42822
diff
changeset
|
413 Set gud-jdb-use-classpath to nil. |
20fac7788e1f
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42822
diff
changeset
|
414 |
20fac7788e1f
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42822
diff
changeset
|
415 Added Customization Variables |
20fac7788e1f
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42822
diff
changeset
|
416 |
20fac7788e1f
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42822
diff
changeset
|
417 *** 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
|
418 |
20fac7788e1f
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42822
diff
changeset
|
419 *** 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
|
420 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
|
421 java sources (previous method). |
20fac7788e1f
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42822
diff
changeset
|
422 |
20fac7788e1f
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42822
diff
changeset
|
423 *** 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
|
424 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
|
425 is nil). |
20fac7788e1f
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42822
diff
changeset
|
426 |
20fac7788e1f
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42822
diff
changeset
|
427 Minor Improvements |
20fac7788e1f
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42822
diff
changeset
|
428 |
20fac7788e1f
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42822
diff
changeset
|
429 *** 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
|
430 |
41620
d5ea676e4052
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41596
diff
changeset
|
431 ** hide-ifdef-mode now uses overlays rather than selective-display |
d5ea676e4052
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41596
diff
changeset
|
432 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
|
433 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
|
434 |
42677
449f96bbb6d0
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42629
diff
changeset
|
435 ** In Dired's ! command (dired-do-shell-command), `*' and `?' now |
449f96bbb6d0
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42629
diff
changeset
|
436 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
|
437 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
|
438 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
|
439 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
|
440 special treatment in `dired-do-shell-command'. |
42677
449f96bbb6d0
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42629
diff
changeset
|
441 |
44477
5bcb255d9dc5
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44431
diff
changeset
|
442 ** Dired's v command now runs external viewers to view certain |
5bcb255d9dc5
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44431
diff
changeset
|
443 types of files. The variable `dired-view-command-alist' controls |
5bcb255d9dc5
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44431
diff
changeset
|
444 what external viewers to use and when. |
5bcb255d9dc5
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44431
diff
changeset
|
445 |
41596
3c035e37d086
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41594
diff
changeset
|
446 ** 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
|
447 the corresponding environment variable does not exist. |
3c035e37d086
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41594
diff
changeset
|
448 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
|
449 is only rarely needed. |
3c035e37d086
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41594
diff
changeset
|
450 |
41337
3a8e8dd8a64e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41298
diff
changeset
|
451 ** 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
|
452 |
994a9d1eee71
Minor change of wording in the documentation of jit-lock-defer-time.
Eli Zaretskii <eliz@gnu.org>
parents:
41482
diff
changeset
|
453 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
|
454 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
|
455 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
|
456 only happen after 0.25s of idle time. |
41337
3a8e8dd8a64e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41298
diff
changeset
|
457 |
43301
898b4b31410f
* lisp/simple.el (mark-word): Mark more if repeated.
Kai Großjohann <kgrossjo@eu.uu.net>
parents:
43297
diff
changeset
|
458 +++ |
898b4b31410f
* lisp/simple.el (mark-word): Mark more if repeated.
Kai Großjohann <kgrossjo@eu.uu.net>
parents:
43297
diff
changeset
|
459 ** Marking commands extend the region when invoked multiple times. If |
898b4b31410f
* lisp/simple.el (mark-word): Mark more if repeated.
Kai Großjohann <kgrossjo@eu.uu.net>
parents:
43297
diff
changeset
|
460 you hit M-C-SPC (mark-sexp), M-@ (mark-word), M-h (mark-paragraph), or |
898b4b31410f
* lisp/simple.el (mark-word): Mark more if repeated.
Kai Großjohann <kgrossjo@eu.uu.net>
parents:
43297
diff
changeset
|
461 C-M-h (mark-defun) repeatedly, the marked region will now be extended |
898b4b31410f
* lisp/simple.el (mark-word): Mark more if repeated.
Kai Großjohann <kgrossjo@eu.uu.net>
parents:
43297
diff
changeset
|
462 each time, so you can mark the next two sexps with M-C-SPC M-C-SPC, |
898b4b31410f
* lisp/simple.el (mark-word): Mark more if repeated.
Kai Großjohann <kgrossjo@eu.uu.net>
parents:
43297
diff
changeset
|
463 for example. This feature also works for mark-end-of-sentence, if you |
898b4b31410f
* lisp/simple.el (mark-word): Mark more if repeated.
Kai Großjohann <kgrossjo@eu.uu.net>
parents:
43297
diff
changeset
|
464 bind that to a key. |
41298
dd0332958888
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41246
diff
changeset
|
465 |
44655
13e9258cbefb
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44625
diff
changeset
|
466 ** Some commands do something special in Transient Mark mode when the |
13e9258cbefb
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44625
diff
changeset
|
467 mark is active--for instance, they limit their operation to the |
13e9258cbefb
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44625
diff
changeset
|
468 region. Even if you don't normally use Transient Mark mode, you might |
13e9258cbefb
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44625
diff
changeset
|
469 want to get this behavior from a particular command. There are two |
13e9258cbefb
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44625
diff
changeset
|
470 ways you can enable Transient Mark mode temporarily, and activate the |
13e9258cbefb
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44625
diff
changeset
|
471 mark, for one command only. |
13e9258cbefb
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44625
diff
changeset
|
472 |
44666
12a75af39ac0
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44655
diff
changeset
|
473 One is to type C-SPC C-SPC; this also sets the mark. The other is to |
12a75af39ac0
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44655
diff
changeset
|
474 type C-u C-x C-x, which does not alter the region. |
12a75af39ac0
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44655
diff
changeset
|
475 |
12a75af39ac0
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44655
diff
changeset
|
476 After these commands, Transient Mark mode remains enabled |
12a75af39ac0
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44655
diff
changeset
|
477 until you deactivate the mark--typically with a command that |
12a75af39ac0
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44655
diff
changeset
|
478 alters the buffer, or typing C-g. |
44589
cff126affe7f
Enhancements to set-mark-command and exchange-point-and-mark.
Kim F. Storm <storm@cua.dk>
parents:
44477
diff
changeset
|
479 |
cff126affe7f
Enhancements to set-mark-command and exchange-point-and-mark.
Kim F. Storm <storm@cua.dk>
parents:
44477
diff
changeset
|
480 ** A prefix argument is no longer required to repeat a jump to a |
cff126affe7f
Enhancements to set-mark-command and exchange-point-and-mark.
Kim F. Storm <storm@cua.dk>
parents:
44477
diff
changeset
|
481 previous mark, i.e. C-u C-SPC C-SPC C-SPC ... will cycle through the |
cff126affe7f
Enhancements to set-mark-command and exchange-point-and-mark.
Kim F. Storm <storm@cua.dk>
parents:
44477
diff
changeset
|
482 mark ring. Use C-u C-u C-SPC to set the mark immediately after a jump. |
cff126affe7f
Enhancements to set-mark-command and exchange-point-and-mark.
Kim F. Storm <storm@cua.dk>
parents:
44477
diff
changeset
|
483 |
42605
32e40100d0de
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42487
diff
changeset
|
484 ** 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
|
485 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
|
486 switching to it. |
42299
4bc3e5620674
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42281
diff
changeset
|
487 |
4bc3e5620674
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42281
diff
changeset
|
488 ** 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
|
489 all frames you create. A position specified with --geometry only |
4bc3e5620674
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42281
diff
changeset
|
490 affects the initial frame. |
4bc3e5620674
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42281
diff
changeset
|
491 |
41746
6d817b78bf33
Document prefix arg for M-h.
Kai Großjohann <kgrossjo@eu.uu.net>
parents:
41730
diff
changeset
|
492 +++ |
42183
ccf68d58861d
Fix typos. From Juanma Barranquero <lektu@teleline.es>.
Pavel Janík <Pavel@Janik.cz>
parents:
42160
diff
changeset
|
493 ** 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
|
494 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
|
495 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
|
496 paragraphs. |
41746
6d817b78bf33
Document prefix arg for M-h.
Kai Großjohann <kgrossjo@eu.uu.net>
parents:
41730
diff
changeset
|
497 |
42101
66b4582e344c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42043
diff
changeset
|
498 ** 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
|
499 into the kill ring. |
66b4582e344c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42043
diff
changeset
|
500 |
42160
530136f9f1b9
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42101
diff
changeset
|
501 ** 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
|
502 have been renamed to directory-free-space-program and |
530136f9f1b9
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42101
diff
changeset
|
503 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
|
504 directory listing into a buffer. |
530136f9f1b9
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42101
diff
changeset
|
505 |
41298
dd0332958888
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41246
diff
changeset
|
506 ** 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
|
507 (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
|
508 |
41229
70059cb88be4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41099
diff
changeset
|
509 ** The keyboard-coding-system is now automatically set based on |
70059cb88be4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41099
diff
changeset
|
510 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
|
511 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
|
512 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
|
513 |
70059cb88be4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41099
diff
changeset
|
514 (set-keyboard-coding-system nil) |
70059cb88be4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41099
diff
changeset
|
515 |
70059cb88be4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41099
diff
changeset
|
516 to your .emacs to revert to the old behavior. |
70059cb88be4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41099
diff
changeset
|
517 |
42197 | 518 ** A new coding system `euc-tw' has been added for traditional Chinese |
519 in CNS encoding; it accepts both Big 5 and CNS as input; on saving, | |
520 Big 5 is then converted to CNS. | |
521 | |
40916
4a749a84888c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40889
diff
changeset
|
522 +++ |
4a749a84888c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40889
diff
changeset
|
523 ** 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
|
524 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
|
525 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
|
526 can do this either silently or asking for confirmation first, |
41820 | 527 according to the value of `save-abbrevs'. |
40916
4a749a84888c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40889
diff
changeset
|
528 |
40729
650fb912b343
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40686
diff
changeset
|
529 ** 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
|
530 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
|
531 appears in. |
39552 | 532 |
40686
b6d0ce452871
Document the changes in the default values of tooltip-delay and
Eli Zaretskii <eliz@gnu.org>
parents:
40637
diff
changeset
|
533 ** 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
|
534 were changed. |
b6d0ce452871
Document the changes in the default values of tooltip-delay and
Eli Zaretskii <eliz@gnu.org>
parents:
40637
diff
changeset
|
535 |
40614
ac10bd51a000
Change of normal-erase-is-backspace-mode on terminals.
Gerd Moellmann <gerd@gnu.org>
parents:
40575
diff
changeset
|
536 ** 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
|
537 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
|
538 |
44718
e1f429a4cfd7
Variable auto-save-file-name-transforms now has a third element.
Glenn Morris <rgm@gnu.org>
parents:
44694
diff
changeset
|
539 ** The variable `auto-save-file-name-transforms' now has a third element that |
e1f429a4cfd7
Variable auto-save-file-name-transforms now has a third element.
Glenn Morris <rgm@gnu.org>
parents:
44694
diff
changeset
|
540 controls whether or not the function `make-auto-save-file-name' will |
e1f429a4cfd7
Variable auto-save-file-name-transforms now has a third element.
Glenn Morris <rgm@gnu.org>
parents:
44694
diff
changeset
|
541 attempt to construct a unique auto-save name (e.g. for remote files). |
e1f429a4cfd7
Variable auto-save-file-name-transforms now has a third element.
Glenn Morris <rgm@gnu.org>
parents:
44694
diff
changeset
|
542 |
44199
c157bec8fb40
Add section for VC Changes. New entry for `vc-cvs-global-switches'.
André Spiegel <spiegel@gnu.org>
parents:
44160
diff
changeset
|
543 ** VC Changes |
c157bec8fb40
Add section for VC Changes. New entry for `vc-cvs-global-switches'.
André Spiegel <spiegel@gnu.org>
parents:
44160
diff
changeset
|
544 |
c157bec8fb40
Add section for VC Changes. New entry for `vc-cvs-global-switches'.
André Spiegel <spiegel@gnu.org>
parents:
44160
diff
changeset
|
545 *** There is a new user option `vc-cvs-global-switches' that allows |
c157bec8fb40
Add section for VC Changes. New entry for `vc-cvs-global-switches'.
André Spiegel <spiegel@gnu.org>
parents:
44160
diff
changeset
|
546 you to specify switches that are passed to any CVS command invoked |
c157bec8fb40
Add section for VC Changes. New entry for `vc-cvs-global-switches'.
André Spiegel <spiegel@gnu.org>
parents:
44160
diff
changeset
|
547 by VC. These switches are used as "global options" for CVS, which |
c157bec8fb40
Add section for VC Changes. New entry for `vc-cvs-global-switches'.
André Spiegel <spiegel@gnu.org>
parents:
44160
diff
changeset
|
548 means they are inserted before the command name. For example, this |
c157bec8fb40
Add section for VC Changes. New entry for `vc-cvs-global-switches'.
André Spiegel <spiegel@gnu.org>
parents:
44160
diff
changeset
|
549 allows you to specify a compression level using the "-z#" option for |
c157bec8fb40
Add section for VC Changes. New entry for `vc-cvs-global-switches'.
André Spiegel <spiegel@gnu.org>
parents:
44160
diff
changeset
|
550 CVS. |
c157bec8fb40
Add section for VC Changes. New entry for `vc-cvs-global-switches'.
André Spiegel <spiegel@gnu.org>
parents:
44160
diff
changeset
|
551 |
44030
67ba867f0082
added a description of the new features in Ediff
Michael Kifer <kifer@cs.stonybrook.edu>
parents:
44018
diff
changeset
|
552 ** EDiff changes. |
67ba867f0082
added a description of the new features in Ediff
Michael Kifer <kifer@cs.stonybrook.edu>
parents:
44018
diff
changeset
|
553 |
44058 | 554 +++ |
44030
67ba867f0082
added a description of the new features in Ediff
Michael Kifer <kifer@cs.stonybrook.edu>
parents:
44018
diff
changeset
|
555 *** When comparing directories. |
67ba867f0082
added a description of the new features in Ediff
Michael Kifer <kifer@cs.stonybrook.edu>
parents:
44018
diff
changeset
|
556 Typing D brings up a buffer that lists the differences between the contents of |
67ba867f0082
added a description of the new features in Ediff
Michael Kifer <kifer@cs.stonybrook.edu>
parents:
44018
diff
changeset
|
557 directories. Now it is possible to use this buffer to copy the missing files |
67ba867f0082
added a description of the new features in Ediff
Michael Kifer <kifer@cs.stonybrook.edu>
parents:
44018
diff
changeset
|
558 from one directory to another. |
67ba867f0082
added a description of the new features in Ediff
Michael Kifer <kifer@cs.stonybrook.edu>
parents:
44018
diff
changeset
|
559 |
44058 | 560 +++ |
44030
67ba867f0082
added a description of the new features in Ediff
Michael Kifer <kifer@cs.stonybrook.edu>
parents:
44018
diff
changeset
|
561 *** When comparing files or buffers. |
67ba867f0082
added a description of the new features in Ediff
Michael Kifer <kifer@cs.stonybrook.edu>
parents:
44018
diff
changeset
|
562 Typing the = key now offers to perform the word-by-word comparison of the |
67ba867f0082
added a description of the new features in Ediff
Michael Kifer <kifer@cs.stonybrook.edu>
parents:
44018
diff
changeset
|
563 currently highlighted regions in an inferior Ediff session. If you answer 'n' |
67ba867f0082
added a description of the new features in Ediff
Michael Kifer <kifer@cs.stonybrook.edu>
parents:
44018
diff
changeset
|
564 then it reverts to the old behavior and asks the user to select regions for |
67ba867f0082
added a description of the new features in Ediff
Michael Kifer <kifer@cs.stonybrook.edu>
parents:
44018
diff
changeset
|
565 comparison. |
67ba867f0082
added a description of the new features in Ediff
Michael Kifer <kifer@cs.stonybrook.edu>
parents:
44018
diff
changeset
|
566 |
42043
0fe5fe39786c
Etags changes for Prolog and PHP.
Francesco Potortì <pot@gnu.org>
parents:
41928
diff
changeset
|
567 ** Etags changes. |
0fe5fe39786c
Etags changes for Prolog and PHP.
Francesco Potortì <pot@gnu.org>
parents:
41928
diff
changeset
|
568 |
0fe5fe39786c
Etags changes for Prolog and PHP.
Francesco Potortì <pot@gnu.org>
parents:
41928
diff
changeset
|
569 *** 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
|
570 |
43855
db463e67459c
Better description of what etags does with #line.
Francesco Potortì <pot@gnu.org>
parents:
43772
diff
changeset
|
571 *** In Perl, packages are tags. |
db463e67459c
Better description of what etags does with #line.
Francesco Potortì <pot@gnu.org>
parents:
43772
diff
changeset
|
572 Subroutine tags are named from their package. You can jump to sub tags |
db463e67459c
Better description of what etags does with #line.
Francesco Potortì <pot@gnu.org>
parents:
43772
diff
changeset
|
573 as you did before, by the sub name, or additionally by looking for |
db463e67459c
Better description of what etags does with #line.
Francesco Potortì <pot@gnu.org>
parents:
43772
diff
changeset
|
574 package::sub. |
db463e67459c
Better description of what etags does with #line.
Francesco Potortì <pot@gnu.org>
parents:
43772
diff
changeset
|
575 |
db463e67459c
Better description of what etags does with #line.
Francesco Potortì <pot@gnu.org>
parents:
43772
diff
changeset
|
576 *** New language PHP: tags are functions, classes and defines. |
db463e67459c
Better description of what etags does with #line.
Francesco Potortì <pot@gnu.org>
parents:
43772
diff
changeset
|
577 If the --members option is specified to etags, tags are vars also. |
db463e67459c
Better description of what etags does with #line.
Francesco Potortì <pot@gnu.org>
parents:
43772
diff
changeset
|
578 |
db463e67459c
Better description of what etags does with #line.
Francesco Potortì <pot@gnu.org>
parents:
43772
diff
changeset
|
579 *** Honour #line directives. |
db463e67459c
Better description of what etags does with #line.
Francesco Potortì <pot@gnu.org>
parents:
43772
diff
changeset
|
580 When Etags parses an input file that contains C preprocessor's #line |
db463e67459c
Better description of what etags does with #line.
Francesco Potortì <pot@gnu.org>
parents:
43772
diff
changeset
|
581 directives, it creates tags using the file name and line number |
db463e67459c
Better description of what etags does with #line.
Francesco Potortì <pot@gnu.org>
parents:
43772
diff
changeset
|
582 specified in those directives. This is useful when dealing with code |
db463e67459c
Better description of what etags does with #line.
Francesco Potortì <pot@gnu.org>
parents:
43772
diff
changeset
|
583 created from Cweb source files. When Etags tags the generated file, it |
db463e67459c
Better description of what etags does with #line.
Francesco Potortì <pot@gnu.org>
parents:
43772
diff
changeset
|
584 writes tags pointing to the source file. |
43724
16affaf7292b
etags honours #line directives.
Francesco Potortì <pot@gnu.org>
parents:
43666
diff
changeset
|
585 |
40493
94818b20da05
Document the change in list-buffers-noselect wrt buffers visiting files
Eli Zaretskii <eliz@gnu.org>
parents:
40487
diff
changeset
|
586 +++ |
40575
4ce7861c6181
Mention --no-window-system changes in the NEWS.
Pavel Janík <Pavel@Janik.cz>
parents:
40526
diff
changeset
|
587 ** 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
|
588 --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
|
589 |
45574
a0ad5c5f6951
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
45565
diff
changeset
|
590 ** The command `list-text-properties-at' has been deleted because |
a0ad5c5f6951
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
45565
diff
changeset
|
591 C-u C-x = gives the same information and more. |
a0ad5c5f6951
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
45565
diff
changeset
|
592 |
40526
b466f4f946a7
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40493
diff
changeset
|
593 ** `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
|
594 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
|
595 |
40526
b466f4f946a7
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40493
diff
changeset
|
596 ** You can now customize fill-nobreak-predicate to control where |
b466f4f946a7
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40493
diff
changeset
|
597 filling can break lines. We provide two sample predicates, |
b466f4f946a7
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40493
diff
changeset
|
598 fill-single-word-nobreak-p and fill-french-nobreak-p. |
b466f4f946a7
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40493
diff
changeset
|
599 |
40316
ddce8f484e75
New user option `add-log-always-start-new-record'.
Sam Steingold <sds@gnu.org>
parents:
40296
diff
changeset
|
600 ** 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
|
601 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
|
602 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
|
603 |
40378
344e63612d00
renamed `html-xhtml' to `sgml-xml'
Sam Steingold <sds@gnu.org>
parents:
40316
diff
changeset
|
604 ** New user option `sgml-xml'. |
344e63612d00
renamed `html-xhtml' to `sgml-xml'
Sam Steingold <sds@gnu.org>
parents:
40316
diff
changeset
|
605 When this option is enabled, SGML tags are inserted in XML style, |
40215 | 606 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
|
607 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
|
608 from the file name or buffer contents. |
40215 | 609 |
45614
8f47aa4a587a
*** empty log message ***
Colin Walters <walters@gnu.org>
parents:
45610
diff
changeset
|
610 ** `xml-mode' is now an alias for `smgl-mode', which has XML support. |
8f47aa4a587a
*** empty log message ***
Colin Walters <walters@gnu.org>
parents:
45610
diff
changeset
|
611 |
41756
97f872fb595d
Describe isearch-resume-enabled.
Kim F. Storm <storm@cua.dk>
parents:
41749
diff
changeset
|
612 ** New user option `isearch-resume-enabled'. |
97f872fb595d
Describe isearch-resume-enabled.
Kim F. Storm <storm@cua.dk>
parents:
41749
diff
changeset
|
613 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
|
614 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
|
615 |
45022
4359b383982c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44996
diff
changeset
|
616 --- |
39975 | 617 ** When the *scratch* buffer is recreated, its mode is set from |
618 initial-major-mode, which normally is lisp-interaction-mode, | |
40215 | 619 instead of using default-major-mode. |
39975 | 620 |
45022
4359b383982c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44996
diff
changeset
|
621 --- |
40487
8c17e2ae6bf5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
40378
diff
changeset
|
622 ** 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
|
623 |
e8c0b3b54fc7
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39738
diff
changeset
|
624 ** perl-mode has a new variable `perl-indent-continued-arguments'. |
e8c0b3b54fc7
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39738
diff
changeset
|
625 |
45302 | 626 ** fortran-mode has a new variable `fortran-directive-re'. |
45243 | 627 |
45499 | 628 ** f90-mode has new navigation commands `f90-end-of-block', |
45543 | 629 `f90-beginning-of-block', `f90-next-block', `f90-previous-block'. |
45499 | 630 |
45610
e9b72e7f6062
Mention prolog-mode new var `prolog-font-lock-keywords'.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
45574
diff
changeset
|
631 ** prolog-mode has a new variable `prolog-font-lock-keywords' |
e9b72e7f6062
Mention prolog-mode new var `prolog-font-lock-keywords'.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
45574
diff
changeset
|
632 to support use of font-lock. |
e9b72e7f6062
Mention prolog-mode new var `prolog-font-lock-keywords'.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
45574
diff
changeset
|
633 |
39849
10b9480202e8
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39784
diff
changeset
|
634 ** `special-display-buffer-names' and `special-display-regexps' now |
10b9480202e8
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39784
diff
changeset
|
635 understand two new boolean pseudo-frame-parameters `same-frame' and |
10b9480202e8
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39784
diff
changeset
|
636 `same-window'. |
10b9480202e8
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39784
diff
changeset
|
637 |
39552 | 638 ** When pure storage overflows while dumping, Emacs now prints how |
639 much pure storage it will approximately need. | |
640 | |
641 ** M-x setenv now expands environment variables of the form `$foo' and | |
642 `${foo}' in the specified new value of the environment variable. To | |
643 include a `$' in the value, use `$$'. | |
644 | |
39881
9c1b9334eb73
Mark last change as documented in the manual.
Eli Zaretskii <eliz@gnu.org>
parents:
39879
diff
changeset
|
645 +++ |
39879
fba70cf81a87
Document the significance of the trailing slash in elements of
Eli Zaretskii <eliz@gnu.org>
parents:
39849
diff
changeset
|
646 ** 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
|
647 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
|
648 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
|
649 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
|
650 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
|
651 candidate is a directory. |
fba70cf81a87
Document the significance of the trailing slash in elements of
Eli Zaretskii <eliz@gnu.org>
parents:
39849
diff
changeset
|
652 |
45022
4359b383982c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44996
diff
changeset
|
653 +++ |
39552 | 654 ** New user option `inhibit-startup-buffer-menu'. |
655 When loading many files, for instance with `emacs *', Emacs normally | |
656 displays a buffer menu. This option turns the buffer menu off. | |
657 | |
45022
4359b383982c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44996
diff
changeset
|
658 --- |
39552 | 659 ** Rmail now displays 5-digit message ids in its summary buffer. |
660 | |
39601 | 661 ** When using M-x revert-buffer in a compilation buffer to rerun a |
662 compilation, it is now made sure that the compilation buffer is reused | |
663 in case it has been renamed. | |
664 | |
45022
4359b383982c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44996
diff
changeset
|
665 --- |
40963
ff6a29bbaf7e
Add note about system caret on MS Windows.
Jason Rumney <jasonr@gnu.org>
parents:
40916
diff
changeset
|
666 ** 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
|
667 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
|
668 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
|
669 |
45022
4359b383982c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44996
diff
changeset
|
670 --- |
41482
fe774ae6bd57
Added entry for tooltips on MS Windows.
Jason Rumney <jasonr@gnu.org>
parents:
41471
diff
changeset
|
671 ** Tooltips now work on MS Windows. |
fe774ae6bd57
Added entry for tooltips on MS Windows.
Jason Rumney <jasonr@gnu.org>
parents:
41471
diff
changeset
|
672 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
|
673 |
45022
4359b383982c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44996
diff
changeset
|
674 --- |
44117
48ee57a8b28c
Add news of image support on Windows
Jason Rumney <jasonr@gnu.org>
parents:
44087
diff
changeset
|
675 ** Some images are now supported on Windows. |
44125
cf467d8b1309
Update images on Windows news.
Jason Rumney <jasonr@gnu.org>
parents:
44117
diff
changeset
|
676 PBM and XBM images are supported, other formats which require external |
44117
48ee57a8b28c
Add news of image support on Windows
Jason Rumney <jasonr@gnu.org>
parents:
44087
diff
changeset
|
677 libraries may be supported in future. |
48ee57a8b28c
Add news of image support on Windows
Jason Rumney <jasonr@gnu.org>
parents:
44087
diff
changeset
|
678 |
42725
7982df5e7d71
Add note about support for more mouse buttons in MS Windows.
Jason Rumney <jasonr@gnu.org>
parents:
42703
diff
changeset
|
679 ** 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
|
680 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
|
681 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
|
682 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
|
683 |
43302
2f479ac769e1
(Vx_alt_keysym, Vx_hyper_keysym, Vx_meta_keysym)
Kai Großjohann <kgrossjo@eu.uu.net>
parents:
43301
diff
changeset
|
684 ** Under X11, it is possible to swap Alt and Meta (and Super and Hyper). |
2f479ac769e1
(Vx_alt_keysym, Vx_hyper_keysym, Vx_meta_keysym)
Kai Großjohann <kgrossjo@eu.uu.net>
parents:
43301
diff
changeset
|
685 The new variables `x-alt-keysym', `x-hyper-keysym', `x-meta-keysym', |
2f479ac769e1
(Vx_alt_keysym, Vx_hyper_keysym, Vx_meta_keysym)
Kai Großjohann <kgrossjo@eu.uu.net>
parents:
43301
diff
changeset
|
686 and `x-super-keysym' can be used to choose which keysyms Emacs should |
2f479ac769e1
(Vx_alt_keysym, Vx_hyper_keysym, Vx_meta_keysym)
Kai Großjohann <kgrossjo@eu.uu.net>
parents:
43301
diff
changeset
|
687 use for the modifiers. For example, the following two lines swap |
2f479ac769e1
(Vx_alt_keysym, Vx_hyper_keysym, Vx_meta_keysym)
Kai Großjohann <kgrossjo@eu.uu.net>
parents:
43301
diff
changeset
|
688 Meta and Alt: |
2f479ac769e1
(Vx_alt_keysym, Vx_hyper_keysym, Vx_meta_keysym)
Kai Großjohann <kgrossjo@eu.uu.net>
parents:
43301
diff
changeset
|
689 (setq x-alt-keysym 'meta) |
2f479ac769e1
(Vx_alt_keysym, Vx_hyper_keysym, Vx_meta_keysym)
Kai Großjohann <kgrossjo@eu.uu.net>
parents:
43301
diff
changeset
|
690 (setq x-meta-keysym 'alt) |
2f479ac769e1
(Vx_alt_keysym, Vx_hyper_keysym, Vx_meta_keysym)
Kai Großjohann <kgrossjo@eu.uu.net>
parents:
43301
diff
changeset
|
691 |
41246
003c53bb8906
Mention the French translations of the tutorial and the survival guide.
Eli Zaretskii <eliz@gnu.org>
parents:
41229
diff
changeset
|
692 --- |
003c53bb8906
Mention the French translations of the tutorial and the survival guide.
Eli Zaretskii <eliz@gnu.org>
parents:
41229
diff
changeset
|
693 ** 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
|
694 |
003c53bb8906
Mention the French translations of the tutorial and the survival guide.
Eli Zaretskii <eliz@gnu.org>
parents:
41229
diff
changeset
|
695 --- |
003c53bb8906
Mention the French translations of the tutorial and the survival guide.
Eli Zaretskii <eliz@gnu.org>
parents:
41229
diff
changeset
|
696 ** 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
|
697 |
44622
a632dc3d85af
Add entries for some things I did earlier:
Miles Bader <miles@gnu.org>
parents:
44589
diff
changeset
|
698 ** When emacs is configured to use `xaw3d' scroll-bars, emacs will |
a632dc3d85af
Add entries for some things I did earlier:
Miles Bader <miles@gnu.org>
parents:
44589
diff
changeset
|
699 tell the scroll-bar library which colors to use for the bevels, to |
a632dc3d85af
Add entries for some things I did earlier:
Miles Bader <miles@gnu.org>
parents:
44589
diff
changeset
|
700 prevent the library from using dithering. |
a632dc3d85af
Add entries for some things I did earlier:
Miles Bader <miles@gnu.org>
parents:
44589
diff
changeset
|
701 |
39738 | 702 ** New modes and packages |
703 | |
44972
0cdd0e248c05
Describe cua and keypad packages.
Kim F. Storm <storm@cua.dk>
parents:
44957
diff
changeset
|
704 *** The new cua package provides CUA-like keybindings using C-x for |
0cdd0e248c05
Describe cua and keypad packages.
Kim F. Storm <storm@cua.dk>
parents:
44957
diff
changeset
|
705 cut (kill), C-c for copy, C-v for paste (yank), and C-z for undo. |
0cdd0e248c05
Describe cua and keypad packages.
Kim F. Storm <storm@cua.dk>
parents:
44957
diff
changeset
|
706 With cua, the region can be set and extended using shifted movement |
0cdd0e248c05
Describe cua and keypad packages.
Kim F. Storm <storm@cua.dk>
parents:
44957
diff
changeset
|
707 keys (like pc-selection-mode) and typed text replaces the active |
0cdd0e248c05
Describe cua and keypad packages.
Kim F. Storm <storm@cua.dk>
parents:
44957
diff
changeset
|
708 region (like delete-selection-mode). Do not enable these modes with |
0cdd0e248c05
Describe cua and keypad packages.
Kim F. Storm <storm@cua.dk>
parents:
44957
diff
changeset
|
709 cua-mode. Customize the variable `cua-mode' to enable cua. |
0cdd0e248c05
Describe cua and keypad packages.
Kim F. Storm <storm@cua.dk>
parents:
44957
diff
changeset
|
710 |
0cdd0e248c05
Describe cua and keypad packages.
Kim F. Storm <storm@cua.dk>
parents:
44957
diff
changeset
|
711 In addition, cua provides unified rectangle support with visible |
0cdd0e248c05
Describe cua and keypad packages.
Kim F. Storm <storm@cua.dk>
parents:
44957
diff
changeset
|
712 rectangle highlighting: Use S-return to start a rectangle, extend it |
0cdd0e248c05
Describe cua and keypad packages.
Kim F. Storm <storm@cua.dk>
parents:
44957
diff
changeset
|
713 using the movement commands (or mouse-3), and cut or copy it using C-x |
0cdd0e248c05
Describe cua and keypad packages.
Kim F. Storm <storm@cua.dk>
parents:
44957
diff
changeset
|
714 or C-c (using C-w and M-w also works). |
0cdd0e248c05
Describe cua and keypad packages.
Kim F. Storm <storm@cua.dk>
parents:
44957
diff
changeset
|
715 |
0cdd0e248c05
Describe cua and keypad packages.
Kim F. Storm <storm@cua.dk>
parents:
44957
diff
changeset
|
716 Use M-o and M-c to `open' or `close' the rectangle, use M-b or M-f, to |
0cdd0e248c05
Describe cua and keypad packages.
Kim F. Storm <storm@cua.dk>
parents:
44957
diff
changeset
|
717 fill it with blanks or another character, use M-u or M-l to upcase or |
0cdd0e248c05
Describe cua and keypad packages.
Kim F. Storm <storm@cua.dk>
parents:
44957
diff
changeset
|
718 downcase the rectangle, use M-i to increment the numbers in the |
0cdd0e248c05
Describe cua and keypad packages.
Kim F. Storm <storm@cua.dk>
parents:
44957
diff
changeset
|
719 rectangle, use M-n to fill the rectangle with a numeric sequence (such |
0cdd0e248c05
Describe cua and keypad packages.
Kim F. Storm <storm@cua.dk>
parents:
44957
diff
changeset
|
720 as 10 20 30...), use M-r to replace a regexp in the rectangle, and use |
0cdd0e248c05
Describe cua and keypad packages.
Kim F. Storm <storm@cua.dk>
parents:
44957
diff
changeset
|
721 M-' or M-/ to restrict command on the rectangle to a subset of the |
0cdd0e248c05
Describe cua and keypad packages.
Kim F. Storm <storm@cua.dk>
parents:
44957
diff
changeset
|
722 rows. See the commentary in cua-base.el for more rectangle commands. |
0cdd0e248c05
Describe cua and keypad packages.
Kim F. Storm <storm@cua.dk>
parents:
44957
diff
changeset
|
723 |
0cdd0e248c05
Describe cua and keypad packages.
Kim F. Storm <storm@cua.dk>
parents:
44957
diff
changeset
|
724 Cua also provides unified support for registers: Use a numeric |
0cdd0e248c05
Describe cua and keypad packages.
Kim F. Storm <storm@cua.dk>
parents:
44957
diff
changeset
|
725 prefix argument between 0 and 9, i.e. M-0 .. M-9, for C-x, C-c, and |
0cdd0e248c05
Describe cua and keypad packages.
Kim F. Storm <storm@cua.dk>
parents:
44957
diff
changeset
|
726 C-v to cut or copy into register 0-9, or paste from register 0-9. |
0cdd0e248c05
Describe cua and keypad packages.
Kim F. Storm <storm@cua.dk>
parents:
44957
diff
changeset
|
727 |
0cdd0e248c05
Describe cua and keypad packages.
Kim F. Storm <storm@cua.dk>
parents:
44957
diff
changeset
|
728 The last text deleted (not killed) is automatically stored in |
0cdd0e248c05
Describe cua and keypad packages.
Kim F. Storm <storm@cua.dk>
parents:
44957
diff
changeset
|
729 register 0. This includes text deleted by typing text. |
0cdd0e248c05
Describe cua and keypad packages.
Kim F. Storm <storm@cua.dk>
parents:
44957
diff
changeset
|
730 |
0cdd0e248c05
Describe cua and keypad packages.
Kim F. Storm <storm@cua.dk>
parents:
44957
diff
changeset
|
731 Finally, cua provides a global mark which is set using S-C-space. |
0cdd0e248c05
Describe cua and keypad packages.
Kim F. Storm <storm@cua.dk>
parents:
44957
diff
changeset
|
732 When the global mark is active, any text which is cut or copied is |
0cdd0e248c05
Describe cua and keypad packages.
Kim F. Storm <storm@cua.dk>
parents:
44957
diff
changeset
|
733 automatically inserted at the global mark position. See the |
0cdd0e248c05
Describe cua and keypad packages.
Kim F. Storm <storm@cua.dk>
parents:
44957
diff
changeset
|
734 commentary in cua-base.el for more global mark related commands. |
0cdd0e248c05
Describe cua and keypad packages.
Kim F. Storm <storm@cua.dk>
parents:
44957
diff
changeset
|
735 |
0cdd0e248c05
Describe cua and keypad packages.
Kim F. Storm <storm@cua.dk>
parents:
44957
diff
changeset
|
736 The features of cua also works with the standard emacs bindings for |
0cdd0e248c05
Describe cua and keypad packages.
Kim F. Storm <storm@cua.dk>
parents:
44957
diff
changeset
|
737 kill, copy, yank, and undo. If you want to use cua mode, but don't |
0cdd0e248c05
Describe cua and keypad packages.
Kim F. Storm <storm@cua.dk>
parents:
44957
diff
changeset
|
738 want the C-x, C-c, C-v, and C-z bindings, you may customize the |
0cdd0e248c05
Describe cua and keypad packages.
Kim F. Storm <storm@cua.dk>
parents:
44957
diff
changeset
|
739 `cua-enable-cua-keys' variable. |
0cdd0e248c05
Describe cua and keypad packages.
Kim F. Storm <storm@cua.dk>
parents:
44957
diff
changeset
|
740 |
0cdd0e248c05
Describe cua and keypad packages.
Kim F. Storm <storm@cua.dk>
parents:
44957
diff
changeset
|
741 *** The new keypad setup package provides simplified configuration |
0cdd0e248c05
Describe cua and keypad packages.
Kim F. Storm <storm@cua.dk>
parents:
44957
diff
changeset
|
742 of the numeric keypad which is available on most keyboards. |
0cdd0e248c05
Describe cua and keypad packages.
Kim F. Storm <storm@cua.dk>
parents:
44957
diff
changeset
|
743 |
40847 | 744 +++ |
745 *** Calc is now part of the Emacs distribution. | |
746 | |
747 Calc is an advanced desk calculator and mathematical tool written in | |
748 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
|
749 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
|
750 available in `etc/calccard.tex' and `etc/calccard.ps'. |
40847 | 751 |
40889
c410bf71eef7
Mention the addition of the ELisp reference.
Eli Zaretskii <eliz@gnu.org>
parents:
40865
diff
changeset
|
752 +++ |
c410bf71eef7
Mention the addition of the ELisp reference.
Eli Zaretskii <eliz@gnu.org>
parents:
40865
diff
changeset
|
753 *** 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
|
754 |
c410bf71eef7
Mention the addition of the ELisp reference.
Eli Zaretskii <eliz@gnu.org>
parents:
40865
diff
changeset
|
755 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
|
756 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
|
757 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
|
758 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
|
759 |
45022
4359b383982c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44996
diff
changeset
|
760 --- |
4359b383982c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44996
diff
changeset
|
761 ** Indentation of simple and extended loop forms has been added to the |
4359b383982c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44996
diff
changeset
|
762 cl-indent package. The new user options |
4359b383982c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44996
diff
changeset
|
763 `lisp-loop-keyword-indentation', `lisp-loop-forms-indentation', and |
4359b383982c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44996
diff
changeset
|
764 `lisp-simple-loop-indentation' can be used to customize the |
4359b383982c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44996
diff
changeset
|
765 indentation of keywords and forms in loop forms. |
4359b383982c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44996
diff
changeset
|
766 |
4359b383982c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44996
diff
changeset
|
767 --- |
4359b383982c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44996
diff
changeset
|
768 ** Indentation of backquoted forms has been made customizable in the |
4359b383982c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44996
diff
changeset
|
769 cl-indent package. See the new user option `lisp-backquote-indentation'. |
4359b383982c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44996
diff
changeset
|
770 |
4359b383982c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44996
diff
changeset
|
771 --- |
41437
390b2eab7f6f
Mention the Elisp Intro manual.
Eli Zaretskii <eliz@gnu.org>
parents:
41367
diff
changeset
|
772 *** 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
|
773 the distribution. |
390b2eab7f6f
Mention the Elisp Intro manual.
Eli Zaretskii <eliz@gnu.org>
parents:
41367
diff
changeset
|
774 |
390b2eab7f6f
Mention the Elisp Intro manual.
Eli Zaretskii <eliz@gnu.org>
parents:
41367
diff
changeset
|
775 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
|
776 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
|
777 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
|
778 (Help->More Manuals->Introduction to Emacs Lisp). |
41437
390b2eab7f6f
Mention the Elisp Intro manual.
Eli Zaretskii <eliz@gnu.org>
parents:
41367
diff
changeset
|
779 |
44622
a632dc3d85af
Add entries for some things I did earlier:
Miles Bader <miles@gnu.org>
parents:
44589
diff
changeset
|
780 *** The new global minor mode `read-file-name-electric-shadow-mode' |
a632dc3d85af
Add entries for some things I did earlier:
Miles Bader <miles@gnu.org>
parents:
44589
diff
changeset
|
781 modifies the way filenames being entered by the user in the minibuffer are |
a632dc3d85af
Add entries for some things I did earlier:
Miles Bader <miles@gnu.org>
parents:
44589
diff
changeset
|
782 displayed, so that it's clear when part of the entered filename will be |
a632dc3d85af
Add entries for some things I did earlier:
Miles Bader <miles@gnu.org>
parents:
44589
diff
changeset
|
783 ignored due to emacs' filename parsing rules. The ignored portion can be |
a632dc3d85af
Add entries for some things I did earlier:
Miles Bader <miles@gnu.org>
parents:
44589
diff
changeset
|
784 made dim, invisible, or otherwise less visually noticable. The display |
a632dc3d85af
Add entries for some things I did earlier:
Miles Bader <miles@gnu.org>
parents:
44589
diff
changeset
|
785 method may be displayed by customizing the variable |
a632dc3d85af
Add entries for some things I did earlier:
Miles Bader <miles@gnu.org>
parents:
44589
diff
changeset
|
786 `read-file-name-electric-shadow-properties'. |
a632dc3d85af
Add entries for some things I did earlier:
Miles Bader <miles@gnu.org>
parents:
44589
diff
changeset
|
787 |
39738 | 788 *** The ruler-mode.el library provides a minor mode for displaying an |
789 "active" ruler in the header line. You can use the mouse to visually | |
790 change the `fill-column', `window-margins' and `tab-stop-list' | |
791 settings. | |
792 | |
45022
4359b383982c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44996
diff
changeset
|
793 *** The minor mode Reveal mode makes text visible on the fly as you |
41623
8cf1bafe44b1
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41620
diff
changeset
|
794 move your cursor into hidden region of the buffer. |
8cf1bafe44b1
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41620
diff
changeset
|
795 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
|
796 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
|
797 |
45022
4359b383982c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44996
diff
changeset
|
798 There is also Global Reveal mode which affects all buffers. |
4359b383982c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44996
diff
changeset
|
799 |
4359b383982c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44996
diff
changeset
|
800 --- |
44822
0ecfbafcac13
*** empty log message ***
Colin Walters <walters@gnu.org>
parents:
44724
diff
changeset
|
801 *** The new package ibuffer provides a powerful, completely |
0ecfbafcac13
*** empty log message ***
Colin Walters <walters@gnu.org>
parents:
44724
diff
changeset
|
802 customizable replacement for buff-menu.el. |
0ecfbafcac13
*** empty log message ***
Colin Walters <walters@gnu.org>
parents:
44724
diff
changeset
|
803 |
45022
4359b383982c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44996
diff
changeset
|
804 --- |
4359b383982c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44996
diff
changeset
|
805 ** Support for `magic cookie' standout modes has been removed. |
44622
a632dc3d85af
Add entries for some things I did earlier:
Miles Bader <miles@gnu.org>
parents:
44589
diff
changeset
|
806 Emacs will still work on terminals that require magic cookies in order |
a632dc3d85af
Add entries for some things I did earlier:
Miles Bader <miles@gnu.org>
parents:
44589
diff
changeset
|
807 to use standout mode, however they will not be able to display |
a632dc3d85af
Add entries for some things I did earlier:
Miles Bader <miles@gnu.org>
parents:
44589
diff
changeset
|
808 mode-lines in inverse-video. |
a632dc3d85af
Add entries for some things I did earlier:
Miles Bader <miles@gnu.org>
parents:
44589
diff
changeset
|
809 |
39552 | 810 |
44724 | 811 * Lisp Changes in Emacs 21.4 |
40729
650fb912b343
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40686
diff
changeset
|
812 |
45547 | 813 ** The `read-file-name' function now takes an additional argument which |
814 specifies a predicate which the file name read must satify. The | |
815 new variable `read-file-name-predicate' contains the predicate argument | |
816 while reading the file name from the minibuffer; the predicate in this | |
817 variable is used by read-file-name-internal to filter the completion list. | |
818 | |
819 ** The new variable `read-file-name-function' can be used by lisp code | |
820 to override the internal read-file-name function. | |
821 | |
45495 | 822 ** The New lisp library fringe.el controls the apperance of fringes. |
823 | |
44134 | 824 ** The `defmacro' form may contain declarations specifying how to |
825 indent the macro in Lisp mode and how to debug it with Edebug. The | |
826 syntax of defmacro has been extended to | |
827 | |
828 (defmacro NAME LAMBDA-LIST [DOC-STRING] [DECLARATION ...] ...) | |
829 | |
830 DECLARATION is a list `(declare DECLARATION-SPECIFIER ...)'. The | |
831 declaration specifiers supported are: | |
832 | |
833 (indent INDENT) | |
834 Set NAME's `lisp-indent-function' property to INDENT. | |
835 | |
836 (edebug DEBUG) | |
837 Set NAME's `edebug-form-spec' property to DEBUG. (This is | |
838 equivalent to writing a `def-edebug-spec' for the macro. | |
839 | |
43159 | 840 ** Interactive commands can be remapped through keymaps. |
841 | |
842 This is an alternative to using defadvice or substitute-key-definition | |
843 to modify the behaviour of a key binding using the normal keymap | |
844 binding and lookup functionality. | |
845 | |
846 When a key sequence is bound to a command, and that command is | |
847 remapped to another command, that command is run instead of the | |
848 original command. | |
849 | |
850 Example: | |
851 Suppose that minor mode my-mode has defined the commands | |
852 my-kill-line and my-kill-word, and it wants C-k (and any other key | |
853 bound to kill-line) to run the command my-kill-line instead of | |
854 kill-line, and likewise it wants to run my-kill-word instead of | |
855 kill-word. | |
856 | |
857 Instead of rebinding C-k and the other keys in the minor mode map, | |
858 command remapping allows you to directly map kill-line into | |
859 my-kill-line and kill-word into my-kill-word through the minor mode | |
860 map using define-key: | |
861 | |
43503
324295ebaf57
Modify description of command remapping which now uses a `remap'
Kim F. Storm <storm@cua.dk>
parents:
43493
diff
changeset
|
862 (define-key my-mode-map [remap kill-line] 'my-kill-line) |
324295ebaf57
Modify description of command remapping which now uses a `remap'
Kim F. Storm <storm@cua.dk>
parents:
43493
diff
changeset
|
863 (define-key my-mode-map [remap kill-word] 'my-kill-word) |
43159 | 864 |
865 Now, when my-mode is enabled, and the user enters C-k or M-d, | |
866 the commands my-kill-line and my-kill-word are run. | |
867 | |
868 Notice that only one level of remapping is supported. In the above | |
869 example, this means that if my-kill-line is remapped to other-kill, | |
870 then C-k still runs my-kill-line. | |
871 | |
872 The following changes have been made to provide command remapping: | |
873 | |
43503
324295ebaf57
Modify description of command remapping which now uses a `remap'
Kim F. Storm <storm@cua.dk>
parents:
43493
diff
changeset
|
874 - Command remappings are defined using `define-key' with a prefix-key |
324295ebaf57
Modify description of command remapping which now uses a `remap'
Kim F. Storm <storm@cua.dk>
parents:
43493
diff
changeset
|
875 `remap', i.e. `(define-key MAP [remap CMD] DEF)' remaps command CMD |
324295ebaf57
Modify description of command remapping which now uses a `remap'
Kim F. Storm <storm@cua.dk>
parents:
43493
diff
changeset
|
876 to definition DEF in keymap MAP. The definition is not limited to |
324295ebaf57
Modify description of command remapping which now uses a `remap'
Kim F. Storm <storm@cua.dk>
parents:
43493
diff
changeset
|
877 another command; it can be anything accepted for a normal binding. |
324295ebaf57
Modify description of command remapping which now uses a `remap'
Kim F. Storm <storm@cua.dk>
parents:
43493
diff
changeset
|
878 |
324295ebaf57
Modify description of command remapping which now uses a `remap'
Kim F. Storm <storm@cua.dk>
parents:
43493
diff
changeset
|
879 - The new function `remap-command' returns the binding for a remapped |
324295ebaf57
Modify description of command remapping which now uses a `remap'
Kim F. Storm <storm@cua.dk>
parents:
43493
diff
changeset
|
880 command in the current keymaps, or nil if it isn't remapped. |
43159 | 881 |
882 - key-binding now remaps interactive commands unless the optional | |
43503
324295ebaf57
Modify description of command remapping which now uses a `remap'
Kim F. Storm <storm@cua.dk>
parents:
43493
diff
changeset
|
883 third argument NO-REMAP is non-nil. |
43159 | 884 |
885 - where-is-internal now returns nil for a remapped command (e.g. | |
886 kill-line if my-mode is enabled), and the actual key binding for | |
887 the command it is remapped to (e.g. C-k for my-kill-line). | |
888 It also has a new optional fifth argument, NO-REMAP, which inhibits | |
889 remapping if non-nil (e.g. it returns C-k for kill-line and | |
890 <kill-line> for my-kill-line). | |
891 | |
892 - The new variable `this-original-command' contains the original | |
893 command before remapping. It is equal to `this-command' when the | |
894 command was not remapped. | |
895 | |
45223
4cb22a508fe3
Added emulation-mode-map-alists.
Kim F. Storm <storm@cua.dk>
parents:
45195
diff
changeset
|
896 ** New variable emulation-mode-map-alists. |
4cb22a508fe3
Added emulation-mode-map-alists.
Kim F. Storm <storm@cua.dk>
parents:
45195
diff
changeset
|
897 |
4cb22a508fe3
Added emulation-mode-map-alists.
Kim F. Storm <storm@cua.dk>
parents:
45195
diff
changeset
|
898 Lisp packages using many minor mode keymaps can now maintain their own |
4cb22a508fe3
Added emulation-mode-map-alists.
Kim F. Storm <storm@cua.dk>
parents:
45195
diff
changeset
|
899 keymap alist separate from minor-mode-map-alist by adding their keymap |
4cb22a508fe3
Added emulation-mode-map-alists.
Kim F. Storm <storm@cua.dk>
parents:
45195
diff
changeset
|
900 alist to this list. |
4cb22a508fe3
Added emulation-mode-map-alists.
Kim F. Storm <storm@cua.dk>
parents:
45195
diff
changeset
|
901 |
43139
22ff542d67ee
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43100
diff
changeset
|
902 ** Atomic change groups. |
22ff542d67ee
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43100
diff
changeset
|
903 |
22ff542d67ee
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43100
diff
changeset
|
904 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
|
905 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
|
906 around the code that makes changes. For instance: |
22ff542d67ee
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43100
diff
changeset
|
907 |
22ff542d67ee
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43100
diff
changeset
|
908 (atomic-change-group |
22ff542d67ee
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43100
diff
changeset
|
909 (insert foo) |
22ff542d67ee
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43100
diff
changeset
|
910 (delete-region x y)) |
22ff542d67ee
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43100
diff
changeset
|
911 |
22ff542d67ee
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43100
diff
changeset
|
912 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
|
913 `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
|
914 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
|
915 on any other buffers--any such changes remain. |
22ff542d67ee
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43100
diff
changeset
|
916 |
22ff542d67ee
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43100
diff
changeset
|
917 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
|
918 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
|
919 |
22ff542d67ee
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43100
diff
changeset
|
920 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
|
921 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
|
922 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
|
923 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
|
924 |
22ff542d67ee
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43100
diff
changeset
|
925 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
|
926 group. Pass the handle to `activate-change-group' afterward to |
22ff542d67ee
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43100
diff
changeset
|
927 do this. |
22ff542d67ee
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43100
diff
changeset
|
928 |
22ff542d67ee
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43100
diff
changeset
|
929 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
|
930 either accept the changes or cancel them all. Call |
22ff542d67ee
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43100
diff
changeset
|
931 `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
|
932 call `cancel-change-group' to undo them all. |
22ff542d67ee
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43100
diff
changeset
|
933 |
22ff542d67ee
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43100
diff
changeset
|
934 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
|
935 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
|
936 `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
|
937 (This is one reason why `prepare-change-group' and |
22ff542d67ee
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43100
diff
changeset
|
938 `activate-change-group' are separate functions.) Once you finish the |
22ff542d67ee
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43100
diff
changeset
|
939 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
|
940 twice. |
22ff542d67ee
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43100
diff
changeset
|
941 |
22ff542d67ee
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43100
diff
changeset
|
942 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
|
943 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
|
944 returned values, like this: |
22ff542d67ee
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43100
diff
changeset
|
945 |
22ff542d67ee
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43100
diff
changeset
|
946 (nconc (prepare-change-group buffer-1) |
22ff542d67ee
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43100
diff
changeset
|
947 (prepare-change-group buffer-2)) |
22ff542d67ee
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43100
diff
changeset
|
948 |
22ff542d67ee
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43100
diff
changeset
|
949 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
|
950 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
|
951 `accept-change-group' or `cancel-change-group'. |
22ff542d67ee
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43100
diff
changeset
|
952 |
22ff542d67ee
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43100
diff
changeset
|
953 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
|
954 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
|
955 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
|
956 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
|
957 finished. |
22ff542d67ee
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43100
diff
changeset
|
958 |
44680
39c7ce6f26c1
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44666
diff
changeset
|
959 ** New function remove-list-of-text-properties. |
39c7ce6f26c1
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44666
diff
changeset
|
960 |
39c7ce6f26c1
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44666
diff
changeset
|
961 The new function `remove-list-of-text-properties' is almost the same |
39c7ce6f26c1
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44666
diff
changeset
|
962 as `remove-text-properties'. The only difference is that it takes |
39c7ce6f26c1
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44666
diff
changeset
|
963 a list of property names as argument rather than a property list. |
39c7ce6f26c1
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44666
diff
changeset
|
964 |
44724 | 965 ** New functions insert-for-yank and insert-buffer-substring-as-yank. |
966 | |
967 These functions work like `insert' and `insert-buffer-substring', but | |
968 removes the text properties in the `yank-excluded-properties' list. | |
969 | |
970 ** New function insert-buffer-substring-no-properties. | |
971 | |
43973
7e66682c7ec6
Describe enhanced networking support.
Kim F. Storm <storm@cua.dk>
parents:
43947
diff
changeset
|
972 ** Enhanced networking support. |
7e66682c7ec6
Describe enhanced networking support.
Kim F. Storm <storm@cua.dk>
parents:
43947
diff
changeset
|
973 |
7e66682c7ec6
Describe enhanced networking support.
Kim F. Storm <storm@cua.dk>
parents:
43947
diff
changeset
|
974 *** There is a new `make-network-process' function which supports |
7e66682c7ec6
Describe enhanced networking support.
Kim F. Storm <storm@cua.dk>
parents:
43947
diff
changeset
|
975 opening of stream and datagram connections to a server, as well as |
7e66682c7ec6
Describe enhanced networking support.
Kim F. Storm <storm@cua.dk>
parents:
43947
diff
changeset
|
976 create a stream or datagram server inside emacs. |
7e66682c7ec6
Describe enhanced networking support.
Kim F. Storm <storm@cua.dk>
parents:
43947
diff
changeset
|
977 |
7e66682c7ec6
Describe enhanced networking support.
Kim F. Storm <storm@cua.dk>
parents:
43947
diff
changeset
|
978 - A server is started using :server t arg. |
44072
434c70e973e8
Explain how to use featurep with make-network-process.
Kim F. Storm <storm@cua.dk>
parents:
44058
diff
changeset
|
979 - Datagram connection is selected using :type 'datagram arg. |
43973
7e66682c7ec6
Describe enhanced networking support.
Kim F. Storm <storm@cua.dk>
parents:
43947
diff
changeset
|
980 - A server can open on a random port using :service t arg. |
7e66682c7ec6
Describe enhanced networking support.
Kim F. Storm <storm@cua.dk>
parents:
43947
diff
changeset
|
981 - Local sockets are supported using :family 'local arg. |
7e66682c7ec6
Describe enhanced networking support.
Kim F. Storm <storm@cua.dk>
parents:
43947
diff
changeset
|
982 - Non-blocking connect is supported using :nowait t arg. |
7e66682c7ec6
Describe enhanced networking support.
Kim F. Storm <storm@cua.dk>
parents:
43947
diff
changeset
|
983 |
44072
434c70e973e8
Explain how to use featurep with make-network-process.
Kim F. Storm <storm@cua.dk>
parents:
44058
diff
changeset
|
984 To test for the availability of a given feature, use featurep like this: |
434c70e973e8
Explain how to use featurep with make-network-process.
Kim F. Storm <storm@cua.dk>
parents:
44058
diff
changeset
|
985 (featurep 'make-network-process '(:type datagram)) |
434c70e973e8
Explain how to use featurep with make-network-process.
Kim F. Storm <storm@cua.dk>
parents:
44058
diff
changeset
|
986 |
43973
7e66682c7ec6
Describe enhanced networking support.
Kim F. Storm <storm@cua.dk>
parents:
43947
diff
changeset
|
987 *** Original open-network-stream is now emulated using make-network-process. |
7e66682c7ec6
Describe enhanced networking support.
Kim F. Storm <storm@cua.dk>
parents:
43947
diff
changeset
|
988 |
7e66682c7ec6
Describe enhanced networking support.
Kim F. Storm <storm@cua.dk>
parents:
43947
diff
changeset
|
989 *** New function open-network-stream-nowait. |
7e66682c7ec6
Describe enhanced networking support.
Kim F. Storm <storm@cua.dk>
parents:
43947
diff
changeset
|
990 |
7e66682c7ec6
Describe enhanced networking support.
Kim F. Storm <storm@cua.dk>
parents:
43947
diff
changeset
|
991 This function initiates a non-blocking connect and returns immediately |
7e66682c7ec6
Describe enhanced networking support.
Kim F. Storm <storm@cua.dk>
parents:
43947
diff
changeset
|
992 before the connection is established. The filter and sentinel |
7e66682c7ec6
Describe enhanced networking support.
Kim F. Storm <storm@cua.dk>
parents:
43947
diff
changeset
|
993 functions can be specified as arguments to open-network-stream-nowait. |
7e66682c7ec6
Describe enhanced networking support.
Kim F. Storm <storm@cua.dk>
parents:
43947
diff
changeset
|
994 When the non-blocking connect completes, the sentinel is called with |
7e66682c7ec6
Describe enhanced networking support.
Kim F. Storm <storm@cua.dk>
parents:
43947
diff
changeset
|
995 the status matching "open" or "failed". |
7e66682c7ec6
Describe enhanced networking support.
Kim F. Storm <storm@cua.dk>
parents:
43947
diff
changeset
|
996 |
7e66682c7ec6
Describe enhanced networking support.
Kim F. Storm <storm@cua.dk>
parents:
43947
diff
changeset
|
997 *** New function open-network-stream-server. |
44308
ecd559f0d5c3
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44295
diff
changeset
|
998 MORE INFO NEEDED HERE. |
43973
7e66682c7ec6
Describe enhanced networking support.
Kim F. Storm <storm@cua.dk>
parents:
43947
diff
changeset
|
999 |
7e66682c7ec6
Describe enhanced networking support.
Kim F. Storm <storm@cua.dk>
parents:
43947
diff
changeset
|
1000 *** New functions process-datagram-address and set-process-datagram-address. |
44308
ecd559f0d5c3
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44295
diff
changeset
|
1001 MORE INFO NEEDED HERE. |
43973
7e66682c7ec6
Describe enhanced networking support.
Kim F. Storm <storm@cua.dk>
parents:
43947
diff
changeset
|
1002 |
7e66682c7ec6
Describe enhanced networking support.
Kim F. Storm <storm@cua.dk>
parents:
43947
diff
changeset
|
1003 *** By default, the function process-contact still returns (HOST SERVICE) |
7e66682c7ec6
Describe enhanced networking support.
Kim F. Storm <storm@cua.dk>
parents:
43947
diff
changeset
|
1004 for a network process. Using the new optional KEY arg, the complete list |
7e66682c7ec6
Describe enhanced networking support.
Kim F. Storm <storm@cua.dk>
parents:
43947
diff
changeset
|
1005 of network process properties or a specific property can be selected. |
7e66682c7ec6
Describe enhanced networking support.
Kim F. Storm <storm@cua.dk>
parents:
43947
diff
changeset
|
1006 |
7e66682c7ec6
Describe enhanced networking support.
Kim F. Storm <storm@cua.dk>
parents:
43947
diff
changeset
|
1007 Using :local and :remote as the KEY, the address of the local or |
7e66682c7ec6
Describe enhanced networking support.
Kim F. Storm <storm@cua.dk>
parents:
43947
diff
changeset
|
1008 remote end-point is returned. An Inet address is represented as a 5 |
7e66682c7ec6
Describe enhanced networking support.
Kim F. Storm <storm@cua.dk>
parents:
43947
diff
changeset
|
1009 element vector, where the first 4 elements contain the IP address and |
7e66682c7ec6
Describe enhanced networking support.
Kim F. Storm <storm@cua.dk>
parents:
43947
diff
changeset
|
1010 the fifth is the port number. |
7e66682c7ec6
Describe enhanced networking support.
Kim F. Storm <storm@cua.dk>
parents:
43947
diff
changeset
|
1011 |
7e66682c7ec6
Describe enhanced networking support.
Kim F. Storm <storm@cua.dk>
parents:
43947
diff
changeset
|
1012 *** Network processes can now be stopped and restarted with |
7e66682c7ec6
Describe enhanced networking support.
Kim F. Storm <storm@cua.dk>
parents:
43947
diff
changeset
|
1013 `stop-process' and `continue-process'. For a server process, no |
7e66682c7ec6
Describe enhanced networking support.
Kim F. Storm <storm@cua.dk>
parents:
43947
diff
changeset
|
1014 connections are accepted in the stopped state. For a client process, |
7e66682c7ec6
Describe enhanced networking support.
Kim F. Storm <storm@cua.dk>
parents:
43947
diff
changeset
|
1015 no input is received in the stopped state. |
7e66682c7ec6
Describe enhanced networking support.
Kim F. Storm <storm@cua.dk>
parents:
43947
diff
changeset
|
1016 |
7e66682c7ec6
Describe enhanced networking support.
Kim F. Storm <storm@cua.dk>
parents:
43947
diff
changeset
|
1017 *** Function list-processes now has an optional argument; if non-nil, |
7e66682c7ec6
Describe enhanced networking support.
Kim F. Storm <storm@cua.dk>
parents:
43947
diff
changeset
|
1018 only the processes whose query-on-exit flag is set are listed. |
7e66682c7ec6
Describe enhanced networking support.
Kim F. Storm <storm@cua.dk>
parents:
43947
diff
changeset
|
1019 |
7e66682c7ec6
Describe enhanced networking support.
Kim F. Storm <storm@cua.dk>
parents:
43947
diff
changeset
|
1020 *** New set-process-query-on-exit-flag and process-query-on-exit-flag |
7e66682c7ec6
Describe enhanced networking support.
Kim F. Storm <storm@cua.dk>
parents:
43947
diff
changeset
|
1021 functions. The existing process-kill-without-query function is still |
7e66682c7ec6
Describe enhanced networking support.
Kim F. Storm <storm@cua.dk>
parents:
43947
diff
changeset
|
1022 supported, but new code should use the new functions. |
43602
b0f0d5c8cb4f
Describe non-blocking connect using open-network-stream.
Kim F. Storm <storm@cua.dk>
parents:
43563
diff
changeset
|
1023 |
42940
7c0e12d6edb5
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42874
diff
changeset
|
1024 ** New function substring-no-properties. |
7c0e12d6edb5
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42874
diff
changeset
|
1025 |
43626 | 1026 ** New function minibuffer-selected-window. |
1027 | |
44622
a632dc3d85af
Add entries for some things I did earlier:
Miles Bader <miles@gnu.org>
parents:
44589
diff
changeset
|
1028 ** New function `call-process-shell-command'. |
a632dc3d85af
Add entries for some things I did earlier:
Miles Bader <miles@gnu.org>
parents:
44589
diff
changeset
|
1029 |
44957
15ba9db103f6
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44934
diff
changeset
|
1030 ** The dummy function keys made by easymenu |
15ba9db103f6
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44934
diff
changeset
|
1031 are now always lower case. If you specify the |
15ba9db103f6
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44934
diff
changeset
|
1032 menu item name "Ada", for instance, it uses `ada' |
15ba9db103f6
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44934
diff
changeset
|
1033 as the "key" bound by that key binding. |
15ba9db103f6
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44934
diff
changeset
|
1034 |
15ba9db103f6
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44934
diff
changeset
|
1035 This is relevant only if Lisp code looks for |
15ba9db103f6
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44934
diff
changeset
|
1036 the bindings that were made with easymenu. |
15ba9db103f6
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44934
diff
changeset
|
1037 |
15ba9db103f6
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44934
diff
changeset
|
1038 ** The function `commandp' takes an additional optional |
15ba9db103f6
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44934
diff
changeset
|
1039 argument. If it is non-nil, then `commandp' checks |
15ba9db103f6
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44934
diff
changeset
|
1040 for a function that could be called with `call-interactively', |
15ba9db103f6
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44934
diff
changeset
|
1041 and does not return t for keyboard macros. |
15ba9db103f6
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44934
diff
changeset
|
1042 |
45022
4359b383982c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44996
diff
changeset
|
1043 ** master-mode.el implements a minor mode for scrolling a slave |
4359b383982c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44996
diff
changeset
|
1044 buffer without leaving your current buffer, the master buffer. |
4359b383982c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44996
diff
changeset
|
1045 |
4359b383982c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44996
diff
changeset
|
1046 It can be used by sql.el, for example: the SQL buffer is the master |
4359b383982c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44996
diff
changeset
|
1047 and its SQLi buffer is the slave. This allows you to scroll the SQLi |
4359b383982c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44996
diff
changeset
|
1048 buffer containing the output from the SQL buffer containing the |
4359b383982c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44996
diff
changeset
|
1049 commands. |
4359b383982c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44996
diff
changeset
|
1050 |
4359b383982c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44996
diff
changeset
|
1051 This is how to use sql.el and master.el together: the variable |
4359b383982c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44996
diff
changeset
|
1052 sql-buffer contains the slave buffer. It is a local variable in the |
4359b383982c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44996
diff
changeset
|
1053 SQL buffer. |
4359b383982c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44996
diff
changeset
|
1054 |
4359b383982c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44996
diff
changeset
|
1055 (add-hook 'sql-mode-hook |
4359b383982c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44996
diff
changeset
|
1056 (function (lambda () |
4359b383982c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44996
diff
changeset
|
1057 (master-mode t) |
4359b383982c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44996
diff
changeset
|
1058 (master-set-slave sql-buffer)))) |
4359b383982c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44996
diff
changeset
|
1059 (add-hook 'sql-set-sqli-hook |
4359b383982c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44996
diff
changeset
|
1060 (function (lambda () |
4359b383982c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44996
diff
changeset
|
1061 (master-set-slave sql-buffer)))) |
4359b383982c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44996
diff
changeset
|
1062 |
44418
68cfd204d729
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44356
diff
changeset
|
1063 ** File local variables. |
68cfd204d729
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44356
diff
changeset
|
1064 |
68cfd204d729
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44356
diff
changeset
|
1065 A file local variables list cannot specify a string with text |
68cfd204d729
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44356
diff
changeset
|
1066 properties--any specified text properties are discarded. |
68cfd204d729
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44356
diff
changeset
|
1067 |
42958
2d81f84af342
Document the extended color support for xterm and rxvt, and the
Eli Zaretskii <eliz@gnu.org>
parents:
42940
diff
changeset
|
1068 +++ |
42984
069f39874fde
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42974
diff
changeset
|
1069 *** The meanings of scroll-up-aggressively and scroll-down-aggressively |
069f39874fde
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42974
diff
changeset
|
1070 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
|
1071 and the latter now controls scrolling down. |
069f39874fde
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42974
diff
changeset
|
1072 |
069f39874fde
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42974
diff
changeset
|
1073 +++ |
42820
6477316b4dd9
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42786
diff
changeset
|
1074 ** New function window-body-height. |
6477316b4dd9
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42786
diff
changeset
|
1075 |
6477316b4dd9
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42786
diff
changeset
|
1076 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
|
1077 or the header line. |
6477316b4dd9
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42786
diff
changeset
|
1078 |
44160
9139b10bc7e6
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44134
diff
changeset
|
1079 ** New functions `lax-plist-get' and `lax-plist-put'. |
9139b10bc7e6
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44134
diff
changeset
|
1080 |
9139b10bc7e6
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44134
diff
changeset
|
1081 These functions are like `plist-get' and `plist-put' except that they |
9139b10bc7e6
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44134
diff
changeset
|
1082 compare the property name using `equal' rather than `eq'. |
9139b10bc7e6
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44134
diff
changeset
|
1083 |
44308
ecd559f0d5c3
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44295
diff
changeset
|
1084 ** New function `tool-bar-local-item-from-menu' |
ecd559f0d5c3
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44295
diff
changeset
|
1085 |
ecd559f0d5c3
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44295
diff
changeset
|
1086 The `tool-bar-add-item-from-menu' most not be used (as previously |
ecd559f0d5c3
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44295
diff
changeset
|
1087 recommended) for making entries in the tool bar for local keymaps. |
ecd559f0d5c3
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44295
diff
changeset
|
1088 Instead, use the function `tool-bar-local-item-from-menu', which lets |
ecd559f0d5c3
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44295
diff
changeset
|
1089 you specify the map to use as an argument. |
ecd559f0d5c3
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44295
diff
changeset
|
1090 |
42820
6477316b4dd9
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42786
diff
changeset
|
1091 +++ |
43415
59c97b8695ee
Document the optional second arg of `atan'.
Eli Zaretskii <eliz@gnu.org>
parents:
43390
diff
changeset
|
1092 ** The function `atan' now accepts an optional second argument. |
59c97b8695ee
Document the optional second arg of `atan'.
Eli Zaretskii <eliz@gnu.org>
parents:
43390
diff
changeset
|
1093 |
59c97b8695ee
Document the optional second arg of `atan'.
Eli Zaretskii <eliz@gnu.org>
parents:
43390
diff
changeset
|
1094 When called with 2 arguments, as in `(atan Y X)', `atan' returns the |
59c97b8695ee
Document the optional second arg of `atan'.
Eli Zaretskii <eliz@gnu.org>
parents:
43390
diff
changeset
|
1095 angle in radians between the vector [X, Y] and the X axis. (This is |
59c97b8695ee
Document the optional second arg of `atan'.
Eli Zaretskii <eliz@gnu.org>
parents:
43390
diff
changeset
|
1096 equivalent to the standard C library function `atan2'.) |
59c97b8695ee
Document the optional second arg of `atan'.
Eli Zaretskii <eliz@gnu.org>
parents:
43390
diff
changeset
|
1097 |
59c97b8695ee
Document the optional second arg of `atan'.
Eli Zaretskii <eliz@gnu.org>
parents:
43390
diff
changeset
|
1098 +++ |
42867
68f16b55e041
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42830
diff
changeset
|
1099 ** 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
|
1100 |
68f16b55e041
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42830
diff
changeset
|
1101 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
|
1102 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
|
1103 `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
|
1104 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
|
1105 variables call for both, only the mode line actually appears. |
68f16b55e041
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42830
diff
changeset
|
1106 |
68f16b55e041
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42830
diff
changeset
|
1107 +++ |
42749
62c6ce7088f2
Document the new --color arg and tty-color-mode frame parameter.
Eli Zaretskii <eliz@gnu.org>
parents:
42739
diff
changeset
|
1108 ** 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
|
1109 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
|
1110 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
|
1111 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
|
1112 |
44418
68cfd204d729
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44356
diff
changeset
|
1113 ** Mode line display ignores text properties in the value |
68cfd204d729
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44356
diff
changeset
|
1114 of a variable whose `risky-local-variables' property is nil. |
68cfd204d729
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44356
diff
changeset
|
1115 |
42629
180b3f3a8fb8
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42605
diff
changeset
|
1116 ** 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
|
1117 |
180b3f3a8fb8
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42605
diff
changeset
|
1118 Multibyte buffers can now faithfully record all 256 character codes |
180b3f3a8fb8
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42605
diff
changeset
|
1119 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
|
1120 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
|
1121 now: |
180b3f3a8fb8
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42605
diff
changeset
|
1122 |
180b3f3a8fb8
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42605
diff
changeset
|
1123 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
|
1124 |
180b3f3a8fb8
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42605
diff
changeset
|
1125 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
|
1126 the time it takes to convert the format. |
180b3f3a8fb8
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42605
diff
changeset
|
1127 |
180b3f3a8fb8
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42605
diff
changeset
|
1128 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
|
1129 wasteful. |
180b3f3a8fb8
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42605
diff
changeset
|
1130 |
42487
88fb2c8602aa
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42437
diff
changeset
|
1131 ** If text has a `keymap' property, that keymap takes precedence |
88fb2c8602aa
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42437
diff
changeset
|
1132 over minor mode keymaps. |
88fb2c8602aa
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42437
diff
changeset
|
1133 |
42425
aa6c345a4af0
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42367
diff
changeset
|
1134 ** 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
|
1135 An octal escape makes it unibyte. |
aa6c345a4af0
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42367
diff
changeset
|
1136 |
44625 | 1137 ** Only one of the beginning or end of an invisible, intangible region is |
1138 considered an acceptable value for point; which one is determined by | |
1139 examining how the invisible/intangible properties are inherited when new | |
1140 text is inserted adjacent to them. If text inserted at the beginning would | |
1141 inherit the invisible/intangible properties, then that position is | |
1142 considered unacceptable, and point is forced to the position following the | |
1143 invisible/intangible text. If text inserted at the end would inherit the | |
1144 properties, then the opposite happens. | |
1145 | |
1146 Thus, point can only go to one end of an invisible, intangible region, but | |
1147 not the other one. This prevents C-f and C-b from appearing to stand still | |
1148 on the screen. | |
1149 | |
1150 ** field-beginning and field-end now accept an additional optional | |
1151 argument, LIMIT. | |
42367
e79ed5ab7b08
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42342
diff
changeset
|
1152 |
42437
5426f6a09f35
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42434
diff
changeset
|
1153 +++ |
42434
2c3aa5c554ca
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42425
diff
changeset
|
1154 ** define-abbrev now accepts an optional argument SYSTEM-FLAG. If |
2c3aa5c554ca
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42425
diff
changeset
|
1155 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
|
1156 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
|
1157 Major modes that predefine some abbrevs should always specify this |
2c3aa5c554ca
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42425
diff
changeset
|
1158 flag. |
2c3aa5c554ca
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42425
diff
changeset
|
1159 |
42281 | 1160 ** Support for Mocklisp has been removed. |
1161 | |
1162 ** The function insert-string is now obsolete. | |
1163 | |
41596
3c035e37d086
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41594
diff
changeset
|
1164 ** The precedence of file-name-handlers has been changed. |
3c035e37d086
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41594
diff
changeset
|
1165 Instead of blindly choosing the first handler that matches, |
3c035e37d086
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41594
diff
changeset
|
1166 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
|
1167 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
|
1168 handler whose (match-beginning 0) is the largest is chosen. |
3c035e37d086
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41594
diff
changeset
|
1169 In case of ties, the old "first matched" rule applies. |
3c035e37d086
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41594
diff
changeset
|
1170 |
41594
452efff38a6e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41501
diff
changeset
|
1171 ** Dense keymaps now handle inheritance correctly. |
41847
7423116b7ac3
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41820
diff
changeset
|
1172 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
|
1173 bindings of the parent keymap. |
41594
452efff38a6e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41501
diff
changeset
|
1174 |
41337
3a8e8dd8a64e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41298
diff
changeset
|
1175 ** 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
|
1176 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
|
1177 (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
|
1178 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
|
1179 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
|
1180 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
|
1181 |
3a8e8dd8a64e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41298
diff
changeset
|
1182 s{ |
3a8e8dd8a64e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41298
diff
changeset
|
1183 foo |
3a8e8dd8a64e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41298
diff
changeset
|
1184 }{ |
3a8e8dd8a64e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41298
diff
changeset
|
1185 bar |
3a8e8dd8a64e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41298
diff
changeset
|
1186 }e |
3a8e8dd8a64e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41298
diff
changeset
|
1187 |
3a8e8dd8a64e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41298
diff
changeset
|
1188 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
|
1189 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
|
1190 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
|
1191 refontification of `bar' whenever the `e' is added/removed. |
3a8e8dd8a64e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41298
diff
changeset
|
1192 |
41298
dd0332958888
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41246
diff
changeset
|
1193 ** 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
|
1194 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
|
1195 |
44625 | 1196 ** face-attribute, face-foreground, face-background, and face-stipple now |
1197 accept a new optional argument, INHERIT, which controls how face | |
1198 inheritance is used when determining the value of a face attribute. | |
1199 | |
41229
70059cb88be4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41099
diff
changeset
|
1200 ** defcustom and other custom declarations now use a default group |
70059cb88be4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41099
diff
changeset
|
1201 (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
|
1202 |
70059cb88be4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41099
diff
changeset
|
1203 ** 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
|
1204 it receives a request from emacsclient. |
70059cb88be4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41099
diff
changeset
|
1205 |
41471
41ef4373121e
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
41439
diff
changeset
|
1206 ** The variable `recursive-load-depth-limit' has been deleted. |
41ef4373121e
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
41439
diff
changeset
|
1207 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
|
1208 than 3 levels of nesting. |
41ef4373121e
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
41439
diff
changeset
|
1209 |
41ef4373121e
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
41439
diff
changeset
|
1210 ** 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
|
1211 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
|
1212 in Indented-Text mode. |
41229
70059cb88be4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41099
diff
changeset
|
1213 |
40973
5959d9cfe456
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40963
diff
changeset
|
1214 ** 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
|
1215 property, `clone-indirect-buffer' signals an error if you use |
5959d9cfe456
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40963
diff
changeset
|
1216 it in that buffer. |
5959d9cfe456
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40963
diff
changeset
|
1217 |
5959d9cfe456
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40963
diff
changeset
|
1218 ** If you set `query-replace-skip-read-only' non-nil, |
5959d9cfe456
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40963
diff
changeset
|
1219 `query-replace' and related functions simply ignore |
5959d9cfe456
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40963
diff
changeset
|
1220 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
|
1221 |
41367 | 1222 ** In `replace-match', the replacement text no longer inherits |
41356 | 1223 properties from surrounding text. |
40973
5959d9cfe456
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40963
diff
changeset
|
1224 |
40729
650fb912b343
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40686
diff
changeset
|
1225 ** New function `buffer-local-value'. |
650fb912b343
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40686
diff
changeset
|
1226 |
650fb912b343
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40686
diff
changeset
|
1227 - Function: buffer-local-value variable buffer |
650fb912b343
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40686
diff
changeset
|
1228 |
650fb912b343
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40686
diff
changeset
|
1229 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
|
1230 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
|
1231 buffer BUFFER, it returns the default value of VARIABLE instead. |
39552 | 1232 |
40973
5959d9cfe456
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40963
diff
changeset
|
1233 ** 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
|
1234 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
|
1235 used in Indented Text mode. |
40487
8c17e2ae6bf5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
40378
diff
changeset
|
1236 |
8c17e2ae6bf5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
40378
diff
changeset
|
1237 ** 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
|
1238 that are kept identical by transparently propagating changes from one |
8c17e2ae6bf5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
40378
diff
changeset
|
1239 clone to the other. |
8c17e2ae6bf5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
40378
diff
changeset
|
1240 |
8c17e2ae6bf5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
40378
diff
changeset
|
1241 ** font-lock can manage arbitrary text-properties beside `face'. |
8c17e2ae6bf5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
40378
diff
changeset
|
1242 *** the FACENAME returned in font-lock-keywords can be a list |
43607 | 1243 of the form (face FACE PROP1 VAL1 PROP2 VAL2 ...) so you can set |
40487
8c17e2ae6bf5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
40378
diff
changeset
|
1244 other properties than `face'. |
8c17e2ae6bf5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
40378
diff
changeset
|
1245 *** 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
|
1246 properties are automatically cleaned up by font-lock. |
8c17e2ae6bf5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
40378
diff
changeset
|
1247 |
43932
435ee4108bad
Document removal of special treatment of fg:COLOR and bg:COLOR faces.
Eli Zaretskii <eliz@gnu.org>
parents:
43931
diff
changeset
|
1248 ** The special treatment of faces whose names are of the form `fg:COLOR' |
435ee4108bad
Document removal of special treatment of fg:COLOR and bg:COLOR faces.
Eli Zaretskii <eliz@gnu.org>
parents:
43931
diff
changeset
|
1249 or `bg:COLOR' has been removed. Lisp programs should use the |
435ee4108bad
Document removal of special treatment of fg:COLOR and bg:COLOR faces.
Eli Zaretskii <eliz@gnu.org>
parents:
43931
diff
changeset
|
1250 `defface' facility for defining faces with specific colors. |
435ee4108bad
Document removal of special treatment of fg:COLOR and bg:COLOR faces.
Eli Zaretskii <eliz@gnu.org>
parents:
43931
diff
changeset
|
1251 |
40487
8c17e2ae6bf5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
40378
diff
changeset
|
1252 ** 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
|
1253 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
|
1254 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
|
1255 |
8c17e2ae6bf5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
40378
diff
changeset
|
1256 ** `provide' and `featurep' now accept an optional second argument |
8c17e2ae6bf5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
40378
diff
changeset
|
1257 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
|
1258 and run any code associated with the provided feature. |
8c17e2ae6bf5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
40378
diff
changeset
|
1259 |
40295 | 1260 ** The variable `compilation-parse-errors-filename-function' can |
1261 be used to transform filenames found in compilation output. | |
1262 | |
40190
9ba78bf11cf1
Document changes in file-name-sans-extension and file-name-extension.
Eli Zaretskii <eliz@gnu.org>
parents:
39975
diff
changeset
|
1263 +++ |
9ba78bf11cf1
Document changes in file-name-sans-extension and file-name-extension.
Eli Zaretskii <eliz@gnu.org>
parents:
39975
diff
changeset
|
1264 ** 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
|
1265 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
|
1266 `.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
|
1267 |
39778 | 1268 ** Functions `user-uid' and `user-real-uid' now return floats if the |
1269 user UID doesn't fit in a Lisp integer. Function `user-full-name' | |
1270 accepts a float as UID parameter. | |
1271 | |
39765
e8c0b3b54fc7
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39738
diff
changeset
|
1272 ** `define-key-after' now accepts keys longer than 1. |
e8c0b3b54fc7
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39738
diff
changeset
|
1273 |
40296 | 1274 ** `define-derived-mode' now accepts nil as the parent. |
39765
e8c0b3b54fc7
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39738
diff
changeset
|
1275 |
e8c0b3b54fc7
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39738
diff
changeset
|
1276 ** 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
|
1277 |
39849
10b9480202e8
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39784
diff
changeset
|
1278 ** New functions `keymap-prompt' and `current-active-maps'. |
10b9480202e8
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39784
diff
changeset
|
1279 |
10b9480202e8
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39784
diff
changeset
|
1280 ** New function `describe-buffer-bindings'. |
10b9480202e8
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39784
diff
changeset
|
1281 |
10b9480202e8
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39784
diff
changeset
|
1282 ** New vars `exec-suffixes' and `load-suffixes' used when |
10b9480202e8
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39784
diff
changeset
|
1283 searching for an executable resp. an elisp file. |
10b9480202e8
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39784
diff
changeset
|
1284 |
45614
8f47aa4a587a
*** empty log message ***
Colin Walters <walters@gnu.org>
parents:
45610
diff
changeset
|
1285 ** Variable aliases have been implemented: |
39552 | 1286 |
1287 - Macro: defvaralias ALIAS-VAR BASE-VAR | |
1288 | |
1289 This defines the symbol ALIAS-VAR as a variable alias for symbol | |
1290 BASE-VAR. This means that retrieving the value of ALIAS-VAR returns | |
1291 the value of BASE-VAR, and changing the value of ALIAS-VAR changes the | |
1292 value of BASE-VAR. | |
1293 | |
1294 - Function: indirect-variable VARIABLE | |
1295 | |
1296 This function returns the variable at the end of the chain of aliases | |
1297 of VARIABLE. If VARIABLE is not a symbol, or if VARIABLE is not | |
1298 defined as an alias, the function returns VARIABLE. | |
1299 | |
1300 It might be noteworthy that variables aliases work for all kinds of | |
1301 variables, including buffer-local and frame-local variables. | |
1302 | |
1303 ** Functions from `post-gc-hook' are run at the end of garbage | |
1304 collection. The hook is run with GC inhibited, so use it with care. | |
1305 | |
39604 | 1306 ** If the second argument to `copy-file' is the name of a directory, |
39605 | 1307 the file is copied to that directory instead of signaling an error. |
39604 | 1308 |
39647 | 1309 ** The variables most-positive-fixnum and most-negative-fixnum |
1310 have been moved from the CL package to the core. | |
1311 | |
41355
ffd42182dd37
Added note about locale-coding-system on Windows.
Jason Rumney <jasonr@gnu.org>
parents:
41340
diff
changeset
|
1312 ** 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
|
1313 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
|
1314 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
|
1315 |
43754 | 1316 ** Functions y-or-n-p, read-char, read-keysequence and alike that |
1317 display a prompt but don't use the minibuffer now display the prompt | |
1318 using the text properties (esp. the face) of the prompt string. | |
1319 | |
39765
e8c0b3b54fc7
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39738
diff
changeset
|
1320 ** New packages: |
e8c0b3b54fc7
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39738
diff
changeset
|
1321 |
e8c0b3b54fc7
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39738
diff
changeset
|
1322 *** 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
|
1323 current syntactic context (as returned by parse-partial-sexp). |
e8c0b3b54fc7
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39738
diff
changeset
|
1324 |
41340
00ed4838100e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41337
diff
changeset
|
1325 *** 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
|
1326 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
|
1327 |
44622
a632dc3d85af
Add entries for some things I did earlier:
Miles Bader <miles@gnu.org>
parents:
44589
diff
changeset
|
1328 *** The new package button.el implements simple and fast `clickable buttons' |
a632dc3d85af
Add entries for some things I did earlier:
Miles Bader <miles@gnu.org>
parents:
44589
diff
changeset
|
1329 in emacs buffers. `buttons' are much lighter-weight than the `widgets' |
a632dc3d85af
Add entries for some things I did earlier:
Miles Bader <miles@gnu.org>
parents:
44589
diff
changeset
|
1330 implemented by widget.el, and can be used by lisp code that doesn't |
a632dc3d85af
Add entries for some things I did earlier:
Miles Bader <miles@gnu.org>
parents:
44589
diff
changeset
|
1331 require the full power of widgets. Emacs uses buttons for such things |
a632dc3d85af
Add entries for some things I did earlier:
Miles Bader <miles@gnu.org>
parents:
44589
diff
changeset
|
1332 as help and apropos buffers. |
a632dc3d85af
Add entries for some things I did earlier:
Miles Bader <miles@gnu.org>
parents:
44589
diff
changeset
|
1333 |
39552 | 1334 |
25995 | 1335 * Installation Changes in Emacs 21.1 |
1336 | |
36039 | 1337 See the INSTALL file for information on installing extra libraries and |
1338 fonts to take advantage of the new graphical features and extra | |
1339 charsets in this release. | |
1340 | |
30576 | 1341 ** Support for GNU/Linux on IA64 machines has been added. |
1342 | |
31007 | 1343 ** Support for LynxOS has been added. |
1344 | |
28166 | 1345 ** 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
|
1346 images and toolkit scrollbars. Use the --help option in `configure' |
cb2595f03c92
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
29949
diff
changeset
|
1347 to list them. |
29696 | 1348 |
30467
26afdae5ea13
--disable-largefile, 64-bit solaris
Dave Love <fx@gnu.org>
parents:
30445
diff
changeset
|
1349 ** You can build a 64-bit Emacs for SPARC/Solaris systems which |
32182 | 1350 support 64-bit executables and also on Irix 6.5. This increases the |
33484 | 1351 maximum buffer size. See etc/MACHINES for instructions. Changes to |
1352 build on other 64-bit systems should be straightforward modulo any | |
1353 necessary changes to unexec. | |
30576 | 1354 |
38900
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1355 ** 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
|
1356 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
|
1357 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1358 ** 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
|
1359 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
|
1360 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1361 ** `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
|
1362 the --without-pop configure option, should that be necessary. |
32428 | 1363 |
32865
34e286ed22a5
Say that Emacs can now be built on the Macintosh.
Andrew Choi <akochoi@shaw.ca>
parents:
32845
diff
changeset
|
1364 ** This version can be built for the Macintosh, but does not implement |
32966 | 1365 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
|
1366 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
|
1367 "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
|
1368 description of aspects specific to the Mac. |
32428 | 1369 |
38900
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1370 ** 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
|
1371 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
|
1372 |
35577
db5649648a65
Replace formfeeds removed on 2001/01/22.
Dave Love <fx@gnu.org>
parents:
35567
diff
changeset
|
1373 |
28166 | 1374 * Changes in Emacs 21.1 |
1375 | |
36821 | 1376 ** Emacs has a new redisplay engine. |
1377 | |
1378 The new redisplay handles characters of variable width and height. | |
1379 Italic text can be used without redisplay problems. Fonts containing | |
1380 oversized characters, i.e. characters larger than the logical height | |
1381 of a font can be used. Images of various formats can be displayed in | |
1382 the text. | |
1383 | |
1384 ** Emacs has a new face implementation. | |
1385 | |
1386 The new faces no longer fundamentally use X font names to specify the | |
1387 font. Instead, each face has several independent attributes--family, | |
1388 height, width, weight and slant--that it may or may not specify. | |
1389 These attributes can be merged from various faces, and then together | |
1390 specify a font. | |
1391 | |
1392 Faces are supported on terminals that can display color or fonts. | |
1393 These terminal capabilities are auto-detected. Details can be found | |
1394 under Lisp changes, below. | |
1395 | |
1396 ** Emacs can display faces on TTY frames. | |
1397 | |
1398 Emacs automatically detects terminals that are able to display colors. | |
1399 Faces with a weight greater than normal are displayed extra-bright, if | |
1400 the terminal supports it. Faces with a weight less than normal and | |
1401 italic faces are displayed dimmed, if the terminal supports it. | |
1402 Underlined faces are displayed underlined if possible. Other face | |
1403 attributes such as `overline', `strike-through', and `box' are ignored | |
1404 on terminals. | |
1405 | |
1406 The command-line options `-fg COLOR', `-bg COLOR', and `-rv' are now | |
1407 supported on character terminals. | |
1408 | |
38900
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1409 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
|
1410 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
|
1411 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
|
1412 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
|
1413 |
36821 | 1414 ** New default font is Courier 12pt under X. |
1415 | |
38900
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1416 ** Sound support |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1417 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1418 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
|
1419 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
|
1420 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
|
1421 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
|
1422 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
|
1423 |
36821 | 1424 ** Emacs now resizes mini-windows if appropriate. |
1425 | |
1426 If a message is longer than one line, or minibuffer contents are | |
1427 longer than one line, Emacs can resize the minibuffer window unless it | |
1428 is on a frame of its own. You can control resizing and the maximum | |
1429 minibuffer window size by setting the following variables: | |
1430 | |
1431 - User option: max-mini-window-height | |
1432 | |
1433 Maximum height for resizing mini-windows. If a float, it specifies a | |
1434 fraction of the mini-window frame's height. If an integer, it | |
1435 specifies a number of lines. | |
1436 | |
1437 Default is 0.25. | |
1438 | |
1439 - User option: resize-mini-windows | |
1440 | |
1441 How to resize mini-windows. If nil, don't resize. If t, always | |
1442 resize to fit the size of the text. If `grow-only', let mini-windows | |
1443 grow only, until they become empty, at which point they are shrunk | |
1444 again. | |
1445 | |
1446 Default is `grow-only'. | |
1447 | |
1448 ** LessTif support. | |
1449 | |
1450 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
|
1451 <http://www.lesstif.org>). You will need version 0.92.26, or later. |
36821 | 1452 |
1453 ** LessTif/Motif file selection dialog. | |
1454 | |
1455 When Emacs is configured to use LessTif or Motif, reading a file name | |
1456 from a menu will pop up a file selection dialog if `use-dialog-box' is | |
1457 non-nil. | |
1458 | |
39485
5e20b8bbcc45
Document the support for file selection dialog on MS-Windows.
Eli Zaretskii <eliz@gnu.org>
parents:
39441
diff
changeset
|
1459 ** 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
|
1460 |
5e20b8bbcc45
Document the support for file selection dialog on MS-Windows.
Eli Zaretskii <eliz@gnu.org>
parents:
39441
diff
changeset
|
1461 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
|
1462 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
|
1463 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
|
1464 |
36821 | 1465 ** Toolkit scroll bars. |
1466 | |
1467 Emacs now uses toolkit scroll bars if available. When configured for | |
1468 LessTif/Motif, it will use that toolkit's scroll bar. Otherwise, when | |
1469 configured for Lucid and Athena widgets, it will use the Xaw3d scroll | |
1470 bar if Xaw3d is available. You can turn off the use of toolkit scroll | |
1471 bars by specifying `--with-toolkit-scroll-bars=no' when configuring | |
1472 Emacs. | |
1473 | |
1474 When you encounter problems with the Xaw3d scroll bar, watch out how | |
1475 Xaw3d is compiled on your system. If the Makefile generated from | |
1476 Xaw3d's Imakefile contains a `-DNARROWPROTO' compiler option, and your | |
1477 Emacs system configuration file `s/your-system.h' does not contain a | |
1478 define for NARROWPROTO, you might consider adding it. Take | |
1479 `s/freebsd.h' as an example. | |
1480 | |
1481 Alternatively, if you don't have access to the Xaw3d source code, take | |
1482 a look at your system's imake configuration file, for example in the | |
1483 directory `/usr/X11R6/lib/X11/config' (paths are different on | |
1484 different systems). You will find files `*.cf' there. If your | |
1485 system's cf-file contains a line like `#define NeedWidePrototypes NO', | |
1486 add a `#define NARROWPROTO' to your Emacs system configuration file. | |
1487 | |
1488 The reason for this is that one Xaw3d function uses `double' or | |
1489 `float' function parameters depending on the setting of NARROWPROTO. | |
1490 This is not a problem when Imakefiles are used because each system's | |
37156 | 1491 imake configuration file contains the necessary information. Since |
36821 | 1492 Emacs doesn't use imake, this has do be done manually. |
1493 | |
1494 ** Tool bar support. | |
1495 | |
1496 Emacs supports a tool bar at the top of a frame under X. For details | |
1497 of how to define a tool bar, see the page describing Lisp-level | |
1498 changes. Tool-bar global minor mode controls whether or not it is | |
1499 displayed and is on by default. The appearance of the bar is improved | |
1500 if Emacs has been built with XPM image support. Otherwise monochrome | |
1501 icons will be used. | |
1502 | |
1503 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
|
1504 for specific modes (with copyright assignments). |
36821 | 1505 |
1506 ** Tooltips. | |
1507 | |
1508 Tooltips are small X windows displaying a help string at the current | |
1509 mouse position. The Lisp package `tooltip' implements them. You can | |
1510 turn them off via the user option `tooltip-mode'. | |
1511 | |
1512 Tooltips also provides support for GUD debugging. If activated, | |
1513 variable values can be displayed in tooltips by pointing at them with | |
1514 the mouse in source buffers. You can customize various aspects of the | |
1515 tooltip display in the group `tooltip'. | |
1516 | |
38900
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1517 ** Automatic Hscrolling |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1518 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1519 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
|
1520 `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
|
1521 customized. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1522 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1523 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
|
1524 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
|
1525 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
|
1526 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
|
1527 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
|
1528 |
36821 | 1529 ** When using a windowing terminal, each Emacs window now has a cursor |
1530 of its own. By default, when a window is selected, the cursor is | |
1531 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
|
1532 `cursor-in-non-selected-windows' controls how to display the |
36821 | 1533 cursor in non-selected windows. If nil, no cursor is shown, if |
36885 | 1534 non-nil a hollow box cursor is shown. |
36821 | 1535 |
1536 ** Fringes to the left and right of windows are used to display | |
1537 truncation marks, continuation marks, overlay arrows and alike. The | |
1538 foreground, background, and stipple of these areas can be changed by | |
1539 customizing face `fringe'. | |
1540 | |
1541 ** The mode line under X is now drawn with shadows by default. | |
1542 You can change its appearance by modifying the face `mode-line'. | |
1543 In particular, setting the `:box' attribute to nil turns off the 3D | |
1544 appearance of the mode line. (The 3D appearance makes the mode line | |
1545 occupy more space, and thus might cause the first or the last line of | |
1546 the window to be partially obscured.) | |
1547 | |
1548 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
|
1549 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
|
1550 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
|
1551 ignored, and mode-lines to be drawn using the default text face. |
36821 | 1552 |
1553 ** Mouse-sensitive mode line. | |
1554 | |
36848
87bf5cef20c7
Mode line is mouse-sensitive on all systems which have a mouse.
Eli Zaretskii <eliz@gnu.org>
parents:
36821
diff
changeset
|
1555 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
|
1556 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
|
1557 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
|
1558 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
|
1559 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
|
1560 have enabled one. |
36821 | 1561 |
1562 Currently, the following actions have been defined: | |
1563 | |
40916
4a749a84888c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40889
diff
changeset
|
1564 - 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
|
1565 |
4a749a84888c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40889
diff
changeset
|
1566 - Mouse-3 on the buffer-name goes to the previous buffer. |
36821 | 1567 |
1568 - Mouse-2 on the read-only or modified status in the mode line (`%' or | |
1569 `*') toggles the status. | |
1570 | |
1571 - Mouse-3 on the mode name displays a minor-mode menu. | |
1572 | |
1573 ** Hourglass pointer | |
1574 | |
1575 Emacs can optionally display an hourglass pointer under X. You can | |
1576 turn the display on or off by customizing group `cursor'. | |
1577 | |
1578 ** Blinking cursor | |
1579 | |
1580 M-x blink-cursor-mode toggles a blinking cursor under X and on | |
1581 terminals having terminal capabilities `vi', `vs', and `ve'. Blinking | |
1582 and related parameters like frequency and delay can be customized in | |
1583 the group `cursor'. | |
1584 | |
1585 ** New font-lock support mode `jit-lock-mode'. | |
1586 | |
1587 This support mode is roughly equivalent to `lazy-lock' but is | |
1588 generally faster. It supports stealth and deferred fontification. | |
1589 See the documentation of the function `jit-lock-mode' for more | |
1590 details. | |
1591 | |
1592 Font-lock uses jit-lock-mode as default support mode, so you don't | |
1593 have to do anything to activate it. | |
1594 | |
38900
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1595 ** 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
|
1596 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1597 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
|
1598 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
|
1599 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1600 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
|
1601 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
|
1602 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
|
1603 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
|
1604 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
|
1605 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
|
1606 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
|
1607 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
|
1608 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1609 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
|
1610 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
|
1611 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
|
1612 `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
|
1613 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
|
1614 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
|
1615 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1616 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
|
1617 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
|
1618 |
36821 | 1619 ** The default for user-option `next-line-add-newlines' has been |
1620 changed to nil, i.e. C-n will no longer add newlines at the end of a | |
1621 buffer by default. | |
1622 | |
1623 ** The <home> and <end> keys now move to the beginning or end of the | |
1624 current line, respectively. C-<home> and C-<end> move to the | |
1625 beginning and end of the buffer. | |
1626 | |
1627 ** Emacs now checks for recursive loads of Lisp files. If the | |
1628 recursion depth exceeds `recursive-load-depth-limit', an error is | |
1629 signaled. | |
1630 | |
1631 ** When an error is signaled during the loading of the user's init | |
1632 file, Emacs now pops up the *Messages* buffer. | |
1633 | |
1634 ** Emacs now refuses to load compiled Lisp files which weren't | |
1635 compiled with Emacs. Set `load-dangerous-libraries' to t to change | |
1636 this behavior. | |
1637 | |
38900
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1638 The reason for this change is an incompatible change in XEmacs's byte |
36821 | 1639 compiler. Files compiled with XEmacs can contain byte codes that let |
1640 Emacs dump core. | |
1641 | |
1642 ** Toggle buttons and radio buttons in menus. | |
1643 | |
1644 When compiled with LessTif (or Motif) support, Emacs uses toolkit | |
1645 widgets for radio and toggle buttons in menus. When configured for | |
1646 Lucid, Emacs draws radio buttons and toggle buttons similar to Motif. | |
1647 | |
1648 ** The menu bar configuration has changed. The new configuration is | |
1649 more CUA-compliant. The most significant change is that Options is | |
1650 now a separate menu-bar item, with Mule and Customize as its submenus. | |
1651 | |
1652 ** Item Save Options on the Options menu allows saving options set | |
1653 using that menu. | |
1654 | |
1655 ** Highlighting of trailing whitespace. | |
1656 | |
1657 When `show-trailing-whitespace' is non-nil, Emacs displays trailing | |
1658 whitespace in the face `trailing-whitespace'. Trailing whitespace is | |
1659 defined as spaces or tabs at the end of a line. To avoid busy | |
1660 highlighting when entering new text, trailing whitespace is not | |
1661 displayed if point is at the end of the line containing the | |
1662 whitespace. | |
1663 | |
1664 ** C-x 5 1 runs the new command delete-other-frames which deletes | |
1665 all frames except the selected one. | |
1666 | |
1667 ** The new user-option `confirm-kill-emacs' can be customized to | |
1668 let Emacs ask for confirmation before exiting. | |
1669 | |
1670 ** The header line in an Info buffer is now displayed as an emacs | |
1671 header-line (which is like a mode-line, but at the top of the window), | |
1672 so that it remains visible even when the buffer has been scrolled. | |
1673 This behavior may be disabled by customizing the option | |
1674 `Info-use-header-line'. | |
1675 | |
1676 ** Polish, Czech, German, and French translations of Emacs' reference card | |
1677 have been added. They are named `pl-refcard.tex', `cs-refcard.tex', | |
1678 `de-refcard.tex' and `fr-refcard.tex'. Postscript files are included. | |
1679 | |
1680 ** An `Emacs Survival Guide', etc/survival.tex, is available. | |
1681 | |
1682 ** A reference card for Dired has been added. Its name is | |
1683 `dired-ref.tex'. A French translation is available in | |
1684 `fr-drdref.tex'. | |
1685 | |
1686 ** C-down-mouse-3 is bound differently. Now if the menu bar is not | |
1687 displayed it pops up a menu containing the items which would be on the | |
1688 menu bar. If the menu bar is displayed, it pops up the major mode | |
1689 menu or the Edit menu if there is no major mode menu. | |
1690 | |
38900
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1691 ** 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
|
1692 |
38107 | 1693 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
|
1694 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
|
1695 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
|
1696 `~/.emacs' init file or to modify it from any Lisp program in general. |
36821 | 1697 |
1698 ** C-u C-x = provides detailed information about the character at | |
1699 point in a pop-up window. | |
1700 | |
1701 ** Emacs can now support 'wheeled' mice (such as the MS IntelliMouse) | |
1702 under XFree86. To enable this, use the `mouse-wheel-mode' command, or | |
1703 customize the variable `mouse-wheel-mode'. | |
1704 | |
1705 The variables `mouse-wheel-follow-mouse' and `mouse-wheel-scroll-amount' | |
1706 determine where and by how much buffers are scrolled. | |
1707 | |
1708 ** Emacs' auto-save list files are now by default stored in a | |
1709 sub-directory `.emacs.d/auto-save-list/' of the user's home directory. | |
1710 (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
|
1711 You can customize `auto-save-list-file-prefix' to change this location. |
36821 | 1712 |
1713 ** The function `getenv' is now callable interactively. | |
1714 | |
34271 | 1715 ** The new user-option `even-window-heights' can be set to nil |
1716 to prevent `display-buffer' from evening out window heights. | |
1717 | |
33796
10ffa5b56f53
mention `delete-trailing-whitespace'
Sam Steingold <sds@gnu.org>
parents:
33720
diff
changeset
|
1718 ** The new command M-x delete-trailing-whitespace RET will delete the |
33990 | 1719 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
|
1720 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
|
1721 |
33559 | 1722 ** When visiting a file with M-x find-file-literally, no newlines will |
35937 | 1723 be added to the end of the buffer even if `require-final-newline' is |
1724 non-nil. | |
33559 | 1725 |
31728 | 1726 ** The new user-option `find-file-suppress-same-file-warnings' can be |
1727 set to suppress warnings ``X and Y are the same file'' when visiting a | |
1728 file that is already visited under a different name. | |
1729 | |
31807 | 1730 ** The new user-option `electric-help-shrink-window' can be set to |
1731 nil to prevent adjusting the help window size to the buffer size. | |
1732 | |
31728 | 1733 ** New command M-x describe-character-set reads a character set name |
32280 | 1734 and displays information about that. |
31248 | 1735 |
30693 | 1736 ** The new variable `auto-mode-interpreter-regexp' contains a regular |
1737 expression matching interpreters, for file mode determination. | |
1738 | |
1739 This regular expression is matched against the first line of a file to | |
1740 determine the file's mode in `set-auto-mode' when Emacs can't deduce a | |
1741 mode from the file's name. If it matches, the file is assumed to be | |
1742 interpreted by the interpreter matched by the second group of the | |
1743 regular expression. The mode is then determined as the mode | |
1744 associated with that interpreter in `interpreter-mode-alist'. | |
1745 | |
29532
9609bc6529ac
executable-make-buffer-file-executable-if-script-p
Dave Love <fx@gnu.org>
parents:
29509
diff
changeset
|
1746 ** New function executable-make-buffer-file-executable-if-script-p is |
31007 | 1747 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
|
1748 |
29509 | 1749 ** The most preferred coding-system is now used to save a buffer if |
1750 buffer-file-coding-system is `undecided' and it is safe for the buffer | |
1751 contents. (The most preferred is set by set-language-environment or | |
1752 by M-x prefer-coding-system.) Thus if you visit an ASCII file and | |
1753 insert a non-ASCII character from your current language environment, | |
1754 the file will be saved silently with the appropriate coding. | |
1755 Previously you would be prompted for a safe coding system. | |
1756 | |
38900
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1757 ** 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
|
1758 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
|
1759 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1760 ** 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
|
1761 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
|
1762 |
30296 | 1763 ** New variable `inhibit-iso-escape-detection' determines if Emacs' |
1764 coding system detection algorithm should pay attention to ISO2022's | |
1765 escape sequences. If this variable is non-nil, the algorithm ignores | |
1766 such escape sequences. The default value is nil, and it is | |
1767 recommended not to change it except for the special case that you | |
30357 | 1768 always want to read any escape code verbatim. If you just want to |
30296 | 1769 read a specific file without decoding escape codes, use C-x RET c |
30357 | 1770 (`universal-coding-system-argument'). For instance, C-x RET c latin-1 |
1771 RET C-x C-f filename RET. | |
30205 | 1772 |
29506 | 1773 ** Variable `default-korean-keyboard' is initialized properly from the |
1774 environment variable `HANGUL_KEYBOARD_TYPE'. | |
1775 | |
1776 ** New command M-x list-charset-chars reads a character set name and | |
1777 displays all characters in that character set. | |
1778 | |
1779 ** M-x set-terminal-coding-system (C-x RET t) now allows CCL-based | |
1780 coding systems such as cpXXX and cyrillic-koi8. | |
1781 | |
38900
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1782 ** 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
|
1783 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
|
1784 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
|
1785 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1786 ** 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
|
1787 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
|
1788 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
|
1789 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
|
1790 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
|
1791 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
|
1792 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
|
1793 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1794 ** 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
|
1795 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
|
1796 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
|
1797 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1798 ** 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
|
1799 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
|
1800 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
|
1801 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1802 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
|
1803 --- ------- ----------- |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1804 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
|
1805 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
|
1806 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
|
1807 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1808 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
|
1809 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
|
1810 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
|
1811 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1812 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
|
1813 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
|
1814 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
|
1815 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
|
1816 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
|
1817 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
|
1818 |
39885
91b2bb6856b0
List the new input methods introduced with Emacs 21.1.
Eli Zaretskii <eliz@gnu.org>
parents:
39881
diff
changeset
|
1819 ** 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
|
1820 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
|
1821 "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
|
1822 package. |
91b2bb6856b0
List the new input methods introduced with Emacs 21.1.
Eli Zaretskii <eliz@gnu.org>
parents:
39881
diff
changeset
|
1823 |
38900
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1824 ** 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
|
1825 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
|
1826 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
|
1827 "=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
|
1828 "`", 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
|
1829 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1830 ** 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
|
1831 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
|
1832 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
|
1833 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
|
1834 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
|
1835 on. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1836 |
29218
e956cc90f6c0
newcomment and the change of binding for M-;
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29162
diff
changeset
|
1837 ** 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
|
1838 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
|
1839 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
|
1840 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
|
1841 |
28799 | 1842 ** New user options `display-time-mail-face' and |
1843 `display-time-use-mail-icon' control the appearance of mode-line mail | |
1844 indicator used by the display-time package. On a suitable display the | |
1845 indicator can be an icon and is mouse-sensitive. | |
1846 | |
28695 | 1847 ** On window-systems, additional space can be put between text lines |
1848 on the display using several methods | |
1849 | |
1850 - By setting frame parameter `line-spacing' to PIXELS. PIXELS must be | |
1851 a positive integer, and specifies that PIXELS number of pixels should | |
1852 be put below text lines on the affected frame or frames. | |
1853 | |
1854 - By setting X resource `lineSpacing', class `LineSpacing'. This is | |
33838 | 1855 equivalent to specifying the frame parameter. |
28695 | 1856 |
28870 | 1857 - By specifying `--line-spacing=N' or `-lsp N' on the command line. |
28695 | 1858 |
1859 - By setting buffer-local variable `line-spacing'. The meaning is | |
1860 the same, but applies to the a particular buffer only. | |
1861 | |
29752 | 1862 ** The new command `clone-indirect-buffer' can be used to create |
28660 | 1863 an indirect buffer that is a twin copy of the current buffer. The |
29752 | 1864 command `clone-indirect-buffer-other-window', bound to C-x 4 c, |
28660 | 1865 does the same but displays the indirect buffer in another window. |
28626 | 1866 |
28525
05658544eaff
backup-directory-alist, make-backup-file-name-function.
Dave Love <fx@gnu.org>
parents:
28506
diff
changeset
|
1867 ** New user options `backup-directory-alist' and |
28757 | 1868 `make-backup-file-name-function' control the placement of backups, |
1869 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
|
1870 |
28396 | 1871 ** New commands iso-iso2sgml and iso-sgml2iso convert between Latin-1 |
1872 characters and the corresponding SGML (HTML) entities. | |
1873 | |
28159 | 1874 ** New X resources recognized |
27994 | 1875 |
28140 | 1876 *** The X resource `synchronous', class `Synchronous', specifies |
1877 whether Emacs should run in synchronous mode. Synchronous mode | |
1878 is useful for debugging X problems. | |
1879 | |
1880 Example: | |
1881 | |
28159 | 1882 emacs.synchronous: true |
28140 | 1883 |
27994 | 1884 *** The X resource `visualClass, class `VisualClass', specifies the |
1885 visual Emacs should use. The resource's value should be a string of | |
27995 | 1886 the form `CLASS-DEPTH', where CLASS is the name of the visual class, |
1887 and DEPTH is the requested color depth as a decimal number. Valid | |
1888 visual class names are | |
27994 | 1889 |
1890 TrueColor | |
1891 PseudoColor | |
1892 DirectColor | |
1893 StaticColor | |
1894 GrayScale | |
1895 StaticGray | |
1896 | |
1897 Visual class names specified as X resource are case-insensitive, i.e. | |
1898 `pseudocolor', `Pseudocolor' and `PseudoColor' all have the same | |
1899 meaning. | |
1900 | |
27995 | 1901 The program `xdpyinfo' can be used to list the visual classes |
1902 supported on your display, and which depths they have. If | |
1903 `visualClass' is not specified, Emacs uses the display's default | |
1904 visual. | |
1905 | |
1906 Example: | |
1907 | |
28159 | 1908 emacs.visualClass: TrueColor-8 |
27994 | 1909 |
1910 *** The X resource `privateColormap', class `PrivateColormap', | |
1911 specifies that Emacs should use a private colormap if it is using the | |
1912 default visual, and that visual is of class PseudoColor. Recognized | |
1913 resource values are `true' or `on'. | |
1914 | |
27995 | 1915 Example: |
1916 | |
28159 | 1917 emacs.privateColormap: true |
27995 | 1918 |
25853 | 1919 ** Faces and frame parameters. |
1920 | |
1921 There are four new faces `scroll-bar', `border', `cursor' and `mouse'. | |
1922 Setting the frame parameters `scroll-bar-foreground' and | |
1923 `scroll-bar-background' sets foreground and background color of face | |
1924 `scroll-bar' and vice versa. Setting frame parameter `border-color' | |
1925 sets the background color of face `border' and vice versa. Likewise | |
1926 for frame parameters `cursor-color' and face `cursor', and frame | |
1927 parameter `mouse-color' and face `mouse'. | |
1928 | |
1929 Changing frame parameter `font' sets font-related attributes of the | |
1930 `default' face and vice versa. Setting frame parameters | |
26264 | 1931 `foreground-color' or `background-color' sets the colors of the |
25853 | 1932 `default' face and vice versa. |
1933 | |
25951 | 1934 ** New face `menu'. |
1935 | |
1936 The face `menu' can be used to change colors and font of Emacs' menus. | |
1937 | |
25853 | 1938 ** New frame parameter `screen-gamma' for gamma correction. |
1939 | |
1940 The new frame parameter `screen-gamma' specifies gamma-correction for | |
1941 colors. Its value may be nil, the default, in which case no gamma | |
1942 correction occurs, or a number > 0, usually a float, that specifies | |
1943 the screen gamma of a frame's display. | |
1944 | |
1945 PC monitors usually have a screen gamma of 2.2. smaller values result | |
1946 in darker colors. You might want to try a screen gamma of 1.5 for LCD | |
1947 color displays. The viewing gamma Emacs uses is 0.4545. (1/2.2). | |
1948 | |
1949 The X resource name of this parameter is `screenGamma', class | |
1950 `ScreenGamma'. | |
1951 | |
1952 ** Tabs and variable-width text. | |
1953 | |
1954 Tabs are now displayed with stretch properties; the width of a tab is | |
1955 defined as a multiple of the normal character width of a frame, and is | |
1956 independent of the fonts used in the text where the tab appears. | |
1957 Thus, tabs can be used to line up text in different fonts. | |
1958 | |
1959 ** Enhancements of the Lucid menu bar | |
1960 | |
1961 *** The Lucid menu bar now supports the resource "margin". | |
1962 | |
1963 emacs.pane.menubar.margin: 5 | |
1964 | |
28677
950ff4674e17
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
28660
diff
changeset
|
1965 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
|
1966 LessTif/Motif one. |
950ff4674e17
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
28660
diff
changeset
|
1967 |
950ff4674e17
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
28660
diff
changeset
|
1968 *** 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
|
1969 LessTif and Motif. |
25853 | 1970 |
1971 ** A block cursor can be drawn as wide as the glyph under it under X. | |
1972 | |
1973 As an example: if a block cursor is over a tab character, it will be | |
1974 drawn as wide as that tab on the display. To do this, set | |
1975 `x-stretch-cursor' to a non-nil value. | |
1976 | |
1977 ** 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
|
1978 bitmap (this is similar to the tilde displayed by vi and Less). |
25853 | 1979 |
1980 This behavior is activated by setting the buffer-local variable | |
1981 `indicate-empty-lines' to a non-nil value. The default value of this | |
1982 variable is found in `default-indicate-empty-lines'. | |
1983 | |
1984 ** There is a new "aggressive" scrolling method. | |
1985 | |
1986 When scrolling up because point is above the window start, if the | |
33624 | 1987 value of the buffer-local variable `scroll-up-aggressively' is a |
25853 | 1988 number, Emacs chooses a new window start so that point ends up that |
31124 | 1989 fraction of the window's height from the top of the window. |
25853 | 1990 |
1991 When scrolling down because point is below the window end, if the | |
35680 | 1992 value of the buffer-local variable `scroll-down-aggressively' is a |
25853 | 1993 number, Emacs chooses a new window start so that point ends up that |
31124 | 1994 fraction of the window's height from the bottom of the window. |
25853 | 1995 |
38900
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1996 ** 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
|
1997 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
|
1998 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
|
1999 buffers. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2000 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2001 ** 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
|
2002 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2003 ** 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
|
2004 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
|
2005 `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
|
2006 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2007 ** 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
|
2008 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
|
2009 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
|
2010 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
|
2011 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
|
2012 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
|
2013 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2014 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
|
2015 |
25853 | 2016 ** The rectangle commands now avoid inserting undesirable spaces, |
2017 notably at the end of lines. | |
2018 | |
2019 All these functions have been rewritten to avoid inserting unwanted | |
2020 spaces, and an optional prefix now allows them to behave the old way. | |
2021 | |
37446
1b121f2746a8
Change entries for string-rectangle and alike.
Gerd Moellmann <gerd@gnu.org>
parents:
37388
diff
changeset
|
2022 ** 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
|
2023 |
1b121f2746a8
Change entries for string-rectangle and alike.
Gerd Moellmann <gerd@gnu.org>
parents:
37388
diff
changeset
|
2024 ** 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
|
2025 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
|
2026 |
25853 | 2027 ** The new command M-x query-replace-regexp-eval acts like |
2028 query-replace-regexp, but takes a Lisp expression which is evaluated | |
2029 after each match to get the replacement text. | |
2030 | |
29972 | 2031 ** M-x query-replace recognizes a new command `e' (or `E') that lets |
2032 you edit the replacement string. | |
28805 | 2033 |
38925
d5d4948816a7
Label all user-level changes with either +++ or ---.
Eli Zaretskii <eliz@gnu.org>
parents:
38900
diff
changeset
|
2034 ** 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
|
2035 (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
|
2036 in the text, analogous to lisp-complete-symbol. |
28805 | 2037 |
38900
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2038 ** 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
|
2039 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2040 ** 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
|
2041 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
|
2042 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2043 ** 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
|
2044 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
|
2045 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
|
2046 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
|
2047 |
38925
d5d4948816a7
Label all user-level changes with either +++ or ---.
Eli Zaretskii <eliz@gnu.org>
parents:
38900
diff
changeset
|
2048 -- |
38900
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2049 ** 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
|
2050 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
|
2051 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2052 ** 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
|
2053 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
|
2054 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
|
2055 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
|
2056 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2057 ** 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
|
2058 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
|
2059 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2060 ** 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
|
2061 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
|
2062 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
|
2063 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
|
2064 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
|
2065 of Emacs. |
29676 | 2066 |
25853 | 2067 ** Customize changes |
2068 | |
2069 *** Customize now supports comments about customized items. Use the | |
36885 | 2070 `State' menu to add comments, or give a prefix argument to |
2071 M-x customize-set-variable or M-x customize-set-value. Note that | |
2072 customization comments will cause the customizations to fail in | |
2073 earlier versions of Emacs. | |
25853 | 2074 |
2075 *** The new option `custom-buffer-done-function' says whether to kill | |
2076 Custom buffers when you've done with them or just bury them (the | |
2077 default). | |
2078 | |
37901
9447d0447996
Document that customizations from "emacs -q" cannot be saved.
Eli Zaretskii <eliz@gnu.org>
parents:
37805
diff
changeset
|
2079 *** 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
|
2080 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
|
2081 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
|
2082 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
|
2083 file. |
9447d0447996
Document that customizations from "emacs -q" cannot be saved.
Eli Zaretskii <eliz@gnu.org>
parents:
37805
diff
changeset
|
2084 |
43061
357ce0fca815
Document the new behavior of novice.el under "emacs -q".
Eli Zaretskii <eliz@gnu.org>
parents:
43045
diff
changeset
|
2085 ** 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
|
2086 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
|
2087 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
|
2088 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
|
2089 |
25853 | 2090 ** New features in evaluation commands |
2091 | |
30056 | 2092 *** The commands to evaluate Lisp expressions, such as C-M-x in Lisp |
25853 | 2093 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
|
2094 print-level, print-length, and debug-on-error based on the new |
25853 | 2095 customizable variables eval-expression-print-level, |
2096 eval-expression-print-length, and eval-expression-debug-on-error. | |
2097 | |
38562
5a192d819ce2
Mention the effect of eval-expression-print-length and
Eli Zaretskii <eliz@gnu.org>
parents:
38527
diff
changeset
|
2098 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
|
2099 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
|
2100 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
|
2101 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
|
2102 printed). |
5a192d819ce2
Mention the effect of eval-expression-print-length and
Eli Zaretskii <eliz@gnu.org>
parents:
38527
diff
changeset
|
2103 |
38590 | 2104 <RET> or <mouse-2> on the printed text toggles between an abbreviated |
2105 printed representation and an unabbreviated one. | |
38573 | 2106 |
38562
5a192d819ce2
Mention the effect of eval-expression-print-length and
Eli Zaretskii <eliz@gnu.org>
parents:
38527
diff
changeset
|
2107 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
|
2108 during evaluation produces a backtrace. |
5a192d819ce2
Mention the effect of eval-expression-print-length and
Eli Zaretskii <eliz@gnu.org>
parents:
38527
diff
changeset
|
2109 |
40526
b466f4f946a7
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40493
diff
changeset
|
2110 *** The function `eval-defun' (C-M-x) now loads Edebug and instruments |
30056 | 2111 code when called with a prefix argument. |
2112 | |
26820 | 2113 ** CC mode changes. |
2114 | |
2115 Note: This release contains changes that might not be compatible with | |
2116 current user setups (although it's believed that these | |
2117 incompatibilities will only show in very uncommon circumstances). | |
2118 However, since the impact is uncertain, these changes may be rolled | |
2119 back depending on user feedback. Therefore there's no forward | |
2120 compatibility guarantee wrt the new features introduced in this | |
2121 release. | |
2122 | |
37009 | 2123 *** The hardcoded switch to "java" style in Java mode is gone. |
2124 CC Mode used to automatically set the style to "java" when Java mode | |
2125 is entered. This has now been removed since it caused too much | |
2126 confusion. | |
2127 | |
2128 However, to keep backward compatibility to a certain extent, the | |
2129 default value for c-default-style now specifies the "java" style for | |
2130 java-mode, but "gnu" for all other modes (as before). So you won't | |
2131 notice the change if you haven't touched that variable. | |
2132 | |
2133 *** New cleanups, space-before-funcall and compact-empty-funcall. | |
2134 Two new cleanups have been added to c-cleanup-list: | |
2135 | |
2136 space-before-funcall causes a space to be inserted before the opening | |
2137 parenthesis of a function call, which gives the style "foo (bar)". | |
2138 | |
2139 compact-empty-funcall causes any space before a function call opening | |
2140 parenthesis to be removed if there are no arguments to the function. | |
2141 It's typically useful together with space-before-funcall to get the | |
2142 style "foo (bar)" and "foo()". | |
2143 | |
2144 *** Some keywords now automatically trigger reindentation. | |
2145 Keywords like "else", "while", "catch" and "finally" have been made | |
2146 "electric" to make them reindent automatically when they continue an | |
2147 earlier statement. An example: | |
2148 | |
2149 for (i = 0; i < 17; i++) | |
2150 if (a[i]) | |
2151 res += a[i]->offset; | |
2152 else | |
2153 | |
2154 Here, the "else" should be indented like the preceding "if", since it | |
2155 continues that statement. CC Mode will automatically reindent it after | |
2156 the "else" has been typed in full, since it's not until then it's | |
2157 possible to decide whether it's a new statement or a continuation of | |
2158 the preceding "if". | |
2159 | |
2160 CC Mode uses Abbrev mode to achieve this, which is therefore turned on | |
2161 by default. | |
2162 | |
2163 *** M-a and M-e now moves by sentence in multiline strings. | |
2164 Previously these two keys only moved by sentence in comments, which | |
2165 meant that sentence movement didn't work in strings containing | |
2166 documentation or other natural language text. | |
2167 | |
2168 The reason it's only activated in multiline strings (i.e. strings that | |
2169 contain a newline, even when escaped by a '\') is to avoid stopping in | |
2170 the short strings that often reside inside statements. Multiline | |
2171 strings almost always contain text in a natural language, as opposed | |
2172 to other strings that typically contain format specifications, | |
2173 commands, etc. Also, it's not that bothersome that M-a and M-e misses | |
2174 sentences in single line strings, since they're short anyway. | |
2175 | |
2176 *** Support for autodoc comments in Pike mode. | |
2177 Autodoc comments for Pike are used to extract documentation from the | |
2178 source, like Javadoc in Java. Pike mode now recognize this markup in | |
2179 comment prefixes and paragraph starts. | |
2180 | |
2181 *** The comment prefix regexps on c-comment-prefix may be mode specific. | |
2182 When c-comment-prefix is an association list, it specifies the comment | |
2183 line prefix on a per-mode basis, like c-default-style does. This | |
2184 change came about to support the special autodoc comment prefix in | |
2185 Pike mode only. | |
2186 | |
2187 *** Better handling of syntactic errors. | |
2188 The recovery after unbalanced parens earlier in the buffer has been | |
2189 improved; CC Mode now reports them by dinging and giving a message | |
2190 stating the offending line, but still recovers and indent the | |
2191 following lines in a sane way (most of the time). An "else" with no | |
2192 matching "if" is handled similarly. If an error is discovered while | |
2193 indenting a region, the whole region is still indented and the error | |
2194 is reported afterwards. | |
2195 | |
2196 *** Lineup functions may now return absolute columns. | |
2197 A lineup function can give an absolute column to indent the line to by | |
2198 returning a vector with the desired column as the first element. | |
2199 | |
2200 *** More robust and warning-free byte compilation. | |
2201 Although this is strictly not a user visible change (well, depending | |
2202 on the view of a user), it's still worth mentioning that CC Mode now | |
2203 can be compiled in the standard ways without causing trouble. Some | |
2204 code have also been moved between the subpackages to enhance the | |
2205 modularity somewhat. Thanks to Martin Buchholz for doing the | |
2206 groundwork. | |
2207 | |
30412 | 2208 *** c-style-variables-are-local-p now defaults to t. |
2209 This is an incompatible change that has been made to make the behavior | |
2210 of the style system wrt global variable settings less confusing for | |
2211 non-advanced users. If you know what this variable does you might | |
2212 want to set it to nil in your .emacs, otherwise you probably don't | |
2213 have to bother. | |
2214 | |
2215 Defaulting c-style-variables-are-local-p to t avoids the confusing | |
2216 situation that occurs when a user sets some style variables globally | |
30445 | 2217 and edits both a Java and a non-Java file in the same Emacs session. |
30412 | 2218 If the style variables aren't buffer local in this case, loading of |
2219 the second file will cause the default style (either "gnu" or "java" | |
2220 by default) to override the global settings made by the user. | |
2221 | |
26820 | 2222 *** New initialization procedure for the style system. |
2223 When the initial style for a buffer is determined by CC Mode (from the | |
2224 variable c-default-style), the global values of style variables now | |
2225 take precedence over the values specified by the chosen style. This | |
2226 is different than the old behavior: previously, the style-specific | |
2227 settings would override the global settings. This change makes it | |
2228 possible to do simple configuration in the intuitive way with | |
2229 Customize or with setq lines in one's .emacs file. | |
2230 | |
2231 By default, the global value of every style variable is the new | |
2232 special symbol set-from-style, which causes the value to be taken from | |
2233 the style system. This means that in effect, only an explicit setting | |
2234 of a style variable will cause the "overriding" behavior described | |
2235 above. | |
2236 | |
2237 Also note that global settings override style-specific settings *only* | |
2238 when the initial style of a buffer is chosen by a CC Mode major mode | |
2239 function. When a style is chosen in other ways --- for example, by a | |
2240 call like (c-set-style "gnu") in a hook, or via M-x c-set-style --- | |
2241 then the style-specific values take precedence over any global style | |
2242 values. In Lisp terms, global values override style-specific values | |
2243 only when the new second argument to c-set-style is non-nil; see the | |
2244 function documentation for more info. | |
2245 | |
2246 The purpose of these changes is to make it easier for users, | |
2247 especially novice users, to do simple customizations with Customize or | |
2248 with setq in their .emacs files. On the other hand, the new system is | |
2249 intended to be compatible with advanced users' customizations as well, | |
2250 such as those that choose styles in hooks or whatnot. This new system | |
2251 is believed to be almost entirely compatible with current | |
2252 configurations, in spite of the changed precedence between style and | |
2253 global variable settings when a buffer's default style is set. | |
2254 | |
2255 (Thanks to Eric Eide for clarifying this explanation a bit.) | |
2256 | |
2257 **** c-offsets-alist is now a customizable variable. | |
2258 This became possible as a result of the new initialization behavior. | |
2259 | |
2260 This variable is treated slightly differently from the other style | |
2261 variables; instead of using the symbol set-from-style, it will be | |
2262 completed with the syntactic symbols it doesn't already contain when | |
2263 the style is first initialized. This means it now defaults to the | |
2264 empty list to make all syntactic elements get their values from the | |
2265 style system. | |
2266 | |
2267 **** Compatibility variable to restore the old behavior. | |
2268 In case your configuration doesn't work with this change, you can set | |
2269 c-old-style-variable-behavior to non-nil to get the old behavior back | |
2270 as far as possible. | |
2271 | |
2272 *** Improvements to line breaking and text filling. | |
2273 CC Mode now handles this more intelligently and seamlessly wrt the | |
2274 surrounding code, especially inside comments. For details see the new | |
2275 chapter about this in the manual. | |
2276 | |
2277 **** New variable to recognize comment line prefix decorations. | |
2278 The variable c-comment-prefix-regexp has been added to properly | |
2279 recognize the line prefix in both block and line comments. It's | |
2280 primarily used to initialize the various paragraph recognition and | |
2281 adaptive filling variables that the text handling functions uses. | |
2282 | |
2283 **** New variable c-block-comment-prefix. | |
2284 This is a generalization of the now obsolete variable | |
2285 c-comment-continuation-stars to handle arbitrary strings. | |
2286 | |
2287 **** CC Mode now uses adaptive fill mode. | |
2288 This to make it adapt better to the paragraph style inside comments. | |
2289 | |
2290 It's also possible to use other adaptive filling packages inside CC | |
2291 Mode, notably Kyle E. Jones' Filladapt mode (http://wonderworks.com/). | |
2292 A new convenience function c-setup-filladapt sets up Filladapt for use | |
2293 inside CC Mode. | |
2294 | |
2295 Note though that the 2.12 version of Filladapt lacks a feature that | |
2296 causes it to work suboptimally when c-comment-prefix-regexp can match | |
2297 the empty string (which it commonly does). A patch for that is | |
2298 available from the CC Mode web site (http://www.python.org/emacs/ | |
2299 cc-mode/). | |
2300 | |
38894
681dc47ffb61
Document the removal of c-hanging-comment-starter-p and
Eli Zaretskii <eliz@gnu.org>
parents:
38832
diff
changeset
|
2301 **** 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
|
2302 `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
|
2303 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
|
2304 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
|
2305 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
|
2306 |
26820 | 2307 **** It's now possible to selectively turn off auto filling. |
2308 The variable c-ignore-auto-fill is used to ignore auto fill mode in | |
2309 specific contexts, e.g. in preprocessor directives and in string | |
2310 literals. | |
2311 | |
2312 **** New context sensitive line break function c-context-line-break. | |
2313 It works like newline-and-indent in normal code, and adapts the line | |
2314 prefix according to the comment style when used inside comments. If | |
2315 you're normally using newline-and-indent, you might want to switch to | |
2316 this function. | |
2317 | |
2318 *** Fixes to IDL mode. | |
2319 It now does a better job in recognizing only the constructs relevant | |
2320 to IDL. E.g. it no longer matches "class" as the beginning of a | |
2321 struct block, but it does match the CORBA 2.3 "valuetype" keyword. | |
2322 Thanks to Eric Eide. | |
2323 | |
2324 *** Improvements to the Whitesmith style. | |
2325 It now keeps the style consistently on all levels and both when | |
2326 opening braces hangs and when they don't. | |
2327 | |
2328 **** New lineup function c-lineup-whitesmith-in-block. | |
2329 | |
2330 *** New lineup functions c-lineup-template-args and c-indent-multi-line-block. | |
2331 See their docstrings for details. c-lineup-template-args does a | |
2332 better job of tracking the brackets used as parens in C++ templates, | |
2333 and is used by default to line up continued template arguments. | |
2334 | |
2335 *** c-lineup-comment now preserves alignment with a comment on the | |
2336 previous line. It used to instead preserve comments that started in | |
2337 the column specified by comment-column. | |
2338 | |
2339 *** c-lineup-C-comments handles "free form" text comments. | |
2340 In comments with a long delimiter line at the start, the indentation | |
2341 is kept unchanged for lines that start with an empty comment line | |
2342 prefix. This is intended for the type of large block comments that | |
2343 contain documentation with its own formatting. In these you normally | |
2344 don't want CC Mode to change the indentation. | |
2345 | |
2346 *** The `c' syntactic symbol is now relative to the comment start | |
2347 instead of the previous line, to make integers usable as lineup | |
2348 arguments. | |
2349 | |
2350 *** All lineup functions have gotten docstrings. | |
2351 | |
2352 *** More preprocessor directive movement functions. | |
2353 c-down-conditional does the reverse of c-up-conditional. | |
2354 c-up-conditional-with-else and c-down-conditional-with-else are | |
2355 variants of these that also stops at "#else" lines (suggested by Don | |
2356 Provan). | |
2357 | |
2358 *** Minor improvements to many movement functions in tricky situations. | |
2359 | |
38900
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2360 ** Dired changes |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2361 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2362 *** 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
|
2363 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
|
2364 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
|
2365 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2366 *** 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
|
2367 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
|
2368 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
|
2369 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2370 *** 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
|
2371 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
|
2372 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
|
2373 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2374 *** 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
|
2375 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
|
2376 directory. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2377 |
38989
6dcbf4154ff0
Change key for dired-show-file-type to `y'.
Gerd Moellmann <gerd@gnu.org>
parents:
38938
diff
changeset
|
2378 *** 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
|
2379 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
|
2380 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
|
2381 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
|
2382 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
|
2383 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2384 *** 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
|
2385 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
|
2386 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2387 *** 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
|
2388 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
|
2389 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
|
2390 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
|
2391 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2392 ** Gnus changes. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2393 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2394 The 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
|
2395 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
|
2396 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
|
2397 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2398 *** 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
|
2399 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
|
2400 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2401 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
|
2402 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2403 (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
|
2404 (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
|
2405 (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
|
2406 (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
|
2407 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2408 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
|
2409 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2410 (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
|
2411 '((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
|
2412 :suffix ".in"))) |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2413 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2414 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
|
2415 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
|
2416 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2417 *** 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
|
2418 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
|
2419 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
|
2420 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
|
2421 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2422 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
|
2423 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
|
2424 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
|
2425 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2426 *** 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
|
2427 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
|
2428 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
|
2429 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
|
2430 |
38925
d5d4948816a7
Label all user-level changes with either +++ or ---.
Eli Zaretskii <eliz@gnu.org>
parents:
38900
diff
changeset
|
2431 *** 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
|
2432 Gnus facilities. |
d5d4948816a7
Label all user-level changes with either +++ or ---.
Eli Zaretskii <eliz@gnu.org>
parents:
38900
diff
changeset
|
2433 |
38900
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2434 *** 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
|
2435 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
|
2436 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2437 *** 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
|
2438 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
|
2439 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2440 *** `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
|
2441 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
|
2442 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2443 *** 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
|
2444 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
|
2445 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2446 *** 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
|
2447 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
|
2448 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
|
2449 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2450 *** 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
|
2451 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2452 *** 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
|
2453 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2454 ** 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
|
2455 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2456 *** 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
|
2457 macros |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2458 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2459 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
|
2460 ------------------------- |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2461 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
|
2462 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
|
2463 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
|
2464 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
|
2465 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
|
2466 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
|
2467 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
|
2468 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2469 *** 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
|
2470 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2471 ** 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
|
2472 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2473 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
|
2474 `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
|
2475 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
|
2476 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2477 ** 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
|
2478 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2479 *** The 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
|
2480 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
|
2481 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
|
2482 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
|
2483 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
|
2484 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2485 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
|
2486 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
|
2487 this way. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2488 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2489 ** 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
|
2490 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
|
2491 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2492 ** 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
|
2493 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2494 *** 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
|
2495 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
|
2496 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
|
2497 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2498 ** 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
|
2499 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
|
2500 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2501 ** 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
|
2502 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2503 *** 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
|
2504 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2505 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
|
2506 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
|
2507 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
|
2508 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
|
2509 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2510 *** 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
|
2511 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
|
2512 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
|
2513 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
|
2514 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2515 *** 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
|
2516 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
|
2517 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
|
2518 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2519 *** 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
|
2520 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2521 *** 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
|
2522 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
|
2523 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
|
2524 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
|
2525 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2526 *** 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
|
2527 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
|
2528 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2529 ** 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
|
2530 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2531 *** 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
|
2532 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
|
2533 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
|
2534 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2535 **** 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
|
2536 current buffer. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2537 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2538 *** 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
|
2539 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
|
2540 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2541 *** 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
|
2542 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
|
2543 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
|
2544 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
|
2545 `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
|
2546 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
|
2547 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2548 *** 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
|
2549 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2550 ** 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
|
2551 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2552 *** 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
|
2553 `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
|
2554 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2555 ** 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
|
2556 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2557 *** 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
|
2558 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
|
2559 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2560 *** 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
|
2561 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
|
2562 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2563 *** `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
|
2564 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
|
2565 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2566 *** 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
|
2567 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
|
2568 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2569 ** 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
|
2570 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2571 *** 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
|
2572 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
|
2573 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
|
2574 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
|
2575 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2576 ** 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
|
2577 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2578 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
|
2579 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
|
2580 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2581 *** 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
|
2582 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
|
2583 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
|
2584 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
|
2585 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
|
2586 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
|
2587 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2588 *** 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
|
2589 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
|
2590 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
|
2591 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
|
2592 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
|
2593 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
|
2594 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
|
2595 `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
|
2596 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2597 *** 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
|
2598 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
|
2599 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2600 *** 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
|
2601 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
|
2602 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
|
2603 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2604 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
|
2605 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
|
2606 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
|
2607 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2608 *** 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
|
2609 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
|
2610 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
|
2611 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2612 *** 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
|
2613 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
|
2614 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
|
2615 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2616 *** 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
|
2617 (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
|
2618 compatibility. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2619 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2620 *** 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
|
2621 ring (history). |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2622 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2623 *** 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
|
2624 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
|
2625 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
|
2626 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2627 ** 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
|
2628 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2629 *** 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
|
2630 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
|
2631 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
|
2632 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
|
2633 `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
|
2634 as correspondent. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2635 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2636 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
|
2637 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
|
2638 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
|
2639 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2640 *** 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
|
2641 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
|
2642 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
|
2643 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
|
2644 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
|
2645 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2646 *** 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
|
2647 like `j'. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2648 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2649 *** 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
|
2650 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
|
2651 digest message. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2652 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2653 *** 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
|
2654 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
|
2655 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2656 *** 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
|
2657 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
|
2658 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
|
2659 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2660 ** 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
|
2661 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
|
2662 |
38925
d5d4948816a7
Label all user-level changes with either +++ or ---.
Eli Zaretskii <eliz@gnu.org>
parents:
38900
diff
changeset
|
2663 ** 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
|
2664 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
|
2665 |
39300
8b178b9f2ee1
Document that rmail-output-to-rmail-file now writes in emacs-mule.
Eli Zaretskii <eliz@gnu.org>
parents:
39270
diff
changeset
|
2666 ** 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
|
2667 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
|
2668 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
|
2669 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
|
2670 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
|
2671 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
|
2672 |
8b178b9f2ee1
Document that rmail-output-to-rmail-file now writes in emacs-mule.
Eli Zaretskii <eliz@gnu.org>
parents:
39270
diff
changeset
|
2673 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
|
2674 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
|
2675 `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
|
2676 |
38900
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2677 ** 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
|
2678 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2679 *** 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
|
2680 `latex-mode'. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2681 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2682 *** 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
|
2683 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2684 *** 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
|
2685 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2686 *** 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
|
2687 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2688 ** 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
|
2689 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2690 *** 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
|
2691 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
|
2692 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
|
2693 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
|
2694 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
|
2695 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
|
2696 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2697 *** 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
|
2698 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
|
2699 `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
|
2700 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2701 *** 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
|
2702 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
|
2703 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2704 *** 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
|
2705 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
|
2706 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
|
2707 been cited. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2708 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2709 ** 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
|
2710 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
|
2711 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
|
2712 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
|
2713 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2714 ** 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
|
2715 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
|
2716 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2717 *** 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
|
2718 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
|
2719 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
|
2720 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
|
2721 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2722 *** 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
|
2723 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
|
2724 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
|
2725 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
|
2726 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
|
2727 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
|
2728 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2729 ** 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
|
2730 file names. |
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 ** Ispell changes |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2733 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2734 *** 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
|
2735 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
|
2736 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
|
2737 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2738 *** 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
|
2739 added. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2740 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2741 *** 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
|
2742 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
|
2743 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2744 *** 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
|
2745 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2746 *** 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
|
2747 cases. |
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 *** 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
|
2750 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
|
2751 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2752 *** 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
|
2753 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
|
2754 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2755 *** 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
|
2756 |
28506 | 2757 ** Makefile mode changes |
2758 | |
2759 *** The mode now uses the abbrev table `makefile-mode-abbrev-table'. | |
2760 | |
30483
05fc373ff5b8
mention `float-time' and the remote file modtime check
Sam Steingold <sds@gnu.org>
parents:
30482
diff
changeset
|
2761 *** Conditionals and include statements are now highlighted when |
28506 | 2762 Fontlock mode is active. |
2763 | |
26407 | 2764 ** Isearch changes |
2765 | |
30477 | 2766 *** Isearch now puts a call to `isearch-resume' in the command history, |
2767 so that searches can be resumed. | |
2768 | |
40526
b466f4f946a7
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40493
diff
changeset
|
2769 *** In Isearch mode, C-M-s and C-M-r are now bound like C-s and C-r, |
28506 | 2770 respectively, i.e. you can repeat a regexp isearch with the same keys |
2771 that started the search. | |
2772 | |
26407 | 2773 *** In Isearch mode, mouse-2 in the echo area now yanks the current |
25853 | 2774 selection into the search string rather than giving an error. |
2775 | |
26407 | 2776 *** There is a new lazy highlighting feature in incremental search. |
2777 | |
26417 | 2778 Lazy highlighting is switched on/off by customizing variable |
26407 | 2779 `isearch-lazy-highlight'. When active, all matches for the current |
2780 search string are highlighted. The current match is highlighted as | |
2781 before using face `isearch' or `region'. All other matches are | |
2782 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
|
2783 `secondary-selection'. |
26407 | 2784 |
2785 The extra highlighting makes it easier to anticipate where the cursor | |
2786 will end up each time you press C-s or C-r to repeat a pending search. | |
2787 Highlighting of these additional matches happens in a deferred fashion | |
2788 using "idle timers," so the cycles needed do not rob isearch of its | |
2789 usual snappy response. | |
2790 | |
2791 If `isearch-lazy-highlight-cleanup' is set to t, highlights for | |
2792 matches are automatically cleared when you end the search. If it is | |
2793 set to nil, you can remove the highlights manually with `M-x | |
2794 isearch-lazy-highlight-cleanup'. | |
2795 | |
31388 | 2796 ** VC Changes |
2797 | |
2798 VC has been overhauled internally. It is now modular, making it | |
2799 easier to plug-in arbitrary version control backends. (See Lisp | |
2800 Changes for details on the new structure.) As a result, the mechanism | |
2801 to enable and disable support for particular version systems has | |
2802 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
|
2803 `vc-handled-backends'. Its value is a list of symbols that identify |
31388 | 2804 version systems; the default is '(RCS CVS SCCS). When finding a file, |
2805 each of the backends in that list is tried in order to see whether the | |
2806 file is registered in that backend. | |
2807 | |
2808 When registering a new file, VC first tries each of the listed | |
2809 backends to see if any of them considers itself "responsible" for the | |
2810 directory of the file (e.g. because a corresponding subdirectory for | |
2811 master files exists). If none of the backends is responsible, then | |
2812 the first backend in the list that could register the file is chosen. | |
2813 As a consequence, the variable `vc-default-back-end' is now obsolete. | |
2814 | |
2815 The old variable `vc-master-templates' is also obsolete, although VC | |
2816 still supports it for backward compatibility. To define templates for | |
2817 RCS or SCCS, you should rather use the new variables | |
2818 vc-{rcs,sccs}-master-templates. (There is no such feature under CVS | |
2819 where it doesn't make sense.) | |
2820 | |
2821 The variables `vc-ignore-vc-files' and `vc-handle-cvs' are also | |
2822 obsolete now, you must set `vc-handled-backends' to nil or exclude | |
2823 `CVS' from the list, respectively, to achieve their effect now. | |
2824 | |
2825 *** General Changes | |
2826 | |
2827 The variable `vc-checkout-carefully' is obsolete: the corresponding | |
2828 checks are always done now. | |
2829 | |
31858
269d69b69fe4
Update hideshow.el section.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
31827
diff
changeset
|
2830 VC Dired buffers are now kept up-to-date during all version control |
31388 | 2831 operations. |
2832 | |
33111
bbf383648e4d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
33020
diff
changeset
|
2833 `vc-diff' output is now displayed in `diff-mode'. |
bbf383648e4d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
33020
diff
changeset
|
2834 `vc-print-log' uses `log-view-mode'. |
bbf383648e4d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
33020
diff
changeset
|
2835 `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
|
2836 |
33541 | 2837 The command C-x v m (vc-merge) now accepts an empty argument as the |
2838 first revision number. This means that any recent changes on the | |
2839 current branch should be picked up from the repository and merged into | |
2840 the working file (``merge news''). | |
2841 | |
2842 The commands C-x v s (vc-create-snapshot) and C-x v r | |
2843 (vc-retrieve-snapshot) now ask for a directory name from which to work | |
2844 downwards. | |
2845 | |
2846 *** Multiple Backends | |
2847 | |
2848 VC now lets you register files in more than one backend. This is | |
2849 useful, for example, if you are working with a slow remote CVS | |
2850 repository. You can then use RCS for local editing, and occasionally | |
2851 commit your changes back to CVS, or pick up changes from CVS into your | |
2852 local RCS archives. | |
2853 | |
2854 To make this work, the ``more local'' backend (RCS in our example) | |
2855 should come first in `vc-handled-backends', and the ``more remote'' | |
2856 backend (CVS) should come later. (The default value of | |
2857 `vc-handled-backends' already has it that way.) | |
2858 | |
36275
44540d398934
Some corrections to the VC news.
André Spiegel <spiegel@gnu.org>
parents:
36259
diff
changeset
|
2859 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
|
2860 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
|
2861 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
|
2862 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
|
2863 current revision number from the more remote backend. |
33541 | 2864 |
2865 If a file is registered in multiple backends, you can switch to | |
2866 another one using C-x v b (vc-switch-backend). This does not change | |
2867 any files, it only changes VC's perspective on the file. Use this to | |
2868 pick up changes from CVS while working under RCS locally. | |
2869 | |
2870 After you are done with your local RCS editing, you can commit your | |
2871 changes back to CVS using C-u C-x v v CVS RET. In this case, the | |
2872 local RCS archive is removed after the commit, and the log entry | |
2873 buffer is initialized to contain the entire RCS change log of the file. | |
2874 | |
31388 | 2875 *** Changes for CVS |
2876 | |
2877 There is a new user option, `vc-cvs-stay-local'. If it is `t' (the | |
2878 default), then VC avoids network queries for files registered in | |
2879 remote repositories. The state of such files is then only determined | |
2880 by heuristics and past information. `vc-cvs-stay-local' can also be a | |
2881 regexp to match against repository hostnames; only files from hosts | |
2882 that match it are treated locally. If the variable is nil, then VC | |
2883 queries the repository just as often as it does for local files. | |
2884 | |
33541 | 2885 If `vc-cvs-stay-local' is on, then VC also makes local backups of |
2886 repository versions. This means that ordinary diffs (C-x v =) and | |
2887 revert operations (C-x v u) can be done completely locally, without | |
2888 any repository interactions at all. The name of a local version | |
2889 backup of FILE is FILE.~REV.~, where REV is the repository version | |
2890 number. This format is similar to that used by C-x v ~ | |
2891 (vc-version-other-window), except for the trailing dot. As a matter | |
2892 of fact, the two features can each use the files created by the other, | |
2893 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
|
2894 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
|
2895 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
|
2896 name.) |
33541 | 2897 |
31388 | 2898 If `vc-cvs-stay-local' is on, and there have been changes in the |
2899 repository, VC notifies you about it when you actually try to commit. | |
2900 If you want to check for updates from the repository without trying to | |
33541 | 2901 commit, you can either use C-x v m RET to perform an update on the |
31388 | 2902 current file, or you can use C-x v r RET to get an update for an |
2903 entire directory tree. | |
2904 | |
2905 The new user option `vc-cvs-use-edit' indicates whether VC should call | |
2906 "cvs edit" to make files writeable; it defaults to `t'. (This option | |
2907 is only meaningful if the CVSREAD variable is set, or if files are | |
2908 "watched" by other developers.) | |
2909 | |
33541 | 2910 The commands C-x v s (vc-create-snapshot) and C-x v r |
2911 (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
|
2912 an empty snapshot name to the latter, that performs a `cvs update', |
33541 | 2913 starting at the given directory. |
2914 | |
31388 | 2915 *** Lisp Changes in VC |
2916 | |
2917 VC has been restructured internally to make it modular. You can now | |
2918 add support for arbitrary version control backends by writing a | |
2919 library that provides a certain set of backend-specific functions, and | |
2920 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
|
2921 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
|
2922 provides a number of functions vc-sys-... (see commentary at the top |
31388 | 2923 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
|
2924 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
|
2925 `SYS' to the list `vc-handled-backends'. |
31388 | 2926 |
36525
cb77fd8249b6
Change the `***' for the EDT entry to `**'.
Gerd Moellmann <gerd@gnu.org>
parents:
36470
diff
changeset
|
2927 ** The customizable EDT emulation package now supports the EDT |
35163 | 2928 SUBS command and EDT scroll margins. It also works with more |
2929 terminal/keyboard configurations and it now works under XEmacs. | |
2930 See etc/edt-user.doc for more information. | |
2931 | |
25853 | 2932 ** New modes and packages |
2933 | |
34394
d6a4dd5cd345
Entry for `minibuffer-electric-default-mode'.
Miles Bader <miles@gnu.org>
parents:
34389
diff
changeset
|
2934 *** 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
|
2935 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
|
2936 the default is not applicable. |
d6a4dd5cd345
Entry for `minibuffer-electric-default-mode'.
Miles Bader <miles@gnu.org>
parents:
34389
diff
changeset
|
2937 |
33618 | 2938 *** Artist is an Emacs lisp package that allows you to draw lines, |
2939 rectangles and ellipses by using your mouse and/or keyboard. The | |
2940 shapes are made up with the ascii characters |, -, / and \. | |
2941 | |
2942 Features are: | |
2943 | |
2944 - Intersecting: When a `|' intersects with a `-', a `+' is | |
2945 drawn, like this: | \ / | |
33796
10ffa5b56f53
mention `delete-trailing-whitespace'
Sam Steingold <sds@gnu.org>
parents:
33720
diff
changeset
|
2946 --+-- X |
33618 | 2947 | / \ |
2948 | |
2949 - Rubber-banding: When drawing lines you can interactively see the | |
2950 result while holding the mouse button down and moving the mouse. If | |
2951 your machine is not fast enough (a 386 is a bit too slow, but a | |
2952 pentium is well enough), you can turn this feature off. You will | |
2953 then see 1's and 2's which mark the 1st and 2nd endpoint of the line | |
2954 you are drawing. | |
2955 | |
2956 - Arrows: After having drawn a (straight) line or a (straight) | |
2957 poly-line, you can set arrows on the line-ends by typing < or >. | |
2958 | |
2959 - Flood-filling: You can fill any area with a certain character by | |
2960 flood-filling. | |
2961 | |
2962 - Cut copy and paste: You can cut, copy and paste rectangular | |
2963 regions. Artist also interfaces with the rect package (this can be | |
2964 turned off if it causes you any trouble) so anything you cut in | |
2965 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
|
2966 |
33618 | 2967 - Drawing with keys: Everything you can do with the mouse, you can |
2968 also do without the mouse. | |
2969 | |
2970 - Aspect-ratio: You can set the variable artist-aspect-ratio to | |
2971 reflect the height-width ratio for the font you are using. Squares | |
2972 and circles are then drawn square/round. Note, that once your | |
2973 ascii-file is shown with font with a different height-width ratio, | |
2974 the squares won't be square and the circles won't be round. | |
2975 | |
2976 - Drawing operations: The following drawing operations are implemented: | |
2977 | |
2978 lines straight-lines | |
2979 rectangles squares | |
2980 poly-lines straight poly-lines | |
2981 ellipses circles | |
2982 text (see-thru) text (overwrite) | |
2983 spray-can setting size for spraying | |
2984 vaporize line vaporize lines | |
2985 erase characters erase rectangles | |
2986 | |
2987 Straight lines are lines that go horizontally, vertically or | |
2988 diagonally. Plain lines go in any direction. The operations in | |
2989 the right column are accessed by holding down the shift key while | |
2990 drawing. | |
2991 | |
2992 It is possible to vaporize (erase) entire lines and connected lines | |
2993 (rectangles for example) as long as the lines being vaporized are | |
2994 straight and connected at their endpoints. Vaporizing is inspired | |
2995 by the drawrect package by Jari Aalto <jari.aalto@poboxes.com>. | |
2996 | |
2997 - Picture mode compatibility: Artist is picture mode compatible (this | |
2998 can be turned off). | |
2999 | |
32448
4925b241a9ac
Added a note about Eshell.
John Wiegley <johnw@newartisans.com>
parents:
32428
diff
changeset
|
3000 *** 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
|
3001 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
|
3002 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
|
3003 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
|
3004 history lists, aliases, extended globbing, smart scrolling, etc. It |
4925b241a9ac
Added a note about Eshell.
John Wiegley <johnw@newartisans.com>
parents:
32428
diff
changeset
|
3005 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
|
3006 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
|
3007 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
|
3008 all within the scope of your Emacs process. |
4925b241a9ac
Added a note about Eshell.
John Wiegley <johnw@newartisans.com>
parents:
32428
diff
changeset
|
3009 |
30781 | 3010 *** The new package timeclock.el is a mode is for keeping track of time |
3011 intervals. You can use it for whatever purpose you like, but the | |
3012 typical scenario is to keep track of how much time you spend working | |
3013 on certain projects. | |
3014 | |
35927 | 3015 *** The new package hi-lock.el provides commands to highlight matches |
3016 of interactively entered regexps. For example, | |
30789 | 3017 |
3018 M-x highlight-regexp RET clearly RET RET | |
30565 | 3019 |
3020 will highlight all occurrences of `clearly' using a yellow background | |
3021 face. New occurrences of `clearly' will be highlighted as they are | |
3022 typed. `M-x unhighlight-regexp RET' will remove the highlighting. | |
3023 Any existing face can be used for highlighting and a set of | |
3024 appropriate faces is provided. The regexps can be written into the | |
3025 current buffer in a form that will be recognized the next time the | |
35927 | 3026 corresponding file is read. There are commands to highlight matches |
3027 to phrases and to highlight entire lines containing a match. | |
30565 | 3028 |
30789 | 3029 *** The new package zone.el plays games with Emacs' display when |
30565 | 3030 Emacs is idle. |
3031 | |
38099 | 3032 *** The new package tildify.el allows to add hard spaces or other text |
3033 fragments in accordance with the current major mode. | |
3034 | |
30319 | 3035 *** The new package xml.el provides a simple but generic XML |
3036 parser. It doesn't parse the DTDs however. | |
3037 | |
29218
e956cc90f6c0
newcomment and the change of binding for M-;
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29162
diff
changeset
|
3038 *** 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
|
3039 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
|
3040 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
|
3041 `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
|
3042 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
|
3043 |
28879 | 3044 *** The Ebrowse package implements a C++ class browser and tags |
3045 facilities tailored for use with C++. It is documented in a | |
3046 separate Texinfo file. | |
3047 | |
31007 | 3048 *** The PCL-CVS package available by either running M-x cvs-examine or |
3049 by visiting a CVS administrative directory (with a prefix argument) | |
3050 provides an alternative interface to VC-dired for CVS. It comes with | |
3051 `log-view-mode' to view RCS and SCCS logs and `log-edit-mode' used to | |
35680 | 3052 enter check-in log messages. |
31007 | 3053 |
28834 | 3054 *** The new package called `woman' allows to browse Unix man pages |
3055 without invoking external programs. | |
3056 | |
3057 The command `M-x woman' formats manual pages entirely in Emacs Lisp | |
3058 and then displays them, like `M-x manual-entry' does. Unlike | |
3059 `manual-entry', `woman' does not invoke any external programs, so it | |
3060 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
|
3061 Groff or `troff' commands are not readily available. |
28834 | 3062 |
3063 The command `M-x woman-find-file' asks for the file name of a man | |
3064 page, then formats and displays it like `M-x woman' does. | |
3065 | |
28098 | 3066 *** The new command M-x re-builder offers a convenient interface for |
3067 authoring regular expressions with immediate visual feedback. | |
3068 | |
3069 The buffer from which the command was called becomes the target for | |
3070 the regexp editor popping up in a separate window. Matching text in | |
3071 the target buffer is immediately color marked during the editing. | |
3072 Each sub-expression of the regexp will show up in a different face so | |
3073 even complex regexps can be edited and verified on target data in a | |
3074 single step. | |
3075 | |
3076 On displays not supporting faces the matches instead blink like | |
3077 matching parens to make them stand out. On such a setup you will | |
3078 probably also want to use the sub-expression mode when the regexp | |
3079 contains such to get feedback about their respective limits. | |
3080 | |
27644 | 3081 *** glasses-mode is a minor mode that makes |
3082 unreadableIdentifiersLikeThis readable. It works as glasses, without | |
3083 actually modifying content of a buffer. | |
3084 | |
27498 | 3085 *** The package ebnf2ps translates an EBNF to a syntactic chart in |
3086 PostScript. | |
3087 | |
3088 Currently accepts ad-hoc EBNF, ISO EBNF and Bison/Yacc. | |
3089 | |
3090 The ad-hoc default EBNF syntax has the following elements: | |
3091 | |
3092 ; comment (until end of line) | |
3093 A non-terminal | |
3094 "C" terminal | |
3095 ?C? special | |
3096 $A default non-terminal | |
3097 $"C" default terminal | |
3098 $?C? default special | |
3099 A = B. production (A is the header and B the body) | |
3100 C D sequence (C occurs before D) | |
3101 C | D alternative (C or D occurs) | |
3102 A - B exception (A excluding B, B without any non-terminal) | |
3103 n * A repetition (A repeats n (integer) times) | |
3104 (C) group (expression C is grouped together) | |
3105 [C] optional (C may or not occurs) | |
3106 C+ one or more occurrences of C | |
3107 {C}+ one or more occurrences of C | |
3108 {C}* zero or more occurrences of C | |
3109 {C} zero or more occurrences of C | |
3110 C / D equivalent to: C {D C}* | |
3111 {C || D}+ equivalent to: C {D C}* | |
3112 {C || D}* equivalent to: [C {D C}*] | |
3113 {C || D} equivalent to: [C {D C}*] | |
3114 | |
3115 Please, see ebnf2ps documentation for EBNF syntax and how to use it. | |
3116 | |
27328 | 3117 *** The package align.el will align columns within a region, using M-x |
3118 align. Its mode-specific rules, based on regular expressions, | |
3119 determine where the columns should be split. In C and C++, for | |
3120 example, it will align variable names in declaration lists, or the | |
3121 equal signs of assignments. | |
3122 | |
27266
8ce11c7a7fcb
read-mail-command, outline mode changes, change-log-merge,
Dave Love <fx@gnu.org>
parents:
27200
diff
changeset
|
3123 *** `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
|
3124 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
|
3125 |
27016 | 3126 *** bs.el is a new package for buffer selection similar to |
3127 list-buffers or electric-buffer-list. Use M-x bs-show to display a | |
36885 | 3128 buffer menu with this package. See the Custom group `bs'. |
27016 | 3129 |
29696 | 3130 *** find-lisp.el is a package emulating the Unix find command in Lisp. |
3131 | |
27733 | 3132 *** calculator.el is a small calculator package that is intended to |
3133 replace desktop calculators such as xcalc and calc.exe. Actually, it | |
3134 is not too small - it has more features than most desktop calculators, | |
3135 and can be customized easily to get many more functions. It should | |
3136 not be confused with "calc" which is a much bigger mathematical tool | |
3137 which answers different needs. | |
3138 | |
26964
2939daf50656
Font-lock changes by Anders Lindgren.
Gerd Moellmann <gerd@gnu.org>
parents:
26933
diff
changeset
|
3139 *** 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
|
3140 suspicious C and C++ constructions. Currently, assignments inside |
2939daf50656
Font-lock changes by Anders Lindgren.
Gerd Moellmann <gerd@gnu.org>
parents:
26933
diff
changeset
|
3141 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
|
3142 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
|
3143 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
|
3144 to be enabled. |
2939daf50656
Font-lock changes by Anders Lindgren.
Gerd Moellmann <gerd@gnu.org>
parents:
26933
diff
changeset
|
3145 |
27094
6500fd0a7d8e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27092
diff
changeset
|
3146 *** 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
|
3147 containing diff3-style conflict markers, such as generated by RCS. |
6500fd0a7d8e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27092
diff
changeset
|
3148 |
25853 | 3149 *** 5x5.el is a simple puzzle game. |
3150 | |
38938 | 3151 *** hl-line.el provides `hl-line-mode', a minor mode to highlight the |
3152 current line in the current buffer. It also provides | |
3153 `global-hl-line-mode' to provide the same behaviour in all buffers. | |
25853 | 3154 |
3155 *** ansi-color.el translates ANSI terminal escapes into text-properties. | |
3156 | |
35578 | 3157 Please note: if `ansi-color-for-comint-mode' and |
31936 | 3158 `global-font-lock-mode' are non-nil, loading ansi-color.el will |
3159 disable font-lock and add `ansi-color-apply' to | |
3160 `comint-preoutput-filter-functions' for all shell-mode buffers. This | |
3161 displays the output of "ls --color=yes" using the correct foreground | |
3162 and background colors. | |
3163 | |
25853 | 3164 *** delphi.el provides a major mode for editing the Delphi (Object |
3165 Pascal) language. | |
3166 | |
3167 *** quickurl.el provides a simple method of inserting a URL based on | |
3168 the text at point. | |
3169 | |
3170 *** sql.el provides an interface to SQL data bases. | |
3171 | |
25862 | 3172 *** fortune.el uses the fortune program to create mail/news signatures. |
3173 | |
35163 | 3174 *** whitespace.el is a package for warning about and cleaning bogus |
3175 whitespace in a file. | |
25853 | 3176 |
25992 | 3177 *** PostScript mode (ps-mode) is a new major mode for editing PostScript |
3178 files. It offers: interaction with a PostScript interpreter, including | |
3179 (very basic) error handling; fontification, easily customizable for | |
3180 interpreter messages; auto-indentation; insertion of EPSF templates and | |
3181 often used code snippets; viewing of BoundingBox; commenting out / | |
3182 uncommenting regions; conversion of 8bit characters to PostScript octal | |
3183 codes. All functionality is accessible through a menu. | |
3184 | |
3185 *** delim-col helps to prettify columns in a text region or rectangle. | |
3186 | |
3187 Here is an example of columns: | |
3188 | |
3189 horse apple bus | |
3190 dog pineapple car EXTRA | |
3191 porcupine strawberry airplane | |
3192 | |
3193 Doing the following settings: | |
3194 | |
3195 (setq delimit-columns-str-before "[ ") | |
3196 (setq delimit-columns-str-after " ]") | |
3197 (setq delimit-columns-str-separator ", ") | |
3198 (setq delimit-columns-separator "\t") | |
3199 | |
3200 | |
3201 Selecting the lines above and typing: | |
3202 | |
3203 M-x delimit-columns-region | |
3204 | |
3205 It results: | |
3206 | |
3207 [ horse , apple , bus , ] | |
3208 [ dog , pineapple , car , EXTRA ] | |
3209 [ porcupine, strawberry, airplane, ] | |
3210 | |
3211 delim-col has the following options: | |
3212 | |
3213 delimit-columns-str-before Specify a string to be inserted | |
3214 before all columns. | |
3215 | |
3216 delimit-columns-str-separator Specify a string to be inserted | |
3217 between each column. | |
3218 | |
3219 delimit-columns-str-after Specify a string to be inserted | |
3220 after all columns. | |
3221 | |
3222 delimit-columns-separator Specify a regexp which separates | |
3223 each column. | |
3224 | |
3225 delim-col has the following commands: | |
3226 | |
3227 delimit-columns-region Prettify all columns in a text region. | |
3228 delimit-columns-rectangle Prettify all columns in a text rectangle. | |
3229 | |
36885 | 3230 *** Recentf mode maintains a menu for visiting files that were |
3231 operated on recently. User option recentf-menu-filter specifies a | |
3232 menu filter function to change the menu appearance. For example, the | |
3233 recent file list can be displayed: | |
30319 | 3234 |
3235 - organized by major modes, directories or user defined rules. | |
35680 | 3236 - sorted by file paths, file names, ascending or descending. |
3237 - showing paths relative to the current default-directory | |
30319 | 3238 |
3239 The `recentf-filter-changer' menu filter function allows to | |
3240 dynamically change the menu appearance. | |
26030
c5e8559a53cb
Add description of recentf.
Gerd Moellmann <gerd@gnu.org>
parents:
26016
diff
changeset
|
3241 |
26149 | 3242 *** elide-head.el provides a mechanism for eliding boilerplate header |
3243 text. | |
3244 | |
26924 | 3245 *** footnote.el provides `footnote-mode', a minor mode supporting use |
26786 | 3246 of footnotes. It is intended for use with Message mode, but isn't |
3247 specific to Message mode. | |
3248 | |
26924 | 3249 *** diff-mode.el provides `diff-mode', a major mode for |
3250 viewing/editing context diffs (patches). It is selected for files | |
3251 with extension `.diff', `.diffs', `.patch' and `.rej'. | |
3252 | |
27714
22a581e00fe4
Mention some new packages, extra configure options.
Dave Love <fx@gnu.org>
parents:
27693
diff
changeset
|
3253 *** 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
|
3254 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
|
3255 protocols. It has a separate manual. |
22a581e00fe4
Mention some new packages, extra configure options.
Dave Love <fx@gnu.org>
parents:
27693
diff
changeset
|
3256 |
28132 | 3257 *** autoconf.el provides a major mode for editing configure.in files |
3258 for Autoconf, selected automatically. | |
3259 | |
28710 | 3260 *** 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
|
3261 |
30483
05fc373ff5b8
mention `float-time' and the remote file modtime check
Sam Steingold <sds@gnu.org>
parents:
30482
diff
changeset
|
3262 *** crm.el provides a facility to read multiple strings from the |
28710 | 3263 minibuffer with completion. |
27714
22a581e00fe4
Mention some new packages, extra configure options.
Dave Love <fx@gnu.org>
parents:
27693
diff
changeset
|
3264 |
28883 | 3265 *** todo-mode.el provides management of TODO lists and integration |
3266 with the diary features. | |
3267 | |
28912 | 3268 *** autoarg.el provides a feature reported from Twenex Emacs whereby |
3269 numeric keys supply prefix args rather than self inserting. | |
3270 | |
29814 | 3271 *** The function `turn-off-auto-fill' unconditionally turns off Auto |
3272 Fill mode. | |
3273 | |
33020 | 3274 *** pcomplete.el is a library that provides programmable completion |
3275 facilities for Emacs, similar to what zsh and tcsh offer. The main | |
3276 difference is that completion functions are written in Lisp, meaning | |
3277 they can be profiled, debugged, etc. | |
32465 | 3278 |
38379 | 3279 *** antlr-mode is a new major mode for editing ANTLR grammar files. |
3280 It is automatically turned on for files whose names have the extension | |
3281 `.g'. | |
3282 | |
38900
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3283 ** 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
|
3284 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3285 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
|
3286 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
|
3287 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
|
3288 numeric base. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3289 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3290 ** 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
|
3291 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3292 *** 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
|
3293 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
|
3294 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
|
3295 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3296 *** 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
|
3297 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
|
3298 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3299 *** 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
|
3300 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
|
3301 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3302 ** 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
|
3303 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
|
3304 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3305 ** 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
|
3306 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
|
3307 `(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
|
3308 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3309 ** 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
|
3310 group. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3311 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3312 ** 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
|
3313 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
|
3314 are recognized: |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3315 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3316 `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
|
3317 `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
|
3318 `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
|
3319 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
|
3320 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3321 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
|
3322 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3323 [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
|
3324 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3325 ** 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
|
3326 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
|
3327 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3328 ** 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
|
3329 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
|
3330 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
|
3331 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
|
3332 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3333 ** 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
|
3334 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
|
3335 `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
|
3336 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3337 ** `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
|
3338 `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
|
3339 `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
|
3340 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3341 ** 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
|
3342 `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
|
3343 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3344 ** 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
|
3345 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
|
3346 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3347 ** `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
|
3348 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
|
3349 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3350 ** 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
|
3351 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
|
3352 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
|
3353 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
|
3354 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
|
3355 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
|
3356 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3357 ** 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
|
3358 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
|
3359 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3360 ** 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
|
3361 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3362 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
|
3363 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
|
3364 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3365 ** 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
|
3366 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3367 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
|
3368 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
|
3369 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
|
3370 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3371 ** Etags changes. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3372 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3373 *** 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
|
3374 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3375 *** 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
|
3376 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
|
3377 {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
|
3378 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
|
3379 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
|
3380 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3381 *** 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
|
3382 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
|
3383 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3384 *** 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
|
3385 "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
|
3386 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3387 *** 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
|
3388 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
|
3389 `template' keywords. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3390 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3391 *** 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
|
3392 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
|
3393 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3394 *** 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
|
3395 types. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3396 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3397 *** 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
|
3398 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3399 *** 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
|
3400 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3401 *** 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
|
3402 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
|
3403 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3404 *** 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
|
3405 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3406 *** 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
|
3407 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
|
3408 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3409 *** 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
|
3410 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3411 *** .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
|
3412 for PSWrap. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3413 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3414 ** 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
|
3415 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3416 *** 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
|
3417 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
|
3418 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
|
3419 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3420 *** 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
|
3421 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
|
3422 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3423 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
|
3424 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
|
3425 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
|
3426 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
|
3427 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3428 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
|
3429 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3430 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
|
3431 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
|
3432 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3433 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
|
3434 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3435 '(("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
|
3436 ("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
|
3437 ("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
|
3438 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3439 *** 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
|
3440 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
|
3441 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3442 *** 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
|
3443 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
|
3444 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3445 *** 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
|
3446 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
|
3447 /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
|
3448 "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
|
3449 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
|
3450 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3451 *** 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
|
3452 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
|
3453 (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
|
3454 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3455 *** 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
|
3456 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
|
3457 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
|
3458 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3459 ** 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
|
3460 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
|
3461 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
|
3462 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3463 ** 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
|
3464 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3465 ** 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
|
3466 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3467 ** 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
|
3468 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
|
3469 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
|
3470 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3471 ** 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
|
3472 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
|
3473 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
|
3474 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
|
3475 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3476 ** 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
|
3477 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3478 ** 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
|
3479 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
|
3480 |
33290 | 3481 ** Refill minor mode provides preliminary support for keeping |
3482 paragraphs filled as you modify them. | |
3483 | |
38605
f99d2e5ee830
Add description of double-click-fuzz.
Gerd Moellmann <gerd@gnu.org>
parents:
38590
diff
changeset
|
3484 ** 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
|
3485 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
|
3486 is measured in pixels. |
f99d2e5ee830
Add description of double-click-fuzz.
Gerd Moellmann <gerd@gnu.org>
parents:
38590
diff
changeset
|
3487 |
33290 | 3488 ** The new global minor mode `auto-image-file-mode' allows image files |
3489 to be visited as images. | |
3490 | |
39270
daf37eb76fde
grep-command and grep-find-command user options.
Gerd Moellmann <gerd@gnu.org>
parents:
39255
diff
changeset
|
3491 ** 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
|
3492 were added to compile.el. |
daf37eb76fde
grep-command and grep-find-command user options.
Gerd Moellmann <gerd@gnu.org>
parents:
39255
diff
changeset
|
3493 |
25853 | 3494 ** Withdrawn packages |
3495 | |
3496 *** mldrag.el has been removed. mouse.el provides the same | |
3497 functionality with aliases for the mldrag functions. | |
26133 | 3498 |
27369 | 3499 *** eval-reg.el has been obsoleted by changes to edebug.el and removed. |
3500 | |
3501 *** ph.el has been obsoleted by EUDC and removed. | |
29102 | 3502 |
35577
db5649648a65
Replace formfeeds removed on 2001/01/22.
Dave Love <fx@gnu.org>
parents:
35567
diff
changeset
|
3503 |
33991 | 3504 * Incompatible Lisp changes |
3505 | |
3506 There are a few Lisp changes which are not backwards-compatible and | |
3507 may require changes to existing code. Here is a list for reference. | |
35421 | 3508 See the sections below for details. |
33991 | 3509 |
35297
e268b7b500f0
Changes for makefile support in etags.
Francesco Potortì <pot@gnu.org>
parents:
35278
diff
changeset
|
3510 ** 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
|
3511 `(format "%s" foo)' no longer works to copy and remove properties. |
41091 | 3512 Use `copy-sequence' to copy the string, then use `set-text-properties' |
3513 to remove the properties of the copy. | |
33991 | 3514 |
3515 ** Since the `keymap' text property now has significance, some code | |
3516 which uses both `local-map' and `keymap' properties (for portability) | |
3517 may, for instance, give rise to duplicate menus when the keymaps from | |
3518 these properties are active. | |
3519 | |
34029 | 3520 ** The change in the treatment of non-ASCII characters in search |
33991 | 3521 ranges may affect some code. |
34017 | 3522 |
3523 ** A non-nil value for the LOCAL arg of add-hook makes the hook | |
3524 buffer-local even if `make-local-hook' hasn't been called, which might | |
3525 make a difference to some code. | |
3526 | |
34029 | 3527 ** The new treatment of the minibuffer prompt might affect code which |
3528 operates on the minibuffer. | |
3529 | |
34087
4fcc3c4e9b0f
Explain why `no-conversion' is no longer appropriate for reading
Eli Zaretskii <eliz@gnu.org>
parents:
34060
diff
changeset
|
3530 ** 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
|
3531 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
|
3532 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
|
3533 (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
|
3534 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
|
3535 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
|
3536 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
|
3537 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
|
3538 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
|
3539 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
|
3540 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
|
3541 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
|
3542 |
4fcc3c4e9b0f
Explain why `no-conversion' is no longer appropriate for reading
Eli Zaretskii <eliz@gnu.org>
parents:
34060
diff
changeset
|
3543 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
|
3544 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
|
3545 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
|
3546 |
34617 | 3547 ** 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
|
3548 `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
|
3549 `before-change-functions' and `after-change-functions' instead. |
34617 | 3550 |
3551 ** Code that uses `concat' with integer args now gets an error, as | |
44087
c8f919cc34e2
Clarify that mapconcat will also throw an error when it invokes
Eli Zaretskii <eliz@gnu.org>
parents:
44072
diff
changeset
|
3552 long promised. So does any code that uses derivatives of `concat', |
c8f919cc34e2
Clarify that mapconcat will also throw an error when it invokes
Eli Zaretskii <eliz@gnu.org>
parents:
44072
diff
changeset
|
3553 such as `mapconcat'. |
34617 | 3554 |
38649
021a0445b5f6
Mention the change in base64-decode-string whereby the result is
Eli Zaretskii <eliz@gnu.org>
parents:
38605
diff
changeset
|
3555 ** 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
|
3556 string. |
021a0445b5f6
Mention the change in base64-decode-string whereby the result is
Eli Zaretskii <eliz@gnu.org>
parents:
38605
diff
changeset
|
3557 |
36244 | 3558 ** Not a Lisp incompatibility as such but, with the introduction of |
3559 extra private charsets, there is now only one slot free for a new | |
3560 dimension-2 private charset. User code which tries to add more than | |
3561 one extra will fail unless you rebuild Emacs with some standard | |
3562 charset(s) removed; that is probably inadvisable because it changes | |
3563 the emacs-mule encoding. Also, files stored in the emacs-mule | |
36470 | 3564 encoding using Emacs 20 with additional private charsets defined will |
3565 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
|
3566 |
37077
8b914cd4ae0c
Fix the wording about directory-sep-char deprecation.
Eli Zaretskii <eliz@gnu.org>
parents:
37064
diff
changeset
|
3567 ** 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
|
3568 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
|
3569 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
|
3570 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
|
3571 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
|
3572 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
|
3573 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
|
3574 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
|
3575 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
|
3576 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
|
3577 |
35577
db5649648a65
Replace formfeeds removed on 2001/01/22.
Dave Love <fx@gnu.org>
parents:
35567
diff
changeset
|
3578 |
29102 | 3579 * Lisp changes made after edition 2.6 of the Emacs Lisp Manual, |
3580 (Display-related features are described in a page of their own below.) | |
3581 | |
39089 | 3582 ** Function assq-delete-all replaces function assoc-delete-all. |
3583 | |
41356 | 3584 ** The new function animate-string, from lisp/play/animate.el |
38527 | 3585 allows the animated display of strings. |
3586 | |
37061 | 3587 ** The new function `interactive-form' can be used to obtain the |
3588 interactive form of a function. | |
3589 | |
36885 | 3590 ** The keyword :set-after in defcustom allows to specify dependencies |
3591 between custom options. Example: | |
3592 | |
3593 (defcustom default-input-method nil | |
3594 "*Default input method for multilingual text (a string). | |
3595 This is the input method activated automatically by the command | |
3596 `toggle-input-method' (\\[toggle-input-method])." | |
3597 :group 'mule | |
3598 :type '(choice (const nil) string) | |
3599 :set-after '(current-language-environment)) | |
3600 | |
3601 This specifies that default-input-method should be set after | |
3602 current-language-environment even if default-input-method appears | |
3603 first in a custom-set-variables statement. | |
3604 | |
35862
9604ca6b3728
More typos from Juanma Barranquero <lektu@uol.com.br>.
Eli Zaretskii <eliz@gnu.org>
parents:
35847
diff
changeset
|
3605 ** The new hook `kbd-macro-termination-hook' is run at the end of |
35125 | 3606 function execute-kbd-macro. Functions on this hook are called with no |
3607 args. The hook is run independent of how the macro was terminated | |
3608 (signal or normal termination). | |
3609 | |
35090 | 3610 ** Functions `butlast' and `nbutlast' for removing trailing elements |
3611 from a list are now available without requiring the CL package. | |
3612 | |
34271 | 3613 ** The new user-option `even-window-heights' can be set to nil |
3614 to prevent `display-buffer' from evening out window heights. | |
3615 | |
33373 | 3616 ** The user-option `face-font-registry-alternatives' specifies |
3617 alternative font registry names to try when looking for a font. | |
3618 | |
34054 | 3619 ** Function `md5' calculates the MD5 "message digest"/"checksum". |
33364 | 3620 |
32913 | 3621 ** Function `delete-frame' runs `delete-frame-hook' before actually |
3622 deleting the frame. The hook is called with one arg, the frame | |
3623 being deleted. | |
3624 | |
32845
e92097fd9144
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32751
diff
changeset
|
3625 ** `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
|
3626 |
32466 | 3627 ** The treatment of non-ASCII characters in search ranges has changed. |
32465 | 3628 If a range in a regular expression or the arg of |
3629 skip-chars-forward/backward starts with a unibyte character C and ends | |
3630 with a multibyte character C2, the range is divided into two: one is | |
3631 C..?\377, the other is C1..C2, where C1 is the first character of C2's | |
3632 charset. | |
3633 | |
32259
cae38860a9ee
Add entry for `display-message-or-buffer'.
Miles Bader <miles@gnu.org>
parents:
32257
diff
changeset
|
3634 ** 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
|
3635 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
|
3636 message. |
cae38860a9ee
Add entry for `display-message-or-buffer'.
Miles Bader <miles@gnu.org>
parents:
32257
diff
changeset
|
3637 |
32050
2a3bcf8d9877
Add entries for `auto-image-file-mode' and `with-auto-compression-mode'.
Miles Bader <miles@gnu.org>
parents:
32037
diff
changeset
|
3638 ** 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
|
3639 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
|
3640 |
31636 | 3641 ** In image specifications, `:heuristic-mask' has been replaced |
3642 with the more general `:mask' property. | |
3643 | |
35364 | 3644 ** Image specifications accept more `:conversion's. |
31728 | 3645 |
31561 | 3646 ** A `?' can be used in a symbol name without escaping it with a |
3647 backslash. | |
3648 | |
31007 | 3649 ** Reading from the mini-buffer now reads from standard input if Emacs |
3650 is running in batch mode. For example, | |
3651 | |
3652 (message "%s" (read t)) | |
3653 | |
3654 will read a Lisp expression from standard input and print the result | |
3655 to standard output. | |
3656 | |
3657 ** The argument of `down-list', `backward-up-list', `up-list', | |
3658 `kill-sexp', `backward-kill-sexp' and `mark-sexp' is now optional. | |
3659 | |
30564 | 3660 ** If `display-buffer-reuse-frames' is set, function `display-buffer' |
3661 will raise frames displaying a buffer, instead of creating a new | |
3662 frame or window. | |
3663 | |
30516 | 3664 ** Two new functions for removing elements from lists/sequences |
3665 were added | |
3666 | |
3667 - Function: remove ELT SEQ | |
3668 | |
35680 | 3669 Return a copy of SEQ with all occurrences of ELT removed. SEQ must be |
30516 | 3670 a list, vector, or string. The comparison is done with `equal'. |
3671 | |
3672 - Function: remq ELT LIST | |
3673 | |
35680 | 3674 Return a copy of LIST with all occurrences of ELT removed. The |
30516 | 3675 comparison is done with `eq'. |
3676 | |
3677 ** The function `delete' now also works with vectors and strings. | |
30511 | 3678 |
30502 | 3679 ** 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
|
3680 has been changed: WEAK can now have new values `key-or-value' and |
39441 | 3681 `key-and-value', in addition the `nil', `key', `value', and `t'. |
30502 | 3682 |
30357 | 3683 ** Function `aset' stores any multibyte character in any string |
3684 without signaling "Attempt to change char length of a string". It may | |
3685 convert a unibyte string to multibyte if necessary. | |
3686 | |
30219 | 3687 ** The value of the `help-echo' text property is called as a function |
3688 or evaluated, if it is not a string already, to obtain a help string. | |
30203 | 3689 |
30158
84d54b049d67
make-obsolete, plist-member changes
Dave Love <fx@gnu.org>
parents:
30155
diff
changeset
|
3690 ** 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
|
3691 function was declared obsolete. |
84d54b049d67
make-obsolete, plist-member changes
Dave Love <fx@gnu.org>
parents:
30155
diff
changeset
|
3692 |
30483
05fc373ff5b8
mention `float-time' and the remote file modtime check
Sam Steingold <sds@gnu.org>
parents:
30482
diff
changeset
|
3693 ** 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
|
3694 retained as an alias). |
84d54b049d67
make-obsolete, plist-member changes
Dave Love <fx@gnu.org>
parents:
30155
diff
changeset
|
3695 |
30068
fd80ab818a0c
Fix various typos.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30056
diff
changeset
|
3696 ** Easy-menu's :filter now works as in XEmacs. |
fd80ab818a0c
Fix various typos.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30056
diff
changeset
|
3697 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
|
3698 is automatically converted to Emacs' form. |
fd80ab818a0c
Fix various typos.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30056
diff
changeset
|
3699 |
30038 | 3700 ** The new function `window-list' has been defined |
3701 | |
33620 | 3702 - Function: window-list &optional FRAME WINDOW MINIBUF |
3703 | |
3704 Return a list of windows on FRAME, starting with WINDOW. FRAME nil or | |
3705 omitted means use the selected frame. WINDOW nil or omitted means use | |
3706 the selected window. MINIBUF t means include the minibuffer window, | |
3707 even if it isn't active. MINIBUF nil or omitted means include the | |
3708 minibuffer window only if it's active. MINIBUF neither nil nor t | |
3709 means never include the minibuffer window. | |
30038 | 3710 |
39179
d0b29a3ee609
some-window -> get-window-with-predicate.
Gerd Moellmann <gerd@gnu.org>
parents:
39089
diff
changeset
|
3711 ** 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
|
3712 |
d0b29a3ee609
some-window -> get-window-with-predicate.
Gerd Moellmann <gerd@gnu.org>
parents:
39089
diff
changeset
|
3713 - Function: get-window-with-predicate PREDICATE &optional MINIBUF ALL-FRAMES DEFAULT |
30006 | 3714 |
3715 Return a window satisfying PREDICATE. | |
3716 | |
3717 This function cycles through all visible windows using `walk-windows', | |
3718 calling PREDICATE on each one. PREDICATE is called with a window as | |
3719 argument. The first window for which PREDICATE returns a non-nil | |
3720 value is returned. If no window satisfies PREDICATE, DEFAULT is | |
3721 returned. | |
3722 | |
3723 Optional second arg MINIBUF t means count the minibuffer window even | |
3724 if not active. MINIBUF nil or omitted means count the minibuffer iff | |
3725 it is active. MINIBUF neither t nor nil means not to count the | |
3726 minibuffer even if it is active. | |
3727 | |
3728 Several frames may share a single minibuffer; if the minibuffer | |
3729 counts, all windows on all frames that share that minibuffer count | |
3730 too. Therefore, if you are using a separate minibuffer frame | |
3731 and the minibuffer is active and MINIBUF says it counts, | |
3732 `walk-windows' includes the windows in the frame from which you | |
3733 entered the minibuffer, as well as the minibuffer window. | |
3734 | |
3735 ALL-FRAMES is the optional third argument. | |
3736 ALL-FRAMES nil or omitted means cycle within the frames as specified above. | |
3737 ALL-FRAMES = `visible' means include windows on all visible frames. | |
3738 ALL-FRAMES = 0 means include windows on all visible and iconified frames. | |
3739 ALL-FRAMES = t means include windows on all frames including invisible frames. | |
3740 If ALL-FRAMES is a frame, it means include windows on that frame. | |
3741 Anything else means restrict to the selected frame. | |
3742 | |
30564 | 3743 ** The function `single-key-description' now encloses function key and |
3744 event names in angle brackets. When called with a second optional | |
3745 argument non-nil, angle brackets won't be printed. | |
29657 | 3746 |
29637 | 3747 ** If the variable `message-truncate-lines' is bound to t around a |
3748 call to `message', the echo area will not be resized to display that | |
30290 | 3749 message; it will be truncated instead, as it was done in 20.x. |
3750 Default value is nil. | |
29637 | 3751 |
30483
05fc373ff5b8
mention `float-time' and the remote file modtime check
Sam Steingold <sds@gnu.org>
parents:
30482
diff
changeset
|
3752 ** The user option `line-number-display-limit' can now be set to nil, |
29633 | 3753 meaning no limit. |
3754 | |
38126
64a45ba0553f
Document line-number-display-limit-width.
Eli Zaretskii <eliz@gnu.org>
parents:
38107
diff
changeset
|
3755 ** 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
|
3756 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
|
3757 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
|
3758 |
30483
05fc373ff5b8
mention `float-time' and the remote file modtime check
Sam Steingold <sds@gnu.org>
parents:
30482
diff
changeset
|
3759 ** `select-safe-coding-system' now also checks the most preferred |
29509 | 3760 coding-system if buffer-file-coding-system is `undecided' and |
3761 DEFAULT-CODING-SYSTEM is not specified, | |
3762 | |
34001 | 3763 ** The function `subr-arity' provides information about the argument |
3764 list of a primitive. | |
29238 | 3765 |
33111
bbf383648e4d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
33020
diff
changeset
|
3766 ** `where-is-internal' now also accepts a list of keymaps. |
bbf383648e4d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
33020
diff
changeset
|
3767 |
29286 | 3768 ** The text property `keymap' specifies a key map which overrides the |
3769 buffer's local map and the map specified by the `local-map' property. | |
3770 This is probably what most current uses of `local-map' want, rather | |
3771 than replacing the local map. | |
3772 | |
35250 | 3773 ** The obsolete variables `before-change-function' and |
3774 `after-change-function' are no longer acted upon and have been | |
3775 removed. Use `before-change-functions' and `after-change-functions' | |
3776 instead. | |
29498 | 3777 |
3778 ** The function `apropos-mode' runs the hook `apropos-mode-hook'. | |
3779 | |
33111
bbf383648e4d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
33020
diff
changeset
|
3780 ** `concat' no longer accepts individual integer arguments, |
bbf383648e4d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
33020
diff
changeset
|
3781 as promised long ago. |
30339
70d759570f7a
C-down-mouse-3. Move concat change.
Dave Love <fx@gnu.org>
parents:
30319
diff
changeset
|
3782 |
30483
05fc373ff5b8
mention `float-time' and the remote file modtime check
Sam Steingold <sds@gnu.org>
parents:
30482
diff
changeset
|
3783 ** 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
|
3784 |
1d5371e8a974
Add entry for auto-coding-regexp-alist.
Gerd Moellmann <gerd@gnu.org>
parents:
37446
diff
changeset
|
3785 ** 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
|
3786 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
|
3787 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
|
3788 |
35577
db5649648a65
Replace formfeeds removed on 2001/01/22.
Dave Love <fx@gnu.org>
parents:
35567
diff
changeset
|
3789 |
25853 | 3790 * Lisp changes in Emacs 21.1 (see following page for display-related features) |
3791 | |
39517 | 3792 ** The new package rx.el provides an alternative sexp notation for |
3793 regular expressions. | |
3794 | |
3795 - Function: rx-to-string SEXP | |
3796 | |
3797 Translate SEXP into a regular expression in string notation. | |
3798 | |
3799 - Macro: rx SEXP | |
3800 | |
3801 Translate SEXP into a regular expression in string notation. | |
3802 | |
3803 The following are valid subforms of regular expressions in sexp | |
3804 notation. | |
3805 | |
3806 STRING | |
3807 matches string STRING literally. | |
3808 | |
3809 CHAR | |
3810 matches character CHAR literally. | |
3811 | |
3812 `not-newline' | |
3813 matches any character except a newline. | |
3814 . | |
3815 `anything' | |
3816 matches any character | |
3817 | |
3818 `(any SET)' | |
3819 matches any character in SET. SET may be a character or string. | |
3820 Ranges of characters can be specified as `A-Z' in strings. | |
3821 | |
40215 | 3822 '(in SET)' |
39517 | 3823 like `any'. |
3824 | |
3825 `(not (any SET))' | |
3826 matches any character not in SET | |
3827 | |
3828 `line-start' | |
3829 matches the empty string, but only at the beginning of a line | |
3830 in the text being matched | |
3831 | |
3832 `line-end' | |
3833 is similar to `line-start' but matches only at the end of a line | |
3834 | |
3835 `string-start' | |
3836 matches the empty string, but only at the beginning of the | |
3837 string being matched against. | |
3838 | |
3839 `string-end' | |
3840 matches the empty string, but only at the end of the | |
3841 string being matched against. | |
3842 | |
3843 `buffer-start' | |
3844 matches the empty string, but only at the beginning of the | |
3845 buffer being matched against. | |
3846 | |
3847 `buffer-end' | |
3848 matches the empty string, but only at the end of the | |
3849 buffer being matched against. | |
3850 | |
3851 `point' | |
3852 matches the empty string, but only at point. | |
3853 | |
3854 `word-start' | |
3855 matches the empty string, but only at the beginning or end of a | |
3856 word. | |
3857 | |
3858 `word-end' | |
3859 matches the empty string, but only at the end of a word. | |
3860 | |
3861 `word-boundary' | |
3862 matches the empty string, but only at the beginning or end of a | |
3863 word. | |
3864 | |
3865 `(not word-boundary)' | |
3866 matches the empty string, but not at the beginning or end of a | |
3867 word. | |
3868 | |
3869 `digit' | |
3870 matches 0 through 9. | |
3871 | |
3872 `control' | |
3873 matches ASCII control characters. | |
3874 | |
3875 `hex-digit' | |
3876 matches 0 through 9, a through f and A through F. | |
3877 | |
3878 `blank' | |
3879 matches space and tab only. | |
3880 | |
3881 `graphic' | |
3882 matches graphic characters--everything except ASCII control chars, | |
3883 space, and DEL. | |
3884 | |
3885 `printing' | |
3886 matches printing characters--everything except ASCII control chars | |
3887 and DEL. | |
3888 | |
3889 `alphanumeric' | |
3890 matches letters and digits. (But at present, for multibyte characters, | |
3891 it matches anything that has word syntax.) | |
3892 | |
3893 `letter' | |
3894 matches letters. (But at present, for multibyte characters, | |
3895 it matches anything that has word syntax.) | |
3896 | |
3897 `ascii' | |
3898 matches ASCII (unibyte) characters. | |
3899 | |
3900 `nonascii' | |
3901 matches non-ASCII (multibyte) characters. | |
3902 | |
3903 `lower' | |
3904 matches anything lower-case. | |
3905 | |
3906 `upper' | |
3907 matches anything upper-case. | |
3908 | |
3909 `punctuation' | |
3910 matches punctuation. (But at present, for multibyte characters, | |
3911 it matches anything that has non-word syntax.) | |
3912 | |
3913 `space' | |
3914 matches anything that has whitespace syntax. | |
3915 | |
3916 `word' | |
3917 matches anything that has word syntax. | |
3918 | |
3919 `(syntax SYNTAX)' | |
3920 matches a character with syntax SYNTAX. SYNTAX must be one | |
3921 of the following symbols. | |
3922 | |
3923 `whitespace' (\\s- in string notation) | |
3924 `punctuation' (\\s.) | |
3925 `word' (\\sw) | |
3926 `symbol' (\\s_) | |
3927 `open-parenthesis' (\\s() | |
3928 `close-parenthesis' (\\s)) | |
3929 `expression-prefix' (\\s') | |
3930 `string-quote' (\\s\") | |
3931 `paired-delimiter' (\\s$) | |
3932 `escape' (\\s\\) | |
3933 `character-quote' (\\s/) | |
3934 `comment-start' (\\s<) | |
3935 `comment-end' (\\s>) | |
3936 | |
3937 `(not (syntax SYNTAX))' | |
3938 matches a character that has not syntax SYNTAX. | |
3939 | |
3940 `(category CATEGORY)' | |
3941 matches a character with category CATEGORY. CATEGORY must be | |
3942 either a character to use for C, or one of the following symbols. | |
3943 | |
3944 `consonant' (\\c0 in string notation) | |
3945 `base-vowel' (\\c1) | |
3946 `upper-diacritical-mark' (\\c2) | |
3947 `lower-diacritical-mark' (\\c3) | |
3948 `tone-mark' (\\c4) | |
3949 `symbol' (\\c5) | |
3950 `digit' (\\c6) | |
3951 `vowel-modifying-diacritical-mark' (\\c7) | |
3952 `vowel-sign' (\\c8) | |
3953 `semivowel-lower' (\\c9) | |
3954 `not-at-end-of-line' (\\c<) | |
3955 `not-at-beginning-of-line' (\\c>) | |
3956 `alpha-numeric-two-byte' (\\cA) | |
3957 `chinse-two-byte' (\\cC) | |
3958 `greek-two-byte' (\\cG) | |
3959 `japanese-hiragana-two-byte' (\\cH) | |
3960 `indian-tow-byte' (\\cI) | |
3961 `japanese-katakana-two-byte' (\\cK) | |
3962 `korean-hangul-two-byte' (\\cN) | |
3963 `cyrillic-two-byte' (\\cY) | |
3964 `ascii' (\\ca) | |
3965 `arabic' (\\cb) | |
3966 `chinese' (\\cc) | |
3967 `ethiopic' (\\ce) | |
3968 `greek' (\\cg) | |
3969 `korean' (\\ch) | |
3970 `indian' (\\ci) | |
3971 `japanese' (\\cj) | |
3972 `japanese-katakana' (\\ck) | |
3973 `latin' (\\cl) | |
3974 `lao' (\\co) | |
3975 `tibetan' (\\cq) | |
3976 `japanese-roman' (\\cr) | |
3977 `thai' (\\ct) | |
3978 `vietnamese' (\\cv) | |
3979 `hebrew' (\\cw) | |
3980 `cyrillic' (\\cy) | |
3981 `can-break' (\\c|) | |
3982 | |
3983 `(not (category CATEGORY))' | |
3984 matches a character that has not category CATEGORY. | |
3985 | |
3986 `(and SEXP1 SEXP2 ...)' | |
3987 matches what SEXP1 matches, followed by what SEXP2 matches, etc. | |
3988 | |
3989 `(submatch SEXP1 SEXP2 ...)' | |
3990 like `and', but makes the match accessible with `match-end', | |
3991 `match-beginning', and `match-string'. | |
3992 | |
3993 `(group SEXP1 SEXP2 ...)' | |
3994 another name for `submatch'. | |
3995 | |
3996 `(or SEXP1 SEXP2 ...)' | |
3997 matches anything that matches SEXP1 or SEXP2, etc. If all | |
3998 args are strings, use `regexp-opt' to optimize the resulting | |
3999 regular expression. | |
4000 | |
4001 `(minimal-match SEXP)' | |
4002 produce a non-greedy regexp for SEXP. Normally, regexps matching | |
4003 zero or more occurrances of something are \"greedy\" in that they | |
4004 match as much as they can, as long as the overall regexp can | |
4005 still match. A non-greedy regexp matches as little as possible. | |
4006 | |
4007 `(maximal-match SEXP)' | |
4008 produce a greedy regexp for SEXP. This is the default. | |
4009 | |
4010 `(zero-or-more SEXP)' | |
4011 matches zero or more occurrences of what SEXP matches. | |
4012 | |
4013 `(0+ SEXP)' | |
4014 like `zero-or-more'. | |
4015 | |
4016 `(* SEXP)' | |
4017 like `zero-or-more', but always produces a greedy regexp. | |
4018 | |
4019 `(*? SEXP)' | |
4020 like `zero-or-more', but always produces a non-greedy regexp. | |
4021 | |
4022 `(one-or-more SEXP)' | |
4023 matches one or more occurrences of A. | |
40215 | 4024 |
39517 | 4025 `(1+ SEXP)' |
4026 like `one-or-more'. | |
4027 | |
4028 `(+ SEXP)' | |
4029 like `one-or-more', but always produces a greedy regexp. | |
4030 | |
4031 `(+? SEXP)' | |
4032 like `one-or-more', but always produces a non-greedy regexp. | |
4033 | |
4034 `(zero-or-one SEXP)' | |
4035 matches zero or one occurrences of A. | |
40215 | 4036 |
39517 | 4037 `(optional SEXP)' |
4038 like `zero-or-one'. | |
4039 | |
4040 `(? SEXP)' | |
4041 like `zero-or-one', but always produces a greedy regexp. | |
4042 | |
4043 `(?? SEXP)' | |
4044 like `zero-or-one', but always produces a non-greedy regexp. | |
4045 | |
4046 `(repeat N SEXP)' | |
4047 matches N occurrences of what SEXP matches. | |
4048 | |
4049 `(repeat N M SEXP)' | |
4050 matches N to M occurrences of what SEXP matches. | |
4051 | |
4052 `(eval FORM)' | |
4053 evaluate FORM and insert result. If result is a string, | |
4054 `regexp-quote' it. | |
4055 | |
4056 `(regexp REGEXP)' | |
4057 include REGEXP in string notation in the result. | |
4058 | |
36811 | 4059 *** The features `md5' and `overlay' are now provided by default. |
4060 | |
30933
3a89352a7dab
Document save-restriction fix.
Miles Bader <miles@gnu.org>
parents:
30930
diff
changeset
|
4061 *** 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
|
4062 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
|
4063 the original restriction. Previously, doing this would cause the saved |
3a89352a7dab
Document save-restriction fix.
Miles Bader <miles@gnu.org>
parents:
30930
diff
changeset
|
4064 restriction to be restored incorrectly. |
3a89352a7dab
Document save-restriction fix.
Miles Bader <miles@gnu.org>
parents:
30930
diff
changeset
|
4065 |
29506 | 4066 *** The functions `find-charset-region' and `find-charset-string' include |
4067 `eight-bit-control' and/or `eight-bit-graphic' in the returned list | |
36470 | 4068 when they find 8-bit characters. Previously, they included `ascii' in a |
29506 | 4069 multibyte buffer and `unknown' in a unibyte buffer. |
4070 | |
39255 | 4071 *** 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
|
4072 `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
|
4073 if it contains a character from the `eight-bit-control' character set. |
29506 | 4074 |
4075 *** The handling of multibyte sequences in a multibyte buffer is | |
4076 changed. Previously, a byte sequence matching the pattern | |
4077 [\200-\237][\240-\377]+ was interpreted as a single character | |
4078 regardless of the length of the trailing bytes [\240-\377]+. Thus, if | |
4079 the sequence was longer than what the leading byte indicated, the | |
4080 extra trailing bytes were ignored by Lisp functions. Now such extra | |
4081 bytes are independent 8-bit characters belonging to the charset | |
4082 eight-bit-graphic. | |
4083 | |
4084 ** Fontsets are now implemented using char-tables. | |
4085 | |
35847
83b8f5ad1f97
Several typos fixed. From Juanma Barranquero <lektu@uol.com.br>.
Eli Zaretskii <eliz@gnu.org>
parents:
35784
diff
changeset
|
4086 A fontset can now be specified for each independent character, for |
29506 | 4087 a group of characters or for a character set rather than just for a |
4088 character set as previously. | |
4089 | |
4090 *** The arguments of the function `set-fontset-font' are changed. | |
4091 They are NAME, CHARACTER, FONTNAME, and optional FRAME. The function | |
4092 modifies fontset NAME to use FONTNAME for CHARACTER. | |
4093 | |
4094 CHARACTER may be a cons (FROM . TO), where FROM and TO are non-generic | |
4095 characters. In that case FONTNAME is used for all characters in the | |
4096 range FROM and TO (inclusive). CHARACTER may be a charset. In that | |
4097 case FONTNAME is used for all character in the charset. | |
4098 | |
4099 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
|
4100 name of a font and REGISTRY is a registry name of a font. |
29506 | 4101 |
4102 *** Variable x-charset-registry has been deleted. The default charset | |
4103 registries of character sets are set in the default fontset | |
4104 "fontset-default". | |
4105 | |
4106 *** The function `create-fontset-from-fontset-spec' ignores the second | |
4107 argument STYLE-VARIANT. It never creates style-variant fontsets. | |
4108 | |
4109 ** The method of composing characters is changed. Now character | |
4110 composition is done by a special text property `composition' in | |
4111 buffers and strings. | |
4112 | |
4113 *** Charset composition is deleted. Emacs never creates a `composite | |
4114 character' which is an independent character with a unique character | |
4115 code. Thus the following functions handling `composite characters' | |
4116 have been deleted: composite-char-component, | |
4117 composite-char-component-count, composite-char-composition-rule, | |
4118 composite-char-composition-rule and decompose-composite-char delete. | |
4119 The variables leading-code-composition and min-composite-char have | |
4120 also been deleted. | |
4121 | |
4122 *** Three more glyph reference points are added. They can be used to | |
4123 specify a composition rule. See the documentation of the variable | |
4124 `reference-point-alist' for more detail. | |
4125 | |
4126 *** The function `compose-region' takes new arguments COMPONENTS and | |
4127 MODIFICATION-FUNC. With COMPONENTS, you can specify not only a | |
4128 composition rule but also characters to be composed. Such characters | |
4129 may differ between buffer and string text. | |
4130 | |
4131 *** The function `compose-string' takes new arguments START, END, | |
4132 COMPONENTS, and MODIFICATION-FUNC. | |
4133 | |
4134 *** The function `compose-string' puts text property `composition' | |
4135 directly on the argument STRING instead of returning a new string. | |
4136 Likewise, the function `decompose-string' just removes text property | |
4137 `composition' from STRING. | |
4138 | |
4139 *** The new function `find-composition' returns information about | |
4140 a composition at a specified position in a buffer or a string. | |
4141 | |
4142 *** The function `decompose-composite-char' is now labeled as | |
4143 obsolete. | |
4144 | |
36039 | 4145 ** The new coding system `mac-roman' is primarily intended for use on |
4146 the Macintosh but may be used generally for Macintosh-encoded text. | |
4147 | |
33290 | 4148 ** The new character sets `mule-unicode-0100-24ff', |
35937 | 4149 `mule-unicode-2500-33ff', and `mule-unicode-e000-ffff' have been |
4150 introduced for Unicode characters in the range U+0100..U+24FF, | |
4151 U+2500..U+33FF, U+E000..U+FFFF respectively. | |
4152 | |
38012
3bf93c45de95
Mention that mule-unicode-* charsets aren't unified with the others.
Eli Zaretskii <eliz@gnu.org>
parents:
37948
diff
changeset
|
4153 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
|
4154 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
|
4155 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
|
4156 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
|
4157 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
|
4158 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
|
4159 |
3bf93c45de95
Mention that mule-unicode-* charsets aren't unified with the others.
Eli Zaretskii <eliz@gnu.org>
parents:
37948
diff
changeset
|
4160 ** 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
|
4161 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
|
4162 details, please see the documentation string of this coding system. |
35557 | 4163 |
29506 | 4164 ** The new character sets `japanese-jisx0213-1' and |
35937 | 4165 `japanese-jisx0213-2' have been introduced for the new Japanese |
4166 standard JIS X 0213 Plane 1 and Plane 2. | |
4167 | |
4168 ** The new character sets `latin-iso8859-14' and `latin-iso8859-15' | |
4169 have been introduced. | |
29506 | 4170 |
4171 ** The new character sets `eight-bit-control' and `eight-bit-graphic' | |
35937 | 4172 have been introduced for 8-bit characters in the ranges 0x80..0x9F and |
36470 | 4173 0xA0..0xFF respectively. Note that the multibyte representation of |
4174 eight-bit-control is never exposed; this leads to an exception in the | |
4175 emacs-mule coding system, which encodes everything else to the | |
36885 | 4176 buffer/string internal representation. Note that to search for |
4177 eight-bit-graphic characters in a multibyte buffer, the search string | |
4178 must be multibyte, otherwise such characters will be converted to | |
4179 their multibyte equivalent. | |
29506 | 4180 |
28847 | 4181 ** If the APPEND argument of `write-region' is an integer, it seeks to |
4182 that offset in the file before writing. | |
4183 | |
30068
fd80ab818a0c
Fix various typos.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30056
diff
changeset
|
4184 ** 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
|
4185 compatibility with XEmacs (and is used internally by define-minor-mode). |
28724 | 4186 |
28710 | 4187 ** The function `shell-command' now sets the default directory of the |
4188 `*Shell Command Output*' buffer to the default directory of the buffer | |
4189 from which the command was issued. | |
4190 | |
4191 ** The functions `query-replace', `query-replace-regexp', | |
4192 `query-replace-regexp-eval' `map-query-replace-regexp', | |
4193 `replace-string', `replace-regexp', and `perform-replace' take two | |
4194 additional optional arguments START and END that specify the region to | |
4195 operate on. | |
4196 | |
28658 | 4197 ** The new function `count-screen-lines' is a more flexible alternative |
4198 to `window-buffer-height'. | |
4199 | |
4200 - Function: count-screen-lines &optional BEG END COUNT-FINAL-NEWLINE WINDOW | |
4201 | |
4202 Return the number of screen lines in the region between BEG and END. | |
4203 The number of screen lines may be different from the number of actual | |
4204 lines, due to line breaking, display table, etc. | |
4205 | |
4206 Optional arguments BEG and END default to `point-min' and `point-max' | |
4207 respectively. | |
4208 | |
35680 | 4209 If region ends with a newline, ignore it unless optional third argument |
28658 | 4210 COUNT-FINAL-NEWLINE is non-nil. |
4211 | |
4212 The optional fourth argument WINDOW specifies the window used for | |
4213 obtaining parameters such as width, horizontal scrolling, and so | |
4214 on. The default is to use the selected window's parameters. | |
4215 | |
4216 Like `vertical-motion', `count-screen-lines' always uses the current | |
4217 buffer, regardless of which buffer is displayed in WINDOW. This makes | |
4218 possible to use `count-screen-lines' in any buffer, whether or not it | |
4219 is currently displayed in some window. | |
4220 | |
28556 | 4221 ** The new function `mapc' is like `mapcar' but doesn't collect the |
4222 argument function's results. | |
4223 | |
28496 | 4224 ** 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
|
4225 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
|
4226 `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
|
4227 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
|
4228 sequence). |
28496 | 4229 |
28492 | 4230 ** The function sendmail-user-agent-compose now recognizes a `body' |
31859 | 4231 header in the list of headers passed to it. |
28492 | 4232 |
4233 ** The new function member-ignore-case works like `member', but | |
4234 ignores differences in case and text representation. | |
4235 | |
4236 ** The buffer-local variable cursor-type can be used to specify the | |
28323 | 4237 cursor to use in windows displaying a buffer. Values are interpreted |
4238 as follows: | |
4239 | |
4240 t use the cursor specified for the frame (default) | |
4241 nil don't display a cursor | |
4242 `bar' display a bar cursor with default width | |
4243 (bar . WIDTH) display a bar cursor with width WIDTH | |
4244 others display a box cursor. | |
4245 | |
28303 | 4246 ** The variable open-paren-in-column-0-is-defun-start controls whether |
4247 an open parenthesis in column 0 is considered to be the start of a | |
4248 defun. If set, the default, it is considered a defun start. If not | |
4249 set, an open parenthesis in column 0 has no special meaning. | |
4250 | |
28194 | 4251 ** 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
|
4252 specifications in string form as accepted by `modify-syntax-entry' to |
28194 | 4253 the cons-cell form that is used for the values of the `syntax-table' |
4254 text property, and in `font-lock-syntactic-keywords'. | |
4255 | |
4256 Example: | |
4257 | |
4258 (string-to-syntax "()") | |
4259 => (4 . 41) | |
4260 | |
28166 | 4261 ** Emacs' reader supports CL read syntax for integers in bases |
4262 other than 10. | |
4263 | |
4264 *** `#BINTEGER' or `#bINTEGER' reads INTEGER in binary (radix 2). | |
4265 INTEGER optionally contains a sign. | |
4266 | |
30483
05fc373ff5b8
mention `float-time' and the remote file modtime check
Sam Steingold <sds@gnu.org>
parents:
30482
diff
changeset
|
4267 #b1111 |
28166 | 4268 => 15 |
30483
05fc373ff5b8
mention `float-time' and the remote file modtime check
Sam Steingold <sds@gnu.org>
parents:
30482
diff
changeset
|
4269 #b-1111 |
28166 | 4270 => -15 |
4271 | |
4272 *** `#OINTEGER' or `#oINTEGER' reads INTEGER in octal (radix 8). | |
4273 | |
30483
05fc373ff5b8
mention `float-time' and the remote file modtime check
Sam Steingold <sds@gnu.org>
parents:
30482
diff
changeset
|
4274 #o666 |
28166 | 4275 => 438 |
4276 | |
4277 *** `#XINTEGER' or `#xINTEGER' reads INTEGER in hexadecimal (radix 16). | |
4278 | |
30483
05fc373ff5b8
mention `float-time' and the remote file modtime check
Sam Steingold <sds@gnu.org>
parents:
30482
diff
changeset
|
4279 #xbeef |
28166 | 4280 => 48815 |
4281 | |
4282 *** `#RADIXrINTEGER' reads INTEGER in radix RADIX, 2 <= RADIX <= 36. | |
4283 | |
30483
05fc373ff5b8
mention `float-time' and the remote file modtime check
Sam Steingold <sds@gnu.org>
parents:
30482
diff
changeset
|
4284 #2R-111 |
28166 | 4285 => -7 |
30483
05fc373ff5b8
mention `float-time' and the remote file modtime check
Sam Steingold <sds@gnu.org>
parents:
30482
diff
changeset
|
4286 #25rah |
28166 | 4287 => 267 |
4288 | |
28335 | 4289 ** The function `documentation-property' now evaluates the value of |
30068
fd80ab818a0c
Fix various typos.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30056
diff
changeset
|
4290 the given property to obtain a string if it doesn't refer to etc/DOC |
28037 | 4291 and isn't a string. |
4292 | |
28335 | 4293 ** If called for a symbol, the function `documentation' now looks for |
4294 a `function-documentation' property of that symbol. If it has a non-nil | |
4295 value, the documentation is taken from that value. If the value is | |
4296 not a string, it is evaluated to obtain a string. | |
4297 | |
27881
f54471f7b913
replace-regexps-in-string, mouse-position-function, define-key-after change
Dave Love <fx@gnu.org>
parents:
27847
diff
changeset
|
4298 ** 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
|
4299 |
28149 | 4300 ** 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
|
4301 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
|
4302 |
f54471f7b913
replace-regexps-in-string, mouse-position-function, define-key-after change
Dave Love <fx@gnu.org>
parents:
27847
diff
changeset
|
4303 ** `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
|
4304 `mouse-position-function'. |
f54471f7b913
replace-regexps-in-string, mouse-position-function, define-key-after change
Dave Love <fx@gnu.org>
parents:
27847
diff
changeset
|
4305 |
27827 | 4306 ** The function string-to-number now returns a float for numbers |
4307 that don't fit into a Lisp integer. | |
4308 | |
27820 | 4309 ** The variable keyword-symbols-constants-flag has been removed. |
4310 Keywords are now always considered constants. | |
4311 | |
27770 | 4312 ** The new function `delete-and-extract-region' deletes text and |
4313 returns it. | |
4314 | |
27276 | 4315 ** The function `clear-this-command-keys' now also clears the vector |
4316 returned by function `recent-keys'. | |
4317 | |
27385
f7b7fdb0f3f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27381
diff
changeset
|
4318 ** Variables `beginning-of-defun-function' and `end-of-defun-function' |
f7b7fdb0f3f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27381
diff
changeset
|
4319 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
|
4320 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
|
4321 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
|
4322 mode. |
f7b7fdb0f3f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27381
diff
changeset
|
4323 |
27094
6500fd0a7d8e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27092
diff
changeset
|
4324 ** 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
|
4325 and is renamed `define-minor-mode'. |
6500fd0a7d8e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27092
diff
changeset
|
4326 |
27385
f7b7fdb0f3f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27381
diff
changeset
|
4327 ** 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
|
4328 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
|
4329 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
|
4330 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
|
4331 been performed." |
f7b7fdb0f3f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27381
diff
changeset
|
4332 |
f7b7fdb0f3f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27381
diff
changeset
|
4333 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
|
4334 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
|
4335 hook function returns non-nil meaning expansion has been done, |
f7b7fdb0f3f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27381
diff
changeset
|
4336 then the self-inserting character is not inserted. |
f7b7fdb0f3f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27381
diff
changeset
|
4337 |
26737 | 4338 ** The function `intern-soft' now accepts a symbol as first argument. |
4339 In this case, that exact symbol is looked up in the specified obarray, | |
4340 and the function's value is nil if it is not found. | |
4341 | |
26467 | 4342 ** The new macro `with-syntax-table' can be used to evaluate forms |
4343 with the syntax table of the current buffer temporarily set to a | |
4344 specified table. | |
4345 | |
4346 (with-syntax-table TABLE &rest BODY) | |
4347 | |
4348 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
|
4349 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
|
4350 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
|
4351 what BODY returns. |
26467 | 4352 |
27693
d8bedafef8d5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27644
diff
changeset
|
4353 ** 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
|
4354 Perl's shy-groups \(?:...\) and non-greedy *? +? and ?? operators. |
35680 | 4355 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
|
4356 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
|
4357 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
|
4358 |
26397
17d6fe2e2d0f
Removal of buffer argument of file-local-copy.
Gerd Moellmann <gerd@gnu.org>
parents:
26360
diff
changeset
|
4359 ** 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
|
4360 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
|
4361 |
26360
5370b1c171ef
Change in file-locked-p argument.
Gerd Moellmann <gerd@gnu.org>
parents:
26359
diff
changeset
|
4362 ** 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
|
4363 instead of being optional. |
5370b1c171ef
Change in file-locked-p argument.
Gerd Moellmann <gerd@gnu.org>
parents:
26359
diff
changeset
|
4364 |
26277
32e16b70ae15
New built-in error `text-read-only'.
Gerd Moellmann <gerd@gnu.org>
parents:
26271
diff
changeset
|
4365 ** 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
|
4366 modify read-only text. |
32e16b70ae15
New built-in error `text-read-only'.
Gerd Moellmann <gerd@gnu.org>
parents:
26271
diff
changeset
|
4367 |
26140
068f7ad41d40
Describe new functions and variables for locales.
Paul Eggert <eggert@twinsun.com>
parents:
26133
diff
changeset
|
4368 ** New functions and variables for locales. |
068f7ad41d40
Describe new functions and variables for locales.
Paul Eggert <eggert@twinsun.com>
parents:
26133
diff
changeset
|
4369 |
068f7ad41d40
Describe new functions and variables for locales.
Paul Eggert <eggert@twinsun.com>
parents:
26133
diff
changeset
|
4370 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
|
4371 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
|
4372 time functions like strftime. The new variables |
4df5920724de
Rename messages-locale to system-messages-locale
Paul Eggert <eggert@twinsun.com>
parents:
26467
diff
changeset
|
4373 `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
|
4374 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
|
4375 |
068f7ad41d40
Describe new functions and variables for locales.
Paul Eggert <eggert@twinsun.com>
parents:
26133
diff
changeset
|
4376 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
|
4377 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
|
4378 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
|
4379 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
|
4380 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
|
4381 `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
|
4382 `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
|
4383 |
26107
5bdae485eb03
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
26096
diff
changeset
|
4384 ** syntax tables now understand nested comments. |
5bdae485eb03
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
26096
diff
changeset
|
4385 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
|
4386 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
|
4387 start sequences. |
5bdae485eb03
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
26096
diff
changeset
|
4388 |
25910
918acea58309
Add section for change of pixmap-spec-p to bitmap-spec-p.
Gerd Moellmann <gerd@gnu.org>
parents:
25862
diff
changeset
|
4389 ** 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
|
4390 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
|
4391 |
25853 | 4392 ** New function `propertize' |
4393 | |
4394 The new function `propertize' can be used to conveniently construct | |
4395 strings with text properties. | |
4396 | |
4397 - Function: propertize STRING &rest PROPERTIES | |
4398 | |
4399 Value is a copy of STRING with text properties assigned as specified | |
4400 by PROPERTIES. PROPERTIES is a sequence of pairs PROPERTY VALUE, with | |
4401 PROPERTY being the name of a text property and VALUE being the | |
4402 specified value of that property. Example: | |
4403 | |
4404 (propertize "foo" 'face 'bold 'read-only t) | |
4405 | |
4406 ** push and pop macros. | |
4407 | |
27385
f7b7fdb0f3f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27381
diff
changeset
|
4408 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
|
4409 are now defined in Emacs Lisp. These macros allow only symbols |
25853 | 4410 as the place that holds the list to be changed. |
4411 | |
4412 (push NEWELT LISTNAME) add NEWELT to the front of LISTNAME's value. | |
4413 (pop LISTNAME) return first elt of LISTNAME, and remove it | |
4414 (thus altering the value of LISTNAME). | |
4415 | |
27385
f7b7fdb0f3f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27381
diff
changeset
|
4416 ** New dolist and dotimes macros. |
f7b7fdb0f3f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27381
diff
changeset
|
4417 |
27387
d0a7127b33e5
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27385
diff
changeset
|
4418 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
|
4419 are now defined in Emacs Lisp. |
27385
f7b7fdb0f3f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27381
diff
changeset
|
4420 |
f7b7fdb0f3f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27381
diff
changeset
|
4421 (dolist (VAR LIST [RESULT]) BODY...) |
f7b7fdb0f3f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27381
diff
changeset
|
4422 Execute body once for each element of LIST, |
f7b7fdb0f3f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27381
diff
changeset
|
4423 using the variable VAR to hold the current element. |
f7b7fdb0f3f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27381
diff
changeset
|
4424 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
|
4425 |
f7b7fdb0f3f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27381
diff
changeset
|
4426 (dotimes (VAR COUNT [RESULT]) BODY...) |
f7b7fdb0f3f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27381
diff
changeset
|
4427 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
|
4428 inclusive, to COUNT, exclusive. |
f7b7fdb0f3f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27381
diff
changeset
|
4429 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
|
4430 |
34166 | 4431 ** Regular expressions now support Posix character classes such as |
4432 [:alpha:], [:space:] and so on. These must be used within a character | |
4433 class--for instance, [-[:digit:].+] matches digits or a period | |
4434 or a sign. | |
25853 | 4435 |
4436 [:digit:] matches 0 through 9 | |
4437 [:cntrl:] matches ASCII control characters | |
4438 [:xdigit:] matches 0 through 9, a through f and A through F. | |
4439 [:blank:] matches space and tab only | |
4440 [:graph:] matches graphic characters--everything except ASCII control chars, | |
4441 space, and DEL. | |
4442 [:print:] matches printing characters--everything except ASCII control chars | |
4443 and DEL. | |
4444 [:alnum:] matches letters and digits. | |
4445 (But at present, for multibyte characters, | |
4446 it matches anything that has word syntax.) | |
4447 [:alpha:] matches letters. | |
4448 (But at present, for multibyte characters, | |
4449 it matches anything that has word syntax.) | |
4450 [:ascii:] matches ASCII (unibyte) characters. | |
4451 [:nonascii:] matches non-ASCII (multibyte) characters. | |
4452 [:lower:] matches anything lower-case. | |
4453 [:punct:] matches punctuation. | |
4454 (But at present, for multibyte characters, | |
4455 it matches anything that has non-word syntax.) | |
4456 [:space:] matches anything that has whitespace syntax. | |
4457 [:upper:] matches anything upper-case. | |
4458 [:word:] matches anything that has word syntax. | |
4459 | |
4460 ** Emacs now has built-in hash tables. | |
4461 | |
4462 The following functions are defined for hash tables: | |
4463 | |
4464 - Function: make-hash-table ARGS | |
4465 | |
4466 The argument list ARGS consists of keyword/argument pairs. All arguments | |
4467 are optional. The following arguments are defined: | |
4468 | |
4469 :test TEST | |
4470 | |
4471 TEST must be a symbol specifying how to compare keys. Default is `eql'. | |
4472 Predefined are `eq', `eql' and `equal'. If TEST is not predefined, | |
4473 it must have been defined with `define-hash-table-test'. | |
4474 | |
4475 :size SIZE | |
4476 | |
4477 SIZE must be an integer > 0 giving a hint to the implementation how | |
4478 many elements will be put in the hash table. Default size is 65. | |
4479 | |
4480 :rehash-size REHASH-SIZE | |
4481 | |
4482 REHASH-SIZE specifies by how much to grow a hash table once it becomes | |
4483 full. If REHASH-SIZE is an integer, add that to the hash table's old | |
4484 size to get the new size. Otherwise, REHASH-SIZE must be a float > | |
4485 1.0, and the new size is computed by multiplying REHASH-SIZE with the | |
4486 old size. Default rehash size is 1.5. | |
4487 | |
4488 :rehash-threshold THRESHOLD | |
4489 | |
4490 THRESHOLD must be a float > 0 and <= 1.0 specifying when to resize the | |
4491 hash table. It is resized when the ratio of (number of entries) / | |
4492 (size of hash table) is >= THRESHOLD. Default threshold is 0.8. | |
4493 | |
4494 :weakness WEAK | |
4495 | |
30502 | 4496 WEAK must be either nil, one of the symbols `key, `value', |
4497 `key-or-value', `key-and-value', or t, meaning the same as | |
4498 `key-and-value'. Entries are removed from weak tables during garbage | |
4499 collection if their key and/or value are not referenced elsewhere | |
4500 outside of the hash table. Default are non-weak hash tables. | |
25853 | 4501 |
4502 - Function: makehash &optional TEST | |
4503 | |
4504 Similar to make-hash-table, but only TEST can be specified. | |
4505 | |
4506 - Function: hash-table-p TABLE | |
4507 | |
4508 Returns non-nil if TABLE is a hash table object. | |
4509 | |
4510 - Function: copy-hash-table TABLE | |
4511 | |
4512 Returns a copy of TABLE. Only the table itself is copied, keys and | |
4513 values are shared. | |
4514 | |
4515 - Function: hash-table-count TABLE | |
4516 | |
4517 Returns the number of entries in TABLE. | |
4518 | |
4519 - Function: hash-table-rehash-size TABLE | |
4520 | |
4521 Returns the rehash size of TABLE. | |
4522 | |
4523 - Function: hash-table-rehash-threshold TABLE | |
4524 | |
4525 Returns the rehash threshold of TABLE. | |
4526 | |
4527 - Function: hash-table-rehash-size TABLE | |
4528 | |
4529 Returns the size of TABLE. | |
4530 | |
30789 | 4531 - Function: hash-table-test TABLE |
25853 | 4532 |
4533 Returns the test TABLE uses to compare keys. | |
4534 | |
4535 - Function: hash-table-weakness TABLE | |
4536 | |
4537 Returns the weakness specified for TABLE. | |
4538 | |
4539 - Function: clrhash TABLE | |
4540 | |
4541 Clear TABLE. | |
4542 | |
4543 - Function: gethash KEY TABLE &optional DEFAULT | |
4544 | |
4545 Look up KEY in TABLE and return its associated VALUE or DEFAULT if | |
4546 not found. | |
4547 | |
26264 | 4548 - Function: puthash KEY VALUE TABLE |
25853 | 4549 |
4550 Associate KEY with VALUE in TABLE. If KEY is already associated with | |
4551 another value, replace the old value with VALUE. | |
4552 | |
4553 - Function: remhash KEY TABLE | |
4554 | |
4555 Remove KEY from TABLE if it is there. | |
4556 | |
4557 - Function: maphash FUNCTION TABLE | |
4558 | |
4559 Call FUNCTION for all elements in TABLE. FUNCTION must take two | |
4560 arguments KEY and VALUE. | |
4561 | |
4562 - Function: sxhash OBJ | |
4563 | |
4564 Return a hash code for Lisp object OBJ. | |
4565 | |
4566 - Function: define-hash-table-test NAME TEST-FN HASH-FN | |
4567 | |
4568 Define a new hash table test named NAME. If NAME is specified as | |
4569 a test in `make-hash-table', the table created will use TEST-FN for | |
26264 | 4570 comparing keys, and HASH-FN to compute hash codes for keys. Test |
25853 | 4571 and hash function are stored as symbol property `hash-table-test' |
4572 of NAME with a value of (TEST-FN HASH-FN). | |
4573 | |
4574 TEST-FN must take two arguments and return non-nil if they are the same. | |
4575 | |
4576 HASH-FN must take one argument and return an integer that is the hash | |
4577 code of the argument. The function should use the whole range of | |
4578 integer values for hash code computation, including negative integers. | |
4579 | |
4580 Example: The following creates a hash table whose keys are supposed to | |
4581 be strings that are compared case-insensitively. | |
4582 | |
4583 (defun case-fold-string= (a b) | |
4584 (compare-strings a nil nil b nil nil t)) | |
4585 | |
4586 (defun case-fold-string-hash (a) | |
4587 (sxhash (upcase a))) | |
4588 | |
26264 | 4589 (define-hash-table-test 'case-fold 'case-fold-string= |
25853 | 4590 'case-fold-string-hash)) |
4591 | |
4592 (make-hash-table :test 'case-fold) | |
4593 | |
4594 ** The Lisp reader handles circular structure. | |
4595 | |
4596 It now works to use the #N= and #N# constructs to represent | |
4597 circular structures. For example, #1=(a . #1#) represents | |
4598 a cons cell which is its own cdr. | |
4599 | |
4600 ** The Lisp printer handles circular structure. | |
4601 | |
4602 If you bind print-circle to a non-nil value, the Lisp printer outputs | |
4603 #N= and #N# constructs to represent circular and shared structure. | |
4604 | |
4605 ** If the second argument to `move-to-column' is anything but nil or | |
4606 t, that means replace a tab with spaces if necessary to reach the | |
4607 specified column, but do not add spaces at the end of the line if it | |
4608 is too short to reach that column. | |
4609 | |
4610 ** perform-replace has a new feature: the REPLACEMENTS argument may | |
4611 now be a cons cell (FUNCTION . DATA). This means to call FUNCTION | |
4612 after each match to get the replacement text. FUNCTION is called with | |
4613 two arguments: DATA, and the number of replacements already made. | |
4614 | |
4615 If the FROM-STRING contains any upper-case letters, | |
4616 perform-replace also turns off `case-fold-search' temporarily | |
4617 and inserts the replacement text without altering case in it. | |
4618 | |
4619 ** The function buffer-size now accepts an optional argument | |
4620 to specify which buffer to return the size of. | |
4621 | |
4622 ** The calendar motion commands now run the normal hook | |
4623 calendar-move-hook after moving point. | |
4624 | |
4625 ** The new variable small-temporary-file-directory specifies a | |
4626 directory to use for creating temporary files that are likely to be | |
4627 small. (Certain Emacs features use this directory.) If | |
4628 small-temporary-file-directory is nil, they use | |
4629 temporary-file-directory instead. | |
4630 | |
4631 ** The variable `inhibit-modification-hooks', if non-nil, inhibits all | |
4632 the hooks that track changes in the buffer. This affects | |
4633 `before-change-functions' and `after-change-functions', as well as | |
4634 hooks attached to text properties and overlay properties. | |
4635 | |
36885 | 4636 ** assq-delete-all is a new function that deletes all the |
4637 elements of an alist which have a car `eq' to a particular value. | |
25853 | 4638 |
4639 ** make-temp-file provides a more reliable way to create a temporary file. | |
4640 | |
4641 make-temp-file is used like make-temp-name, except that it actually | |
4642 creates the file before it returns. This prevents a timing error, | |
4643 ensuring that no other job can use the same name for a temporary file. | |
4644 | |
4645 ** New exclusive-open feature in `write-region' | |
4646 | |
4647 The optional seventh arg is now called MUSTBENEW. If non-nil, it insists | |
4648 on a check for an existing file with the same name. If MUSTBENEW | |
4649 is `excl', that means to get an error if the file already exists; | |
4650 never overwrite. If MUSTBENEW is neither nil nor `excl', that means | |
4651 ask for confirmation before overwriting, but do go ahead and | |
4652 overwrite the file if the user gives confirmation. | |
4653 | |
4654 If the MUSTBENEW argument in `write-region' is `excl', | |
4655 that means to use a special feature in the `open' system call | |
4656 to get an error if the file exists at that time. | |
4657 The error reported is `file-already-exists'. | |
4658 | |
4659 ** Function `format' now handles text properties. | |
4660 | |
4661 Text properties of the format string are applied to the result string. | |
4662 If the result string is longer than the format string, text properties | |
4663 ending at the end of the format string are extended to the end of the | |
4664 result string. | |
4665 | |
4666 Text properties from string arguments are applied to the result | |
4667 string where arguments appear in the result string. | |
4668 | |
4669 Example: | |
4670 | |
4671 (let ((s1 "hello, %s") | |
4672 (s2 "world")) | |
4673 (put-text-property 0 (length s1) 'face 'bold s1) | |
4674 (put-text-property 0 (length s2) 'face 'italic s2) | |
26034 | 4675 (format s1 s2)) |
25853 | 4676 |
4677 results in a bold-face string with an italic `world' at the end. | |
4678 | |
4679 ** Messages can now be displayed with text properties. | |
4680 | |
4681 Text properties are handled as described above for function `format'. | |
4682 The following example displays a bold-face message with an italic | |
4683 argument in it. | |
4684 | |
4685 (let ((msg "hello, %s!") | |
4686 (arg "world")) | |
4687 (put-text-property 0 (length msg) 'face 'bold msg) | |
4688 (put-text-property 0 (length arg) 'face 'italic arg) | |
4689 (message msg arg)) | |
4690 | |
4691 ** Sound support | |
4692 | |
4693 Emacs supports playing sound files on GNU/Linux and the free BSDs | |
4694 (Voxware driver and native BSD driver, aka as Luigi's driver). | |
4695 | |
4696 Currently supported file formats are RIFF-WAVE (*.wav) and Sun Audio | |
4697 (*.au). You must configure Emacs with the option `--with-sound=yes' | |
4698 to enable sound support. | |
4699 | |
4700 Sound files can be played by calling (play-sound SOUND). SOUND is a | |
4701 list of the form `(sound PROPERTY...)'. The function is only defined | |
4702 when sound support is present for the system on which Emacs runs. The | |
4703 functions runs `play-sound-functions' with one argument which is the | |
4704 sound to play, before playing the sound. | |
4705 | |
4706 The following sound properties are supported: | |
4707 | |
4708 - `:file FILE' | |
4709 | |
4710 FILE is a file name. If FILE isn't an absolute name, it will be | |
4711 searched relative to `data-directory'. | |
4712 | |
27148 | 4713 - `:data DATA' |
4714 | |
4715 DATA is a string containing sound data. Either :file or :data | |
4716 may be present, but not both. | |
4717 | |
25853 | 4718 - `:volume VOLUME' |
4719 | |
4720 VOLUME must be an integer in the range 0..100 or a float in the range | |
4721 0..1. This property is optional. | |
4722 | |
33991 | 4723 - `:device DEVICE' |
4724 | |
4725 DEVICE is a string specifying the system device on which to play the | |
4726 sound. The default device is system-dependent. | |
4727 | |
25853 | 4728 Other properties are ignored. |
4729 | |
33991 | 4730 An alternative interface is called as |
4731 (play-sound-file FILE &optional VOLUME DEVICE). | |
4732 | |
25853 | 4733 ** `multimedia' is a new Finder keyword and Custom group. |
26933 | 4734 |
4735 ** keywordp is a new predicate to test efficiently for an object being | |
4736 a keyword symbol. | |
27145
01abacc81cce
Changes to garbage-collect, new var strings-consed,
Gerd Moellmann <gerd@gnu.org>
parents:
27144
diff
changeset
|
4737 |
01abacc81cce
Changes to garbage-collect, new var strings-consed,
Gerd Moellmann <gerd@gnu.org>
parents:
27144
diff
changeset
|
4738 ** Changes to garbage collection |
01abacc81cce
Changes to garbage-collect, new var strings-consed,
Gerd Moellmann <gerd@gnu.org>
parents:
27144
diff
changeset
|
4739 |
01abacc81cce
Changes to garbage-collect, new var strings-consed,
Gerd Moellmann <gerd@gnu.org>
parents:
27144
diff
changeset
|
4740 *** 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
|
4741 of live and free strings. |
01abacc81cce
Changes to garbage-collect, new var strings-consed,
Gerd Moellmann <gerd@gnu.org>
parents:
27144
diff
changeset
|
4742 |
01abacc81cce
Changes to garbage-collect, new var strings-consed,
Gerd Moellmann <gerd@gnu.org>
parents:
27144
diff
changeset
|
4743 *** 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
|
4744 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
|
4745 |
35577
db5649648a65
Replace formfeeds removed on 2001/01/22.
Dave Love <fx@gnu.org>
parents:
35567
diff
changeset
|
4746 |
29151 | 4747 * Lisp-level Display features added after release 2.6 of the Emacs |
4748 Lisp Manual | |
4749 | |
33309 | 4750 ** The user-option `resize-mini-windows' controls how Emacs resizes |
4751 mini-windows. | |
4752 | |
34389
779f5314f5fa
Update entry for `pos-visible-in-window-p'.
Miles Bader <miles@gnu.org>
parents:
34334
diff
changeset
|
4753 ** 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
|
4754 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
|
4755 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
|
4756 |
33309 | 4757 ** On window systems, `glyph-table' is no longer used. |
31220 | 4758 |
30222 | 4759 ** Help strings in menu items are now used to provide `help-echo' text. |
29939 | 4760 |
4761 ** The function `image-size' can be used to determine the size of an | |
4762 image. | |
4763 | |
4764 - Function: image-size SPEC &optional PIXELS FRAME | |
4765 | |
4766 Return the size of an image as a pair (WIDTH . HEIGHT). | |
4767 | |
4768 SPEC is an image specification. PIXELS non-nil means return sizes | |
4769 measured in pixels, otherwise return sizes measured in canonical | |
4770 character units (fractions of the width/height of the frame's default | |
4771 font). FRAME is the frame on which the image will be displayed. | |
4772 FRAME nil or omitted means use the selected frame. | |
4773 | |
31639 | 4774 ** The function `image-mask-p' can be used to determine if an image |
4775 has a mask bitmap. | |
4776 | |
4777 - Function: image-mask-p SPEC &optional FRAME | |
4778 | |
4779 Return t if image SPEC has a mask bitmap. | |
4780 FRAME is the frame on which the image will be displayed. FRAME nil | |
4781 or omitted means use the selected frame. | |
4782 | |
29506 | 4783 ** The function `find-image' can be used to find a usable image |
4784 satisfying one of a list of specifications. | |
4785 | |
4786 ** The STRING argument of `put-image' and `insert-image' is now | |
4787 optional. | |
4788 | |
31156 | 4789 ** Image specifications may contain the property `:ascent center' (see |
4790 below). | |
29151 | 4791 |
35577
db5649648a65
Replace formfeeds removed on 2001/01/22.
Dave Love <fx@gnu.org>
parents:
35567
diff
changeset
|
4792 |
25853 | 4793 * New Lisp-level Display features in Emacs 21.1 |
4794 | |
28634 | 4795 ** The function tty-suppress-bold-inverse-default-colors can be used |
4796 to make Emacs avoid displaying text with bold black foreground on TTYs. | |
4797 | |
4798 Some terminals, notably PC consoles, emulate bold text by displaying | |
4799 text in brighter colors. On such a console, a bold black foreground | |
4800 is displayed in a gray color. If this turns out to be hard to read on | |
4801 your monitor---the problem occurred with the mode line on | |
4802 laptops---you can instruct Emacs to ignore the text's boldness, and to | |
4803 just display it black instead. | |
4804 | |
4805 This situation can't be detected automatically. You will have to put | |
4806 a line like | |
4807 | |
4808 (tty-suppress-bold-inverse-default-colors t) | |
4809 | |
4810 in your `.emacs'. | |
4811 | |
25853 | 4812 ** New face implementation. |
4813 | |
4814 Emacs faces have been reimplemented from scratch. They don't use XLFD | |
4815 font names anymore and face merging now works as expected. | |
4816 | |
4817 *** New faces. | |
4818 | |
4819 Each face can specify the following display attributes: | |
4820 | |
4821 1. Font family or fontset alias name. | |
26264 | 4822 |
25853 | 4823 2. Relative proportionate width, aka character set width or set |
4824 width (swidth), e.g. `semi-compressed'. | |
26264 | 4825 |
25853 | 4826 3. Font height in 1/10pt |
26264 | 4827 |
25853 | 4828 4. Font weight, e.g. `bold'. |
26264 | 4829 |
25853 | 4830 5. Font slant, e.g. `italic'. |
26264 | 4831 |
25853 | 4832 6. Foreground color. |
26264 | 4833 |
25853 | 4834 7. Background color. |
4835 | |
4836 8. Whether or not characters should be underlined, and in what color. | |
4837 | |
4838 9. Whether or not characters should be displayed in inverse video. | |
4839 | |
4840 10. A background stipple, a bitmap. | |
4841 | |
4842 11. Whether or not characters should be overlined, and in what color. | |
4843 | |
4844 12. Whether or not characters should be strike-through, and in what | |
4845 color. | |
4846 | |
4847 13. Whether or not a box should be drawn around characters, its | |
4848 color, the width of the box lines, and 3D appearance. | |
4849 | |
4850 Faces are frame-local by nature because Emacs allows to define the | |
4851 same named face (face names are symbols) differently for different | |
4852 frames. Each frame has an alist of face definitions for all named | |
4853 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
|
4854 with the symbol `face' in slot 0, and a slot for each of the face |
25853 | 4855 attributes mentioned above. |
4856 | |
4857 There is also a global face alist `face-new-frame-defaults'. Face | |
4858 definitions from this list are used to initialize faces of newly | |
4859 created frames. | |
26264 | 4860 |
25853 | 4861 A face doesn't have to specify all attributes. Those not specified |
4862 have a nil value. Faces specifying all attributes are called | |
4863 `fully-specified'. | |
4864 | |
4865 *** Face merging. | |
4866 | |
4867 The display style of a given character in the text is determined by | |
4868 combining several faces. This process is called `face merging'. Any | |
4869 aspect of the display style that isn't specified by overlays or text | |
4870 properties is taken from the `default' face. Since it is made sure | |
4871 that the default face is always fully-specified, face merging always | |
4872 results in a fully-specified face. | |
4873 | |
4874 *** Face realization. | |
4875 | |
4876 After all face attributes for a character have been determined by | |
4877 merging faces of that character, that face is `realized'. The | |
4878 realization process maps face attributes to what is physically | |
4879 available on the system where Emacs runs. The result is a `realized | |
4880 face' in form of an internal structure which is stored in the face | |
4881 cache of the frame on which it was realized. | |
4882 | |
4883 Face realization is done in the context of the charset of the | |
4884 character to display because different fonts and encodings are used | |
4885 for different charsets. In other words, for characters of different | |
4886 charsets, different realized faces are needed to display them. | |
4887 | |
4888 Except for composite characters, faces are always realized for a | |
4889 specific character set and contain a specific font, even if the face | |
4890 being realized specifies a fontset. The reason is that the result of | |
4891 the new font selection stage is better than what can be done with | |
4892 statically defined font name patterns in fontsets. | |
4893 | |
4894 In unibyte text, Emacs' charsets aren't applicable; function | |
4895 `char-charset' reports ASCII for all characters, including those > | |
4896 0x7f. The X registry and encoding of fonts to use is determined from | |
4897 the variable `face-default-registry' in this case. The variable is | |
4898 initialized at Emacs startup time from the font the user specified for | |
4899 Emacs. | |
4900 | |
4901 Currently all unibyte text, i.e. all buffers with | |
4902 `enable-multibyte-characters' nil are displayed with fonts of the same | |
4903 registry and encoding `face-default-registry'. This is consistent | |
4904 with the fact that languages can also be set globally, only. | |
4905 | |
4906 **** Clearing face caches. | |
4907 | |
4908 The Lisp function `clear-face-cache' can be called to clear face caches | |
4909 on all frames. If called with a non-nil argument, it will also unload | |
4910 unused fonts. | |
4911 | |
4912 *** Font selection. | |
26264 | 4913 |
25853 | 4914 Font selection tries to find the best available matching font for a |
4915 given (charset, face) combination. This is done slightly differently | |
4916 for faces specifying a fontset, or a font family name. | |
4917 | |
4918 If the face specifies a fontset name, that fontset determines a | |
4919 pattern for fonts of the given charset. If the face specifies a font | |
4920 family, a font pattern is constructed. Charset symbols have a | |
4921 property `x-charset-registry' for that purpose that maps a charset to | |
4922 an XLFD registry and encoding in the font pattern constructed. | |
4923 | |
4924 Available fonts on the system on which Emacs runs are then matched | |
4925 against the font pattern. The result of font selection is the best | |
4926 match for the given face attributes in this font list. | |
4927 | |
4928 Font selection can be influenced by the user. | |
4929 | |
4930 The user can specify the relative importance he gives the face | |
4931 attributes width, height, weight, and slant by setting | |
4932 face-font-selection-order (faces.el) to a list of face attribute | |
4933 names. The default is (:width :height :weight :slant), and means | |
4934 that font selection first tries to find a good match for the font | |
4935 width specified by a face, then---within fonts with that width---tries | |
4936 to find a best match for the specified font height, etc. | |
4937 | |
33373 | 4938 Setting `face-font-family-alternatives' allows the user to specify |
4939 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
|
4940 doesn't exist. |
34630 | 4941 |
4942 Setting `face-font-registry-alternatives' allows the user to specify | |
35680 | 4943 all alternative font registry names to try for a face specifying a |
34630 | 4944 registry. |
4945 | |
35680 | 4946 Please note that the interpretations of the above two variables are |
34630 | 4947 slightly different. |
4948 | |
4949 Setting face-ignored-fonts allows the user to ignore specific fonts. | |
4950 | |
25853 | 4951 |
4952 **** Scalable fonts | |
4953 | |
4954 Emacs can make use of scalable fonts but doesn't do so by default, | |
4955 since the use of too many or too big scalable fonts may crash XFree86 | |
4956 servers. | |
4957 | |
4958 To enable scalable font use, set the variable | |
26034 | 4959 `scalable-fonts-allowed'. A value of nil, the default, means never use |
25853 | 4960 scalable fonts. A value of t means any scalable font may be used. |
4961 Otherwise, the value must be a list of regular expressions. A | |
4962 scalable font may then be used if it matches a regular expression from | |
4963 that list. Example: | |
4964 | |
4965 (setq scalable-fonts-allowed '("muleindian-2$")) | |
4966 | |
4967 allows the use of scalable fonts with registry `muleindian-2'. | |
4968 | |
4969 *** Functions and variables related to font selection. | |
4970 | |
4971 - Function: x-family-fonts &optional FAMILY FRAME | |
4972 | |
4973 Return a list of available fonts of family FAMILY on FRAME. If FAMILY | |
4974 is omitted or nil, list all families. Otherwise, FAMILY must be a | |
4975 string, possibly containing wildcards `?' and `*'. | |
4976 | |
4977 If FRAME is omitted or nil, use the selected frame. Each element of | |
4978 the result is a vector [FAMILY WIDTH POINT-SIZE WEIGHT SLANT FIXED-P | |
4979 FULL REGISTRY-AND-ENCODING]. FAMILY is the font family name. | |
4980 POINT-SIZE is the size of the font in 1/10 pt. WIDTH, WEIGHT, and | |
4981 SLANT are symbols describing the width, weight and slant of the font. | |
4982 These symbols are the same as for face attributes. FIXED-P is non-nil | |
4983 if the font is fixed-pitch. FULL is the full name of the font, and | |
4984 REGISTRY-AND-ENCODING is a string giving the registry and encoding of | |
4985 the font. The result list is sorted according to the current setting | |
4986 of the face font sort order. | |
4987 | |
26264 | 4988 - Function: x-font-family-list |
25853 | 4989 |
4990 Return a list of available font families on FRAME. If FRAME is | |
4991 omitted or nil, use the selected frame. Value is a list of conses | |
4992 (FAMILY . FIXED-P) where FAMILY is a font family, and FIXED-P is | |
4993 non-nil if fonts of that family are fixed-pitch. | |
4994 | |
4995 - Variable: font-list-limit | |
4996 | |
4997 Limit for font matching. If an integer > 0, font matching functions | |
4998 won't load more than that number of fonts when searching for a | |
4999 matching font. The default is currently 100. | |
5000 | |
5001 *** Setting face attributes. | |
5002 | |
5003 For the most part, the new face implementation is interface-compatible | |
5004 with the old one. Old face attribute related functions are now | |
5005 implemented in terms of the new functions `set-face-attribute' and | |
5006 `face-attribute'. | |
5007 | |
5008 Face attributes are identified by their names which are keyword | |
5009 symbols. All attributes can be set to `unspecified'. | |
5010 | |
5011 The following attributes are recognized: | |
5012 | |
5013 `:family' | |
5014 | |
5015 VALUE must be a string specifying the font family, e.g. ``courier'', | |
5016 or a fontset alias name. If a font family is specified, wild-cards `*' | |
5017 and `?' are allowed. | |
5018 | |
5019 `:width' | |
5020 | |
5021 VALUE specifies the relative proportionate width of the font to use. | |
5022 It must be one of the symbols `ultra-condensed', `extra-condensed', | |
5023 `condensed', `semi-condensed', `normal', `semi-expanded', `expanded', | |
5024 `extra-expanded', or `ultra-expanded'. | |
5025 | |
5026 `:height' | |
5027 | |
31183
cb5d69bcd655
Add description of new :inherit face attribute, and additional legal
Miles Bader <miles@gnu.org>
parents:
31156
diff
changeset
|
5028 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
|
5029 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
|
5030 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
|
5031 height (from the underlying face), and should return the new height. |
25853 | 5032 |
5033 `:weight' | |
5034 | |
5035 VALUE specifies the weight of the font to use. It must be one of the | |
5036 symbols `ultra-bold', `extra-bold', `bold', `semi-bold', `normal', | |
5037 `semi-light', `light', `extra-light', `ultra-light'. | |
5038 | |
5039 `:slant' | |
5040 | |
5041 VALUE specifies the slant of the font to use. It must be one of the | |
5042 symbols `italic', `oblique', `normal', `reverse-italic', or | |
5043 `reverse-oblique'. | |
5044 | |
5045 `:foreground', `:background' | |
5046 | |
5047 VALUE must be a color name, a string. | |
5048 | |
5049 `:underline' | |
5050 | |
5051 VALUE specifies whether characters in FACE should be underlined. If | |
5052 VALUE is t, underline with foreground color of the face. If VALUE is | |
5053 a string, underline with that color. If VALUE is nil, explicitly | |
5054 don't underline. | |
5055 | |
5056 `:overline' | |
5057 | |
5058 VALUE specifies whether characters in FACE should be overlined. If | |
5059 VALUE is t, overline with foreground color of the face. If VALUE is a | |
5060 string, overline with that color. If VALUE is nil, explicitly don't | |
5061 overline. | |
5062 | |
5063 `:strike-through' | |
5064 | |
5065 VALUE specifies whether characters in FACE should be drawn with a line | |
5066 striking through them. If VALUE is t, use the foreground color of the | |
5067 face. If VALUE is a string, strike-through with that color. If VALUE | |
5068 is nil, explicitly don't strike through. | |
5069 | |
5070 `:box' | |
5071 | |
5072 VALUE specifies whether characters in FACE should have a box drawn | |
5073 around them. If VALUE is nil, explicitly don't draw boxes. If | |
5074 VALUE is t, draw a box with lines of width 1 in the foreground color | |
5075 of the face. If VALUE is a string, the string must be a color name, | |
5076 and the box is drawn in that color with a line width of 1. Otherwise, | |
5077 VALUE must be a property list of the form `(:line-width WIDTH | |
5078 :color COLOR :style STYLE)'. If a keyword/value pair is missing from | |
5079 the property list, a default value will be used for the value, as | |
5080 specified below. WIDTH specifies the width of the lines to draw; it | |
5081 defaults to 1. COLOR is the name of the color to draw in, default is | |
5082 the foreground color of the face for simple boxes, and the background | |
5083 color of the face for 3D boxes. STYLE specifies whether a 3D box | |
5084 should be draw. If STYLE is `released-button', draw a box looking | |
5085 like a released 3D button. If STYLE is `pressed-button' draw a box | |
5086 that appears like a pressed button. If STYLE is nil, the default if | |
5087 the property list doesn't contain a style specification, draw a 2D | |
5088 box. | |
5089 | |
5090 `:inverse-video' | |
5091 | |
5092 VALUE specifies whether characters in FACE should be displayed in | |
5093 inverse video. VALUE must be one of t or nil. | |
5094 | |
5095 `:stipple' | |
5096 | |
5097 If VALUE is a string, it must be the name of a file of pixmap data. | |
5098 The directories listed in the `x-bitmap-file-path' variable are | |
5099 searched. Alternatively, VALUE may be a list of the form (WIDTH | |
5100 HEIGHT DATA) where WIDTH and HEIGHT are the size in pixels, and DATA | |
5101 is a string containing the raw bits of the bitmap. VALUE nil means | |
5102 explicitly don't use a stipple pattern. | |
5103 | |
5104 For convenience, attributes `:family', `:width', `:height', `:weight', | |
5105 and `:slant' may also be set in one step from an X font name: | |
5106 | |
5107 `:font' | |
5108 | |
5109 Set font-related face attributes from VALUE. VALUE must be a valid | |
5110 XLFD font name. If it is a font name pattern, the first matching font | |
5111 is used--this is for compatibility with the behavior of previous | |
5112 versions of Emacs. | |
5113 | |
5114 For compatibility with Emacs 20, keywords `:bold' and `:italic' can | |
5115 be used to specify that a bold or italic font should be used. VALUE | |
5116 must be t or nil in that case. A value of `unspecified' is not allowed." | |
5117 | |
5118 Please see also the documentation of `set-face-attribute' and | |
5119 `defface'. | |
5120 | |
31183
cb5d69bcd655
Add description of new :inherit face attribute, and additional legal
Miles Bader <miles@gnu.org>
parents:
31156
diff
changeset
|
5121 `:inherit' |
cb5d69bcd655
Add description of new :inherit face attribute, and additional legal
Miles Bader <miles@gnu.org>
parents:
31156
diff
changeset
|
5122 |
cb5d69bcd655
Add description of new :inherit face attribute, and additional legal
Miles Bader <miles@gnu.org>
parents:
31156
diff
changeset
|
5123 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
|
5124 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
|
5125 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
|
5126 |
25853 | 5127 *** Face attributes and X resources |
5128 | |
5129 The following X resource names can be used to set face attributes | |
5130 from X resources: | |
5131 | |
5132 Face attribute X resource class | |
5133 ----------------------------------------------------------------------- | |
5134 :family attributeFamily . Face.AttributeFamily | |
5135 :width attributeWidth Face.AttributeWidth | |
5136 :height attributeHeight Face.AttributeHeight | |
5137 :weight attributeWeight Face.AttributeWeight | |
5138 :slant attributeSlant Face.AttributeSlant | |
5139 foreground attributeForeground Face.AttributeForeground | |
5140 :background attributeBackground . Face.AttributeBackground | |
5141 :overline attributeOverline Face.AttributeOverline | |
5142 :strike-through attributeStrikeThrough Face.AttributeStrikeThrough | |
5143 :box attributeBox Face.AttributeBox | |
5144 :underline attributeUnderline Face.AttributeUnderline | |
5145 :inverse-video attributeInverse Face.AttributeInverse | |
5146 :stipple attributeStipple Face.AttributeStipple | |
26264 | 5147 or attributeBackgroundPixmap |
25853 | 5148 Face.AttributeBackgroundPixmap |
5149 :font attributeFont Face.AttributeFont | |
5150 :bold attributeBold Face.AttributeBold | |
5151 :italic attributeItalic . Face.AttributeItalic | |
5152 :font attributeFont Face.AttributeFont | |
5153 | |
5154 *** Text property `face'. | |
5155 | |
5156 The value of the `face' text property can now be a single face | |
5157 specification or a list of such specifications. Each face | |
5158 specification can be | |
5159 | |
5160 1. A symbol or string naming a Lisp face. | |
5161 | |
5162 2. A property list of the form (KEYWORD VALUE ...) where each | |
5163 KEYWORD is a face attribute name, and VALUE is an appropriate value | |
5164 for that attribute. Please see the doc string of `set-face-attribute' | |
5165 for face attribute names. | |
5166 | |
5167 3. Conses of the form (FOREGROUND-COLOR . COLOR) or | |
5168 (BACKGROUND-COLOR . COLOR) where COLOR is a color name. This is | |
5169 for compatibility with previous Emacs versions. | |
5170 | |
5171 ** Support functions for colors on text-only terminals. | |
5172 | |
27092
60f5b0f50db9
Document the unified frame-independent support for colors and faces.
Eli Zaretskii <eliz@gnu.org>
parents:
27076
diff
changeset
|
5173 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
|
5174 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
|
5175 the terminal. Emacs defines a couple of common color mappings by |
25853 | 5176 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
|
5177 `defined-colors'. The function `tty-color-clear' can be |
25853 | 5178 used to clear the mapping table. |
5179 | |
27092
60f5b0f50db9
Document the unified frame-independent support for colors and faces.
Eli Zaretskii <eliz@gnu.org>
parents:
27076
diff
changeset
|
5180 ** 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
|
5181 |
60f5b0f50db9
Document the unified frame-independent support for colors and faces.
Eli Zaretskii <eliz@gnu.org>
parents:
27076
diff
changeset
|
5182 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
|
5183 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
|
5184 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
|
5185 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
|
5186 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
|
5187 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
|
5188 `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
|
5189 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
|
5190 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
|
5191 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
|
5192 |
60f5b0f50db9
Document the unified frame-independent support for colors and faces.
Eli Zaretskii <eliz@gnu.org>
parents:
27076
diff
changeset
|
5193 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
|
5194 any frame type. |
60f5b0f50db9
Document the unified frame-independent support for colors and faces.
Eli Zaretskii <eliz@gnu.org>
parents:
27076
diff
changeset
|
5195 |
27573
32f4457e5501
Document functions which return display capabilities.
Eli Zaretskii <eliz@gnu.org>
parents:
27533
diff
changeset
|
5196 ** Platform-independent functions to describe display capabilities. |
32f4457e5501
Document functions which return display capabilities.
Eli Zaretskii <eliz@gnu.org>
parents:
27533
diff
changeset
|
5197 |
32f4457e5501
Document functions which return display capabilities.
Eli Zaretskii <eliz@gnu.org>
parents:
27533
diff
changeset
|
5198 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
|
5199 `display-graphic-p', `display-selections-p', `display-screens', |
32f4457e5501
Document functions which return display capabilities.
Eli Zaretskii <eliz@gnu.org>
parents:
27533
diff
changeset
|
5200 `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
|
5201 `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
|
5202 `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
|
5203 `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
|
5204 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
|
5205 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
|
5206 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
|
5207 |
38471 | 5208 The new function `display-images-p' returns non-nil if a particular |
5209 display can display image files. | |
5210 | |
25853 | 5211 ** 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
|
5212 |
25853 | 5213 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
|
5214 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
|
5215 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
|
5216 `Inviolable' option. |
25853 | 5217 |
43184
de686446afd2
Fix description of minibuffer-prompt-end.
Andreas Schwab <schwab@suse.de>
parents:
43159
diff
changeset
|
5218 The function `minibuffer-prompt-end' returns the current position of the |
25853 | 5219 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
|
5220 Otherwise, it returns `(point-min)'. |
25853 | 5221 |
26062
fd35581d53c1
Add Miles Bader's description of fields.
Gerd Moellmann <gerd@gnu.org>
parents:
26034
diff
changeset
|
5222 ** New `field' abstraction in buffers. |
fd35581d53c1
Add Miles Bader's description of fields.
Gerd Moellmann <gerd@gnu.org>
parents:
26034
diff
changeset
|
5223 |
fd35581d53c1
Add Miles Bader's description of fields.
Gerd Moellmann <gerd@gnu.org>
parents:
26034
diff
changeset
|
5224 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
|
5225 buffers. A field is a contiguous region of text with the same `field' |
30776 | 5226 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
|
5227 |
26300
25356c16306f
Expanded description of `field' property from Miles Bader.
Gerd Moellmann <gerd@gnu.org>
parents:
26292
diff
changeset
|
5228 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
|
5229 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
|
5230 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
|
5231 not let the point move past the field boundary, but other movement |
27144 | 5232 commands continue into the next field if repeated. Stopping at field |
5233 boundaries can be suppressed programmatically by binding | |
5234 `inhibit-field-text-motion' to a non-nil value around calls to these | |
5235 functions. | |
26062
fd35581d53c1
Add Miles Bader's description of fields.
Gerd Moellmann <gerd@gnu.org>
parents:
26034
diff
changeset
|
5236 |
fd35581d53c1
Add Miles Bader's description of fields.
Gerd Moellmann <gerd@gnu.org>
parents:
26034
diff
changeset
|
5237 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
|
5238 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
|
5239 editing commands treat the user's text separately from the prompt. |
25853 | 5240 |
26300
25356c16306f
Expanded description of `field' property from Miles Bader.
Gerd Moellmann <gerd@gnu.org>
parents:
26292
diff
changeset
|
5241 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
|
5242 |
30776 | 5243 - 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
|
5244 |
25356c16306f
Expanded description of `field' property from Miles Bader.
Gerd Moellmann <gerd@gnu.org>
parents:
26292
diff
changeset
|
5245 Return the position closest to NEW-POS that is in the same field as OLD-POS. |
30776 | 5246 |
26300
25356c16306f
Expanded description of `field' property from Miles Bader.
Gerd Moellmann <gerd@gnu.org>
parents:
26292
diff
changeset
|
5247 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
|
5248 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
|
5249 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
|
5250 |
25356c16306f
Expanded description of `field' property from Miles Bader.
Gerd Moellmann <gerd@gnu.org>
parents:
26292
diff
changeset
|
5251 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
|
5252 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
|
5253 ESCAPE-FROM-EDGE: If ESCAPE-FROM-EDGE is nil, then NEW-POS is |
30776 | 5254 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
|
5255 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
|
5256 is non-nil, NEW-POS is constrained to the union of the two adjacent |
30776 | 5257 fields. Additionally, if two fields are separated by another field with |
5258 the special value `boundary', then any point within this special field is | |
5259 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
|
5260 |
25356c16306f
Expanded description of `field' property from Miles Bader.
Gerd Moellmann <gerd@gnu.org>
parents:
26292
diff
changeset
|
5261 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
|
5262 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
|
5263 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
|
5264 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
|
5265 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
|
5266 |
30776 | 5267 If the optional argument INHIBIT-CAPTURE-PROPERTY is non-nil, and OLD-POS has |
5268 a non-nil property of that name, then any field boundaries are ignored. | |
5269 | |
5270 Field boundaries are not noticed if `inhibit-field-text-motion' is non-nil. | |
5271 | |
5272 - Function: delete-field &optional POS | |
5273 | |
5274 Delete the field surrounding POS. | |
26300
25356c16306f
Expanded description of `field' property from Miles Bader.
Gerd Moellmann <gerd@gnu.org>
parents:
26292
diff
changeset
|
5275 A field is a region of text with the same `field' property. |
30776 | 5276 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
|
5277 |
25356c16306f
Expanded description of `field' property from Miles Bader.
Gerd Moellmann <gerd@gnu.org>
parents:
26292
diff
changeset
|
5278 - 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
|
5279 |
25356c16306f
Expanded description of `field' property from Miles Bader.
Gerd Moellmann <gerd@gnu.org>
parents:
26292
diff
changeset
|
5280 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
|
5281 A field is a region of text with the same `field' property. |
30776 | 5282 If POS is nil, the value of point is used for POS. |
5283 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
|
5284 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
|
5285 |
25356c16306f
Expanded description of `field' property from Miles Bader.
Gerd Moellmann <gerd@gnu.org>
parents:
26292
diff
changeset
|
5286 - 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
|
5287 |
25356c16306f
Expanded description of `field' property from Miles Bader.
Gerd Moellmann <gerd@gnu.org>
parents:
26292
diff
changeset
|
5288 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
|
5289 A field is a region of text with the same `field' property. |
30776 | 5290 If POS is nil, the value of point is used for POS. |
5291 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
|
5292 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
|
5293 |
25356c16306f
Expanded description of `field' property from Miles Bader.
Gerd Moellmann <gerd@gnu.org>
parents:
26292
diff
changeset
|
5294 - Function: field-string &optional POS |
25356c16306f
Expanded description of `field' property from Miles Bader.
Gerd Moellmann <gerd@gnu.org>
parents:
26292
diff
changeset
|
5295 |
25356c16306f
Expanded description of `field' property from Miles Bader.
Gerd Moellmann <gerd@gnu.org>
parents:
26292
diff
changeset
|
5296 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
|
5297 A field is a region of text with the same `field' property. |
30776 | 5298 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
|
5299 |
25356c16306f
Expanded description of `field' property from Miles Bader.
Gerd Moellmann <gerd@gnu.org>
parents:
26292
diff
changeset
|
5300 - 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
|
5301 |
25356c16306f
Expanded description of `field' property from Miles Bader.
Gerd Moellmann <gerd@gnu.org>
parents:
26292
diff
changeset
|
5302 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
|
5303 A field is a region of text with the same `field' property. |
30776 | 5304 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
|
5305 |
25853 | 5306 ** Image support. |
5307 | |
5308 Emacs can now display images. Images are inserted into text by giving | |
5309 strings or buffer text a `display' text property containing one of | |
5310 (AREA IMAGE) or IMAGE. The display of the `display' property value | |
5311 replaces the display of the characters having that property. | |
5312 | |
5313 If the property value has the form (AREA IMAGE), AREA must be one of | |
5314 `(margin left-margin)', `(margin right-margin)' or `(margin nil)'. If | |
5315 AREA is `(margin nil)', IMAGE will be displayed in the text area of a | |
5316 window, otherwise it will be displayed in the left or right marginal | |
5317 area. | |
5318 | |
5319 IMAGE is an image specification. | |
5320 | |
5321 *** Image specifications | |
5322 | |
5323 Image specifications are lists of the form `(image PROPS)' where PROPS | |
5324 is a property list whose keys are keyword symbols. Each | |
5325 specifications must contain a property `:type TYPE' with TYPE being a | |
26403 | 5326 symbol specifying the image type, e.g. `xbm'. Properties not |
5327 described below are ignored. | |
25853 | 5328 |
5329 The following is a list of properties all image types share. | |
5330 | |
5331 `:ascent ASCENT' | |
5332 | |
28789 | 5333 ASCENT must be a number in the range 0..100, or the symbol `center'. |
5334 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
|
5335 to use for its ascent. |
28789 | 5336 |
5337 If not specified, ASCENT defaults to the value 50 which means that the | |
5338 image will be centered with the base line of the row it appears in. | |
5339 | |
30483
05fc373ff5b8
mention `float-time' and the remote file modtime check
Sam Steingold <sds@gnu.org>
parents:
30482
diff
changeset
|
5340 If ASCENT is `center' the image is vertically centered around a |
29151 | 5341 centerline which is the vertical center of text drawn at the position |
5342 of the image, in the manner specified by the text properties and | |
5343 overlays that apply to the image. | |
25853 | 5344 |
5345 `:margin MARGIN' | |
5346 | |
35278 | 5347 MARGIN must be either a number >= 0 specifying how many pixels to put |
5348 as margin around the image, or a pair (X . Y) with X specifying the | |
5349 horizontal margin and Y specifying the vertical margin. Default is 0. | |
25853 | 5350 |
5351 `:relief RELIEF' | |
5352 | |
5353 RELIEF is analogous to the `:relief' attribute of faces. Puts a relief | |
5354 around an image. | |
5355 | |
35364 | 5356 `:conversion ALGO' |
25853 | 5357 |
31636 | 5358 Apply an image algorithm to the image before displaying it. |
5359 | |
5360 ALGO `laplace' or `emboss' means apply a Laplace or ``emboss'' | |
5361 edge-detection algorithm to the image. | |
5362 | |
5363 ALGO `(edge-detection :matrix MATRIX :color-adjust ADJUST)' means | |
5364 apply a general edge-detection algorithm. MATRIX must be either a | |
5365 nine-element list or a nine-element vector of numbers. A pixel at | |
5366 position x/y in the transformed image is computed from original pixels | |
5367 around that position. MATRIX specifies, for each pixel in the | |
5368 neighborhood of x/y, a factor with which that pixel will influence the | |
5369 transformed pixel; element 0 specifies the factor for the pixel at | |
5370 x-1/y-1, element 1 the factor for the pixel at x/y-1 etc. as shown | |
5371 below. | |
5372 | |
5373 (x-1/y-1 x/y-1 x+1/y-1 | |
5374 x-1/y x/y x+1/y | |
5375 x-1/y+1 x/y+1 x+1/y+1) | |
5376 | |
5377 The resulting pixel is computed from the color intensity of the color | |
5378 resulting from summing up the RGB values of surrounding pixels, | |
5379 multiplied by the specified factors, and dividing that sum by the sum | |
5380 of the factors' absolute values. | |
5381 | |
31858
269d69b69fe4
Update hideshow.el section.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
31827
diff
changeset
|
5382 Laplace edge-detection currently uses a matrix of |
31636 | 5383 |
5384 (1 0 0 | |
5385 0 0 0 | |
5386 9 9 -1) | |
5387 | |
5388 Emboss edge-detection uses a matrix of | |
5389 | |
5390 ( 2 -1 0 | |
5391 -1 0 1 | |
5392 0 1 -2) | |
5393 | |
31728 | 5394 ALGO `disabled' means transform the image so that it looks |
5395 ``disabled''. | |
5396 | |
31636 | 5397 `:mask MASK' |
5398 | |
5399 If MASK is `heuristic' or `(heuristic BG)', build a clipping mask for | |
5400 the image, so that the background of a frame is visible behind the | |
5401 image. If BG is not specified, or if BG is t, determine the | |
5402 background color of the image by looking at the 4 corners of the | |
35680 | 5403 image, assuming the most frequently occurring color from the corners is |
31636 | 5404 the background color of the image. Otherwise, BG must be a list `(RED |
5405 GREEN BLUE)' specifying the color to assume for the background of the | |
5406 image. | |
5407 | |
5408 If MASK is nil, remove a mask from the image, if it has one. Images | |
5409 in some formats include a mask which can be removed by specifying | |
5410 `:mask nil'. | |
25853 | 5411 |
5412 `:file FILE' | |
5413 | |
5414 Load image from FILE. If FILE is not absolute after expanding it, | |
5415 search for the image in `data-directory'. Some image types support | |
5416 building images from data. When this is done, no `:file' property | |
5417 may be present in the image specification. | |
5418 | |
27076
40c18bc759e9
Change description of :data for images.
Gerd Moellmann <gerd@gnu.org>
parents:
27055
diff
changeset
|
5419 `:data DATA' |
40c18bc759e9
Change description of :data for images.
Gerd Moellmann <gerd@gnu.org>
parents:
27055
diff
changeset
|
5420 |
40c18bc759e9
Change description of :data for images.
Gerd Moellmann <gerd@gnu.org>
parents:
27055
diff
changeset
|
5421 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
|
5422 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
|
5423 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
|
5424 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
|
5425 |
25853 | 5426 *** Supported image types |
5427 | |
26034 | 5428 **** XBM, image type `xbm'. |
25853 | 5429 |
5430 XBM images don't require an external library. Additional image | |
5431 properties supported are | |
5432 | |
5433 `:foreground FG' | |
5434 | |
37948
3025939a637d
Add that PBM and XPM image specs may have :foreground nil, and
Gerd Moellmann <gerd@gnu.org>
parents:
37933
diff
changeset
|
5435 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
|
5436 meaning to use the default. Default is the frame's foreground. |
25853 | 5437 |
32572 | 5438 `:background BG' |
25853 | 5439 |
37948
3025939a637d
Add that PBM and XPM image specs may have :foreground nil, and
Gerd Moellmann <gerd@gnu.org>
parents:
37933
diff
changeset
|
5440 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
|
5441 meaning to use the default. Default is the frame's background color. |
25853 | 5442 |
5443 XBM images can be constructed from data instead of file. In this | |
5444 case, the image specification must contain the following properties | |
5445 instead of a `:file' property. | |
5446 | |
5447 `:width WIDTH' | |
5448 | |
5449 WIDTH specifies the width of the image in pixels. | |
5450 | |
5451 `:height HEIGHT' | |
5452 | |
5453 HEIGHT specifies the height of the image in pixels. | |
5454 | |
5455 `:data DATA' | |
5456 | |
5457 DATA must be either | |
5458 | |
5459 1. a string large enough to hold the bitmap data, i.e. it must | |
5460 have a size >= (WIDTH + 7) / 8 * HEIGHT | |
5461 | |
5462 2. a bool-vector of size >= WIDTH * HEIGHT | |
5463 | |
5464 3. a vector of strings or bool-vectors, one for each line of the | |
5465 bitmap. | |
5466 | |
28748 | 5467 4. a string that's an in-memory XBM file. Neither width nor |
5468 height may be specified in this case because these are defined | |
5469 in the file. | |
5470 | |
25853 | 5471 **** XPM, image type `xpm' |
5472 | |
5473 XPM images require the external library `libXpm', package | |
5474 `xpm-3.4k.tar.gz', version 3.4k or later. Make sure the library is | |
5475 found when Emacs is configured by supplying appropriate paths via | |
5476 `--x-includes' and `--x-libraries'. | |
5477 | |
5478 Additional image properties supported are: | |
5479 | |
5480 `:color-symbols SYMBOLS' | |
5481 | |
5482 SYMBOLS must be a list of pairs (NAME . COLOR), with NAME being the | |
5483 name of color as it appears in an XPM file, and COLOR being an X color | |
5484 name. | |
5485 | |
5486 XPM images can be built from memory instead of files. In that case, | |
5487 add a `:data' property instead of a `:file' property. | |
5488 | |
5489 The XPM library uses libz in its implementation so that it is able | |
5490 to display compressed images. | |
5491 | |
5492 **** PBM, image type `pbm' | |
5493 | |
5494 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
|
5495 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
|
5496 mono images are |
329cbf266d5c
Add description of :foreground and :background to PBM images.
Gerd Moellmann <gerd@gnu.org>
parents:
32511
diff
changeset
|
5497 |
329cbf266d5c
Add description of :foreground and :background to PBM images.
Gerd Moellmann <gerd@gnu.org>
parents:
32511
diff
changeset
|
5498 `:foreground FG' |
329cbf266d5c
Add description of :foreground and :background to PBM images.
Gerd Moellmann <gerd@gnu.org>
parents:
32511
diff
changeset
|
5499 |
37948
3025939a637d
Add that PBM and XPM image specs may have :foreground nil, and
Gerd Moellmann <gerd@gnu.org>
parents:
37933
diff
changeset
|
5500 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
|
5501 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
|
5502 |
329cbf266d5c
Add description of :foreground and :background to PBM images.
Gerd Moellmann <gerd@gnu.org>
parents:
32511
diff
changeset
|
5503 `:background FG' |
329cbf266d5c
Add description of :foreground and :background to PBM images.
Gerd Moellmann <gerd@gnu.org>
parents:
32511
diff
changeset
|
5504 |
37948
3025939a637d
Add that PBM and XPM image specs may have :foreground nil, and
Gerd Moellmann <gerd@gnu.org>
parents:
37933
diff
changeset
|
5505 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
|
5506 meaning to use the default. Default is the frame's background color. |
25853 | 5507 |
5508 **** JPEG, image type `jpeg' | |
5509 | |
5510 Support for JPEG images requires the external library `libjpeg', | |
27055 | 5511 package `jpegsrc.v6a.tar.gz', or later. Additional image properties |
5512 are: | |
5513 | |
25853 | 5514 **** TIFF, image type `tiff' |
5515 | |
5516 Support for TIFF images requires the external library `libtiff', | |
5517 package `tiff-v3.4-tar.gz', or later. There are no additional image | |
5518 properties defined. | |
5519 | |
5520 **** GIF, image type `gif' | |
5521 | |
5522 Support for GIF images requires the external library `libungif', package | |
5523 `libungif-4.1.0', or later. | |
5524 | |
5525 Additional image properties supported are: | |
5526 | |
5527 `:index INDEX' | |
5528 | |
5529 INDEX must be an integer >= 0. Load image number INDEX from a | |
35680 | 5530 multi-image GIF file. An error is signaled if INDEX is too large. |
25853 | 5531 |
5532 This could be used to implement limited support for animated GIFs. | |
5533 For example, the following function displays a multi-image GIF file | |
5534 at point-min in the current buffer, switching between sub-images | |
5535 every 0.1 seconds. | |
5536 | |
5537 (defun show-anim (file max) | |
5538 "Display multi-image GIF file FILE which contains MAX subimages." | |
5539 (display-anim (current-buffer) file 0 max t)) | |
5540 | |
5541 (defun display-anim (buffer file idx max first-time) | |
5542 (when (= idx max) | |
5543 (setq idx 0)) | |
27076
40c18bc759e9
Change description of :data for images.
Gerd Moellmann <gerd@gnu.org>
parents:
27055
diff
changeset
|
5544 (let ((img (create-image file nil nil :index idx))) |
25853 | 5545 (save-excursion |
5546 (set-buffer buffer) | |
5547 (goto-char (point-min)) | |
5548 (unless first-time (delete-char 1)) | |
5549 (insert-image img "x")) | |
5550 (run-with-timer 0.1 nil 'display-anim buffer file (1+ idx) max nil))) | |
5551 | |
5552 **** PNG, image type `png' | |
5553 | |
5554 Support for PNG images requires the external library `libpng', | |
5555 package `libpng-1.0.2.tar.gz', or later. There are no additional image | |
5556 properties defined. | |
5557 | |
5558 **** Ghostscript, image type `postscript'. | |
5559 | |
5560 Additional image properties supported are: | |
5561 | |
5562 `:pt-width WIDTH' | |
5563 | |
5564 WIDTH is width of the image in pt (1/72 inch). WIDTH must be an | |
26034 | 5565 integer. This is a required property. |
25853 | 5566 |
5567 `:pt-height HEIGHT' | |
5568 | |
5569 HEIGHT specifies the height of the image in pt (1/72 inch). HEIGHT | |
26034 | 5570 must be a integer. This is an required property. |
25853 | 5571 |
5572 `:bounding-box BOX' | |
5573 | |
5574 BOX must be a list or vector of 4 integers giving the bounding box of | |
5575 the PS image, analogous to the `BoundingBox' comment found in PS | |
5576 files. This is an required property. | |
5577 | |
5578 Part of the Ghostscript interface is implemented in Lisp. See | |
5579 lisp/gs.el. | |
5580 | |
5581 *** Lisp interface. | |
5582 | |
26264 | 5583 The variable `image-types' contains a list of those image types |
5584 which are supported in the current configuration. | |
25853 | 5585 |
5586 Images are stored in an image cache and removed from the cache when | |
5587 they haven't been displayed for `image-cache-eviction-delay seconds. | |
5588 The function `clear-image-cache' can be used to clear the image cache | |
28759 | 5589 manually. Images in the cache are compared with `equal', i.e. all |
5590 images with `equal' specifications share the same image. | |
25853 | 5591 |
5592 *** Simplified image API, image.el | |
5593 | |
5594 The new Lisp package image.el contains functions that simplify image | |
5595 creation and putting images into text. The function `create-image' | |
5596 can be used to create images. The macro `defimage' can be used to | |
5597 define an image based on available image types. The functions | |
5598 `put-image' and `insert-image' can be used to insert an image into a | |
5599 buffer. | |
5600 | |
5601 ** Display margins. | |
5602 | |
5603 Windows can now have margins which are used for special text | |
5604 and images. | |
5605 | |
5606 To give a window margins, either set the buffer-local variables | |
5607 `left-margin-width' and `right-margin-width', or call | |
5608 `set-window-margins'. The function `window-margins' can be used to | |
5609 obtain the current settings. To make `left-margin-width' and | |
5610 `right-margin-width' take effect, you must set them before displaying | |
5611 the buffer in a window, or use `set-window-buffer' to force an update | |
5612 of the display margins. | |
5613 | |
5614 You can put text in margins by giving it a `display' text property | |
5615 containing a pair of the form `(LOCATION . VALUE)', where LOCATION is | |
5616 one of `left-margin' or `right-margin' or nil. VALUE can be either a | |
5617 string, an image specification or a stretch specification (see later | |
5618 in this file). | |
5619 | |
5620 ** Help display | |
5621 | |
5622 Emacs displays short help messages in the echo area, when the mouse | |
5623 moves over a tool-bar item or a piece of text that has a text property | |
5624 `help-echo'. This feature also applies to strings in the mode line | |
5625 that have a `help-echo' property. | |
5626 | |
30219 | 5627 If the value of the `help-echo' property is a function, that function |
30305 | 5628 is called with three arguments WINDOW, OBJECT and POSITION. WINDOW is |
30372 | 5629 the window in which the help was found. |
5630 | |
5631 If OBJECT is a buffer, POS is the position in the buffer where the | |
5632 `help-echo' text property was found. | |
5633 | |
5634 If OBJECT is an overlay, that overlay has a `help-echo' property, and | |
5635 POS is the position in the overlay's buffer under the mouse. | |
5636 | |
5637 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
|
5638 the `display' property), POS is the position in that string under the |
30372 | 5639 mouse. |
30219 | 5640 |
5641 If the value of the `help-echo' property is neither a function nor a | |
5642 string, it is evaluated to obtain a help string. | |
5643 | |
5644 For tool-bar and menu-bar items, their key definition is used to | |
5645 determine the help to display. If their definition contains a | |
5646 property `:help FORM', FORM is evaluated to determine the help string. | |
5647 For tool-bar items without a help form, the caption of the item is | |
5648 used as help string. | |
25853 | 5649 |
5650 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
|
5651 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
|
5652 causes the help display to appear there instead of in the echo area. |
25853 | 5653 |
5654 ** Vertical fractional scrolling. | |
5655 | |
5656 The display of text in windows can be scrolled smoothly in pixels. | |
5657 This is useful, for example, for making parts of large images visible. | |
5658 | |
5659 The function `window-vscroll' returns the current value of vertical | |
5660 scrolling, a non-negative fraction of the canonical character height. | |
5661 The function `set-window-vscroll' can be used to set the vertical | |
5662 scrolling value. Here is an example of how these function might be | |
5663 used. | |
5664 | |
26264 | 5665 (global-set-key [A-down] |
5666 #'(lambda () | |
25853 | 5667 (interactive) |
26264 | 5668 (set-window-vscroll (selected-window) |
25853 | 5669 (+ 0.5 (window-vscroll))))) |
26264 | 5670 (global-set-key [A-up] |
25853 | 5671 #'(lambda () |
5672 (interactive) | |
26264 | 5673 (set-window-vscroll (selected-window) |
25853 | 5674 (- (window-vscroll) 0.5))))) |
5675 | |
5676 ** New hook `fontification-functions'. | |
5677 | |
5678 Functions from `fontification-functions' are called from redisplay | |
5679 when it encounters a region of text that is not yet fontified. This | |
5680 variable automatically becomes buffer-local when set. Each function | |
5681 is called with one argument, POS. | |
5682 | |
5683 At least one of the hook functions should fontify one or more | |
5684 characters starting at POS in the current buffer. It should mark them | |
5685 as fontified by giving them a non-nil value of the `fontified' text | |
5686 property. It may be reasonable for these functions to check for the | |
5687 `fontified' property and not put it back on, but they do not have to. | |
5688 | |
5689 ** Tool bar support. | |
5690 | |
5691 Emacs supports a tool bar at the top of a frame under X. The frame | |
5692 parameter `tool-bar-lines' (X resource "toolBar", class "ToolBar") | |
5693 controls how may lines to reserve for the tool bar. A zero value | |
5694 suppresses the tool bar. If the value is non-zero and | |
5695 `auto-resize-tool-bars' is non-nil the tool bar's size will be changed | |
5696 automatically so that all tool bar items are visible. | |
5697 | |
5698 *** Tool bar item definitions | |
5699 | |
5700 Tool bar items are defined using `define-key' with a prefix-key | |
5701 `tool-bar'. For example `(define-key global-map [tool-bar item1] ITEM)' | |
5702 where ITEM is a list `(menu-item CAPTION BINDING PROPS...)'. | |
26264 | 5703 |
25853 | 5704 CAPTION is the caption of the item, If it's not a string, it is |
5705 evaluated to get a string. The caption is currently not displayed in | |
5706 the tool bar, but it is displayed if the item doesn't have a `:help' | |
5707 property (see below). | |
26264 | 5708 |
25853 | 5709 BINDING is the tool bar item's binding. Tool bar items with keymaps as |
5710 binding are currently ignored. | |
5711 | |
5712 The following properties are recognized: | |
5713 | |
5714 `:enable FORM'. | |
26264 | 5715 |
25853 | 5716 FORM is evaluated and specifies whether the tool bar item is enabled |
5717 or disabled. | |
26264 | 5718 |
25853 | 5719 `:visible FORM' |
26264 | 5720 |
25853 | 5721 FORM is evaluated and specifies whether the tool bar item is displayed. |
26264 | 5722 |
25853 | 5723 `:filter FUNCTION' |
5724 | |
5725 FUNCTION is called with one parameter, the same list BINDING in which | |
5726 FUNCTION is specified as the filter. The value FUNCTION returns is | |
5727 used instead of BINDING to display this item. | |
26264 | 5728 |
25853 | 5729 `:button (TYPE SELECTED)' |
5730 | |
5731 TYPE must be one of `:radio' or `:toggle'. SELECTED is evaluated | |
5732 and specifies whether the button is selected (pressed) or not. | |
26264 | 5733 |
25853 | 5734 `:image IMAGES' |
5735 | |
5736 IMAGES is either a single image specification or a vector of four | |
5737 image specifications. If it is a vector, this table lists the | |
5738 meaning of each of the four elements: | |
5739 | |
5740 Index Use when item is | |
5741 ---------------------------------------- | |
5742 0 enabled and selected | |
5743 1 enabled and deselected | |
5744 2 disabled and selected | |
5745 3 disabled and deselected | |
26264 | 5746 |
28946 | 5747 If IMAGE is a single image specification, a Laplace edge-detection |
5748 algorithm is used on that image to draw the image in disabled state. | |
5749 | |
25853 | 5750 `:help HELP-STRING'. |
26264 | 5751 |
25853 | 5752 Gives a help string to display for the tool bar item. This help |
5753 is displayed when the mouse is moved over the item. | |
5754 | |
31641 | 5755 The function `toolbar-add-item' is a convenience function for adding |
31741 | 5756 toolbar items generally, and `tool-bar-add-item-from-menu' can be used |
5757 to define a toolbar item with a binding copied from an item on the | |
5758 menu bar. | |
31641 | 5759 |
33484 | 5760 The default bindings use a menu-item :filter to derive the tool-bar |
5761 dynamically from variable `tool-bar-map' which may be set | |
5762 buffer-locally to override the global map. | |
5763 | |
25853 | 5764 *** Tool-bar-related variables. |
5765 | |
5766 If `auto-resize-tool-bar' is non-nil, the tool bar will automatically | |
5767 resize to show all defined tool bar items. It will never grow larger | |
5768 than 1/4 of the frame's size. | |
5769 | |
26264 | 5770 If `auto-raise-tool-bar-buttons' is non-nil, tool bar buttons will be |
25853 | 5771 raised when the mouse moves over them. |
5772 | |
5773 You can add extra space between tool bar items by setting | |
5774 `tool-bar-button-margin' to a positive integer specifying a number of | |
35278 | 5775 pixels, or a pair of integers (X . Y) specifying horizontal and |
5776 vertical margins . Default is 1. | |
25853 | 5777 |
5778 You can change the shadow thickness of tool bar buttons by setting | |
5779 `tool-bar-button-relief' to an integer. Default is 3. | |
5780 | |
5781 *** Tool-bar clicks with modifiers. | |
5782 | |
5783 You can bind commands to clicks with control, shift, meta etc. on | |
26264 | 5784 a tool bar item. If |
25853 | 5785 |
5786 (define-key global-map [tool-bar shell] | |
5787 '(menu-item "Shell" shell | |
5788 :image (image :type xpm :file "shell.xpm"))) | |
5789 | |
5790 is the original tool bar item definition, then | |
5791 | |
5792 (define-key global-map [tool-bar S-shell] 'some-command) | |
5793 | |
5794 makes a binding to run `some-command' for a shifted click on the same | |
5795 item. | |
5796 | |
5797 ** Mode line changes. | |
5798 | |
5799 *** Mouse-sensitive mode line. | |
5800 | |
5801 The mode line can be made mouse-sensitive by displaying strings there | |
5802 that have a `local-map' text property. There are three ways to display | |
5803 a string with a `local-map' property in the mode line. | |
5804 | |
5805 1. The mode line spec contains a variable whose string value has | |
5806 a `local-map' text property. | |
5807 | |
5808 2. The mode line spec contains a format specifier (e.g. `%12b'), and | |
5809 that format specifier has a `local-map' property. | |
5810 | |
5811 3. The mode line spec contains a list containing `:eval FORM'. FORM | |
5812 is evaluated. If the result is a string, and that string has a | |
5813 `local-map' property. | |
5814 | |
5815 The same mechanism is used to determine the `face' and `help-echo' | |
5816 properties of strings in the mode line. See `bindings.el' for an | |
5817 example. | |
5818 | |
26359
d2970b5d3b72
Add mode line element '(:eval FORM)'.
Gerd Moellmann <gerd@gnu.org>
parents:
26322
diff
changeset
|
5819 *** 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
|
5820 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
|
5821 |
25853 | 5822 *** You can suppress mode-line display by setting the buffer-local |
5823 variable mode-line-format to nil. | |
5824 | |
5825 *** A headerline can now be displayed at the top of a window. | |
5826 | |
5827 This mode line's contents are controlled by the new variable | |
5828 `header-line-format' and `default-header-line-format' which are | |
5829 completely analogous to `mode-line-format' and | |
5830 `default-mode-line-format'. A value of nil means don't display a top | |
5831 line. | |
5832 | |
5833 The appearance of top mode lines is controlled by the face | |
5834 `header-line'. | |
5835 | |
5836 The function `coordinates-in-window-p' returns `header-line' for a | |
5837 position in the header-line. | |
5838 | |
5839 ** Text property `display' | |
5840 | |
31827 | 5841 The `display' text property is used to insert images into text, |
5842 replace text with other text, display text in marginal area, and it is | |
5843 also used to control other aspects of how text displays. The value of | |
5844 the `display' property should be a display specification, as described | |
25853 | 5845 below, or a list or vector containing display specifications. |
5846 | |
31827 | 5847 *** Replacing text, displaying text in marginal areas |
5848 | |
5849 To replace the text having the `display' property with some other | |
5850 text, use a display specification of the form `(LOCATION STRING)'. | |
5851 | |
5852 If LOCATION is `(margin left-margin)', STRING is displayed in the left | |
5853 marginal area, if it is `(margin right-margin)', it is displayed in | |
5854 the right marginal area, and if LOCATION is `(margin nil)' STRING | |
5855 is displayed in the text. In the latter case you can also use the | |
5856 simpler form STRING as property value. | |
5857 | |
25853 | 5858 *** Variable width and height spaces |
5859 | |
5860 To display a space of fractional width or height, use a display | |
5861 specification of the form `(LOCATION STRECH)'. If LOCATION is | |
5862 `(margin left-margin)', the space is displayed in the left marginal | |
5863 area, if it is `(margin right-margin)', it is displayed in the right | |
5864 marginal area, and if LOCATION is `(margin nil)' the space is | |
5865 displayed in the text. In the latter case you can also use the | |
5866 simpler form STRETCH as property value. | |
5867 | |
5868 The stretch specification STRETCH itself is a list of the form `(space | |
5869 PROPS)', where PROPS is a property list which can contain the | |
5870 properties described below. | |
5871 | |
5872 The display of the fractional space replaces the display of the | |
5873 characters having the `display' property. | |
5874 | |
5875 - :width WIDTH | |
5876 | |
5877 Specifies that the space width should be WIDTH times the normal | |
5878 character width. WIDTH can be an integer or floating point number. | |
5879 | |
5880 - :relative-width FACTOR | |
5881 | |
5882 Specifies that the width of the stretch should be computed from the | |
5883 first character in a group of consecutive characters that have the | |
5884 same `display' property. The computation is done by multiplying the | |
5885 width of that character by FACTOR. | |
5886 | |
5887 - :align-to HPOS | |
5888 | |
5889 Specifies that the space should be wide enough to reach HPOS. The | |
5890 value HPOS is measured in units of the normal character width. | |
5891 | |
5892 Exactly one of the above properties should be used. | |
5893 | |
5894 - :height HEIGHT | |
5895 | |
5896 Specifies the height of the space, as HEIGHT, measured in terms of the | |
5897 normal line height. | |
5898 | |
5899 - :relative-height FACTOR | |
5900 | |
5901 The height of the space is computed as the product of the height | |
5902 of the text having the `display' property and FACTOR. | |
5903 | |
5904 - :ascent ASCENT | |
5905 | |
5906 Specifies that ASCENT percent of the height of the stretch should be | |
5907 used for the ascent of the stretch, i.e. for the part above the | |
5908 baseline. The value of ASCENT must be a non-negative number less or | |
5909 equal to 100. | |
5910 | |
5911 You should not use both `:height' and `:relative-height' together. | |
5912 | |
5913 *** Images | |
5914 | |
5915 A display specification for an image has the form `(LOCATION | |
5916 . IMAGE)', where IMAGE is an image specification. The image replaces, | |
5917 in the display, the characters having this display specification in | |
5918 their `display' text property. If LOCATION is `(margin left-margin)', | |
5919 the image will be displayed in the left marginal area, if it is | |
5920 `(margin right-margin)' it will be displayed in the right marginal | |
5921 area, and if LOCATION is `(margin nil)' the image will be displayed in | |
5922 the text. In the latter case you can also use the simpler form IMAGE | |
5923 as display specification. | |
5924 | |
5925 *** Other display properties | |
5926 | |
33499 | 5927 - (space-width FACTOR) |
25853 | 5928 |
5929 Specifies that space characters in the text having that property | |
5930 should be displayed FACTOR times as wide as normal; FACTOR must be an | |
5931 integer or float. | |
5932 | |
33499 | 5933 - (height HEIGHT) |
25853 | 5934 |
5935 Display text having this property in a font that is smaller or larger. | |
5936 | |
5937 If HEIGHT is a list of the form `(+ N)', where N is an integer, that | |
5938 means to use a font that is N steps larger. If HEIGHT is a list of | |
5939 the form `(- N)', that means to use a font that is N steps smaller. A | |
5940 ``step'' is defined by the set of available fonts; each size for which | |
5941 a font is available counts as a step. | |
5942 | |
5943 If HEIGHT is a number, that means to use a font that is HEIGHT times | |
5944 as tall as the frame's default font. | |
5945 | |
5946 If HEIGHT is a symbol, it is called as a function with the current | |
5947 height as argument. The function should return the new height to use. | |
5948 | |
5949 Otherwise, HEIGHT is evaluated to get the new height, with the symbol | |
5950 `height' bound to the current specified font height. | |
5951 | |
33499 | 5952 - (raise FACTOR) |
25853 | 5953 |
5954 FACTOR must be a number, specifying a multiple of the current | |
5955 font's height. If it is positive, that means to display the characters | |
5956 raised. If it is negative, that means to display them lower down. The | |
5957 amount of raising or lowering is computed without taking account of the | |
33499 | 5958 `height' subproperty. |
25853 | 5959 |
5960 *** Conditional display properties | |
5961 | |
5962 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
|
5963 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
|
5964 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
|
5965 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
|
5966 conditional display property; `position' and `buffer-position' are |
f5db16d9b787
Change conditional display property API description.
Gerd Moellmann <gerd@gnu.org>
parents:
38989
diff
changeset
|
5967 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
|
5968 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
|
5969 different when object is a string. |
25853 | 5970 |
5971 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
|
5972 `(when t . SPEC)'. |
25853 | 5973 |
5974 ** New menu separator types. | |
5975 | |
5976 Emacs now supports more than one menu separator type. Menu items with | |
5977 item names consisting of dashes only (including zero dashes) are | |
5978 treated like before. In addition, the following item names are used | |
5979 to specify other menu separator types. | |
5980 | |
5981 - `--no-line' or `--space', or `--:space', or `--:noLine' | |
5982 | |
5983 No separator lines are drawn, but a small space is inserted where the | |
5984 separator occurs. | |
5985 | |
5986 - `--single-line' or `--:singleLine' | |
5987 | |
5988 A single line in the menu's foreground color. | |
5989 | |
5990 - `--double-line' or `--:doubleLine' | |
5991 | |
5992 A double line in the menu's foreground color. | |
5993 | |
5994 - `--single-dashed-line' or `--:singleDashedLine' | |
5995 | |
5996 A single dashed line in the menu's foreground color. | |
5997 | |
5998 - `--double-dashed-line' or `--:doubleDashedLine' | |
5999 | |
6000 A double dashed line in the menu's foreground color. | |
6001 | |
6002 - `--shadow-etched-in' or `--:shadowEtchedIn' | |
6003 | |
35862
9604ca6b3728
More typos from Juanma Barranquero <lektu@uol.com.br>.
Eli Zaretskii <eliz@gnu.org>
parents:
35847
diff
changeset
|
6004 A single line with 3D sunken appearance. This is the form |
25853 | 6005 displayed for item names consisting of dashes only. |
6006 | |
6007 - `--shadow-etched-out' or `--:shadowEtchedOut' | |
6008 | |
6009 A single line with 3D raised appearance. | |
6010 | |
6011 - `--shadow-etched-in-dash' or `--:shadowEtchedInDash' | |
6012 | |
6013 A single dashed line with 3D sunken appearance. | |
6014 | |
6015 - `--shadow-etched-out-dash' or `--:shadowEtchedOutDash' | |
6016 | |
6017 A single dashed line with 3D raise appearance. | |
6018 | |
6019 - `--shadow-double-etched-in' or `--:shadowDoubleEtchedIn' | |
6020 | |
6021 Two lines with 3D sunken appearance. | |
6022 | |
6023 - `--shadow-double-etched-out' or `--:shadowDoubleEtchedOut' | |
6024 | |
6025 Two lines with 3D raised appearance. | |
6026 | |
6027 - `--shadow-double-etched-in-dash' or `--:shadowDoubleEtchedInDash' | |
6028 | |
6029 Two dashed lines with 3D sunken appearance. | |
6030 | |
6031 - `--shadow-double-etched-out-dash' or `--:shadowDoubleEtchedOutDash' | |
6032 | |
6033 Two dashed lines with 3D raised appearance. | |
6034 | |
6035 Under LessTif/Motif, the last four separator types are displayed like | |
6036 the corresponding single-line separators. | |
6037 | |
6038 ** New frame parameters for scroll bar colors. | |
6039 | |
6040 The new frame parameters `scroll-bar-foreground' and | |
6041 `scroll-bar-background' can be used to change scroll bar colors. | |
6042 Their value must be either a color name, a string, or nil to specify | |
6043 that scroll bars should use a default color. For toolkit scroll bars, | |
6044 default colors are toolkit specific. For non-toolkit scroll bars, the | |
6045 default background is the background color of the frame, and the | |
6046 default foreground is black. | |
6047 | |
6048 The X resource name of these parameters are `scrollBarForeground' | |
6049 (class ScrollBarForeground) and `scrollBarBackground' (class | |
6050 `ScrollBarBackground'). | |
6051 | |
6052 Setting these parameters overrides toolkit specific X resource | |
6053 settings for scroll bar colors. | |
6054 | |
6055 ** You can set `redisplay-dont-pause' to a non-nil value to prevent | |
6056 display updates from being interrupted when input is pending. | |
6057 | |
6058 ** Changing a window's width may now change its window start if it | |
6059 starts on a continuation line. The new window start is computed based | |
6060 on the window's new width, starting from the start of the continued | |
6061 line as the start of the screen line with the minimum distance from | |
6062 the original window start. | |
6063 | |
6064 ** The variable `hscroll-step' and the functions | |
6065 `hscroll-point-visible' and `hscroll-window-column' have been removed | |
6066 now that proper horizontal scrolling is implemented. | |
6067 | |
6068 ** Windows can now be made fixed-width and/or fixed-height. | |
6069 | |
6070 A window is fixed-size if its buffer has a buffer-local variable | |
6071 `window-size-fixed' whose value is not nil. A value of `height' makes | |
6072 windows fixed-height, a value of `width' makes them fixed-width, any | |
6073 other non-nil value makes them both fixed-width and fixed-height. | |
6074 | |
6075 The following code makes all windows displaying the current buffer | |
6076 fixed-width and fixed-height. | |
6077 | |
6078 (set (make-local-variable 'window-size-fixed) t) | |
6079 | |
6080 A call to enlarge-window on a window gives an error if that window is | |
6081 fixed-width and it is tried to change the window's width, or if the | |
6082 window is fixed-height, and it is tried to change its height. To | |
6083 change the size of a fixed-size window, bind `window-size-fixed' | |
6084 temporarily to nil, for example | |
6085 | |
6086 (let ((window-size-fixed nil)) | |
6087 (enlarge-window 10)) | |
6088 | |
26264 | 6089 Likewise, an attempt to split a fixed-height window vertically, |
25853 | 6090 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
|
6091 |
e1e48e0663f6
Mention cursor-type support on MS-DOS terminals.
Eli Zaretskii <eliz@gnu.org>
parents:
28063
diff
changeset
|
6092 ** 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
|
6093 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
|
6094 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
|
6095 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
|
6096 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
|
6097 support a vertical-bar cursor). |
30786 | 6098 |
30922 | 6099 |
35577
db5649648a65
Replace formfeeds removed on 2001/01/22.
Dave Love <fx@gnu.org>
parents:
35567
diff
changeset
|
6100 |
30922 | 6101 * Emacs 20.7 is a bug-fix release with few user-visible changes |
6102 | |
6103 ** It is now possible to use CCL-based coding systems for keyboard | |
6104 input. | |
6105 | |
6106 ** ange-ftp now handles FTP security extensions, like Kerberos. | |
6107 | |
6108 ** Rmail has been extended to recognize more forms of digest messages. | |
6109 | |
6110 ** Now, most coding systems set in keyboard coding system work not | |
6111 only for character input, but also in incremental search. The | |
6112 exceptions are such coding systems that handle 2-byte character sets | |
6113 (e.g euc-kr, euc-jp) and that use ISO's escape sequence | |
6114 (e.g. iso-2022-jp). They are ignored in incremental search. | |
6115 | |
6116 ** Support for Macintosh PowerPC-based machines running GNU/Linux has | |
6117 been added. | |
6118 | |
35577
db5649648a65
Replace formfeeds removed on 2001/01/22.
Dave Love <fx@gnu.org>
parents:
35567
diff
changeset
|
6119 |
30922 | 6120 * Emacs 20.6 is a bug-fix release with one user-visible change |
6121 | |
6122 ** Support for ARM-based non-RISCiX machines has been added. | |
6123 | |
35469 | 6124 |
35577
db5649648a65
Replace formfeeds removed on 2001/01/22.
Dave Love <fx@gnu.org>
parents:
35567
diff
changeset
|
6125 |
30922 | 6126 * Emacs 20.5 is a bug-fix release with no user-visible changes. |
6127 | |
6128 ** Not new, but not mentioned before: | |
6129 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
|
6130 |
30922 | 6131 * Changes in Emacs 20.4 |
6132 | |
6133 ** Init file may be called .emacs.el. | |
6134 | |
6135 You can now call the Emacs init file `.emacs.el'. | |
6136 Formerly the name had to be `.emacs'. If you use the name | |
6137 `.emacs.el', you can byte-compile the file in the usual way. | |
6138 | |
6139 If both `.emacs' and `.emacs.el' exist, the latter file | |
6140 is the one that is used. | |
6141 | |
6142 ** shell-command, and shell-command-on-region, now return | |
6143 the exit code of the command (unless it is asynchronous). | |
6144 Also, you can specify a place to put the error output, | |
6145 separate from the command's regular output. | |
6146 Interactively, the variable shell-command-default-error-buffer | |
6147 says where to put error output; set it to a buffer name. | |
6148 In calls from Lisp, an optional argument ERROR-BUFFER specifies | |
6149 the buffer name. | |
6150 | |
6151 When you specify a non-nil error buffer (or buffer name), any error | |
6152 output is inserted before point in that buffer, with \f\n to separate | |
6153 it from the previous batch of error output. The error buffer is not | |
6154 cleared, so error output from successive commands accumulates there. | |
6155 | |
6156 ** Setting the default value of enable-multibyte-characters to nil in | |
6157 the .emacs file, either explicitly using setq-default, or via Custom, | |
6158 is now essentially equivalent to using --unibyte: all buffers | |
6159 created during startup will be made unibyte after loading .emacs. | |
6160 | |
6161 ** C-x C-f now handles the wildcards * and ? in file names. For | |
6162 example, typing C-x C-f c*.c RET visits all the files whose names | |
6163 match c*.c. To visit a file whose name contains * or ?, add the | |
6164 quoting sequence /: to the beginning of the file name. | |
6165 | |
6166 ** The M-x commands keep-lines, flush-lines and count-matches | |
6167 now have the same feature as occur and query-replace: | |
6168 if the pattern contains any upper case letters, then | |
6169 they never ignore case. | |
6170 | |
6171 ** The end-of-line format conversion feature previously mentioned | |
6172 under `* Emacs 20.1 changes for MS-DOS and MS-Windows' actually | |
6173 applies to all operating systems. Emacs recognizes from the contents | |
6174 of a file what convention it uses to separate lines--newline, CRLF, or | |
6175 just CR--and automatically converts the contents to the normal Emacs | |
6176 convention (using newline to separate lines) for editing. This is a | |
6177 part of the general feature of coding system conversion. | |
6178 | |
6179 If you subsequently save the buffer, Emacs converts the text back to | |
6180 the same format that was used in the file before. | |
6181 | |
6182 You can turn off end-of-line conversion by setting the variable | |
6183 `inhibit-eol-conversion' to non-nil, e.g. with Custom in the MULE group. | |
6184 | |
6185 ** The character set property `prefered-coding-system' has been | |
6186 renamed to `preferred-coding-system', for the sake of correct spelling. | |
6187 This is a fairly internal feature, so few programs should be affected. | |
6188 | |
6189 ** Mode-line display of end-of-line format is changed. | |
6190 The indication of the end-of-line format of the file visited by a | |
6191 buffer is now more explicit when that format is not the usual one for | |
6192 your operating system. For example, the DOS-style end-of-line format | |
6193 is displayed as "(DOS)" on Unix and GNU/Linux systems. The usual | |
6194 end-of-line format is still displayed as a single character (colon for | |
6195 Unix, backslash for DOS and Windows, and forward slash for the Mac). | |
6196 | |
6197 The values of the variables eol-mnemonic-unix, eol-mnemonic-dos, | |
6198 eol-mnemonic-mac, and eol-mnemonic-undecided, which are strings, | |
6199 control what is displayed in the mode line for each end-of-line | |
6200 format. You can now customize these variables. | |
6201 | |
6202 ** In the previous version of Emacs, tar-mode didn't work well if a | |
6203 filename contained non-ASCII characters. Now this is fixed. Such a | |
6204 filename is decoded by file-name-coding-system if the default value of | |
6205 enable-multibyte-characters is non-nil. | |
6206 | |
6207 ** The command temp-buffer-resize-mode toggles a minor mode | |
6208 in which temporary buffers (such as help buffers) are given | |
6209 windows just big enough to hold the whole contents. | |
6210 | |
6211 ** If you use completion.el, you must now run the function | |
6212 dynamic-completion-mode to enable it. Just loading the file | |
6213 doesn't have any effect. | |
6214 | |
6215 ** In Flyspell mode, the default is now to make just one Ispell process, | |
6216 not one per buffer. | |
6217 | |
6218 ** If you use iswitchb but do not call (iswitchb-default-keybindings) to | |
6219 use the default keybindings, you will need to add the following line: | |
6220 (add-hook 'minibuffer-setup-hook 'iswitchb-minibuffer-setup) | |
6221 | |
6222 ** Auto-show mode is no longer enabled just by loading auto-show.el. | |
6223 To control it, set `auto-show-mode' via Custom or use the | |
6224 `auto-show-mode' command. | |
6225 | |
6226 ** Handling of X fonts' ascent/descent parameters has been changed to | |
6227 avoid redisplay problems. As a consequence, compared with previous | |
6228 versions the line spacing and frame size now differ with some font | |
6229 choices, typically increasing by a pixel per line. This change | |
6230 occurred in version 20.3 but was not documented then. | |
6231 | |
6232 ** If you select the bar cursor style, it uses the frame's | |
6233 cursor-color, rather than the cursor foreground pixel. | |
6234 | |
6235 ** In multibyte mode, Rmail decodes incoming MIME messages using the | |
6236 character set specified in the message. If you want to disable this | |
6237 feature, set the variable rmail-decode-mime-charset to nil. | |
6238 | |
6239 ** Not new, but not mentioned previously in NEWS: when you use #! at | |
6240 the beginning of a file to make it executable and specify an | |
6241 interpreter program, Emacs looks on the second line for the -*- mode | |
6242 and variable specification, as well as on the first line. | |
6243 | |
6244 ** Support for IBM codepage encoding of non-ASCII characters. | |
6245 | |
6246 The new command M-x codepage-setup creates a special coding system | |
6247 that can be used to convert text between a specific IBM codepage and | |
6248 one of the character sets built into Emacs which matches that | |
6249 codepage. For example, codepage 850 corresponds to Latin-1 character | |
6250 set, codepage 855 corresponds to Cyrillic-ISO character set, etc. | |
6251 | |
6252 Windows codepages 1250, 1251 and some others, where Windows deviates | |
6253 from the corresponding ISO character set, are also supported. | |
6254 | |
6255 IBM box-drawing characters and other glyphs which don't have | |
6256 equivalents in the corresponding ISO character set, are converted to | |
6257 a character defined by dos-unsupported-char-glyph on MS-DOS, and to | |
6258 `?' on other systems. | |
6259 | |
6260 IBM codepages are widely used on MS-DOS and MS-Windows, so this | |
6261 feature is most useful on those platforms, but it can also be used on | |
6262 Unix. | |
6263 | |
6264 Emacs compiled for MS-DOS automatically loads the support for the | |
6265 current codepage when it starts. | |
6266 | |
6267 ** Mail changes | |
6268 | |
6269 *** When mail is sent using compose-mail (C-x m), and if | |
6270 `mail-send-nonascii' is set to the new default value `mime', | |
6271 appropriate MIME headers are added. The headers are added only if | |
6272 non-ASCII characters are present in the body of the mail, and no other | |
6273 MIME headers are already present. For example, the following three | |
6274 headers are added if the coding system used in the *mail* buffer is | |
6275 latin-1: | |
6276 | |
6277 MIME-version: 1.0 | |
6278 Content-type: text/plain; charset=iso-8859-1 | |
6279 Content-Transfer-Encoding: 8bit | |
6280 | |
6281 *** The new variable default-sendmail-coding-system specifies the | |
6282 default way to encode outgoing mail. This has higher priority than | |
6283 default-buffer-file-coding-system but has lower priority than | |
6284 sendmail-coding-system and the local value of | |
6285 buffer-file-coding-system. | |
6286 | |
6287 You should not set this variable manually. Instead, set | |
6288 sendmail-coding-system to specify a fixed encoding for all outgoing | |
6289 mail. | |
6290 | |
6291 *** When you try to send a message that contains non-ASCII characters, | |
6292 if the coding system specified by those variables doesn't handle them, | |
6293 Emacs will ask you to select a suitable coding system while showing a | |
6294 list of possible coding systems. | |
6295 | |
6296 ** CC Mode changes | |
6297 | |
6298 *** c-default-style can now take an association list that maps major | |
6299 modes to style names. When this variable is an alist, Java mode no | |
6300 longer hardcodes a setting to "java" style. See the variable's | |
6301 docstring for details. | |
6302 | |
6303 *** It's now possible to put a list as the offset on a syntactic | |
6304 symbol. The list is evaluated recursively until a non-nil offset is | |
6305 found. This is useful to combine several lineup functions to act in a | |
6306 prioritized order on a single line. However, none of the supplied | |
6307 lineup functions use this feature currently. | |
6308 | |
6309 *** New syntactic symbol catch-clause, which is used on the "catch" and | |
6310 "finally" lines in try-catch constructs in C++ and Java. | |
6311 | |
6312 *** New cleanup brace-catch-brace on c-cleanup-list, which does for | |
6313 "catch" lines what brace-elseif-brace does for "else if" lines. | |
6314 | |
6315 *** The braces of Java anonymous inner classes are treated separately | |
6316 from the braces of other classes in auto-newline mode. Two new | |
6317 symbols inexpr-class-open and inexpr-class-close may be used on | |
6318 c-hanging-braces-alist to control the automatic newlines used for | |
6319 anonymous classes. | |
6320 | |
6321 *** Support for the Pike language added, along with new Pike specific | |
6322 syntactic symbols: inlambda, lambda-intro-cont | |
6323 | |
6324 *** Support for Java anonymous classes via new syntactic symbol | |
6325 inexpr-class. New syntactic symbol inexpr-statement for Pike | |
6326 support and gcc-style statements inside expressions. New lineup | |
6327 function c-lineup-inexpr-block. | |
6328 | |
6329 *** New syntactic symbol brace-entry-open which is used in brace lists | |
6330 (i.e. static initializers) when a list entry starts with an open | |
6331 brace. These used to be recognized as brace-list-entry's. | |
6332 c-electric-brace also recognizes brace-entry-open braces | |
6333 (brace-list-entry's can no longer be electrified). | |
6334 | |
6335 *** New command c-indent-line-or-region, not bound by default. | |
6336 | |
6337 *** `#' is only electric when typed in the indentation of a line. | |
6338 | |
6339 *** Parentheses are now electric (via the new command c-electric-paren) | |
6340 for auto-reindenting lines when parens are typed. | |
6341 | |
6342 *** In "gnu" style, inline-open offset is now set to zero. | |
6343 | |
6344 *** Uniform handling of the inclass syntactic symbol. The indentation | |
6345 associated with it is now always relative to the class opening brace. | |
6346 This means that the indentation behavior has changed in some | |
6347 circumstances, but only if you've put anything besides 0 on the | |
6348 class-open syntactic symbol (none of the default styles do that). | |
6349 | |
6350 ** Gnus changes. | |
6351 | |
6352 *** New functionality for using Gnus as an offline newsreader has been | |
6353 added. A plethora of new commands and modes have been added. See the | |
6354 Gnus manual for the full story. | |
6355 | |
6356 *** The nndraft backend has returned, but works differently than | |
6357 before. All Message buffers are now also articles in the nndraft | |
6358 group, which is created automatically. | |
6359 | |
6360 *** `gnus-alter-header-function' can now be used to alter header | |
6361 values. | |
6362 | |
6363 *** `gnus-summary-goto-article' now accept Message-ID's. | |
6364 | |
6365 *** A new Message command for deleting text in the body of a message | |
6366 outside the region: `C-c C-v'. | |
6367 | |
6368 *** You can now post to component group in nnvirtual groups with | |
6369 `C-u C-c C-c'. | |
6370 | |
6371 *** `nntp-rlogin-program' -- new variable to ease customization. | |
6372 | |
6373 *** `C-u C-c C-c' in `gnus-article-edit-mode' will now inhibit | |
6374 re-highlighting of the article buffer. | |
6375 | |
6376 *** New element in `gnus-boring-article-headers' -- `long-to'. | |
6377 | |
6378 *** `M-i' symbolic prefix command. See the section "Symbolic | |
6379 Prefixes" in the Gnus manual for details. | |
6380 | |
6381 *** `L' and `I' in the summary buffer now take the symbolic prefix | |
6382 `a' to add the score rule to the "all.SCORE" file. | |
6383 | |
6384 *** `gnus-simplify-subject-functions' variable to allow greater | |
6385 control over simplification. | |
6386 | |
6387 *** `A T' -- new command for fetching the current thread. | |
6388 | |
6389 *** `/ T' -- new command for including the current thread in the | |
6390 limit. | |
6391 | |
6392 *** `M-RET' is a new Message command for breaking cited text. | |
6393 | |
6394 *** \\1-expressions are now valid in `nnmail-split-methods'. | |
6395 | |
6396 *** The `custom-face-lookup' function has been removed. | |
6397 If you used this function in your initialization files, you must | |
6398 rewrite them to use `face-spec-set' instead. | |
6399 | |
35680 | 6400 *** Canceling now uses the current select method. Symbolic prefix |
30922 | 6401 `a' forces normal posting method. |
6402 | |
6403 *** New command to translate M******** sm*rtq**t*s into proper text | |
6404 -- `W d'. | |
6405 | |
6406 *** For easier debugging of nntp, you can set `nntp-record-commands' | |
6407 to a non-nil value. | |
6408 | |
6409 *** nntp now uses ~/.authinfo, a .netrc-like file, for controlling | |
6410 where and how to send AUTHINFO to NNTP servers. | |
6411 | |
6412 *** A command for editing group parameters from the summary buffer | |
6413 has been added. | |
6414 | |
6415 *** A history of where mails have been split is available. | |
6416 | |
6417 *** A new article date command has been added -- `article-date-iso8601'. | |
6418 | |
6419 *** Subjects can be simplified when threading by setting | |
6420 `gnus-score-thread-simplify'. | |
6421 | |
6422 *** A new function for citing in Message has been added -- | |
6423 `message-cite-original-without-signature'. | |
6424 | |
6425 *** `article-strip-all-blank-lines' -- new article command. | |
6426 | |
6427 *** A new Message command to kill to the end of the article has | |
6428 been added. | |
6429 | |
6430 *** A minimum adaptive score can be specified by using the | |
6431 `gnus-adaptive-word-minimum' variable. | |
6432 | |
6433 *** The "lapsed date" article header can be kept continually | |
6434 updated by the `gnus-start-date-timer' command. | |
6435 | |
6436 *** Web listserv archives can be read with the nnlistserv backend. | |
6437 | |
6438 *** Old dejanews archives can now be read by nnweb. | |
6439 | |
6440 *** `gnus-posting-styles' has been re-activated. | |
6441 | |
6442 ** Changes to TeX and LaTeX mode | |
6443 | |
6444 *** The new variable `tex-start-options-string' can be used to give | |
6445 options for the TeX run. The default value causes TeX to run in | |
6446 nonstopmode. For an interactive TeX run set it to nil or "". | |
6447 | |
6448 *** The command `tex-feed-input' sends input to the Tex Shell. In a | |
6449 TeX buffer it is bound to the keys C-RET, C-c RET, and C-c C-m (some | |
6450 of these keys may not work on all systems). For instance, if you run | |
6451 TeX interactively and if the TeX run stops because of an error, you | |
6452 can continue it without leaving the TeX buffer by typing C-RET. | |
6453 | |
6454 *** The Tex Shell Buffer is now in `compilation-shell-minor-mode'. | |
6455 All error-parsing commands of the Compilation major mode are available | |
6456 but bound to keys that don't collide with the shell. Thus you can use | |
6457 the Tex Shell for command line executions like a usual shell. | |
6458 | |
6459 *** The commands `tex-validate-region' and `tex-validate-buffer' check | |
6460 the matching of braces and $'s. The errors are listed in a *Occur* | |
6461 buffer and you can use C-c C-c or mouse-2 to go to a particular | |
6462 mismatch. | |
6463 | |
6464 ** Changes to RefTeX mode | |
6465 | |
6466 *** The table of contents buffer can now also display labels and | |
6467 file boundaries in addition to sections. Use `l', `i', and `c' keys. | |
6468 | |
6469 *** Labels derived from context (the section heading) are now | |
6470 lowercase by default. To make the label legal in LaTeX, latin-1 | |
6471 characters will lose their accent. All Mule characters will be | |
6472 removed from the label. | |
6473 | |
6474 *** The automatic display of cross reference information can also use | |
6475 a window instead of the echo area. See variable `reftex-auto-view-crossref'. | |
6476 | |
6477 *** kpsewhich can be used by RefTeX to find TeX and BibTeX files. See the | |
6478 customization group `reftex-finding-files'. | |
6479 | |
6480 *** The option `reftex-bibfile-ignore-list' has been renamed to | |
6481 `reftex-bibfile-ignore-regexps' and indeed can be fed with regular | |
6482 expressions. | |
6483 | |
6484 *** Multiple Selection buffers are now hidden buffers. | |
6485 | |
6486 ** New/deleted modes and packages | |
6487 | |
6488 *** The package snmp-mode.el provides major modes for editing SNMP and | |
6489 SNMPv2 MIBs. It has entries on `auto-mode-alist'. | |
6490 | |
6491 *** The package sql.el provides a major mode, M-x sql-mode, for | |
6492 editing SQL files, and M-x sql-interactive-mode for interacting with | |
6493 SQL interpreters. It has an entry on `auto-mode-alist'. | |
6494 | |
6495 *** M-x highlight-changes-mode provides a minor mode displaying buffer | |
6496 changes with a special face. | |
6497 | |
6498 *** ispell4.el has been deleted. It got in the way of ispell.el and | |
6499 this was hard to fix reliably. It has long been obsolete -- use | |
6500 Ispell 3.1 and ispell.el. | |
35577
db5649648a65
Replace formfeeds removed on 2001/01/22.
Dave Love <fx@gnu.org>
parents:
35567
diff
changeset
|
6501 |
30922 | 6502 * MS-DOS changes in Emacs 20.4 |
6503 | |
6504 ** Emacs compiled for MS-DOS now supports MULE features better. | |
6505 This includes support for display of all ISO 8859-N character sets, | |
6506 conversion to and from IBM codepage encoding of non-ASCII characters, | |
6507 and automatic setup of the MULE environment at startup. For details, | |
6508 check out the section `MS-DOS and MULE' in the manual. | |
6509 | |
6510 The MS-DOS installation procedure automatically configures and builds | |
6511 Emacs with input method support if it finds an unpacked Leim | |
6512 distribution when the config.bat script is run. | |
6513 | |
6514 ** Formerly, the value of lpr-command did not affect printing on | |
6515 MS-DOS unless print-region-function was set to nil, but now it | |
6516 controls whether an external program is invoked or output is written | |
6517 directly to a printer port. Similarly, in the previous version of | |
6518 Emacs, the value of ps-lpr-command did not affect PostScript printing | |
6519 on MS-DOS unless ps-printer-name was set to something other than a | |
6520 string (eg. t or `pipe'), but now it controls whether an external | |
6521 program is used. (These changes were made so that configuration of | |
6522 printing variables would be almost identical across all platforms.) | |
6523 | |
6524 ** In the previous version of Emacs, PostScript and non-PostScript | |
6525 output was piped to external programs, but because most print programs | |
6526 available for MS-DOS and MS-Windows cannot read data from their standard | |
6527 input, on those systems the data to be output is now written to a | |
6528 temporary file whose name is passed as the last argument to the external | |
6529 program. | |
6530 | |
6531 An exception is made for `print', a standard program on Windows NT, | |
6532 and `nprint', a standard program on Novell Netware. For both of these | |
6533 programs, the command line is constructed in the appropriate syntax | |
6534 automatically, using only the value of printer-name or ps-printer-name | |
6535 as appropriate--the value of the relevant `-switches' variable is | |
6536 ignored, as both programs have no useful switches. | |
6537 | |
6538 ** The value of the variable dos-printer (cf. dos-ps-printer), if it has | |
6539 a value, overrides the value of printer-name (cf. ps-printer-name), on | |
6540 MS-DOS and MS-Windows only. This has been true since version 20.3, but | |
6541 was not documented clearly before. | |
6542 | |
6543 ** All the Emacs games now work on MS-DOS terminals. | |
6544 This includes Tetris and Snake. | |
35577
db5649648a65
Replace formfeeds removed on 2001/01/22.
Dave Love <fx@gnu.org>
parents:
35567
diff
changeset
|
6545 |
30922 | 6546 * Lisp changes in Emacs 20.4 |
6547 | |
6548 ** New functions line-beginning-position and line-end-position | |
6549 return the position of the beginning or end of the current line. | |
6550 They both accept an optional argument, which has the same | |
6551 meaning as the argument to beginning-of-line or end-of-line. | |
6552 | |
6553 ** find-file and allied functions now have an optional argument | |
6554 WILDCARD. If this is non-nil, they do wildcard processing, | |
6555 and visit all files that match the wildcard pattern. | |
6556 | |
6557 ** Changes in the file-attributes function. | |
6558 | |
6559 *** The file size returned by file-attributes may be an integer or a float. | |
6560 It is an integer if the size fits in a Lisp integer, float otherwise. | |
6561 | |
6562 *** The inode number returned by file-attributes may be an integer (if | |
6563 the number fits in a Lisp integer) or a cons cell containing two | |
6564 integers. | |
6565 | |
6566 ** The new function directory-files-and-attributes returns a list of | |
6567 files in a directory and their attributes. It accepts the same | |
6568 arguments as directory-files and has similar semantics, except that | |
6569 file names and attributes are returned. | |
6570 | |
6571 ** The new function file-attributes-lessp is a helper function for | |
6572 sorting the list generated by directory-files-and-attributes. It | |
35680 | 6573 accepts two arguments, each a list of a file name and its attributes. |
30922 | 6574 It compares the file names of each according to string-lessp and |
6575 returns the result. | |
6576 | |
6577 ** The new function file-expand-wildcards expands a wildcard-pattern | |
6578 to produce a list of existing files that match the pattern. | |
6579 | |
6580 ** New functions for base64 conversion: | |
6581 | |
6582 The function base64-encode-region converts a part of the buffer | |
6583 into the base64 code used in MIME. base64-decode-region | |
6584 performs the opposite conversion. Line-breaking is supported | |
6585 optionally. | |
6586 | |
6587 Functions base64-encode-string and base64-decode-string do a similar | |
6588 job on the text in a string. They return the value as a new string. | |
6589 | |
6590 ** | |
6591 The new function process-running-child-p | |
6592 will tell you if a subprocess has given control of its | |
6593 terminal to its own child process. | |
6594 | |
6595 ** interrupt-process and such functions have a new feature: | |
6596 when the second argument is `lambda', they send a signal | |
6597 to the running child of the subshell, if any, but if the shell | |
6598 itself owns its terminal, no signal is sent. | |
6599 | |
6600 ** There are new widget types `plist' and `alist' which can | |
6601 be used for customizing variables whose values are plists or alists. | |
6602 | |
42974 | 6603 ** easymenu.el now understands `:key-sequence' and `:style button'. |
30922 | 6604 :included is an alias for :visible. |
6605 | |
6606 easy-menu-add-item now understands the values returned by | |
6607 easy-menu-remove-item and easy-menu-item-present-p. This can be used | |
6608 to move or copy menu entries. | |
6609 | |
6610 ** Multibyte editing changes | |
6611 | |
6612 *** The definitions of sref and char-bytes are changed. Now, sref is | |
6613 an alias of aref and char-bytes always returns 1. This change is to | |
6614 make some Emacs Lisp code which works on 20.2 and earlier also | |
6615 work on the latest Emacs. Such code uses a combination of sref and | |
6616 char-bytes in a loop typically as below: | |
6617 (setq char (sref str idx) | |
6618 idx (+ idx (char-bytes idx))) | |
6619 The byte-compiler now warns that this is obsolete. | |
6620 | |
6621 If you want to know how many bytes a specific multibyte character | |
6622 (say, CH) occupies in a multibyte buffer, use this code: | |
6623 (charset-bytes (char-charset ch)) | |
6624 | |
6625 *** In multibyte mode, when you narrow a buffer to some region, and the | |
6626 region is preceded or followed by non-ASCII codes, inserting or | |
6627 deleting at the head or the end of the region may signal this error: | |
6628 | |
35680 | 6629 Byte combining across boundary of accessible buffer text inhibited |
30922 | 6630 |
6631 This is to avoid some bytes being combined together into a character | |
6632 across the boundary. | |
6633 | |
6634 *** The functions find-charset-region and find-charset-string include | |
6635 `unknown' in the returned list in the following cases: | |
6636 o The current buffer or the target string is unibyte and | |
6637 contains 8-bit characters. | |
6638 o The current buffer or the target string is multibyte and | |
6639 contains invalid characters. | |
6640 | |
6641 *** The functions decode-coding-region and encode-coding-region remove | |
6642 text properties of the target region. Ideally, they should correctly | |
6643 preserve text properties, but for the moment, it's hard. Removing | |
6644 text properties is better than preserving them in a less-than-correct | |
6645 way. | |
6646 | |
6647 *** prefer-coding-system sets EOL conversion of default coding systems. | |
6648 If the argument to prefer-coding-system specifies a certain type of | |
6649 end of line conversion, the default coding systems set by | |
6650 prefer-coding-system will specify that conversion type for end of line. | |
6651 | |
6652 *** The new function thai-compose-string can be used to properly | |
6653 compose Thai characters in a string. | |
6654 | |
6655 ** The primitive `define-prefix-command' now takes an optional third | |
6656 argument NAME, which should be a string. It supplies the menu name | |
6657 for the created keymap. Keymaps created in order to be displayed as | |
6658 menus should always use the third argument. | |
6659 | |
6660 ** The meanings of optional second arguments for read-char, | |
6661 read-event, and read-char-exclusive are flipped. Now the second | |
6662 arguments are INHERIT-INPUT-METHOD. These functions use the current | |
6663 input method (if any) if and only if INHERIT-INPUT-METHOD is non-nil. | |
6664 | |
6665 ** The new function clear-this-command-keys empties out the contents | |
6666 of the vector that (this-command-keys) returns. This is useful in | |
6667 programs that read passwords, to prevent the passwords from echoing | |
6668 inadvertently as part of the next command in certain cases. | |
6669 | |
6670 ** The new macro `with-temp-message' displays a temporary message in | |
6671 the echo area, while executing some Lisp code. Like `progn', it | |
6672 returns the value of the last form, but it also restores the previous | |
6673 echo area contents. | |
6674 | |
6675 (with-temp-message MESSAGE &rest BODY) | |
6676 | |
6677 ** The function `require' now takes an optional third argument | |
6678 NOERROR. If it is non-nil, then there is no error if the | |
6679 requested feature cannot be loaded. | |
6680 | |
6681 ** In the function modify-face, an argument of (nil) for the | |
6682 foreground color, background color or stipple pattern | |
6683 means to clear out that attribute. | |
6684 | |
6685 ** The `outer-window-id' frame property of an X frame | |
6686 gives the window number of the outermost X window for the frame. | |
6687 | |
6688 ** Temporary buffers made with with-output-to-temp-buffer are now | |
6689 read-only by default, and normally use the major mode Help mode | |
6690 unless you put them in some other non-Fundamental mode before the | |
6691 end of with-output-to-temp-buffer. | |
6692 | |
6693 ** The new functions gap-position and gap-size return information on | |
6694 the gap of the current buffer. | |
6695 | |
6696 ** The new functions position-bytes and byte-to-position provide a way | |
6697 to convert between character positions and byte positions in the | |
6698 current buffer. | |
6699 | |
6700 ** vc.el defines two new macros, `edit-vc-file' and `with-vc-file', to | |
6701 facilitate working with version-controlled files from Lisp programs. | |
6702 These macros check out a given file automatically if needed, and check | |
6703 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
|
6704 |
30922 | 6705 * Installation Changes in Emacs 20.3 |
6706 | |
6707 ** The default value of load-path now includes most subdirectories of | |
6708 the site-specific directories /usr/local/share/emacs/site-lisp and | |
6709 /usr/local/share/emacs/VERSION/site-lisp, in addition to those | |
6710 directories themselves. Both immediate subdirectories and | |
6711 subdirectories multiple levels down are added to load-path. | |
6712 | |
6713 Not all subdirectories are included, though. Subdirectories whose | |
6714 names do not start with a letter or digit are excluded. | |
6715 Subdirectories named RCS or CVS are excluded. Also, a subdirectory | |
6716 which contains a file named `.nosearch' is excluded. You can use | |
6717 these methods to prevent certain subdirectories from being searched. | |
6718 | |
6719 Emacs finds these subdirectories and adds them to load-path when it | |
6720 starts up. While it would be cleaner to find the subdirectories each | |
6721 time Emacs loads a file, that would be much slower. | |
6722 | |
6723 This feature is an incompatible change. If you have stored some Emacs | |
6724 Lisp files in a subdirectory of the site-lisp directory specifically | |
6725 to prevent them from being used, you will need to rename the | |
6726 subdirectory to start with a non-alphanumeric character, or create a | |
6727 `.nosearch' file in it, in order to continue to achieve the desired | |
6728 results. | |
6729 | |
6730 ** Emacs no longer includes an old version of the C preprocessor from | |
6731 GCC. This was formerly used to help compile Emacs with C compilers | |
6732 that had limits on the significant length of an identifier, but in | |
6733 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
|
6734 |
30922 | 6735 * Changes in Emacs 20.3 |
6736 | |
6737 ** The new command C-x z (repeat) repeats the previous command | |
6738 including its argument. If you repeat the z afterward, | |
6739 it repeats the command additional times; thus, you can | |
6740 perform many repetitions with one keystroke per repetition. | |
6741 | |
6742 ** Emacs now supports "selective undo" which undoes only within a | |
6743 specified region. To do this, set point and mark around the desired | |
6744 region and type C-u C-x u (or C-u C-_). You can then continue undoing | |
6745 further, within the same region, by repeating the ordinary undo | |
6746 command C-x u or C-_. This will keep undoing changes that were made | |
6747 within the region you originally specified, until either all of them | |
6748 are undone, or it encounters a change which crosses the edge of that | |
6749 region. | |
6750 | |
6751 In Transient Mark mode, undoing when a region is active requests | |
6752 selective undo. | |
6753 | |
6754 ** If you specify --unibyte when starting Emacs, then all buffers are | |
6755 unibyte, except when a Lisp program specifically creates a multibyte | |
6756 buffer. Setting the environment variable EMACS_UNIBYTE has the same | |
6757 effect. The --no-unibyte option overrides EMACS_UNIBYTE and directs | |
6758 Emacs to run normally in multibyte mode. | |
6759 | |
6760 The option --unibyte does not affect the reading of Emacs Lisp files, | |
6761 though. If you want a Lisp file to be read in unibyte mode, use | |
6762 -*-unibyte: t;-*- on its first line. That will force Emacs to | |
6763 load that file in unibyte mode, regardless of how Emacs was started. | |
6764 | |
6765 ** toggle-enable-multibyte-characters no longer has a key binding and | |
6766 no longer appears in the menu bar. We've realized that changing the | |
6767 enable-multibyte-characters variable in an existing buffer is | |
6768 something that most users not do. | |
6769 | |
6770 ** You can specify a coding system to use for the next cut or paste | |
6771 operations through the window system with the command C-x RET X. | |
6772 The coding system can make a difference for communication with other | |
6773 applications. | |
6774 | |
6775 C-x RET x specifies a coding system for all subsequent cutting and | |
6776 pasting operations. | |
6777 | |
6778 ** You can specify the printer to use for commands that do printing by | |
6779 setting the variable `printer-name'. Just what a printer name looks | |
6780 like depends on your operating system. You can specify a different | |
6781 printer for the Postscript printing commands by setting | |
6782 `ps-printer-name'. | |
6783 | |
6784 ** Emacs now supports on-the-fly spell checking by the means of a | |
6785 minor mode. It is called M-x flyspell-mode. You don't have to remember | |
6786 any other special commands to use it, and you will hardly notice it | |
6787 except when you make a spelling error. Flyspell works by highlighting | |
6788 incorrect words as soon as they are completed or as soon as the cursor | |
6789 hits a new word. | |
6790 | |
6791 Flyspell mode works with whichever dictionary you have selected for | |
6792 Ispell in Emacs. In TeX mode, it understands TeX syntax so as not | |
6793 to be confused by TeX commands. | |
6794 | |
6795 You can correct a misspelled word by editing it into something | |
6796 correct. You can also correct it, or accept it as correct, by | |
6797 clicking on the word with Mouse-2; that gives you a pop-up menu | |
6798 of various alternative replacements and actions. | |
6799 | |
6800 Flyspell mode also proposes "automatic" corrections. M-TAB replaces | |
6801 the current misspelled word with a possible correction. If several | |
6802 corrections are made possible, M-TAB cycles through them in | |
6803 alphabetical order, or in order of decreasing likelihood if | |
6804 flyspell-sort-corrections is nil. | |
6805 | |
6806 Flyspell mode also flags an error when a word is repeated, if | |
6807 flyspell-mark-duplications-flag is non-nil. | |
6808 | |
6809 ** Changes in input method usage. | |
6810 | |
6811 Now you can use arrow keys (right, left, down, up) for selecting among | |
6812 the alternatives just the same way as you do by C-f, C-b, C-n, and C-p | |
6813 respectively. | |
6814 | |
6815 You can use the ENTER key to accept the current conversion. | |
6816 | |
6817 If you type TAB to display a list of alternatives, you can select one | |
6818 of the alternatives with Mouse-2. | |
6819 | |
6820 The meaning of the variable `input-method-verbose-flag' is changed so | |
6821 that you can set it to t, nil, `default', or `complex-only'. | |
6822 | |
6823 If the value is nil, extra guidance is never given. | |
6824 | |
6825 If the value is t, extra guidance is always given. | |
6826 | |
6827 If the value is `complex-only', extra guidance is always given only | |
6828 when you are using complex input methods such as chinese-py. | |
6829 | |
6830 If the value is `default' (this is the default), extra guidance is | |
6831 given in the following case: | |
6832 o When you are using a complex input method. | |
6833 o When you are using a simple input method but not in the minibuffer. | |
6834 | |
6835 If you are using Emacs through a very slow line, setting | |
6836 input-method-verbose-flag to nil or to complex-only is a good choice, | |
6837 and if you are using an input method you are not familiar with, | |
6838 setting it to t is helpful. | |
6839 | |
6840 The old command select-input-method is now called set-input-method. | |
6841 | |
6842 In the language environment "Korean", you can use the following | |
6843 keys: | |
6844 Shift-SPC toggle-korean-input-method | |
6845 C-F9 quail-hangul-switch-symbol-ksc | |
6846 F9 quail-hangul-switch-hanja | |
6847 These key bindings are canceled when you switch to another language | |
6848 environment. | |
6849 | |
6850 ** The minibuffer history of file names now records the specified file | |
6851 names, not the entire minibuffer input. For example, if the | |
6852 minibuffer starts out with /usr/foo/, you might type in /etc/passwd to | |
6853 get | |
6854 | |
6855 /usr/foo//etc/passwd | |
6856 | |
6857 which stands for the file /etc/passwd. | |
6858 | |
6859 Formerly, this used to put /usr/foo//etc/passwd in the history list. | |
6860 Now this puts just /etc/passwd in the history list. | |
6861 | |
6862 ** If you are root, Emacs sets backup-by-copying-when-mismatch to t | |
6863 at startup, so that saving a file will be sure to preserve | |
6864 its owner and group. | |
6865 | |
6866 ** find-func.el can now also find the place of definition of Emacs | |
6867 Lisp variables in user-loaded libraries. | |
6868 | |
6869 ** C-x r t (string-rectangle) now deletes the existing rectangle | |
6870 contents before inserting the specified string on each line. | |
6871 | |
6872 ** There is a new command delete-whitespace-rectangle | |
6873 which deletes whitespace starting from a particular column | |
6874 in all the lines on a rectangle. The column is specified | |
6875 by the left edge of the rectangle. | |
6876 | |
6877 ** You can now store a number into a register with C-u NUMBER C-x r n REG, | |
6878 increment it by INC with C-u INC C-x r + REG (to increment by one, omit | |
6879 C-u INC), and insert it in the buffer with C-x r g REG. This is useful | |
6880 for writing keyboard macros. | |
6881 | |
6882 ** The new command M-x speedbar displays a frame in which directories, | |
6883 files, and tags can be displayed, manipulated, and jumped to. The | |
6884 frame defaults to 20 characters in width, and is the same height as | |
6885 the frame that it was started from. Some major modes define | |
6886 additional commands for the speedbar, including Rmail, GUD/GDB, and | |
6887 info. | |
6888 | |
6889 ** query-replace-regexp is now bound to C-M-%. | |
6890 | |
6891 ** In Transient Mark mode, when the region is active, M-x | |
6892 query-replace and the other replace commands now operate on the region | |
6893 contents only. | |
6894 | |
6895 ** M-x write-region, when used interactively, now asks for | |
6896 confirmation before overwriting an existing file. When you call | |
6897 the function from a Lisp program, a new optional argument CONFIRM | |
6898 says whether to ask for confirmation in this case. | |
6899 | |
6900 ** If you use find-file-literally and the file is already visited | |
6901 non-literally, the command asks you whether to revisit the file | |
6902 literally. If you say no, it signals an error. | |
6903 | |
6904 ** Major modes defined with the "derived mode" feature | |
6905 now use the proper name for the mode hook: WHATEVER-mode-hook. | |
6906 Formerly they used the name WHATEVER-mode-hooks, but that is | |
6907 inconsistent with Emacs conventions. | |
6908 | |
6909 ** shell-command-on-region (and shell-command) reports success or | |
6910 failure if the command produces no output. | |
6911 | |
6912 ** Set focus-follows-mouse to nil if your window system or window | |
6913 manager does not transfer focus to another window when you just move | |
6914 the mouse. | |
6915 | |
6916 ** mouse-menu-buffer-maxlen has been renamed to | |
6917 mouse-buffer-menu-maxlen to be consistent with the other related | |
6918 function and variable names. | |
6919 | |
6920 ** The new variable auto-coding-alist specifies coding systems for | |
6921 reading specific files. This has higher priority than | |
6922 file-coding-system-alist. | |
6923 | |
6924 ** If you set the variable unibyte-display-via-language-environment to | |
6925 t, then Emacs displays non-ASCII characters are displayed by | |
6926 converting them to the equivalent multibyte characters according to | |
6927 the current language environment. As a result, they are displayed | |
6928 according to the current fontset. | |
6929 | |
6930 ** C-q's handling of codes in the range 0200 through 0377 is changed. | |
6931 | |
6932 The codes in the range 0200 through 0237 are inserted as one byte of | |
6933 that code regardless of the values of nonascii-translation-table and | |
6934 nonascii-insert-offset. | |
6935 | |
6936 For the codes in the range 0240 through 0377, if | |
6937 enable-multibyte-characters is non-nil and nonascii-translation-table | |
6938 nor nonascii-insert-offset can't convert them to valid multibyte | |
6939 characters, they are converted to Latin-1 characters. | |
6940 | |
6941 ** If you try to find a file that is not read-accessible, you now get | |
6942 an error, rather than an empty buffer and a warning. | |
6943 | |
6944 ** In the minibuffer history commands M-r and M-s, an upper case | |
6945 letter in the regular expression forces case-sensitive search. | |
6946 | |
6947 ** In the *Help* buffer, cross-references to commands and variables | |
6948 are inferred and hyperlinked. Use C-h m in Help mode for the relevant | |
6949 command keys. | |
6950 | |
6951 ** M-x apropos-command, with a prefix argument, no longer looks for | |
6952 user option variables--instead it looks for noninteractive functions. | |
6953 | |
6954 Meanwhile, the command apropos-variable normally searches for | |
6955 user option variables; with a prefix argument, it looks at | |
6956 all variables that have documentation. | |
6957 | |
6958 ** When you type a long line in the minibuffer, and the minibuffer | |
6959 shows just one line, automatically scrolling works in a special way | |
6960 that shows you overlap with the previous line of text. The variable | |
6961 minibuffer-scroll-overlap controls how many characters of overlap | |
6962 it should show; the default is 20. | |
6963 | |
6964 Meanwhile, Resize Minibuffer mode is still available; in that mode, | |
6965 the minibuffer grows taller (up to a point) as needed to show the whole | |
6966 of your input. | |
6967 | |
6968 ** The new command M-x customize-changed-options lets you customize | |
6969 all the options whose meanings or default values have changed in | |
6970 recent Emacs versions. You specify a previous Emacs version number as | |
6971 argument, and the command creates a customization buffer showing all | |
6972 the customizable options which were changed since that version. | |
6973 Newly added options are included as well. | |
6974 | |
6975 If you don't specify a particular version number argument, | |
6976 then the customization buffer shows all the customizable options | |
6977 for which Emacs versions of changes are recorded. | |
6978 | |
6979 This function is also bound to the Changed Options entry in the | |
6980 Customize menu. | |
6981 | |
6982 ** When you run M-x grep with a prefix argument, it figures out | |
6983 the tag around point and puts that into the default grep command. | |
6984 | |
6985 ** The new command M-* (pop-tag-mark) pops back through a history of | |
6986 buffer positions from which M-. or other tag-finding commands were | |
6987 invoked. | |
6988 | |
6989 ** The new variable comment-padding specifies the number of spaces | |
6990 that `comment-region' will insert before the actual text of the comment. | |
6991 The default is 1. | |
6992 | |
6993 ** In Fortran mode the characters `.', `_' and `$' now have symbol | |
6994 syntax, not word syntax. Fortran mode now supports `imenu' and has | |
6995 new commands fortran-join-line (M-^) and fortran-narrow-to-subprogram | |
6996 (C-x n d). M-q can be used to fill a statement or comment block | |
6997 sensibly. | |
6998 | |
6999 ** GUD now supports jdb, the Java debugger, and pdb, the Python debugger. | |
7000 | |
7001 ** If you set the variable add-log-keep-changes-together to a non-nil | |
7002 value, the command `C-x 4 a' will automatically notice when you make | |
7003 two entries in one day for one file, and combine them. | |
7004 | |
7005 ** You can use the command M-x diary-mail-entries to mail yourself a | |
7006 reminder about upcoming diary entries. See the documentation string | |
7007 for a sample shell script for calling this function automatically | |
7008 every night. | |
7009 | |
7010 ** Desktop changes | |
7011 | |
7012 *** All you need to do to enable use of the Desktop package, is to set | |
7013 the variable desktop-enable to t with Custom. | |
7014 | |
7015 *** Minor modes are now restored. Which minor modes are restored | |
7016 and how modes are restored is controlled by `desktop-minor-mode-table'. | |
7017 | |
7018 ** There is no need to do anything special, now, to enable Gnus to | |
7019 read and post multi-lingual articles. | |
7020 | |
7021 ** Outline mode has now support for showing hidden outlines when | |
7022 doing an isearch. In order for this to happen search-invisible should | |
7023 be set to open (the default). If an isearch match is inside a hidden | |
7024 outline the outline is made visible. If you continue pressing C-s and | |
7025 the match moves outside the formerly invisible outline, the outline is | |
7026 made invisible again. | |
7027 | |
7028 ** Mail reading and sending changes | |
7029 | |
7030 *** The Rmail e command now switches to displaying the whole header of | |
7031 the message before it lets you edit the message. This is so that any | |
7032 changes you make in the header will not be lost if you subsequently | |
7033 toggle. | |
7034 | |
7035 *** The w command in Rmail, which writes the message body into a file, | |
7036 now works in the summary buffer as well. (The command to delete the | |
7037 summary buffer is now Q.) The default file name for the w command, if | |
7038 the message has no subject, is stored in the variable | |
7039 rmail-default-body-file. | |
7040 | |
7041 *** Most of the commands and modes that operate on mail and netnews no | |
7042 longer depend on the value of mail-header-separator. Instead, they | |
7043 handle whatever separator the buffer happens to use. | |
7044 | |
7045 *** If you set mail-signature to a value which is not t, nil, or a string, | |
7046 it should be an expression. When you send a message, this expression | |
7047 is evaluated to insert the signature. | |
7048 | |
7049 *** The new Lisp library feedmail.el (version 8) enhances processing of | |
7050 outbound email messages. It works in coordination with other email | |
7051 handling packages (e.g., rmail, VM, gnus) and is responsible for | |
7052 putting final touches on messages and actually submitting them for | |
7053 transmission. Users of the emacs program "fakemail" might be | |
7054 especially interested in trying feedmail. | |
7055 | |
7056 feedmail is not enabled by default. See comments at the top of | |
7057 feedmail.el for set-up instructions. Among the bigger features | |
7058 provided by feedmail are: | |
7059 | |
7060 **** you can park outgoing messages into a disk-based queue and | |
7061 stimulate sending some or all of them later (handy for laptop users); | |
7062 there is also a queue for draft messages | |
7063 | |
7064 **** you can get one last look at the prepped outbound message and | |
7065 be prompted for confirmation | |
7066 | |
7067 **** does smart filling of address headers | |
7068 | |
7069 **** can generate a MESSAGE-ID: line and a DATE: line; the date can be | |
7070 the time the message was written or the time it is being sent; this | |
7071 can make FCC copies more closely resemble copies that recipients get | |
7072 | |
7073 **** you can specify an arbitrary function for actually transmitting | |
7074 the message; included in feedmail are interfaces for /bin/[r]mail, | |
7075 /usr/lib/sendmail, and elisp smtpmail; it's easy to write a new | |
7076 function for something else (10-20 lines of elisp) | |
7077 | |
7078 ** Dired changes | |
7079 | |
7080 *** The Dired function dired-do-toggle, which toggles marked and unmarked | |
7081 files, is now bound to "t" instead of "T". | |
7082 | |
7083 *** dired-at-point has been added to ffap.el. It allows one to easily | |
7084 run Dired on the directory name at point. | |
7085 | |
7086 *** Dired has a new command: %g. It searches the contents of | |
7087 files in the directory and marks each file that contains a match | |
7088 for a specified regexp. | |
7089 | |
7090 ** VC Changes | |
7091 | |
7092 *** New option vc-ignore-vc-files lets you turn off version control | |
7093 conveniently. | |
7094 | |
7095 *** VC Dired has been completely rewritten. It is now much | |
7096 faster, especially for CVS, and works very similar to ordinary | |
7097 Dired. | |
7098 | |
7099 VC Dired is invoked by typing C-x v d and entering the name of the | |
7100 directory to display. By default, VC Dired gives you a recursive | |
7101 listing of all files at or below the given directory which are | |
7102 currently locked (for CVS, all files not up-to-date are shown). | |
7103 | |
7104 You can change the listing format by setting vc-dired-recurse to nil, | |
7105 then it shows only the given directory, and you may also set | |
7106 vc-dired-terse-display to nil, then it shows all files under version | |
7107 control plus the names of any subdirectories, so that you can type `i' | |
7108 on such lines to insert them manually, as in ordinary Dired. | |
7109 | |
7110 All Dired commands operate normally in VC Dired, except for `v', which | |
7111 is redefined as the version control prefix. That means you may type | |
7112 `v l', `v =' etc. to invoke `vc-print-log', `vc-diff' and the like on | |
7113 the file named in the current Dired buffer line. `v v' invokes | |
7114 `vc-next-action' on this file, or on all files currently marked. | |
7115 | |
7116 The new command `v t' (vc-dired-toggle-terse-mode) allows you to | |
7117 toggle between terse display (only locked files) and full display (all | |
7118 VC files plus subdirectories). There is also a special command, | |
7119 `* l', to mark all files currently locked. | |
7120 | |
7121 Giving a prefix argument to C-x v d now does the same thing as in | |
7122 ordinary Dired: it allows you to supply additional options for the ls | |
7123 command in the minibuffer, to fine-tune VC Dired's output. | |
7124 | |
7125 *** Under CVS, if you merge changes from the repository into a working | |
7126 file, and CVS detects conflicts, VC now offers to start an ediff | |
7127 session to resolve them. | |
7128 | |
7129 Alternatively, you can use the new command `vc-resolve-conflicts' to | |
7130 resolve conflicts in a file at any time. It works in any buffer that | |
7131 contains conflict markers as generated by rcsmerge (which is what CVS | |
7132 uses as well). | |
7133 | |
7134 *** You can now transfer changes between branches, using the new | |
7135 command vc-merge (C-x v m). It is implemented for RCS and CVS. When | |
7136 you invoke it in a buffer under version-control, you can specify | |
7137 either an entire branch or a pair of versions, and the changes on that | |
7138 branch or between the two versions are merged into the working file. | |
7139 If this results in any conflicts, they may be resolved interactively, | |
7140 using ediff. | |
7141 | |
7142 ** Changes in Font Lock | |
7143 | |
7144 *** The face and variable previously known as font-lock-reference-face | |
7145 are now called font-lock-constant-face to better reflect their typical | |
7146 use for highlighting constants and labels. (Its face properties are | |
7147 unchanged.) The variable font-lock-reference-face remains for now for | |
7148 compatibility reasons, but its value is font-lock-constant-face. | |
7149 | |
7150 ** Frame name display changes | |
7151 | |
7152 *** The command set-frame-name lets you set the name of the current | |
7153 frame. You can use the new command select-frame-by-name to select and | |
7154 raise a frame; this is mostly useful on character-only terminals, or | |
7155 when many frames are invisible or iconified. | |
7156 | |
7157 *** On character-only terminal (not a window system), changing the | |
7158 frame name is now reflected on the mode line and in the Buffers/Frames | |
7159 menu. | |
7160 | |
7161 ** Comint (subshell) changes | |
7162 | |
7163 *** In Comint modes, the commands to kill, stop or interrupt a | |
7164 subjob now also kill pending input. This is for compatibility | |
7165 with ordinary shells, where the signal characters do this. | |
7166 | |
7167 *** There are new commands in Comint mode. | |
7168 | |
7169 C-c C-x fetches the "next" line from the input history; | |
7170 that is, the line after the last line you got. | |
7171 You can use this command to fetch successive lines, one by one. | |
7172 | |
7173 C-c SPC accumulates lines of input. More precisely, it arranges to | |
7174 send the current line together with the following line, when you send | |
7175 the following line. | |
7176 | |
7177 C-c C-a if repeated twice consecutively now moves to the process mark, | |
7178 which separates the pending input from the subprocess output and the | |
7179 previously sent input. | |
7180 | |
7181 C-c M-r now runs comint-previous-matching-input-from-input; | |
7182 it searches for a previous command, using the current pending input | |
7183 as the search string. | |
7184 | |
7185 *** New option compilation-scroll-output can be set to scroll | |
7186 automatically in compilation-mode windows. | |
7187 | |
7188 ** C mode changes | |
7189 | |
7190 *** Multiline macros are now handled, both as they affect indentation, | |
7191 and as recognized syntax. New syntactic symbol cpp-macro-cont is | |
7192 assigned to second and subsequent lines of a multiline macro | |
7193 definition. | |
7194 | |
7195 *** A new style "user" which captures all non-hook-ified | |
7196 (i.e. top-level) .emacs file variable settings and customizations. | |
7197 Style "cc-mode" is an alias for "user" and is deprecated. "gnu" | |
7198 style is still the default however. | |
7199 | |
7200 *** "java" style now conforms to Sun's JDK coding style. | |
7201 | |
7202 *** There are new commands c-beginning-of-defun, c-end-of-defun which | |
7203 are alternatives which you could bind to C-M-a and C-M-e if you prefer | |
7204 them. They do not have key bindings by default. | |
7205 | |
7206 *** New and improved implementations of M-a (c-beginning-of-statement) | |
7207 and M-e (c-end-of-statement). | |
7208 | |
7209 *** C++ namespace blocks are supported, with new syntactic symbols | |
7210 namespace-open, namespace-close, and innamespace. | |
7211 | |
7212 *** File local variable settings of c-file-style and c-file-offsets | |
7213 makes the style variables local to that buffer only. | |
7214 | |
7215 *** New indentation functions c-lineup-close-paren, | |
7216 c-indent-one-line-block, c-lineup-dont-change. | |
7217 | |
7218 *** Improvements (hopefully!) to the way CC Mode is loaded. You | |
7219 should now be able to do a (require 'cc-mode) to get the entire | |
7220 package loaded properly for customization in your .emacs file. A new | |
7221 variable c-initialize-on-load controls this and is t by default. | |
7222 | |
7223 ** Changes to hippie-expand. | |
7224 | |
7225 *** New customization variable `hippie-expand-dabbrev-skip-space'. If | |
7226 non-nil, trailing spaces may be included in the abbreviation to search for, | |
7227 which then gives the same behavior as the original `dabbrev-expand'. | |
7228 | |
7229 *** New customization variable `hippie-expand-dabbrev-as-symbol'. If | |
7230 non-nil, characters of syntax '_' is considered part of the word when | |
7231 expanding dynamically. | |
7232 | |
7233 *** New customization variable `hippie-expand-no-restriction'. If | |
7234 non-nil, narrowed buffers are widened before they are searched. | |
7235 | |
7236 *** New customization variable `hippie-expand-only-buffers'. If | |
7237 non-empty, buffers searched are restricted to the types specified in | |
7238 this list. Useful for example when constructing new special-purpose | |
7239 expansion functions with `make-hippie-expand-function'. | |
7240 | |
7241 *** Text properties of the expansion are no longer copied. | |
7242 | |
7243 ** Changes in BibTeX mode. | |
7244 | |
7245 *** Any titleword matching a regexp in the new variable | |
7246 bibtex-autokey-titleword-ignore (case sensitive) is ignored during | |
7247 automatic key generation. This replaces variable | |
7248 bibtex-autokey-titleword-first-ignore, which only checked for matches | |
7249 against the first word in the title. | |
7250 | |
7251 *** Autokey generation now uses all words from the title, not just | |
7252 capitalized words. To avoid conflicts with existing customizations, | |
7253 bibtex-autokey-titleword-ignore is set up such that words starting with | |
7254 lowerkey characters will still be ignored. Thus, if you want to use | |
7255 lowercase words from the title, you will have to overwrite the | |
7256 bibtex-autokey-titleword-ignore standard setting. | |
7257 | |
7258 *** Case conversion of names and title words for automatic key | |
7259 generation is more flexible. Variable bibtex-autokey-preserve-case is | |
7260 replaced by bibtex-autokey-titleword-case-convert and | |
7261 bibtex-autokey-name-case-convert. | |
7262 | |
7263 ** Changes in vcursor.el. | |
7264 | |
7265 *** Support for character terminals is available: there is a new keymap | |
7266 and the vcursor will appear as an arrow between buffer text. A | |
7267 variable `vcursor-interpret-input' allows input from the vcursor to be | |
7268 entered exactly as if typed. Numerous functions, including | |
7269 `vcursor-compare-windows', have been rewritten to improve consistency | |
7270 in the selection of windows and corresponding keymaps. | |
7271 | |
7272 *** vcursor options can now be altered with M-x customize under the | |
7273 Editing group once the package is loaded. | |
7274 | |
7275 *** Loading vcursor now does not define keys by default, as this is | |
7276 generally a bad side effect. Use M-x customize to set | |
35680 | 7277 vcursor-key-bindings to t to restore the old behavior. |
30922 | 7278 |
7279 *** vcursor-auto-disable can be `copy', which turns off copying from the | |
7280 vcursor, but doesn't disable it, after any non-vcursor command. | |
7281 | |
7282 ** Ispell changes. | |
7283 | |
7284 *** You can now spell check comments and strings in the current | |
7285 buffer with M-x ispell-comments-and-strings. Comments and strings | |
7286 are identified by syntax tables in effect. | |
7287 | |
7288 *** Generic region skipping implemented. | |
7289 A single buffer can be broken into a number of regions where text will | |
7290 and will not be checked. The definitions of the regions can be user | |
7291 defined. New applications and improvements made available by this | |
7292 include: | |
7293 | |
7294 o URLs are automatically skipped | |
7295 o EMail message checking is vastly improved. | |
7296 | |
7297 *** Ispell can highlight the erroneous word even on non-window terminals. | |
7298 | |
7299 ** Changes to RefTeX mode | |
7300 | |
7301 RefTeX has been updated in order to make it more usable with very | |
7302 large projects (like a several volume math book). The parser has been | |
7303 re-written from scratch. To get maximum speed from RefTeX, check the | |
7304 section `Optimizations' in the manual. | |
7305 | |
7306 *** New recursive parser. | |
7307 | |
7308 The old version of RefTeX created a single large buffer containing the | |
7309 entire multifile document in order to parse the document. The new | |
7310 recursive parser scans the individual files. | |
7311 | |
7312 *** Parsing only part of a document. | |
7313 | |
7314 Reparsing of changed document parts can now be made faster by enabling | |
7315 partial scans. To use this feature, read the documentation string of | |
7316 the variable `reftex-enable-partial-scans' and set the variable to t. | |
7317 | |
7318 (setq reftex-enable-partial-scans t) | |
7319 | |
7320 *** Storing parsing information in a file. | |
7321 | |
7322 This can improve startup times considerably. To turn it on, use | |
7323 | |
7324 (setq reftex-save-parse-info t) | |
7325 | |
7326 *** Using multiple selection buffers | |
7327 | |
7328 If the creation of label selection buffers is too slow (this happens | |
7329 for large documents), you can reuse these buffers by setting | |
7330 | |
7331 (setq reftex-use-multiple-selection-buffers t) | |
7332 | |
7333 *** References to external documents. | |
7334 | |
7335 The LaTeX package `xr' allows to cross-reference labels in external | |
7336 documents. RefTeX can provide information about the external | |
7337 documents as well. To use this feature, set up the \externaldocument | |
7338 macros required by the `xr' package and rescan the document with | |
7339 RefTeX. The external labels can then be accessed with the `x' key in | |
7340 the selection buffer provided by `reftex-reference' (bound to `C-c )'). | |
7341 The `x' key also works in the table of contents buffer. | |
7342 | |
7343 *** Many more labeled LaTeX environments are recognized by default. | |
7344 | |
35680 | 7345 The built-in command list now covers all the standard LaTeX commands, |
30922 | 7346 and all of the major packages included in the LaTeX distribution. |
7347 | |
7348 Also, RefTeX now understands the \appendix macro and changes | |
7349 the enumeration of sections in the *toc* buffer accordingly. | |
7350 | |
7351 *** Mouse support for selection and *toc* buffers | |
7352 | |
7353 The mouse can now be used to select items in the selection and *toc* | |
7354 buffers. See also the new option `reftex-highlight-selection'. | |
7355 | |
7356 *** New keymaps for selection and table of contents modes. | |
7357 | |
7358 The selection processes for labels and citation keys, and the table of | |
7359 contents buffer now have their own keymaps: `reftex-select-label-map', | |
7360 `reftex-select-bib-map', `reftex-toc-map'. The selection processes | |
7361 have a number of new keys predefined. In particular, TAB lets you | |
7362 enter a label with completion. Check the on-the-fly help (press `?' | |
7363 at the selection prompt) or read the Info documentation to find out | |
7364 more. | |
7365 | |
7366 *** Support for the varioref package | |
7367 | |
7368 The `v' key in the label selection buffer toggles \ref versus \vref. | |
7369 | |
7370 *** New hooks | |
7371 | |
7372 Three new hooks can be used to redefine the way labels, references, | |
7373 and citations are created. These hooks are | |
7374 `reftex-format-label-function', `reftex-format-ref-function', | |
7375 `reftex-format-cite-function'. | |
7376 | |
7377 *** Citations outside LaTeX | |
7378 | |
7379 The command `reftex-citation' may also be used outside LaTeX (e.g. in | |
7380 a mail buffer). See the Info documentation for details. | |
7381 | |
7382 *** Short context is no longer fontified. | |
7383 | |
7384 The short context in the label menu no longer copies the | |
7385 fontification from the text in the buffer. If you prefer it to be | |
7386 fontified, use | |
7387 | |
7388 (setq reftex-refontify-context t) | |
7389 | |
7390 ** file-cache-minibuffer-complete now accepts a prefix argument. | |
7391 With a prefix argument, it does not try to do completion of | |
7392 the file name within its directory; it only checks for other | |
7393 directories that contain the same file name. | |
7394 | |
7395 Thus, given the file name Makefile, and assuming that a file | |
7396 Makefile.in exists in the same directory, ordinary | |
7397 file-cache-minibuffer-complete will try to complete Makefile to | |
7398 Makefile.in and will therefore never look for other directories that | |
7399 have Makefile. A prefix argument tells it not to look for longer | |
7400 names such as Makefile.in, so that instead it will look for other | |
7401 directories--just as if the name were already complete in its present | |
7402 directory. | |
7403 | |
7404 ** New modes and packages | |
7405 | |
7406 *** There is a new alternative major mode for Perl, Cperl mode. | |
7407 It has many more features than Perl mode, and some people prefer | |
7408 it, but some do not. | |
7409 | |
7410 *** There is a new major mode, M-x vhdl-mode, for editing files of VHDL | |
7411 code. | |
7412 | |
7413 *** M-x which-function-mode enables a minor mode that displays the | |
7414 current function name continuously in the mode line, as you move | |
7415 around in a buffer. | |
7416 | |
7417 Which Function mode is effective in major modes which support Imenu. | |
7418 | |
7419 *** Gametree is a major mode for editing game analysis trees. The author | |
7420 uses it for keeping notes about his postal Chess games, but it should | |
7421 be helpful for other two-player games as well, as long as they have an | |
7422 established system of notation similar to Chess. | |
7423 | |
7424 *** The new minor mode checkdoc-minor-mode provides Emacs Lisp | |
7425 documentation string checking for style and spelling. The style | |
7426 guidelines are found in the Emacs Lisp programming manual. | |
7427 | |
7428 *** The net-utils package makes some common networking features | |
7429 available in Emacs. Some of these functions are wrappers around | |
7430 system utilities (ping, nslookup, etc); others are implementations of | |
7431 simple protocols (finger, whois) in Emacs Lisp. There are also | |
7432 functions to make simple connections to TCP/IP ports for debugging and | |
7433 the like. | |
7434 | |
7435 *** highlight-changes-mode is a minor mode that uses colors to | |
7436 identify recently changed parts of the buffer text. | |
7437 | |
7438 *** The new package `midnight' lets you specify things to be done | |
7439 within Emacs at midnight--by default, kill buffers that you have not | |
7440 used in a considerable time. To use this feature, customize | |
7441 the user option `midnight-mode' to t. | |
7442 | |
7443 *** The file generic-x.el defines a number of simple major modes. | |
7444 | |
7445 apache-generic-mode: For Apache and NCSA httpd configuration files | |
7446 samba-generic-mode: Samba configuration files | |
7447 fvwm-generic-mode: For fvwm initialization files | |
7448 x-resource-generic-mode: For X resource files | |
7449 hosts-generic-mode: For hosts files (.rhosts, /etc/hosts, etc) | |
7450 mailagent-rules-generic-mode: For mailagent .rules files | |
7451 javascript-generic-mode: For JavaScript files | |
7452 vrml-generic-mode: For VRML files | |
7453 java-manifest-generic-mode: For Java MANIFEST files | |
7454 java-properties-generic-mode: For Java property files | |
7455 mailrc-generic-mode: For .mailrc files | |
7456 | |
7457 Platform-specific modes: | |
7458 | |
7459 prototype-generic-mode: For Solaris/Sys V prototype files | |
7460 pkginfo-generic-mode: For Solaris/Sys V pkginfo files | |
7461 alias-generic-mode: For C shell alias files | |
7462 inf-generic-mode: For MS-Windows INF files | |
7463 ini-generic-mode: For MS-Windows INI files | |
7464 reg-generic-mode: For MS-Windows Registry files | |
7465 bat-generic-mode: For MS-Windows BAT scripts | |
7466 rc-generic-mode: For MS-Windows Resource files | |
7467 rul-generic-mode: For InstallShield scripts | |
35577
db5649648a65
Replace formfeeds removed on 2001/01/22.
Dave Love <fx@gnu.org>
parents:
35567
diff
changeset
|
7468 |
30922 | 7469 * Lisp changes in Emacs 20.3 since the Emacs Lisp Manual was published |
7470 | |
7471 ** If you want a Lisp file to be read in unibyte mode, | |
7472 use -*-unibyte: t;-*- on its first line. | |
7473 That will force Emacs to read that file in unibyte mode. | |
7474 Otherwise, the file will be loaded and byte-compiled in multibyte mode. | |
7475 | |
7476 Thus, each lisp file is read in a consistent way regardless of whether | |
7477 you started Emacs with --unibyte, so that a Lisp program gives | |
7478 consistent results regardless of how Emacs was started. | |
7479 | |
7480 ** The new function assoc-default is useful for searching an alist, | |
7481 and using a default value if the key is not found there. You can | |
7482 specify a comparison predicate, so this function is useful for | |
7483 searching comparing a string against an alist of regular expressions. | |
7484 | |
7485 ** The functions unibyte-char-to-multibyte and | |
7486 multibyte-char-to-unibyte convert between unibyte and multibyte | |
7487 character codes, in a way that is appropriate for the current language | |
7488 environment. | |
7489 | |
7490 ** The functions read-event, read-char and read-char-exclusive now | |
7491 take two optional arguments. PROMPT, if non-nil, specifies a prompt | |
7492 string. SUPPRESS-INPUT-METHOD, if non-nil, says to disable the | |
7493 current input method for reading this one event. | |
7494 | |
7495 ** Two new variables print-escape-nonascii and print-escape-multibyte | |
7496 now control whether to output certain characters as | |
7497 backslash-sequences. print-escape-nonascii applies to single-byte | |
7498 non-ASCII characters; print-escape-multibyte applies to multibyte | |
7499 characters. Both of these variables are used only when printing | |
7500 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
|
7501 |
30922 | 7502 * Lisp changes in Emacs 20.3 before the Emacs Lisp Manual was published |
7503 | |
7504 ** Compiled Emacs Lisp files made with the modified "MBSK" version | |
7505 of Emacs 20.2 do not work in Emacs 20.3. | |
7506 | |
7507 ** Buffer positions are now measured in characters, as they were | |
7508 in Emacs 19 and before. This means that (forward-char 1) | |
7509 always increases point by 1. | |
7510 | |
7511 The function chars-in-region now just subtracts its arguments. It is | |
7512 considered obsolete. The function char-boundary-p has been deleted. | |
7513 | |
7514 See below for additional changes relating to multibyte characters. | |
7515 | |
7516 ** defcustom, defface and defgroup now accept the keyword `:version'. | |
7517 Use this to specify in which version of Emacs a certain variable's | |
7518 default value changed. For example, | |
7519 | |
7520 (defcustom foo-max 34 "*Maximum number of foo's allowed." | |
7521 :type 'integer | |
7522 :group 'foo | |
7523 :version "20.3") | |
7524 | |
7525 (defgroup foo-group nil "The foo group." | |
7526 :version "20.3") | |
7527 | |
7528 If an entire new group is added or the variables in it have the | |
7529 default values changed, then just add a `:version' to that group. It | |
7530 is recommended that new packages added to the distribution contain a | |
7531 `:version' in the top level group. | |
7532 | |
7533 This information is used to control the customize-changed-options command. | |
7534 | |
7535 ** It is now an error to change the value of a symbol whose name | |
7536 starts with a colon--if it is interned in the standard obarray. | |
7537 | |
7538 However, setting such a symbol to its proper value, which is that | |
7539 symbol itself, is not an error. This is for the sake of programs that | |
7540 support previous Emacs versions by explicitly setting these variables | |
7541 to themselves. | |
7542 | |
7543 If you set the variable keyword-symbols-constant-flag to nil, | |
7544 this error is suppressed, and you can set these symbols to any | |
7545 values whatever. | |
7546 | |
7547 ** There is a new debugger command, R. | |
7548 It evaluates an expression like e, but saves the result | |
7549 in the buffer *Debugger-record*. | |
7550 | |
7551 ** Frame-local variables. | |
7552 | |
7553 You can now make a variable local to various frames. To do this, call | |
7554 the function make-variable-frame-local; this enables frames to have | |
7555 local bindings for that variable. | |
7556 | |
7557 These frame-local bindings are actually frame parameters: you create a | |
7558 frame-local binding in a specific frame by calling | |
7559 modify-frame-parameters and specifying the variable name as the | |
7560 parameter name. | |
7561 | |
7562 Buffer-local bindings take precedence over frame-local bindings. | |
7563 Thus, if the current buffer has a buffer-local binding, that binding is | |
7564 active; otherwise, if the selected frame has a frame-local binding, | |
7565 that binding is active; otherwise, the default binding is active. | |
7566 | |
7567 It would not be hard to implement window-local bindings, but it is not | |
7568 clear that this would be very useful; windows tend to come and go in a | |
7569 very transitory fashion, so that trying to produce any specific effect | |
7570 through a window-local binding would not be very robust. | |
7571 | |
7572 ** `sregexq' and `sregex' are two new functions for constructing | |
7573 "symbolic regular expressions." These are Lisp expressions that, when | |
7574 evaluated, yield conventional string-based regexps. The symbolic form | |
7575 makes it easier to construct, read, and maintain complex patterns. | |
7576 See the documentation in sregex.el. | |
7577 | |
7578 ** parse-partial-sexp's return value has an additional element which | |
7579 is used to pass information along if you pass it to another call to | |
7580 parse-partial-sexp, starting its scan where the first call ended. | |
7581 The contents of this field are not yet finalized. | |
7582 | |
7583 ** eval-region now accepts a fourth optional argument READ-FUNCTION. | |
7584 If it is non-nil, that function is used instead of `read'. | |
7585 | |
7586 ** unload-feature by default removes the feature's functions from | |
7587 known hooks to avoid trouble, but a package providing FEATURE can | |
7588 define a hook FEATURE-unload-hook to be run by unload-feature instead. | |
7589 | |
7590 ** read-from-minibuffer no longer returns the argument DEFAULT-VALUE | |
7591 when the user enters empty input. It now returns the null string, as | |
7592 it did in Emacs 19. The default value is made available in the | |
7593 history via M-n, but it is not applied here as a default. | |
7594 | |
7595 The other, more specialized minibuffer-reading functions continue to | |
7596 return the default value (not the null string) when the user enters | |
7597 empty input. | |
7598 | |
7599 ** The new variable read-buffer-function controls which routine to use | |
7600 for selecting buffers. For example, if you set this variable to | |
7601 `iswitchb-read-buffer', iswitchb will be used to read buffer names. | |
7602 Other functions can also be used if they accept the same arguments as | |
7603 `read-buffer' and return the selected buffer name as a string. | |
7604 | |
7605 ** The new function read-passwd reads a password from the terminal, | |
7606 echoing a period for each character typed. It takes three arguments: | |
7607 a prompt string, a flag which says "read it twice to make sure", and a | |
7608 default password to use if the user enters nothing. | |
7609 | |
7610 ** The variable fill-nobreak-predicate gives major modes a way to | |
7611 specify not to break a line at certain places. Its value is a | |
7612 function which is called with no arguments, with point located at the | |
7613 place where a break is being considered. If the function returns | |
7614 non-nil, then the line won't be broken there. | |
7615 | |
7616 ** window-end now takes an optional second argument, UPDATE. | |
7617 If this is non-nil, then the function always returns an accurate | |
7618 up-to-date value for the buffer position corresponding to the | |
7619 end of the window, even if this requires computation. | |
7620 | |
7621 ** other-buffer now takes an optional argument FRAME | |
7622 which specifies which frame's buffer list to use. | |
7623 If it is nil, that means use the selected frame's buffer list. | |
7624 | |
7625 ** The new variable buffer-display-time, always local in every buffer, | |
7626 holds the value of (current-time) as of the last time that a window | |
7627 was directed to display this buffer. | |
7628 | |
7629 ** It is now meaningful to compare two window-configuration objects | |
7630 with `equal'. Two window-configuration objects are equal if they | |
7631 describe equivalent arrangements of windows, in the same frame--in | |
7632 other words, if they would give the same results if passed to | |
7633 set-window-configuration. | |
7634 | |
7635 ** compare-window-configurations is a new function that compares two | |
7636 window configurations loosely. It ignores differences in saved buffer | |
7637 positions and scrolling, and considers only the structure and sizes of | |
7638 windows and the choice of buffers to display. | |
7639 | |
7640 ** The variable minor-mode-overriding-map-alist allows major modes to | |
7641 override the key bindings of a minor mode. The elements of this alist | |
7642 look like the elements of minor-mode-map-alist: (VARIABLE . KEYMAP). | |
7643 | |
7644 If the VARIABLE in an element of minor-mode-overriding-map-alist has a | |
7645 non-nil value, the paired KEYMAP is active, and totally overrides the | |
7646 map (if any) specified for the same variable in minor-mode-map-alist. | |
7647 | |
7648 minor-mode-overriding-map-alist is automatically local in all buffers, | |
7649 and it is meant to be set by major modes. | |
7650 | |
7651 ** The function match-string-no-properties is like match-string | |
7652 except that it discards all text properties from the result. | |
7653 | |
7654 ** The function load-average now accepts an optional argument | |
7655 USE-FLOATS. If it is non-nil, the load average values are returned as | |
7656 floating point numbers, rather than as integers to be divided by 100. | |
7657 | |
7658 ** The new variable temporary-file-directory specifies the directory | |
7659 to use for creating temporary files. The default value is determined | |
7660 in a reasonable way for your operating system; on GNU and Unix systems | |
7661 it is based on the TMP and TMPDIR environment variables. | |
7662 | |
7663 ** Menu changes | |
7664 | |
7665 *** easymenu.el now uses the new menu item format and supports the | |
7666 keywords :visible and :filter. The existing keyword :keys is now | |
7667 better supported. | |
7668 | |
7669 The variable `easy-menu-precalculate-equivalent-keybindings' controls | |
7670 a new feature which calculates keyboard equivalents for the menu when | |
7671 you define the menu. The default is t. If you rarely use menus, you | |
7672 can set the variable to nil to disable this precalculation feature; | |
7673 then the calculation is done only if you use the menu bar. | |
7674 | |
7675 *** A new format for menu items is supported. | |
7676 | |
7677 In a keymap, a key binding that has the format | |
7678 (STRING . REAL-BINDING) or (STRING HELP-STRING . REAL-BINDING) | |
7679 defines a menu item. Now a menu item definition may also be a list that | |
7680 starts with the symbol `menu-item'. | |
7681 | |
7682 The format is: | |
7683 (menu-item ITEM-NAME) or | |
7684 (menu-item ITEM-NAME REAL-BINDING . ITEM-PROPERTY-LIST) | |
7685 where ITEM-NAME is an expression which evaluates to the menu item | |
7686 string, and ITEM-PROPERTY-LIST has the form of a property list. | |
7687 The supported properties include | |
7688 | |
7689 :enable FORM Evaluate FORM to determine whether the | |
7690 item is enabled. | |
7691 :visible FORM Evaluate FORM to determine whether the | |
7692 item should appear in the menu. | |
7693 :filter FILTER-FN | |
7694 FILTER-FN is a function of one argument, | |
7695 which will be REAL-BINDING. | |
7696 It should return a binding to use instead. | |
7697 :keys DESCRIPTION | |
7698 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
|
7699 binding for REAL-BINDING. DESCRIPTION is expanded with |
30922 | 7700 `substitute-command-keys' before it is used. |
7701 :key-sequence KEY-SEQUENCE | |
7702 KEY-SEQUENCE is a key-sequence for an equivalent | |
7703 keyboard binding. | |
7704 :key-sequence nil | |
7705 This means that the command normally has no | |
7706 keyboard equivalent. | |
7707 :help HELP HELP is the extra help string (not currently used). | |
7708 :button (TYPE . SELECTED) | |
7709 TYPE is :toggle or :radio. | |
7710 SELECTED is a form, to be evaluated, and its | |
7711 value says whether this button is currently selected. | |
7712 | |
7713 Buttons are at the moment only simulated by prefixes in the menu. | |
7714 Eventually ordinary X-buttons may be supported. | |
7715 | |
7716 (menu-item ITEM-NAME) defines unselectable item. | |
7717 | |
7718 ** New event types | |
7719 | |
7720 *** The new event type `mouse-wheel' is generated by a wheel on a | |
7721 mouse (such as the MS Intellimouse). The event contains a delta that | |
7722 corresponds to the amount and direction that the wheel is rotated, | |
7723 which is typically used to implement a scroll or zoom. The format is: | |
7724 | |
7725 (mouse-wheel POSITION DELTA) | |
7726 | |
7727 where POSITION is a list describing the position of the event in the | |
7728 same format as a mouse-click event, and DELTA is a signed number | |
7729 indicating the number of increments by which the wheel was rotated. A | |
7730 negative DELTA indicates that the wheel was rotated backwards, towards | |
7731 the user, and a positive DELTA indicates that the wheel was rotated | |
7732 forward, away from the user. | |
7733 | |
7734 As of now, this event type is generated only on MS Windows. | |
7735 | |
7736 *** The new event type `drag-n-drop' is generated when a group of | |
7737 files is selected in an application outside of Emacs, and then dragged | |
7738 and dropped onto an Emacs frame. The event contains a list of | |
7739 filenames that were dragged and dropped, which are then typically | |
7740 loaded into Emacs. The format is: | |
7741 | |
7742 (drag-n-drop POSITION FILES) | |
7743 | |
7744 where POSITION is a list describing the position of the event in the | |
7745 same format as a mouse-click event, and FILES is the list of filenames | |
7746 that were dragged and dropped. | |
7747 | |
7748 As of now, this event type is generated only on MS Windows. | |
7749 | |
7750 ** Changes relating to multibyte characters. | |
7751 | |
7752 *** The variable enable-multibyte-characters is now read-only; | |
7753 any attempt to set it directly signals an error. The only way | |
7754 to change this value in an existing buffer is with set-buffer-multibyte. | |
7755 | |
7756 *** In a string constant, `\ ' now stands for "nothing at all". You | |
7757 can use it to terminate a hex escape which is followed by a character | |
7758 that could otherwise be read as part of the hex escape. | |
7759 | |
7760 *** String indices are now measured in characters, as they were | |
7761 in Emacs 19 and before. | |
7762 | |
7763 The function chars-in-string has been deleted. | |
7764 The function concat-chars has been renamed to `string'. | |
7765 | |
7766 *** The function set-buffer-multibyte sets the flag in the current | |
7767 buffer that says whether the buffer uses multibyte representation or | |
7768 unibyte representation. If the argument is nil, it selects unibyte | |
7769 representation. Otherwise it selects multibyte representation. | |
7770 | |
7771 This function does not change the contents of the buffer, viewed | |
7772 as a sequence of bytes. However, it does change the contents | |
7773 viewed as characters; a sequence of two bytes which is treated as | |
7774 one character when the buffer uses multibyte representation | |
7775 will count as two characters using unibyte representation. | |
7776 | |
7777 This function sets enable-multibyte-characters to record which | |
7778 representation is in use. It also adjusts various data in the buffer | |
7779 (including its markers, overlays and text properties) so that they are | |
7780 consistent with the new representation. | |
7781 | |
7782 *** string-make-multibyte takes a string and converts it to multibyte | |
7783 representation. Most of the time, you don't need to care | |
7784 about the representation, because Emacs converts when necessary; | |
7785 however, it makes a difference when you compare strings. | |
7786 | |
7787 The conversion of non-ASCII characters works by adding the value of | |
7788 nonascii-insert-offset to each character, or by translating them | |
7789 using the table nonascii-translation-table. | |
7790 | |
7791 *** string-make-unibyte takes a string and converts it to unibyte | |
7792 representation. Most of the time, you don't need to care about the | |
7793 representation, but it makes a difference when you compare strings. | |
7794 | |
7795 The conversion from multibyte to unibyte representation | |
7796 loses information; the only time Emacs performs it automatically | |
7797 is when inserting a multibyte string into a unibyte buffer. | |
7798 | |
7799 *** string-as-multibyte takes a string, and returns another string | |
7800 which contains the same bytes, but treats them as multibyte. | |
7801 | |
7802 *** string-as-unibyte takes a string, and returns another string | |
7803 which contains the same bytes, but treats them as unibyte. | |
7804 | |
7805 *** The new function compare-strings lets you compare | |
7806 portions of two strings. Unibyte strings are converted to multibyte, | |
7807 so that a unibyte string can match a multibyte string. | |
7808 You can specify whether to ignore case or not. | |
7809 | |
7810 *** assoc-ignore-case now uses compare-strings so that | |
7811 it can treat unibyte and multibyte strings as equal. | |
7812 | |
7813 *** Regular expression operations and buffer string searches now | |
7814 convert the search pattern to multibyte or unibyte to accord with the | |
7815 buffer or string being searched. | |
7816 | |
7817 One consequence is that you cannot always use \200-\377 inside of | |
7818 [...] to match all non-ASCII characters. This does still work when | |
7819 searching or matching a unibyte buffer or string, but not when | |
7820 searching or matching a multibyte string. Unfortunately, there is no | |
7821 obvious choice of syntax to use within [...] for that job. But, what | |
7822 you want is just to match all non-ASCII characters, the regular | |
7823 expression [^\0-\177] works for it. | |
7824 | |
7825 *** Structure of coding system changed. | |
7826 | |
7827 All coding systems (including aliases and subsidiaries) are named | |
7828 by symbols; the symbol's `coding-system' property is a vector | |
7829 which defines the coding system. Aliases share the same vector | |
7830 as the principal name, so that altering the contents of this | |
7831 vector affects the principal name and its aliases. You can define | |
7832 your own alias name of a coding system by the function | |
7833 define-coding-system-alias. | |
7834 | |
7835 The coding system definition includes a property list of its own. Use | |
7836 the new functions `coding-system-get' and `coding-system-put' to | |
7837 access such coding system properties as post-read-conversion, | |
7838 pre-write-conversion, character-translation-table-for-decode, | |
7839 character-translation-table-for-encode, mime-charset, and | |
7840 safe-charsets. For instance, (coding-system-get 'iso-latin-1 | |
7841 'mime-charset) gives the corresponding MIME-charset parameter | |
7842 `iso-8859-1'. | |
7843 | |
7844 Among the coding system properties listed above, safe-charsets is new. | |
7845 The value of this property is a list of character sets which this | |
7846 coding system can correctly encode and decode. For instance: | |
7847 (coding-system-get 'iso-latin-1 'safe-charsets) => (ascii latin-iso8859-1) | |
7848 | |
7849 Here, "correctly encode" means that the encoded character sets can | |
7850 also be handled safely by systems other than Emacs as far as they | |
7851 are capable of that coding system. Though, Emacs itself can encode | |
7852 the other character sets and read it back correctly. | |
7853 | |
7854 *** The new function select-safe-coding-system can be used to find a | |
7855 proper coding system for encoding the specified region or string. | |
7856 This function requires a user interaction. | |
7857 | |
7858 *** The new functions find-coding-systems-region and | |
7859 find-coding-systems-string are helper functions used by | |
7860 select-safe-coding-system. They return a list of all proper coding | |
7861 systems to encode a text in some region or string. If you don't want | |
7862 a user interaction, use one of these functions instead of | |
7863 select-safe-coding-system. | |
7864 | |
7865 *** The explicit encoding and decoding functions, such as | |
7866 decode-coding-region and encode-coding-string, now set | |
7867 last-coding-system-used to reflect the actual way encoding or decoding | |
7868 was done. | |
7869 | |
7870 *** The new function detect-coding-with-language-environment can be | |
7871 used to detect a coding system of text according to priorities of | |
7872 coding systems used by some specific language environment. | |
7873 | |
7874 *** The functions detect-coding-region and detect-coding-string always | |
7875 return a list if the arg HIGHEST is nil. Thus, if only ASCII | |
7876 characters are found, they now return a list of single element | |
7877 `undecided' or its subsidiaries. | |
7878 | |
7879 *** The new functions coding-system-change-eol-conversion and | |
7880 coding-system-change-text-conversion can be used to get a different | |
7881 coding system than what specified only in how end-of-line or text is | |
7882 converted. | |
7883 | |
7884 *** The new function set-selection-coding-system can be used to set a | |
7885 coding system for communicating with other X clients. | |
7886 | |
7887 *** The function `map-char-table' now passes as argument only valid | |
7888 character codes, plus generic characters that stand for entire | |
7889 character sets or entire subrows of a character set. In other words, | |
7890 each time `map-char-table' calls its FUNCTION argument, the key value | |
7891 either will be a valid individual character code, or will stand for a | |
7892 range of characters. | |
7893 | |
7894 *** The new function `char-valid-p' can be used for checking whether a | |
7895 Lisp object is a valid character code or not. | |
7896 | |
7897 *** The new function `charset-after' returns a charset of a character | |
7898 in the current buffer at position POS. | |
7899 | |
7900 *** Input methods are now implemented using the variable | |
7901 input-method-function. If this is non-nil, its value should be a | |
7902 function; then, whenever Emacs reads an input event that is a printing | |
7903 character with no modifier bits, it calls that function, passing the | |
7904 event as an argument. Often this function will read more input, first | |
7905 binding input-method-function to nil. | |
7906 | |
7907 The return value should be a list of the events resulting from input | |
7908 method processing. These events will be processed sequentially as | |
7909 input, before resorting to unread-command-events. Events returned by | |
7910 the input method function are not passed to the input method function, | |
7911 not even if they are printing characters with no modifier bits. | |
7912 | |
7913 The input method function is not called when reading the second and | |
7914 subsequent events of a key sequence. | |
7915 | |
7916 *** You can customize any language environment by using | |
7917 set-language-environment-hook and exit-language-environment-hook. | |
7918 | |
7919 The hook `exit-language-environment-hook' should be used to undo | |
7920 customizations that you made with set-language-environment-hook. For | |
7921 instance, if you set up a special key binding for a specific language | |
7922 environment by set-language-environment-hook, you should set up | |
7923 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
|
7924 |
30922 | 7925 * Changes in Emacs 20.1 |
7926 | |
7927 ** Emacs has a new facility for customization of its many user | |
7928 options. It is called M-x customize. With this facility you can look | |
7929 at the many user options in an organized way; they are grouped into a | |
7930 tree structure. | |
7931 | |
7932 M-x customize also knows what sorts of values are legitimate for each | |
7933 user option and ensures that you don't use invalid values. | |
7934 | |
7935 With M-x customize, you can set options either for the present Emacs | |
7936 session or permanently. (Permanent settings are stored automatically | |
7937 in your .emacs file.) | |
7938 | |
7939 ** Scroll bars are now on the left side of the window. | |
7940 You can change this with M-x customize-option scroll-bar-mode. | |
7941 | |
7942 ** The mode line no longer includes the string `Emacs'. | |
7943 This makes more space in the mode line for other information. | |
7944 | |
7945 ** When you select a region with the mouse, it is highlighted | |
7946 immediately afterward. At that time, if you type the DELETE key, it | |
7947 kills the region. | |
7948 | |
7949 The BACKSPACE key, and the ASCII character DEL, do not do this; they | |
7950 delete the character before point, as usual. | |
7951 | |
7952 ** In an incremental search the whole current match is highlighted | |
7953 on terminals which support this. (You can disable this feature | |
7954 by setting search-highlight to nil.) | |
7955 | |
7956 ** In the minibuffer, in some cases, you can now use M-n to | |
7957 insert the default value into the minibuffer as text. In effect, | |
7958 the default value (if the minibuffer routines know it) is tacked | |
7959 onto the history "in the future". (The more normal use of the | |
7960 history list is to use M-p to insert minibuffer input used in the | |
7961 past.) | |
7962 | |
7963 ** In Text mode, now only blank lines separate paragraphs. | |
7964 This makes it possible to get the full benefit of Adaptive Fill mode | |
7965 in Text mode, and other modes derived from it (such as Mail mode). | |
7966 TAB in Text mode now runs the command indent-relative; this | |
7967 makes a practical difference only when you use indented paragraphs. | |
7968 | |
7969 As a result, the old Indented Text mode is now identical to Text mode, | |
7970 and is an alias for it. | |
7971 | |
7972 If you want spaces at the beginning of a line to start a paragraph, | |
7973 use the new mode, Paragraph Indent Text mode. | |
7974 | |
7975 ** Scrolling changes | |
7976 | |
7977 *** Scroll commands to scroll a whole screen now preserve the screen | |
7978 position of the cursor, if scroll-preserve-screen-position is non-nil. | |
7979 | |
7980 In this mode, if you scroll several screens back and forth, finishing | |
7981 on the same screen where you started, the cursor goes back to the line | |
7982 where it started. | |
7983 | |
7984 *** If you set scroll-conservatively to a small number, then when you | |
7985 move point a short distance off the screen, Emacs will scroll the | |
7986 screen just far enough to bring point back on screen, provided that | |
7987 does not exceed `scroll-conservatively' lines. | |
7988 | |
7989 *** The new variable scroll-margin says how close point can come to the | |
7990 top or bottom of a window. It is a number of screen lines; if point | |
7991 comes within that many lines of the top or bottom of the window, Emacs | |
7992 recenters the window. | |
7993 | |
7994 ** International character set support (MULE) | |
7995 | |
7996 Emacs now supports a wide variety of international character sets, | |
7997 including European variants of the Latin alphabet, as well as Chinese, | |
7998 Devanagari (Hindi and Marathi), Ethiopian, Greek, IPA, Japanese, | |
7999 Korean, Lao, Russian, Thai, Tibetan, and Vietnamese scripts. These | |
8000 features have been merged from the modified version of Emacs known as | |
8001 MULE (for "MULti-lingual Enhancement to GNU Emacs") | |
8002 | |
8003 Users of these scripts have established many more-or-less standard | |
8004 coding systems for storing files. Emacs uses a single multibyte | |
8005 character encoding within Emacs buffers; it can translate from a wide | |
8006 variety of coding systems when reading a file and can translate back | |
8007 into any of these coding systems when saving a file. | |
8008 | |
8009 Keyboards, even in the countries where these character sets are used, | |
8010 generally don't have keys for all the characters in them. So Emacs | |
8011 supports various "input methods", typically one for each script or | |
8012 language, to make it possible to type them. | |
8013 | |
8014 The Emacs internal multibyte encoding represents a non-ASCII | |
8015 character as a sequence of bytes in the range 0200 through 0377. | |
8016 | |
8017 The new prefix key C-x RET is used for commands that pertain | |
8018 to multibyte characters, coding systems, and input methods. | |
8019 | |
8020 You can disable multibyte character support as follows: | |
8021 | |
8022 (setq-default enable-multibyte-characters nil) | |
8023 | |
8024 Calling the function standard-display-european turns off multibyte | |
8025 characters, unless you specify a non-nil value for the second | |
8026 argument, AUTO. This provides compatibility for people who are | |
8027 already using standard-display-european to continue using unibyte | |
8028 characters for their work until they want to change. | |
8029 | |
8030 *** Input methods | |
8031 | |
8032 An input method is a kind of character conversion which is designed | |
8033 specifically for interactive input. In Emacs, typically each language | |
8034 has its own input method (though sometimes several languages which use | |
8035 the same characters can share one input method). Some languages | |
8036 support several input methods. | |
8037 | |
8038 The simplest kind of input method works by mapping ASCII letters into | |
8039 another alphabet. This is how the Greek and Russian input methods | |
8040 work. | |
8041 | |
8042 A more powerful technique is composition: converting sequences of | |
8043 characters into one letter. Many European input methods use | |
8044 composition to produce a single non-ASCII letter from a sequence which | |
8045 consists of a letter followed by diacritics. For example, a' is one | |
8046 sequence of two characters that might be converted into a single | |
8047 letter. | |
8048 | |
8049 The input methods for syllabic scripts typically use mapping followed | |
8050 by conversion. The input methods for Thai and Korean work this way. | |
8051 First, letters are mapped into symbols for particular sounds or tone | |
8052 marks; then, sequences of these which make up a whole syllable are | |
8053 mapped into one syllable sign--most often a "composite character". | |
8054 | |
8055 None of these methods works very well for Chinese and Japanese, so | |
8056 they are handled specially. First you input a whole word using | |
8057 phonetic spelling; then, after the word is in the buffer, Emacs | |
8058 converts it into one or more characters using a large dictionary. | |
8059 | |
8060 Since there is more than one way to represent a phonetically spelled | |
8061 word using Chinese characters, Emacs can only guess which one to use; | |
8062 typically these input methods give you a way to say "guess again" if | |
8063 the first guess is wrong. | |
8064 | |
8065 *** The command C-x RET m (toggle-enable-multibyte-characters) | |
8066 turns multibyte character support on or off for the current buffer. | |
8067 | |
8068 If multibyte character support is turned off in a buffer, then each | |
8069 byte is a single character, even codes 0200 through 0377--exactly as | |
8070 they did in Emacs 19.34. This includes the features for support for | |
8071 the European characters, ISO Latin-1 and ISO Latin-2. | |
8072 | |
8073 However, there is no need to turn off multibyte character support to | |
8074 use ISO Latin-1 or ISO Latin-2; the Emacs multibyte character set | |
8075 includes all the characters in these character sets, and Emacs can | |
8076 translate automatically to and from either one. | |
8077 | |
8078 *** Visiting a file in unibyte mode. | |
8079 | |
8080 Turning off multibyte character support in the buffer after visiting a | |
8081 file with multibyte code conversion will display the multibyte | |
8082 sequences already in the buffer, byte by byte. This is probably not | |
8083 what you want. | |
8084 | |
8085 If you want to edit a file of unibyte characters (Latin-1, for | |
8086 example), you can do it by specifying `no-conversion' as the coding | |
8087 system when reading the file. This coding system also turns off | |
8088 multibyte characters in that buffer. | |
8089 | |
8090 If you turn off multibyte character support entirely, this turns off | |
8091 character conversion as well. | |
8092 | |
8093 *** Displaying international characters on X Windows. | |
8094 | |
8095 A font for X typically displays just one alphabet or script. | |
8096 Therefore, displaying the entire range of characters Emacs supports | |
8097 requires using many fonts. | |
8098 | |
8099 Therefore, Emacs now supports "fontsets". Each fontset is a | |
8100 collection of fonts, each assigned to a range of character codes. | |
8101 | |
8102 A fontset has a name, like a font. Individual fonts are defined by | |
8103 the X server; fontsets are defined within Emacs itself. But once you | |
8104 have defined a fontset, you can use it in a face or a frame just as | |
8105 you would use a font. | |
8106 | |
8107 If a fontset specifies no font for a certain character, or if it | |
8108 specifies a font that does not exist on your system, then it cannot | |
8109 display that character. It will display an empty box instead. | |
8110 | |
8111 The fontset height and width are determined by the ASCII characters | |
8112 (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
|
8113 characters). |
30922 | 8114 |
8115 *** Defining fontsets. | |
8116 | |
8117 Emacs does not use any fontset by default. Its default font is still | |
8118 chosen as in previous versions. You can tell Emacs to use a fontset | |
8119 with the `-fn' option or the `Font' X resource. | |
8120 | |
8121 Emacs creates a standard fontset automatically according to the value | |
8122 of standard-fontset-spec. This fontset's short name is | |
8123 `fontset-standard'. Bold, italic, and bold-italic variants of the | |
8124 standard fontset are created automatically. | |
8125 | |
8126 If you specify a default ASCII font with the `Font' resource or `-fn' | |
8127 argument, a fontset is generated from it. This works by replacing the | |
8128 FOUNDARY, FAMILY, ADD_STYLE, and AVERAGE_WIDTH fields of the font name | |
8129 with `*' then using this to specify a fontset. This fontset's short | |
8130 name is `fontset-startup'. | |
8131 | |
8132 Emacs checks resources of the form Fontset-N where N is 0, 1, 2... | |
8133 The resource value should have this form: | |
8134 FONTSET-NAME, [CHARSET-NAME:FONT-NAME]... | |
8135 FONTSET-NAME should have the form of a standard X font name, except: | |
8136 * most fields should be just the wild card "*". | |
8137 * the CHARSET_REGISTRY field should be "fontset" | |
8138 * the CHARSET_ENCODING field can be any nickname of the fontset. | |
8139 The construct CHARSET-NAME:FONT-NAME can be repeated any number | |
8140 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
|
8141 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
|
8142 should specify an actual font to use for that character set. |
30922 | 8143 |
8144 Each of these fontsets has an alias which is made from the | |
8145 last two font name fields, CHARSET_REGISTRY and CHARSET_ENCODING. | |
8146 You can refer to the fontset by that alias or by its full name. | |
8147 | |
8148 For any character sets that you don't mention, Emacs tries to choose a | |
8149 font by substituting into FONTSET-NAME. For instance, with the | |
8150 following resource, | |
8151 Emacs*Fontset-0: -*-fixed-medium-r-normal-*-24-*-*-*-*-*-fontset-24 | |
8152 the font for ASCII is generated as below: | |
8153 -*-fixed-medium-r-normal-*-24-*-ISO8859-1 | |
8154 Here is the substitution rule: | |
8155 Change CHARSET_REGISTRY and CHARSET_ENCODING to that of the charset | |
8156 defined in the variable x-charset-registries. For instance, ASCII has | |
8157 the entry (ascii . "ISO8859-1") in this variable. Then, reduce | |
8158 sequences of wild cards -*-...-*- with a single wildcard -*-. | |
8159 (This is to prevent use of auto-scaled fonts.) | |
8160 | |
8161 The function which processes the fontset resource value to create the | |
8162 fontset is called create-fontset-from-fontset-spec. You can also call | |
8163 that function explicitly to create a fontset. | |
8164 | |
8165 With the X resource Emacs.Font, you can specify a fontset name just | |
8166 like an actual font name. But be careful not to specify a fontset | |
8167 name in a wildcard resource like Emacs*Font--that tries to specify the | |
8168 fontset for other purposes including menus, and they cannot handle | |
8169 fontsets. | |
8170 | |
8171 *** The command M-x set-language-environment sets certain global Emacs | |
8172 defaults for a particular choice of language. | |
8173 | |
8174 Selecting a language environment typically specifies a default input | |
8175 method and which coding systems to recognize automatically when | |
8176 visiting files. However, it does not try to reread files you have | |
8177 already visited; the text in those buffers is not affected. The | |
8178 language environment may also specify a default choice of coding | |
8179 system for new files that you create. | |
8180 | |
8181 It makes no difference which buffer is current when you use | |
8182 set-language-environment, because these defaults apply globally to the | |
8183 whole Emacs session. | |
8184 | |
8185 For example, M-x set-language-environment RET Latin-1 RET | |
8186 chooses the Latin-1 character set. In the .emacs file, you can do this | |
8187 with (set-language-environment "Latin-1"). | |
8188 | |
8189 *** The command C-x RET f (set-buffer-file-coding-system) | |
8190 specifies the file coding system for the current buffer. This | |
8191 specifies what sort of character code translation to do when saving | |
8192 the file. As an argument, you must specify the name of one of the | |
8193 coding systems that Emacs supports. | |
8194 | |
8195 *** The command C-x RET c (universal-coding-system-argument) | |
8196 lets you specify a coding system when you read or write a file. | |
8197 This command uses the minibuffer to read a coding system name. | |
8198 After you exit the minibuffer, the specified coding system | |
8199 is used for *the immediately following command*. | |
8200 | |
8201 So if the immediately following command is a command to read or | |
8202 write a file, it uses the specified coding system for that file. | |
8203 | |
8204 If the immediately following command does not use the coding system, | |
8205 then C-x RET c ultimately has no effect. | |
8206 | |
8207 For example, C-x RET c iso-8859-1 RET C-x C-f temp RET | |
8208 visits the file `temp' treating it as ISO Latin-1. | |
8209 | |
8210 *** You can specify the coding system for a file using the -*- | |
8211 construct. Include `coding: CODINGSYSTEM;' inside the -*-...-*- | |
8212 to specify use of coding system CODINGSYSTEM. You can also | |
8213 specify the coding system in a local variable list at the end | |
8214 of the file. | |
8215 | |
8216 *** The command C-x RET t (set-terminal-coding-system) specifies | |
8217 the coding system for terminal output. If you specify a character | |
8218 code for terminal output, all characters output to the terminal are | |
8219 translated into that character code. | |
8220 | |
8221 This feature is useful for certain character-only terminals built in | |
8222 various countries to support the languages of those countries. | |
8223 | |
8224 By default, output to the terminal is not translated at all. | |
8225 | |
8226 *** The command C-x RET k (set-keyboard-coding-system) specifies | |
8227 the coding system for keyboard input. | |
8228 | |
8229 Character code translation of keyboard input is useful for terminals | |
8230 with keys that send non-ASCII graphic characters--for example, | |
8231 some terminals designed for ISO Latin-1 or subsets of it. | |
8232 | |
8233 By default, keyboard input is not translated at all. | |
8234 | |
8235 Character code translation of keyboard input is similar to using an | |
8236 input method, in that both define sequences of keyboard input that | |
8237 translate into single characters. However, input methods are designed | |
8238 to be convenient for interactive use, while the code translations are | |
8239 designed to work with terminals. | |
8240 | |
8241 *** The command C-x RET p (set-buffer-process-coding-system) | |
8242 specifies the coding system for input and output to a subprocess. | |
8243 This command applies to the current buffer; normally, each subprocess | |
8244 has its own buffer, and thus you can use this command to specify | |
8245 translation to and from a particular subprocess by giving the command | |
8246 in the corresponding buffer. | |
8247 | |
8248 By default, process input and output are not translated at all. | |
8249 | |
8250 *** The variable file-name-coding-system specifies the coding system | |
8251 to use for encoding file names before operating on them. | |
8252 It is also used for decoding file names obtained from the system. | |
8253 | |
8254 *** The command C-\ (toggle-input-method) activates or deactivates | |
8255 an input method. If no input method has been selected before, the | |
8256 command prompts for you to specify the language and input method you | |
8257 want to use. | |
8258 | |
8259 C-u C-\ (select-input-method) lets you switch to a different input | |
8260 method. C-h C-\ (or C-h I) describes the current input method. | |
8261 | |
8262 *** Some input methods remap the keyboard to emulate various keyboard | |
8263 layouts commonly used for particular scripts. How to do this | |
8264 remapping properly depends on your actual keyboard layout. To specify | |
8265 which layout your keyboard has, use M-x quail-set-keyboard-layout. | |
8266 | |
8267 *** The command C-h C (describe-coding-system) displays | |
8268 the coding systems currently selected for various purposes, plus | |
8269 related information. | |
8270 | |
8271 *** The command C-h h (view-hello-file) displays a file called | |
8272 HELLO, which has examples of text in many languages, using various | |
8273 scripts. | |
8274 | |
8275 *** The command C-h L (describe-language-support) displays | |
8276 information about the support for a particular language. | |
8277 You specify the language as an argument. | |
8278 | |
8279 *** The mode line now contains a letter or character that identifies | |
8280 the coding system used in the visited file. It normally follows the | |
8281 first dash. | |
8282 | |
8283 A dash indicates the default state of affairs: no code conversion | |
8284 (except CRLF => newline if appropriate). `=' means no conversion | |
8285 whatsoever. The ISO 8859 coding systems are represented by digits | |
8286 1 through 9. Other coding systems are represented by letters: | |
8287 | |
8288 A alternativnyj (Russian) | |
8289 B big5 (Chinese) | |
8290 C cn-gb-2312 (Chinese) | |
8291 C iso-2022-cn (Chinese) | |
8292 D in-is13194-devanagari (Indian languages) | |
8293 E euc-japan (Japanese) | |
8294 I iso-2022-cjk or iso-2022-ss2 (Chinese, Japanese, Korean) | |
8295 J junet (iso-2022-7) or old-jis (iso-2022-jp-1978-irv) (Japanese) | |
8296 K euc-korea (Korean) | |
8297 R koi8 (Russian) | |
8298 Q tibetan | |
8299 S shift_jis (Japanese) | |
8300 T lao | |
8301 T tis620 (Thai) | |
8302 V viscii or vscii (Vietnamese) | |
8303 i iso-2022-lock (Chinese, Japanese, Korean) | |
8304 k iso-2022-kr (Korean) | |
8305 v viqr (Vietnamese) | |
8306 z hz (Chinese) | |
8307 | |
8308 When you are using a character-only terminal (not a window system), | |
8309 two additional characters appear in between the dash and the file | |
8310 coding system. These two characters describe the coding system for | |
8311 keyboard input, and the coding system for terminal output. | |
8312 | |
8313 *** The new variable rmail-file-coding-system specifies the code | |
8314 conversion to use for RMAIL files. The default value is nil. | |
8315 | |
8316 When you read mail with Rmail, each message is decoded automatically | |
8317 into Emacs' internal format. This has nothing to do with | |
8318 rmail-file-coding-system. That variable controls reading and writing | |
8319 Rmail files themselves. | |
8320 | |
8321 *** The new variable sendmail-coding-system specifies the code | |
8322 conversion for outgoing mail. The default value is nil. | |
8323 | |
8324 Actually, there are three different ways of specifying the coding system | |
8325 for sending mail: | |
8326 | |
8327 - If you use C-x RET f in the mail buffer, that takes priority. | |
8328 - Otherwise, if you set sendmail-coding-system non-nil, that specifies it. | |
8329 - Otherwise, the default coding system for new files is used, | |
8330 if that is non-nil. That comes from your language environment. | |
8331 - Otherwise, Latin-1 is used. | |
8332 | |
8333 *** The command C-h t (help-with-tutorial) accepts a prefix argument | |
8334 to specify the language for the tutorial file. Currently, English, | |
8335 Japanese, Korean and Thai are supported. We welcome additional | |
8336 translations. | |
8337 | |
8338 ** An easy new way to visit a file with no code or format conversion | |
8339 of any kind: Use M-x find-file-literally. There is also a command | |
8340 insert-file-literally which inserts a file into the current buffer | |
8341 without any conversion. | |
8342 | |
8343 ** C-q's handling of octal character codes is changed. | |
8344 You can now specify any number of octal digits. | |
8345 RET terminates the digits and is discarded; | |
8346 any other non-digit terminates the digits and is then used as input. | |
8347 | |
8348 ** There are new commands for looking up Info documentation for | |
8349 functions, variables and file names used in your programs. | |
8350 | |
8351 Type M-x info-lookup-symbol to look up a symbol in the buffer at point. | |
8352 Type M-x info-lookup-file to look up a file in the buffer at point. | |
8353 | |
8354 Precisely which Info files are used to look it up depends on the major | |
8355 mode. For example, in C mode, the GNU libc manual is used. | |
8356 | |
8357 ** M-TAB in most programming language modes now runs the command | |
8358 complete-symbol. This command performs completion on the symbol name | |
8359 in the buffer before point. | |
8360 | |
8361 With a numeric argument, it performs completion based on the set of | |
8362 symbols documented in the Info files for the programming language that | |
8363 you are using. | |
8364 | |
8365 With no argument, it does completion based on the current tags tables, | |
8366 just like the old binding of M-TAB (complete-tag). | |
8367 | |
8368 ** File locking works with NFS now. | |
8369 | |
8370 The lock file for FILENAME is now a symbolic link named .#FILENAME, | |
8371 in the same directory as FILENAME. | |
8372 | |
8373 This means that collision detection between two different machines now | |
8374 works reasonably well; it also means that no file server or directory | |
8375 can become a bottleneck. | |
8376 | |
8377 The new method does have drawbacks. It means that collision detection | |
8378 does not operate when you edit a file in a directory where you cannot | |
8379 create new files. Collision detection also doesn't operate when the | |
8380 file server does not support symbolic links. But these conditions are | |
8381 rare, and the ability to have collision detection while using NFS is | |
8382 so useful that the change is worth while. | |
8383 | |
8384 When Emacs or a system crashes, this may leave behind lock files which | |
8385 are stale. So you may occasionally get warnings about spurious | |
8386 collisions. When you determine that the collision is spurious, just | |
8387 tell Emacs to go ahead anyway. | |
8388 | |
8389 ** If you wish to use Show Paren mode to display matching parentheses, | |
8390 it is no longer sufficient to load paren.el. Instead you must call | |
8391 show-paren-mode. | |
8392 | |
8393 ** If you wish to use Delete Selection mode to replace a highlighted | |
8394 selection when you insert new text, it is no longer sufficient to load | |
8395 delsel.el. Instead you must call the function delete-selection-mode. | |
8396 | |
8397 ** If you wish to use Partial Completion mode to complete partial words | |
8398 within symbols or filenames, it is no longer sufficient to load | |
8399 complete.el. Instead you must call the function partial-completion-mode. | |
8400 | |
8401 ** If you wish to use uniquify to rename buffers for you, | |
8402 it is no longer sufficient to load uniquify.el. You must also | |
8403 set uniquify-buffer-name-style to one of the non-nil legitimate values. | |
8404 | |
8405 ** Changes in View mode. | |
8406 | |
8407 *** Several new commands are available in View mode. | |
8408 Do H in view mode for a list of commands. | |
8409 | |
8410 *** There are two new commands for entering View mode: | |
8411 view-file-other-frame and view-buffer-other-frame. | |
8412 | |
8413 *** Exiting View mode does a better job of restoring windows to their | |
8414 previous state. | |
8415 | |
8416 *** New customization variable view-scroll-auto-exit. If non-nil, | |
8417 scrolling past end of buffer makes view mode exit. | |
8418 | |
8419 *** New customization variable view-exits-all-viewing-windows. If | |
8420 non-nil, view-mode will at exit restore all windows viewing buffer, | |
8421 not just the selected window. | |
8422 | |
8423 *** New customization variable view-read-only. If non-nil, visiting a | |
8424 read-only file automatically enters View mode, and toggle-read-only | |
8425 turns View mode on or off. | |
8426 | |
8427 *** New customization variable view-remove-frame-by-deleting controls | |
8428 how to remove a not needed frame at view mode exit. If non-nil, | |
8429 delete the frame, if nil make an icon of it. | |
8430 | |
8431 ** C-x v l, the command to print a file's version control log, | |
8432 now positions point at the entry for the file's current branch version. | |
8433 | |
8434 ** C-x v =, the command to compare a file with the last checked-in version, | |
8435 has a new feature. If the file is currently not locked, so that it is | |
8436 presumably identical to the last checked-in version, the command now asks | |
8437 which version to compare with. | |
8438 | |
8439 ** When using hideshow.el, incremental search can temporarily show hidden | |
8440 blocks if a match is inside the block. | |
8441 | |
8442 The block is hidden again if the search is continued and the next match | |
8443 is outside the block. By customizing the variable | |
8444 isearch-hide-immediately you can choose to hide all the temporarily | |
8445 shown blocks only when exiting from incremental search. | |
8446 | |
8447 By customizing the variable hs-isearch-open you can choose what kind | |
8448 of blocks to temporarily show during isearch: comment blocks, code | |
8449 blocks, all of them or none. | |
8450 | |
8451 ** The new command C-x 4 0 (kill-buffer-and-window) kills the | |
8452 current buffer and deletes the selected window. It asks for | |
8453 confirmation first. | |
8454 | |
8455 ** C-x C-w, which saves the buffer into a specified file name, | |
8456 now changes the major mode according to that file name. | |
8457 However, the mode will not be changed if | |
8458 (1) a local variables list or the `-*-' line specifies a major mode, or | |
8459 (2) the current major mode is a "special" mode, | |
8460 not suitable for ordinary files, or | |
8461 (3) the new file name does not particularly specify any mode. | |
8462 | |
8463 This applies to M-x set-visited-file-name as well. | |
8464 | |
8465 However, if you set change-major-mode-with-file-name to nil, then | |
8466 these commands do not change the major mode. | |
8467 | |
8468 ** M-x occur changes. | |
8469 | |
8470 *** If the argument to M-x occur contains upper case letters, | |
8471 it performs a case-sensitive search. | |
8472 | |
8473 *** In the *Occur* buffer made by M-x occur, | |
8474 if you type g or M-x revert-buffer, this repeats the search | |
8475 using the same regular expression and the same buffer as before. | |
8476 | |
8477 ** In Transient Mark mode, the region in any one buffer is highlighted | |
8478 in just one window at a time. At first, it is highlighted in the | |
8479 window where you set the mark. The buffer's highlighting remains in | |
8480 that window unless you select to another window which shows the same | |
8481 buffer--then the highlighting moves to that window. | |
8482 | |
8483 ** The feature to suggest key bindings when you use M-x now operates | |
8484 after the command finishes. The message suggesting key bindings | |
8485 appears temporarily in the echo area. The previous echo area contents | |
8486 come back after a few seconds, in case they contain useful information. | |
8487 | |
8488 ** Each frame now independently records the order for recently | |
8489 selected buffers, so that the default for C-x b is now based on the | |
8490 buffers recently selected in the selected frame. | |
8491 | |
8492 ** Outline mode changes. | |
8493 | |
8494 *** Outline mode now uses overlays (this is the former noutline.el). | |
8495 | |
8496 *** Incremental searches skip over invisible text in Outline mode. | |
8497 | |
8498 ** When a minibuffer window is active but not the selected window, if | |
8499 you try to use the minibuffer, you used to get a nested minibuffer. | |
8500 Now, this not only gives an error, it also cancels the minibuffer that | |
8501 was already active. | |
8502 | |
8503 The motive for this change is so that beginning users do not | |
8504 unknowingly move away from minibuffers, leaving them active, and then | |
8505 get confused by it. | |
8506 | |
8507 If you want to be able to have recursive minibuffers, you must | |
8508 set enable-recursive-minibuffers to non-nil. | |
8509 | |
8510 ** Changes in dynamic abbrevs. | |
8511 | |
8512 *** Expanding dynamic abbrevs with M-/ is now smarter about case | |
8513 conversion. If the expansion has mixed case not counting the first | |
8514 character, and the abbreviation matches the beginning of the expansion | |
8515 including case, then the expansion is copied verbatim. | |
8516 | |
8517 The expansion is also copied verbatim if the abbreviation itself has | |
8518 mixed case. And using SPC M-/ to copy an additional word always | |
8519 copies it verbatim except when the previous copied word is all caps. | |
8520 | |
8521 *** The values of `dabbrev-case-replace' and `dabbrev-case-fold-search' | |
8522 are no longer Lisp expressions. They have simply three possible | |
8523 values. | |
8524 | |
8525 `dabbrev-case-replace' has these three values: nil (don't preserve | |
8526 case), t (do), or `case-replace' (do like M-x query-replace). | |
8527 `dabbrev-case-fold-search' has these three values: nil (don't ignore | |
8528 case), t (do), or `case-fold-search' (do like search). | |
8529 | |
8530 ** Minibuffer history lists are truncated automatically now to a | |
8531 certain length. The variable history-length specifies how long they | |
8532 can be. The default value is 30. | |
8533 | |
8534 ** Changes in Mail mode. | |
8535 | |
8536 *** The key C-x m no longer runs the `mail' command directly. | |
8537 Instead, it runs the command `compose-mail', which invokes the mail | |
8538 composition mechanism you have selected with the variable | |
8539 `mail-user-agent'. The default choice of user agent is | |
8540 `sendmail-user-agent', which gives behavior compatible with the old | |
8541 behavior. | |
8542 | |
8543 C-x 4 m now runs compose-mail-other-window, and C-x 5 m runs | |
8544 compose-mail-other-frame. | |
8545 | |
8546 *** While composing a reply to a mail message, from Rmail, you can use | |
8547 the command C-c C-r to cite just the region from the message you are | |
8548 replying to. This copies the text which is the selected region in the | |
8549 buffer that shows the original message. | |
8550 | |
8551 *** The command C-c C-i inserts a file at the end of the message, | |
8552 with separator lines around the contents. | |
8553 | |
8554 *** The command M-x expand-mail-aliases expands all mail aliases | |
8555 in suitable mail headers. Emacs automatically extracts mail alias | |
8556 definitions from your mail alias file (e.g., ~/.mailrc). You do not | |
8557 need to expand mail aliases yourself before sending mail. | |
8558 | |
8559 *** New features in the mail-complete command. | |
8560 | |
8561 **** The mail-complete command now inserts the user's full name, | |
8562 for local users or if that is known. The variable mail-complete-style | |
8563 controls the style to use, and whether to do this at all. | |
8564 Its values are like those of mail-from-style. | |
8565 | |
8566 **** The variable mail-passwd-command lets you specify a shell command | |
8567 to run to fetch a set of password-entries that add to the ones in | |
8568 /etc/passwd. | |
8569 | |
8570 **** The variable mail-passwd-file now specifies a list of files to read | |
8571 to get the list of user ids. By default, one file is used: | |
8572 /etc/passwd. | |
8573 | |
8574 ** You can "quote" a file name to inhibit special significance of | |
8575 special syntax, by adding `/:' to the beginning. Thus, if you have a | |
8576 directory named `/foo:', you can prevent it from being treated as a | |
8577 reference to a remote host named `foo' by writing it as `/:/foo:'. | |
8578 | |
8579 Emacs uses this new construct automatically when necessary, such as | |
8580 when you start it with a working directory whose name might otherwise | |
8581 be taken to be magic. | |
8582 | |
8583 ** There is a new command M-x grep-find which uses find to select | |
8584 files to search through, and grep to scan them. The output is | |
8585 available in a Compile mode buffer, as with M-x grep. | |
8586 | |
8587 M-x grep now uses the -e option if the grep program supports that. | |
8588 (-e prevents problems if the search pattern starts with a dash.) | |
8589 | |
8590 ** In Dired, the & command now flags for deletion the files whose names | |
8591 suggest they are probably not needed in the long run. | |
8592 | |
8593 In Dired, * is now a prefix key for mark-related commands. | |
8594 | |
8595 new key dired.el binding old key | |
8596 ------- ---------------- ------- | |
8597 * c dired-change-marks c | |
8598 * m dired-mark m | |
8599 * * dired-mark-executables * (binding deleted) | |
8600 * / dired-mark-directories / (binding deleted) | |
8601 * @ dired-mark-symlinks @ (binding deleted) | |
8602 * u dired-unmark u | |
8603 * DEL dired-unmark-backward DEL | |
40526
b466f4f946a7
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40493
diff
changeset
|
8604 * ? dired-unmark-all-files C-M-? |
30922 | 8605 * ! dired-unmark-all-marks |
8606 * % dired-mark-files-regexp % m | |
8607 * C-n dired-next-marked-file M-} | |
8608 * C-p dired-prev-marked-file M-{ | |
8609 | |
8610 ** Rmail changes. | |
8611 | |
8612 *** When Rmail cannot convert your incoming mail into Babyl format, it | |
8613 saves the new mail in the file RMAILOSE.n, where n is an integer | |
8614 chosen to make a unique name. This way, Rmail will not keep crashing | |
8615 each time you run it. | |
8616 | |
8617 *** In Rmail, the variable rmail-summary-line-count-flag now controls | |
8618 whether to include the line count in the summary. Non-nil means yes. | |
8619 | |
8620 *** In Rmail summary buffers, d and C-d (the commands to delete | |
8621 messages) now take repeat counts as arguments. A negative argument | |
8622 means to move in the opposite direction. | |
8623 | |
8624 *** In Rmail, the t command now takes an optional argument which lets | |
8625 you specify whether to show the message headers in full or pruned. | |
8626 | |
8627 *** In Rmail, the new command w (rmail-output-body-to-file) writes | |
8628 just the body of the current message into a file, without the headers. | |
8629 It takes the file name from the message subject, by default, but you | |
8630 can edit that file name in the minibuffer before it is actually used | |
8631 for output. | |
8632 | |
8633 ** Gnus changes. | |
8634 | |
8635 *** nntp.el has been totally rewritten in an asynchronous fashion. | |
8636 | |
8637 *** Article prefetching functionality has been moved up into | |
8638 Gnus. | |
8639 | |
8640 *** Scoring can now be performed with logical operators like | |
8641 `and', `or', `not', and parent redirection. | |
8642 | |
8643 *** Article washing status can be displayed in the | |
8644 article mode line. | |
8645 | |
8646 *** gnus.el has been split into many smaller files. | |
8647 | |
8648 *** Suppression of duplicate articles based on Message-ID. | |
8649 | |
8650 (setq gnus-suppress-duplicates t) | |
8651 | |
8652 *** New variables for specifying what score and adapt files | |
8653 are to be considered home score and adapt files. See | |
8654 `gnus-home-score-file' and `gnus-home-adapt-files'. | |
8655 | |
8656 *** Groups can inherit group parameters from parent topics. | |
8657 | |
8658 *** Article editing has been revamped and is now usable. | |
8659 | |
8660 *** Signatures can be recognized in more intelligent fashions. | |
8661 See `gnus-signature-separator' and `gnus-signature-limit'. | |
8662 | |
8663 *** Summary pick mode has been made to look more nn-like. | |
8664 Line numbers are displayed and the `.' command can be | |
8665 used to pick articles. | |
8666 | |
8667 *** Commands for moving the .newsrc.eld from one server to | |
8668 another have been added. | |
8669 | |
8670 `M-x gnus-change-server' | |
8671 | |
8672 *** A way to specify that "uninteresting" fields be suppressed when | |
8673 generating lines in buffers. | |
8674 | |
8675 *** 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
|
8676 `C-M-_'. |
30922 | 8677 |
8678 *** Scoring can be done on words using the new score type `w'. | |
8679 | |
8680 *** Adaptive scoring can be done on a Subject word-by-word basis: | |
8681 | |
8682 (setq gnus-use-adaptive-scoring '(word)) | |
8683 | |
8684 *** Scores can be decayed. | |
8685 | |
8686 (setq gnus-decay-scores t) | |
8687 | |
8688 *** Scoring can be performed using a regexp on the Date header. The | |
8689 Date is normalized to compact ISO 8601 format first. | |
8690 | |
8691 *** A new command has been added to remove all data on articles from | |
8692 the native server. | |
8693 | |
8694 `M-x gnus-group-clear-data-on-native-groups' | |
8695 | |
8696 *** A new command for reading collections of documents | |
40526
b466f4f946a7
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40493
diff
changeset
|
8697 (nndoc with nnvirtual on top) has been added -- `C-M-d'. |
30922 | 8698 |
8699 *** Process mark sets can be pushed and popped. | |
8700 | |
8701 *** A new mail-to-news backend makes it possible to post | |
8702 even when the NNTP server doesn't allow posting. | |
8703 | |
8704 *** A new backend for reading searches from Web search engines | |
8705 (DejaNews, Alta Vista, InReference) has been added. | |
8706 | |
8707 Use the `G w' command in the group buffer to create such | |
8708 a group. | |
8709 | |
8710 *** Groups inside topics can now be sorted using the standard | |
8711 sorting functions, and each topic can be sorted independently. | |
8712 | |
8713 See the commands under the `T S' submap. | |
8714 | |
8715 *** Subsets of the groups can be sorted independently. | |
8716 | |
8717 See the commands under the `G P' submap. | |
8718 | |
8719 *** Cached articles can be pulled into the groups. | |
8720 | |
8721 Use the `Y c' command. | |
8722 | |
8723 *** Score files are now applied in a more reliable order. | |
8724 | |
8725 *** Reports on where mail messages end up can be generated. | |
8726 | |
8727 `M-x nnmail-split-history' | |
8728 | |
8729 *** More hooks and functions have been added to remove junk | |
8730 from incoming mail before saving the mail. | |
8731 | |
8732 See `nnmail-prepare-incoming-header-hook'. | |
8733 | |
8734 *** The nnml mail backend now understands compressed article files. | |
8735 | |
8736 *** To enable Gnus to read/post multi-lingual articles, you must execute | |
8737 the following code, for instance, in your .emacs. | |
8738 | |
8739 (add-hook 'gnus-startup-hook 'gnus-mule-initialize) | |
8740 | |
8741 Then, when you start Gnus, it will decode non-ASCII text automatically | |
8742 and show appropriate characters. (Note: if you are using gnus-mime | |
8743 from the SEMI package, formerly known as TM, you should NOT add this | |
8744 hook to gnus-startup-hook; gnus-mime has its own method of handling | |
8745 this issue.) | |
8746 | |
8747 Since it is impossible to distinguish all coding systems | |
8748 automatically, you may need to specify a choice of coding system for a | |
8749 particular news group. This can be done by: | |
8750 | |
8751 (gnus-mule-add-group NEWSGROUP 'CODING-SYSTEM) | |
8752 | |
8753 Here NEWSGROUP should be a string which names a newsgroup or a tree | |
8754 of newsgroups. If NEWSGROUP is "XXX.YYY", all news groups under | |
8755 "XXX.YYY" (including "XXX.YYY.ZZZ") will use the specified coding | |
8756 system. CODING-SYSTEM specifies which coding system to use (for both | |
8757 for reading and posting). | |
8758 | |
8759 CODING-SYSTEM can also be a cons cell of the form | |
8760 (READ-CODING-SYSTEM . POST-CODING-SYSTEM) | |
8761 Then READ-CODING-SYSTEM is used when you read messages from the | |
8762 newsgroups, while POST-CODING-SYSTEM is used when you post messages | |
8763 there. | |
8764 | |
8765 Emacs knows the right coding systems for certain newsgroups by | |
8766 default. Here are some of these default settings: | |
8767 | |
8768 (gnus-mule-add-group "fj" 'iso-2022-7) | |
8769 (gnus-mule-add-group "alt.chinese.text" 'hz-gb-2312) | |
8770 (gnus-mule-add-group "alt.hk" 'hz-gb-2312) | |
8771 (gnus-mule-add-group "alt.chinese.text.big5" 'cn-big5) | |
8772 (gnus-mule-add-group "soc.culture.vietnamese" '(nil . viqr)) | |
8773 | |
8774 When you reply by mail to an article, these settings are ignored; | |
8775 the mail is encoded according to sendmail-coding-system, as usual. | |
8776 | |
8777 ** CC mode changes. | |
8778 | |
8779 *** If you edit primarily one style of C (or C++, Objective-C, Java) | |
8780 code, you may want to make the CC Mode style variables have global | |
8781 values so that you can set them directly in your .emacs file. To do | |
8782 this, set c-style-variables-are-local-p to nil in your .emacs file. | |
8783 Note that this only takes effect if you do it *before* cc-mode.el is | |
8784 loaded. | |
8785 | |
8786 If you typically edit more than one style of C (or C++, Objective-C, | |
8787 Java) code in a single Emacs session, you may want to make the CC Mode | |
8788 style variables have buffer local values. By default, all buffers | |
8789 share the same style variable settings; to make them buffer local, set | |
8790 c-style-variables-are-local-p to t in your .emacs file. Note that you | |
8791 must do this *before* CC Mode is loaded. | |
8792 | |
8793 *** The new variable c-indentation-style holds the C style name | |
8794 of the current buffer. | |
8795 | |
8796 *** The variable c-block-comments-indent-p has been deleted, because | |
8797 it is no longer necessary. C mode now handles all the supported styles | |
8798 of block comments, with no need to say which one you will use. | |
8799 | |
8800 *** There is a new indentation style "python", which specifies the C | |
8801 style that the Python developers like. | |
8802 | |
8803 *** There is a new c-cleanup-list option: brace-elseif-brace. | |
8804 This says to put ...} else if (...) {... on one line, | |
8805 just as brace-else-brace says to put ...} else {... on one line. | |
8806 | |
8807 ** VC Changes [new] | |
8808 | |
36908
365eecf7e7d7
Added a note about new support for the Baha'i calendar.
John Wiegley <johnw@newartisans.com>
parents:
36885
diff
changeset
|
8809 *** In vc-retrieve-snapshot (C-x v r), if you don't specify a snapshot |
30922 | 8810 name, it retrieves the *latest* versions of all files in the current |
8811 directory and its subdirectories (aside from files already locked). | |
8812 | |
8813 This feature is useful if your RCS directory is a link to a common | |
8814 master directory, and you want to pick up changes made by other | |
8815 developers. | |
8816 | |
8817 You can do the same thing for an individual file by typing C-u C-x C-q | |
8818 RET in a buffer visiting that file. | |
8819 | |
8820 *** VC can now handle files under CVS that are being "watched" by | |
8821 other developers. Such files are made read-only by CVS. To get a | |
8822 writable copy, type C-x C-q in a buffer visiting such a file. VC then | |
8823 calls "cvs edit", which notifies the other developers of it. | |
8824 | |
8825 *** vc-version-diff (C-u C-x v =) now suggests reasonable defaults for | |
8826 version numbers, based on the current state of the file. | |
8827 | |
8828 ** Calendar changes. | |
8829 | |
36908
365eecf7e7d7
Added a note about new support for the Baha'i calendar.
John Wiegley <johnw@newartisans.com>
parents:
36885
diff
changeset
|
8830 *** 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
|
8831 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
|
8832 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
|
8833 following/previous years. |
365eecf7e7d7
Added a note about new support for the Baha'i calendar.
John Wiegley <johnw@newartisans.com>
parents:
36885
diff
changeset
|
8834 |
365eecf7e7d7
Added a note about new support for the Baha'i calendar.
John Wiegley <johnw@newartisans.com>
parents:
36885
diff
changeset
|
8835 *** 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
|
8836 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
|
8837 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
|
8838 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
|
8839 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
|
8840 supposed attribute of God. |
30922 | 8841 |
8842 ** ps-print changes | |
8843 | |
37289 | 8844 There are some new user variables and subgroups for customizing the page |
8845 layout. | |
8846 | |
8847 *** Headers & Footers (subgroup) | |
8848 | |
8849 Some printer systems print a header page and force the first page to | |
8850 be printed on the back of the header page when using duplex. If your | |
8851 printer system has this behavior, set variable | |
8852 `ps-banner-page-when-duplexing' to t. | |
8853 | |
8854 If variable `ps-banner-page-when-duplexing' is non-nil, it prints a | |
8855 blank page as the very first printed page. So, it behaves as if the | |
37375 | 8856 very first character of buffer (or region) were a form feed ^L (\014). |
37289 | 8857 |
8858 The variable `ps-spool-config' specifies who is responsible for | |
8859 setting duplex mode and page size. Valid values are: | |
8860 | |
8861 lpr-switches duplex and page size are configured by `ps-lpr-switches'. | |
8862 Don't forget to set `ps-lpr-switches' to select duplex | |
8863 printing for your printer. | |
8864 | |
8865 setpagedevice duplex and page size are configured by ps-print using the | |
8866 setpagedevice PostScript operator. | |
8867 | |
8868 nil duplex and page size are configured by ps-print *not* using | |
8869 the setpagedevice PostScript operator. | |
8870 | |
8871 The variable `ps-spool-tumble' specifies how the page images on | |
8872 opposite sides of a sheet are oriented with respect to each other. If | |
8873 `ps-spool-tumble' is nil, ps-print produces output suitable for | |
8874 bindings on the left or right. If `ps-spool-tumble' is non-nil, | |
8875 ps-print produces output suitable for bindings at the top or bottom. | |
8876 This variable takes effect only if `ps-spool-duplex' is non-nil. | |
8877 The default value is nil. | |
8878 | |
8879 The variable `ps-header-frame-alist' specifies a header frame | |
8880 properties alist. Valid frame properties are: | |
8881 | |
8882 fore-color Specify the foreground frame color. | |
8883 Value should be a float number between 0.0 (black | |
8884 color) and 1.0 (white color), or a string which is a | |
8885 color name, or a list of 3 float numbers which | |
8886 correspond to the Red Green Blue color scale, each | |
8887 float number between 0.0 (dark color) and 1.0 (bright | |
8888 color). The default is 0 ("black"). | |
8889 | |
8890 back-color Specify the background frame color (similar to fore-color). | |
8891 The default is 0.9 ("gray90"). | |
8892 | |
8893 shadow-color Specify the shadow color (similar to fore-color). | |
8894 The default is 0 ("black"). | |
8895 | |
8896 border-color Specify the border color (similar to fore-color). | |
8897 The default is 0 ("black"). | |
8898 | |
8899 border-width Specify the border width. | |
8900 The default is 0.4. | |
8901 | |
8902 Any other property is ignored. | |
8903 | |
8904 Don't change this alist directly; instead use Custom, or the | |
8905 `ps-value', `ps-get', `ps-put' and `ps-del' functions (see there for | |
8906 documentation). | |
8907 | |
8908 Ps-print can also print footers. The footer variables are: | |
8909 `ps-print-footer', `ps-footer-offset', `ps-print-footer-frame', | |
8910 `ps-footer-font-family', `ps-footer-font-size', `ps-footer-line-pad', | |
8911 `ps-footer-lines', `ps-left-footer', `ps-right-footer' and | |
8912 `ps-footer-frame-alist'. These variables are similar to those | |
8913 controlling headers. | |
8914 | |
8915 *** Color management (subgroup) | |
8916 | |
8917 If `ps-print-color-p' is non-nil, the buffer's text will be printed in | |
8918 color. | |
8919 | |
8920 *** Face Management (subgroup) | |
8921 | |
8922 If you need to print without worrying about face background colors, | |
8923 set the variable `ps-use-face-background' which specifies if face | |
8924 background should be used. Valid values are: | |
8925 | |
8926 t always use face background color. | |
8927 nil never use face background color. | |
8928 (face...) list of faces whose background color will be used. | |
8929 | |
8930 *** N-up printing (subgroup) | |
8931 | |
8932 The variable `ps-n-up-printing' specifies the number of pages per | |
8933 sheet of paper. | |
8934 | |
8935 The variable `ps-n-up-margin' specifies the margin in points (pt) | |
8936 between the sheet border and the n-up printing. | |
8937 | |
8938 If variable `ps-n-up-border-p' is non-nil, a border is drawn around | |
8939 each page. | |
8940 | |
8941 The variable `ps-n-up-filling' specifies how the page matrix is filled | |
8942 on each sheet of paper. Following are the valid values for | |
8943 `ps-n-up-filling' with a filling example using a 3x4 page matrix: | |
8944 | |
8945 `left-top' 1 2 3 4 `left-bottom' 9 10 11 12 | |
8946 5 6 7 8 5 6 7 8 | |
8947 9 10 11 12 1 2 3 4 | |
8948 | |
8949 `right-top' 4 3 2 1 `right-bottom' 12 11 10 9 | |
8950 8 7 6 5 8 7 6 5 | |
8951 12 11 10 9 4 3 2 1 | |
8952 | |
8953 `top-left' 1 4 7 10 `bottom-left' 3 6 9 12 | |
8954 2 5 8 11 2 5 8 11 | |
8955 3 6 9 12 1 4 7 10 | |
8956 | |
8957 `top-right' 10 7 4 1 `bottom-right' 12 9 6 3 | |
8958 11 8 5 2 11 8 5 2 | |
8959 12 9 6 3 10 7 4 1 | |
8960 | |
8961 Any other value is treated as `left-top'. | |
8962 | |
8963 *** Zebra stripes (subgroup) | |
8964 | |
8965 The variable `ps-zebra-color' controls the zebra stripes grayscale or | |
8966 RGB color. | |
8967 | |
8968 The variable `ps-zebra-stripe-follow' specifies how zebra stripes | |
8969 continue on next page. Visually, valid values are (the character `+' | |
8970 to the right of each column indicates that a line is printed): | |
8971 | |
8972 `nil' `follow' `full' `full-follow' | |
8973 Current Page -------- ----------- --------- ---------------- | |
8974 1 XXXXX + 1 XXXXXXXX + 1 XXXXXX + 1 XXXXXXXXXXXXX + | |
8975 2 XXXXX + 2 XXXXXXXX + 2 XXXXXX + 2 XXXXXXXXXXXXX + | |
8976 3 XXXXX + 3 XXXXXXXX + 3 XXXXXX + 3 XXXXXXXXXXXXX + | |
8977 4 + 4 + 4 + 4 + | |
8978 5 + 5 + 5 + 5 + | |
8979 6 + 6 + 6 + 6 + | |
8980 7 XXXXX + 7 XXXXXXXX + 7 XXXXXX + 7 XXXXXXXXXXXXX + | |
8981 8 XXXXX + 8 XXXXXXXX + 8 XXXXXX + 8 XXXXXXXXXXXXX + | |
8982 9 XXXXX + 9 XXXXXXXX + 9 XXXXXX + 9 XXXXXXXXXXXXX + | |
8983 10 + 10 + | |
8984 11 + 11 + | |
8985 -------- ----------- --------- ---------------- | |
8986 Next Page -------- ----------- --------- ---------------- | |
8987 12 XXXXX + 12 + 10 XXXXXX + 10 + | |
8988 13 XXXXX + 13 XXXXXXXX + 11 XXXXXX + 11 + | |
8989 14 XXXXX + 14 XXXXXXXX + 12 XXXXXX + 12 + | |
8990 15 + 15 XXXXXXXX + 13 + 13 XXXXXXXXXXXXX + | |
8991 16 + 16 + 14 + 14 XXXXXXXXXXXXX + | |
8992 17 + 17 + 15 + 15 XXXXXXXXXXXXX + | |
8993 18 XXXXX + 18 + 16 XXXXXX + 16 + | |
8994 19 XXXXX + 19 XXXXXXXX + 17 XXXXXX + 17 + | |
8995 20 XXXXX + 20 XXXXXXXX + 18 XXXXXX + 18 + | |
8996 21 + 21 XXXXXXXX + | |
8997 22 + 22 + | |
8998 -------- ----------- --------- ---------------- | |
8999 | |
9000 Any other value is treated as `nil'. | |
9001 | |
9002 | |
9003 *** Printer management (subgroup) | |
9004 | |
9005 The variable `ps-printer-name-option' determines the option used by | |
9006 some utilities to indicate the printer name; it's used only when | |
9007 `ps-printer-name' is a non-empty string. If you're using the lpr | |
9008 utility to print, for example, `ps-printer-name-option' should be set | |
9009 to "-P". | |
9010 | |
9011 The variable `ps-manual-feed' indicates if the printer requires manual | |
9012 paper feeding. If it's nil, automatic feeding takes place. If it's | |
9013 non-nil, manual feeding takes place. | |
9014 | |
9015 The variable `ps-end-with-control-d' specifies whether C-d (\x04) | |
9016 should be inserted at end of the generated PostScript. Non-nil means | |
9017 do so. | |
9018 | |
9019 *** Page settings (subgroup) | |
9020 | |
9021 If variable `ps-warn-paper-type' is nil, it's *not* treated as an | |
9022 error if the PostScript printer doesn't have a paper with the size | |
9023 indicated by `ps-paper-type'; the default paper size will be used | |
9024 instead. If `ps-warn-paper-type' is non-nil, an error is signaled if | |
9025 the PostScript printer doesn't support a paper with the size indicated | |
9026 by `ps-paper-type'. This is used when `ps-spool-config' is set to | |
9027 `setpagedevice'. | |
9028 | |
9029 The variable `ps-print-upside-down' determines the orientation for | |
9030 printing pages: nil means `normal' printing, non-nil means | |
9031 `upside-down' printing (that is, the page is rotated by 180 degrees). | |
9032 | |
9033 The variable `ps-selected-pages' specifies which pages to print. If | |
9034 it's nil, all pages are printed. If it's a list, list elements may be | |
9035 integers specifying a single page to print, or cons cells (FROM . TO) | |
9036 specifying to print from page FROM to TO. Invalid list elements, that | |
9037 is integers smaller than one, or elements whose FROM is greater than | |
9038 its TO, are ignored. | |
9039 | |
9040 The variable `ps-even-or-odd-pages' specifies how to print even/odd | |
9041 pages. Valid values are: | |
9042 | |
9043 nil print all pages. | |
9044 | |
9045 `even-page' print only even pages. | |
9046 | |
9047 `odd-page' print only odd pages. | |
9048 | |
9049 `even-sheet' print only even sheets. | |
9050 That is, if `ps-n-up-printing' is 1, it behaves like | |
9051 `even-page', but for values greater than 1, it'll | |
9052 print only the even sheet of paper. | |
9053 | |
9054 `odd-sheet' print only odd sheets. | |
9055 That is, if `ps-n-up-printing' is 1, it behaves like | |
9056 `odd-page'; but for values greater than 1, it'll print | |
9057 only the odd sheet of paper. | |
9058 | |
9059 Any other value is treated as nil. | |
9060 | |
9061 If you set `ps-selected-pages' (see there for documentation), pages | |
9062 are filtered by `ps-selected-pages', and then by | |
9063 `ps-even-or-odd-pages'. For example, if we have: | |
9064 | |
9065 (setq ps-selected-pages '(1 4 (6 . 10) (12 . 16) 20)) | |
9066 | |
9067 and we combine this with `ps-even-or-odd-pages' and | |
9068 `ps-n-up-printing', we get: | |
9069 | |
9070 `ps-n-up-printing' = 1: | |
9071 `ps-even-or-odd-pages' PAGES PRINTED | |
9072 nil 1, 4, 6, 7, 8, 9, 10, 12, 13, 14, 15, 16, 20 | |
9073 even-page 4, 6, 8, 10, 12, 14, 16, 20 | |
9074 odd-page 1, 7, 9, 13, 15 | |
9075 even-sheet 4, 6, 8, 10, 12, 14, 16, 20 | |
9076 odd-sheet 1, 7, 9, 13, 15 | |
9077 | |
9078 `ps-n-up-printing' = 2: | |
9079 `ps-even-or-odd-pages' PAGES PRINTED | |
9080 nil 1/4, 6/7, 8/9, 10/12, 13/14, 15/16, 20 | |
9081 even-page 4/6, 8/10, 12/14, 16/20 | |
9082 odd-page 1/7, 9/13, 15 | |
9083 even-sheet 6/7, 10/12, 15/16 | |
9084 odd-sheet 1/4, 8/9, 13/14, 20 | |
9085 | |
9086 *** Miscellany (subgroup) | |
9087 | |
9088 The variable `ps-error-handler-message' specifies where error handler | |
9089 messages should be sent. | |
9090 | |
9091 It is also possible to add a user-defined PostScript prologue code in | |
9092 front of all generated prologue code by setting the variable | |
9093 `ps-user-defined-prologue'. | |
9094 | |
9095 The variable `ps-line-number-font' specifies the font for line numbers. | |
9096 | |
9097 The variable `ps-line-number-font-size' specifies the font size in | |
9098 points for line numbers. | |
9099 | |
9100 The variable `ps-line-number-color' specifies the color for line | |
9101 numbers. See `ps-zebra-color' for documentation. | |
9102 | |
9103 The variable `ps-line-number-step' specifies the interval in which | |
9104 line numbers are printed. For example, if `ps-line-number-step' is set | |
9105 to 2, the printing will look like: | |
9106 | |
9107 1 one line | |
9108 one line | |
9109 3 one line | |
9110 one line | |
9111 5 one line | |
9112 one line | |
9113 ... | |
9114 | |
9115 Valid values are: | |
9116 | |
9117 integer an integer specifying the interval in which line numbers are | |
9118 printed. If it's smaller than or equal to zero, 1 | |
9119 is used. | |
9120 | |
9121 `zebra' specifies that only the line number of the first line in a | |
9122 zebra stripe is to be printed. | |
9123 | |
9124 Any other value is treated as `zebra'. | |
9125 | |
9126 The variable `ps-line-number-start' specifies the starting point in | |
9127 the interval given by `ps-line-number-step'. For example, if | |
9128 `ps-line-number-step' is set to 3, and `ps-line-number-start' is set to | |
9129 3, the output will look like: | |
9130 | |
9131 one line | |
9132 one line | |
9133 3 one line | |
9134 one line | |
9135 one line | |
9136 6 one line | |
9137 one line | |
9138 one line | |
9139 9 one line | |
9140 one line | |
9141 ... | |
9142 | |
9143 The variable `ps-postscript-code-directory' specifies the directory | |
9144 where the PostScript prologue file used by ps-print is found. | |
9145 | |
9146 The variable `ps-line-spacing' determines the line spacing in points, | |
9147 for ordinary text, when generating PostScript (similar to | |
9148 `ps-font-size'). | |
9149 | |
9150 The variable `ps-paragraph-spacing' determines the paragraph spacing, | |
9151 in points, for ordinary text, when generating PostScript (similar to | |
9152 `ps-font-size'). | |
9153 | |
9154 The variable `ps-paragraph-regexp' specifies the paragraph delimiter. | |
9155 | |
9156 The variable `ps-begin-cut-regexp' and `ps-end-cut-regexp' specify the | |
9157 start and end of a region to cut out when printing. | |
30922 | 9158 |
9159 ** hideshow changes. | |
9160 | |
9161 *** now supports hiding of blocks of single line comments (like // for | |
9162 C++, ; for lisp). | |
9163 | |
9164 *** Support for java-mode added. | |
9165 | |
9166 *** When doing `hs-hide-all' it is now possible to also hide the comments | |
9167 in the file if `hs-hide-comments-when-hiding-all' is set. | |
9168 | |
35862
9604ca6b3728
More typos from Juanma Barranquero <lektu@uol.com.br>.
Eli Zaretskii <eliz@gnu.org>
parents:
35847
diff
changeset
|
9169 *** The new function `hs-hide-initial-comment' hides the comments at |
30922 | 9170 the beginning of the files. Finally those huge RCS logs don't stay in your |
9171 way! This is run by default when entering the `hs-minor-mode'. | |
9172 | |
9173 *** Now uses overlays instead of `selective-display', so is more | |
9174 robust and a lot faster. | |
9175 | |
9176 *** A block beginning can span multiple lines. | |
9177 | |
9178 *** The new variable `hs-show-hidden-short-form' if t, directs hideshow | |
9179 to show only the beginning of a block when it is hidden. See the | |
9180 documentation for more details. | |
9181 | |
9182 ** Changes in Enriched mode. | |
9183 | |
9184 *** When you visit a file in enriched-mode, Emacs will make sure it is | |
9185 filled to the current fill-column. This behavior is now independent | |
9186 of the size of the window. When you save the file, the fill-column in | |
9187 use is stored as well, so that the whole buffer need not be refilled | |
9188 the next time unless the fill-column is different. | |
9189 | |
9190 *** use-hard-newlines is now a minor mode. When it is enabled, Emacs | |
9191 distinguishes between hard and soft newlines, and treats hard newlines | |
9192 as paragraph boundaries. Otherwise all newlines inserted are marked | |
9193 as soft, and paragraph boundaries are determined solely from the text. | |
9194 | |
9195 ** Font Lock mode | |
9196 | |
9197 *** Custom support | |
9198 | |
9199 The variables font-lock-face-attributes, font-lock-display-type and | |
9200 font-lock-background-mode are now obsolete; the recommended way to specify the | |
9201 faces to use for Font Lock mode is with M-x customize-group on the new custom | |
9202 group font-lock-highlighting-faces. If you set font-lock-face-attributes in | |
9203 your ~/.emacs file, Font Lock mode will respect its value. However, you should | |
9204 consider converting from setting that variable to using M-x customize. | |
9205 | |
9206 You can still use X resources to specify Font Lock face appearances. | |
9207 | |
9208 *** Maximum decoration | |
9209 | |
9210 Fontification now uses the maximum level of decoration supported by | |
9211 default. Previously, fontification used a mode-specific default level | |
9212 of decoration, which is typically the minimum level of decoration | |
9213 supported. You can set font-lock-maximum-decoration to nil | |
9214 to get the old behavior. | |
9215 | |
9216 *** New support | |
9217 | |
9218 Support is now provided for Java, Objective-C, AWK and SIMULA modes. | |
9219 | |
9220 Note that Font Lock mode can be turned on without knowing exactly what modes | |
9221 support Font Lock mode, via the command global-font-lock-mode. | |
9222 | |
9223 *** Configurable support | |
9224 | |
9225 Support for C, C++, Objective-C and Java can be more easily configured for | |
9226 additional types and classes via the new variables c-font-lock-extra-types, | |
9227 c++-font-lock-extra-types, objc-font-lock-extra-types and, you guessed it, | |
9228 java-font-lock-extra-types. These value of each of these variables should be a | |
9229 list of regexps matching the extra type names. For example, the default value | |
9230 of c-font-lock-extra-types is ("\\sw+_t") which means fontification follows the | |
9231 convention that C type names end in _t. This results in slower fontification. | |
9232 | |
9233 Of course, you can change the variables that specify fontification in whatever | |
9234 way you wish, typically by adding regexps. However, these new variables make | |
9235 it easier to make specific and common changes for the fontification of types. | |
9236 | |
9237 *** Adding highlighting patterns to existing support | |
9238 | |
9239 You can use the new function font-lock-add-keywords to add your own | |
9240 highlighting patterns, such as for project-local or user-specific constructs, | |
9241 for any mode. | |
9242 | |
9243 For example, to highlight `FIXME:' words in C comments, put: | |
9244 | |
9245 (font-lock-add-keywords 'c-mode '(("\\<FIXME:" 0 font-lock-warning-face t))) | |
9246 | |
9247 in your ~/.emacs. | |
9248 | |
9249 *** New faces | |
9250 | |
9251 Font Lock now defines two new faces, font-lock-builtin-face and | |
9252 font-lock-warning-face. These are intended to highlight builtin keywords, | |
9253 distinct from a language's normal keywords, and objects that should be brought | |
9254 to user attention, respectively. Various modes now use these new faces. | |
9255 | |
9256 *** Changes to fast-lock support mode | |
9257 | |
9258 The fast-lock package, one of the two Font Lock support modes, can now process | |
9259 cache files silently. You can use the new variable fast-lock-verbose, in the | |
9260 same way as font-lock-verbose, to control this feature. | |
9261 | |
9262 *** Changes to lazy-lock support mode | |
9263 | |
9264 The lazy-lock package, one of the two Font Lock support modes, can now fontify | |
9265 according to the true syntactic context relative to other lines. You can use | |
9266 the new variable lazy-lock-defer-contextually to control this feature. If | |
9267 non-nil, changes to the buffer will cause subsequent lines in the buffer to be | |
9268 refontified after lazy-lock-defer-time seconds of idle time. If nil, then only | |
9269 the modified lines will be refontified; this is the same as the previous Lazy | |
9270 Lock mode behaviour and the behaviour of Font Lock mode. | |
9271 | |
9272 This feature is useful in modes where strings or comments can span lines. | |
9273 For example, if a string or comment terminating character is deleted, then if | |
9274 this feature is enabled subsequent lines in the buffer will be correctly | |
9275 refontified to reflect their new syntactic context. Previously, only the line | |
9276 containing the deleted character would be refontified and you would have to use | |
9277 the command M-g M-g (font-lock-fontify-block) to refontify some lines. | |
9278 | |
9279 As a consequence of this new feature, two other variables have changed: | |
9280 | |
9281 Variable `lazy-lock-defer-driven' is renamed `lazy-lock-defer-on-scrolling'. | |
9282 Variable `lazy-lock-defer-time' can now only be a time, i.e., a number. | |
9283 Buffer modes for which on-the-fly deferral applies can be specified via the | |
9284 new variable `lazy-lock-defer-on-the-fly'. | |
9285 | |
9286 If you set these variables in your ~/.emacs, then you may have to change those | |
9287 settings. | |
9288 | |
9289 ** Ada mode changes. | |
9290 | |
9291 *** There is now better support for using find-file.el with Ada mode. | |
9292 If you switch between spec and body, the cursor stays in the same | |
9293 procedure (modulo overloading). If a spec has no body file yet, but | |
9294 you try to switch to its body file, Ada mode now generates procedure | |
9295 stubs. | |
9296 | |
9297 *** There are two new commands: | |
9298 - `ada-make-local' : invokes gnatmake on the current buffer | |
9299 - `ada-check-syntax' : check syntax of current buffer. | |
9300 | |
9301 The user options `ada-compiler-make', `ada-make-options', | |
9302 `ada-language-version', `ada-compiler-syntax-check', and | |
9303 `ada-compile-options' are used within these commands. | |
9304 | |
9305 *** Ada mode can now work with Outline minor mode. The outline level | |
9306 is calculated from the indenting, not from syntactic constructs. | |
9307 Outlining does not work if your code is not correctly indented. | |
9308 | |
9309 *** The new function `ada-gnat-style' converts the buffer to the style of | |
9310 formatting used in GNAT. It places two blanks after a comment start, | |
9311 places one blank between a word end and an opening '(', and puts one | |
9312 space between a comma and the beginning of a word. | |
9313 | |
9314 ** Scheme mode changes. | |
9315 | |
9316 *** Scheme mode indentation now uses many of the facilities of Lisp | |
9317 mode; therefore, the variables to customize it are the variables used | |
9318 for Lisp mode which have names starting with `lisp-'. The variables | |
9319 with names starting with `scheme-' which used to do this no longer | |
9320 have any effect. | |
9321 | |
9322 If you want to use different indentation for Scheme and Lisp, this is | |
9323 still possible, but now you must do it by adding a hook to | |
9324 scheme-mode-hook, which could work by setting the `lisp-' indentation | |
9325 variables as buffer-local variables. | |
9326 | |
9327 *** DSSSL mode is a variant of Scheme mode, for editing DSSSL scripts. | |
9328 Use M-x dsssl-mode. | |
9329 | |
9330 ** Changes to the emacsclient program | |
9331 | |
9332 *** If a socket can't be found, and environment variables LOGNAME or | |
9333 USER are set, emacsclient now looks for a socket based on the UID | |
9334 associated with the name. That is an emacsclient running as root | |
9335 can connect to an Emacs server started by a non-root user. | |
9336 | |
9337 *** The emacsclient program now accepts an option --no-wait which tells | |
9338 it to return immediately without waiting for you to "finish" the | |
9339 buffer in Emacs. | |
9340 | |
9341 *** The new option --alternate-editor allows to specify an editor to | |
9342 use if Emacs is not running. The environment variable | |
9343 ALTERNATE_EDITOR can be used for the same effect; the command line | |
9344 option takes precedence. | |
9345 | |
9346 ** M-x eldoc-mode enables a minor mode in which the echo area | |
9347 constantly shows the parameter list for function being called at point | |
9348 (in Emacs Lisp and Lisp Interaction modes only). | |
9349 | |
9350 ** C-x n d now runs the new command narrow-to-defun, | |
9351 which narrows the accessible parts of the buffer to just | |
9352 the current defun. | |
9353 | |
9354 ** Emacs now handles the `--' argument in the standard way; all | |
9355 following arguments are treated as ordinary file names. | |
9356 | |
9357 ** On MSDOS and Windows, the bookmark file is now called _emacs.bmk, | |
9358 and the saved desktop file is now called _emacs.desktop (truncated if | |
9359 necessary). | |
9360 | |
9361 ** When you kill a buffer that visits a file, | |
9362 if there are any registers that save positions in the file, | |
9363 these register values no longer become completely useless. | |
9364 If you try to go to such a register with C-x j, then you are | |
9365 asked whether to visit the file again. If you say yes, | |
9366 it visits the file and then goes to the same position. | |
9367 | |
9368 ** When you visit a file that changes frequently outside Emacs--for | |
9369 example, a log of output from a process that continues to run--it may | |
9370 be useful for Emacs to revert the file without querying you whenever | |
9371 you visit the file afresh with C-x C-f. | |
9372 | |
9373 You can request this behavior for certain files by setting the | |
9374 variable revert-without-query to a list of regular expressions. If a | |
9375 file's name matches any of these regular expressions, find-file and | |
9376 revert-buffer revert the buffer without asking for permission--but | |
9377 only if you have not edited the buffer text yourself. | |
9378 | |
9379 ** set-default-font has been renamed to set-frame-font | |
9380 since it applies only to the current frame. | |
9381 | |
9382 ** In TeX mode, you can use the variable tex-main-file to specify the | |
9383 file for tex-file to run TeX on. (By default, tex-main-file is nil, | |
9384 and tex-file runs TeX on the current visited file.) | |
9385 | |
9386 This is useful when you are editing a document that consists of | |
9387 multiple files. In each of the included files, you can set up a local | |
9388 variable list which specifies the top-level file of your document for | |
9389 tex-main-file. Then tex-file will run TeX on the whole document | |
9390 instead of just the file you are editing. | |
9391 | |
9392 ** RefTeX mode | |
9393 | |
9394 RefTeX mode is a new minor mode with special support for \label, \ref | |
9395 and \cite macros in LaTeX documents. RefTeX distinguishes labels of | |
9396 different environments (equation, figure, ...) and has full support for | |
9397 multifile documents. To use it, select a buffer with a LaTeX document and | |
9398 turn the mode on with M-x reftex-mode. Here are the main user commands: | |
9399 | |
9400 C-c ( reftex-label | |
9401 Creates a label semi-automatically. RefTeX is context sensitive and | |
9402 knows which kind of label is needed. | |
9403 | |
9404 C-c ) reftex-reference | |
9405 Offers in a menu all labels in the document, along with context of the | |
9406 label definition. The selected label is referenced as \ref{LABEL}. | |
9407 | |
9408 C-c [ reftex-citation | |
9409 Prompts for a regular expression and displays a list of matching BibTeX | |
9410 database entries. The selected entry is cited with a \cite{KEY} macro. | |
9411 | |
9412 C-c & reftex-view-crossref | |
9413 Views the cross reference of a \ref or \cite command near point. | |
9414 | |
9415 C-c = reftex-toc | |
9416 Shows a table of contents of the (multifile) document. From there you | |
9417 can quickly jump to every section. | |
9418 | |
9419 Under X, RefTeX installs a "Ref" menu in the menu bar, with additional | |
9420 commands. Press `?' to get help when a prompt mentions this feature. | |
9421 Full documentation and customization examples are in the file | |
9422 reftex.el. You can use the finder to view the file documentation: | |
9423 C-h p --> tex --> reftex.el | |
9424 | |
9425 ** Changes in BibTeX mode. | |
9426 | |
9427 *** Info documentation is now available. | |
9428 | |
9429 *** Don't allow parentheses in string constants anymore. This confused | |
9430 both the BibTeX program and Emacs BibTeX mode. | |
9431 | |
9432 *** Renamed variable bibtex-mode-user-optional-fields to | |
9433 bibtex-user-optional-fields. | |
9434 | |
9435 *** Removed variable bibtex-include-OPTannote | |
9436 (use bibtex-user-optional-fields instead). | |
9437 | |
9438 *** New interactive functions to copy and kill fields and complete | |
9439 entries to the BibTeX kill ring, from where they can be yanked back by | |
9440 appropriate functions. | |
9441 | |
9442 *** New interactive functions for repositioning and marking of | |
40526
b466f4f946a7
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40493
diff
changeset
|
9443 entries. They are bound by default to C-M-l and C-M-h. |
30922 | 9444 |
9445 *** New hook bibtex-clean-entry-hook. It is called after entry has | |
9446 been cleaned. | |
9447 | |
9448 *** New variable bibtex-field-delimiters, which replaces variables | |
9449 bibtex-field-{left|right}-delimiter. | |
9450 | |
9451 *** New variable bibtex-entry-delimiters to determine how entries | |
9452 shall be delimited. | |
9453 | |
9454 *** Allow preinitialization of fields. See documentation of | |
9455 bibtex-user-optional-fields, bibtex-entry-field-alist, and | |
9456 bibtex-include-OPTkey for details. | |
9457 | |
9458 *** Book and InBook entries require either an author or an editor | |
9459 field. This is now supported by bibtex.el. Alternative fields are | |
9460 prefixed with `ALT'. | |
9461 | |
9462 *** New variable bibtex-entry-format, which replaces variable | |
9463 bibtex-clean-entry-zap-empty-opts and allows specification of many | |
9464 formatting options performed on cleaning an entry (see variable | |
9465 documentation). | |
9466 | |
9467 *** Even more control on how automatic keys are generated. See | |
9468 documentation of bibtex-generate-autokey for details. Transcriptions | |
9469 for foreign languages other than German are now handled, too. | |
9470 | |
9471 *** New boolean user option bibtex-comma-after-last-field to decide if | |
9472 comma should be inserted at end of last field. | |
9473 | |
9474 *** New boolean user option bibtex-align-at-equal-sign to determine if | |
9475 alignment should be made at left side of field contents or at equal | |
9476 signs. New user options to control entry layout (e.g. indentation). | |
9477 | |
9478 *** New function bibtex-fill-entry to realign entries. | |
9479 | |
9480 *** New function bibtex-reformat to reformat region or buffer. | |
9481 | |
9482 *** New function bibtex-convert-alien to convert a BibTeX database | |
9483 from alien sources. | |
9484 | |
9485 *** New function bibtex-complete-key (similar to bibtex-complete-string) | |
9486 to complete prefix to a key defined in buffer. Mainly useful in | |
9487 crossref entries. | |
9488 | |
9489 *** New function bibtex-count-entries to count entries in buffer or | |
9490 region. | |
9491 | |
9492 *** Added support for imenu. | |
9493 | |
9494 *** The function `bibtex-validate' now checks current region instead | |
9495 of buffer if mark is active. Now it shows all errors of buffer in a | |
9496 `compilation mode' buffer. You can use the normal commands (e.g. | |
9497 `next-error') for compilation modes to jump to errors. | |
9498 | |
9499 *** New variable `bibtex-string-file-path' to determine where the files | |
9500 from `bibtex-string-files' are searched. | |
9501 | |
9502 ** Iso Accents mode now supports Latin-3 as an alternative. | |
9503 | |
9504 ** The command next-error now opens blocks hidden by hideshow. | |
9505 | |
9506 ** The function using-unix-filesystems has been replaced by the | |
9507 functions add-untranslated-filesystem and remove-untranslated-filesystem. | |
9508 Each of these functions takes the name of a drive letter or directory | |
9509 as an argument. | |
9510 | |
9511 When a filesystem is added as untranslated, all files on it are read | |
9512 and written in binary mode (no cr/lf translation is performed). | |
9513 | |
9514 ** browse-url changes | |
9515 | |
9516 *** New methods for: Grail (browse-url-generic), MMM (browse-url-mmm), | |
9517 Lynx in a separate xterm (browse-url-lynx-xterm) or in an Emacs window | |
9518 (browse-url-lynx-emacs), remote W3 (browse-url-w3-gnudoit), generic | |
9519 non-remote-controlled browsers (browse-url-generic) and associated | |
9520 customization variables. | |
9521 | |
9522 *** New commands `browse-url-of-region' and `browse-url'. | |
9523 | |
9524 *** URLs marked up with <URL:...> (RFC1738) work if broken across | |
9525 lines. Browsing methods can be associated with URL regexps | |
9526 (e.g. mailto: URLs) via `browse-url-browser-function'. | |
9527 | |
9528 ** Changes in Ediff | |
9529 | |
9530 *** Clicking Mouse-2 on a brief command description in Ediff control panel | |
9531 pops up the Info file for this command. | |
9532 | |
9533 *** There is now a variable, ediff-autostore-merges, which controls whether | |
9534 the result of a merge is saved in a file. By default, this is done only when | |
9535 merge is done from a session group (eg, when merging files in two different | |
9536 directories). | |
9537 | |
9538 *** Since Emacs 19.31 (this hasn't been announced before), Ediff can compare | |
9539 and merge groups of files residing in different directories, or revisions of | |
9540 files in the same directory. | |
9541 | |
9542 *** Since Emacs 19.31, Ediff can apply multi-file patches interactively. | |
9543 The patches must be in the context format or GNU unified format. (The bug | |
9544 related to the GNU format has now been fixed.) | |
9545 | |
9546 ** Changes in Viper | |
9547 | |
9548 *** The startup file is now .viper instead of .vip | |
9549 *** All variable/function names have been changed to start with viper- | |
9550 instead of vip-. | |
9551 *** C-\ now simulates the meta-key in all Viper states. | |
9552 *** C-z in Insert state now escapes to Vi for the duration of the next | |
9553 Viper command. In Vi and Insert states, C-z behaves as before. | |
9554 *** C-c \ escapes to Vi for one command if Viper is in Insert or Emacs states. | |
9555 *** _ is no longer the meta-key in Vi state. | |
9556 *** The variable viper-insert-state-cursor-color can be used to change cursor | |
9557 color when Viper is in insert state. | |
9558 *** If search lands the cursor near the top or the bottom of the window, | |
9559 Viper pulls the window up or down to expose more context. The variable | |
9560 viper-adjust-window-after-search controls this behavior. | |
9561 | |
9562 ** Etags changes. | |
9563 | |
9564 *** In C, C++, Objective C and Java, Etags tags global variables by | |
9565 default. The resulting tags files are inflated by 30% on average. | |
9566 Use --no-globals to turn this feature off. Etags can also tag | |
9567 variables which are members of structure-like constructs, but it does | |
9568 not by default. Use --members to turn this feature on. | |
9569 | |
9570 *** C++ member functions are now recognized as tags. | |
9571 | |
9572 *** Java is tagged like C++. In addition, "extends" and "implements" | |
9573 constructs are tagged. Files are recognised by the extension .java. | |
9574 | |
9575 *** Etags can now handle programs written in Postscript. Files are | |
9576 recognised by the extensions .ps and .pdb (Postscript with C syntax). | |
9577 In Postscript, tags are lines that start with a slash. | |
9578 | |
9579 *** Etags now handles Objective C and Objective C++ code. The usual C and | |
9580 C++ tags are recognized in these languages; in addition, etags | |
9581 recognizes special Objective C syntax for classes, class categories, | |
9582 methods and protocols. | |
9583 | |
9584 *** Etags also handles Cobol. Files are recognised by the extension | |
9585 .cobol. The tagged lines are those containing a word that begins in | |
9586 column 8 and ends in a full stop, i.e. anything that could be a | |
9587 paragraph name. | |
9588 | |
9589 *** Regexps in Etags now support intervals, as in ed or grep. The syntax of | |
9590 an interval is \{M,N\}, and it means to match the preceding expression | |
9591 at least M times and as many as N times. | |
9592 | |
9593 ** The format for specifying a custom format for time-stamp to insert | |
9594 in files has changed slightly. | |
9595 | |
9596 With the new enhancements to the functionality of format-time-string, | |
9597 time-stamp-format will change to be eventually compatible with it. | |
9598 This conversion is being done in two steps to maintain compatibility | |
9599 with old time-stamp-format values. | |
9600 | |
9601 In the new scheme, alternate case is signified by the number-sign | |
9602 (`#') modifier, rather than changing the case of the format character. | |
9603 This feature is as yet incompletely implemented for compatibility | |
9604 reasons. | |
9605 | |
9606 In the old time-stamp-format, all numeric fields defaulted to their | |
9607 natural width. (With format-time-string, each format has a | |
9608 fixed-width default.) In this version, you can specify the colon | |
9609 (`:') modifier to a numeric conversion to mean "give me the historical | |
9610 time-stamp-format width default." Do not use colon if you are | |
9611 specifying an explicit width, as in "%02d". | |
9612 | |
9613 Numbers are no longer truncated to the requested width, except in the | |
9614 case of "%02y", which continues to give a two-digit year. Digit | |
9615 truncation probably wasn't being used for anything else anyway. | |
9616 | |
9617 The new formats will work with old versions of Emacs. New formats are | |
9618 being recommended now to allow time-stamp-format to change in the | |
9619 future to be compatible with format-time-string. The new forms being | |
9620 recommended now will continue to work then. | |
9621 | |
9622 See the documentation string for the variable time-stamp-format for | |
9623 details. | |
9624 | |
9625 ** There are some additional major modes: | |
9626 | |
9627 dcl-mode, for editing VMS DCL files. | |
9628 m4-mode, for editing files of m4 input. | |
9629 meta-mode, for editing MetaFont and MetaPost source files. | |
9630 | |
9631 ** In Shell mode, the command shell-copy-environment-variable lets you | |
9632 copy the value of a specified environment variable from the subshell | |
9633 into Emacs. | |
9634 | |
9635 ** New Lisp packages include: | |
9636 | |
9637 *** battery.el displays battery status for laptops. | |
9638 | |
9639 *** M-x bruce (named after Lenny Bruce) is a program that might | |
9640 be used for adding some indecent words to your email. | |
9641 | |
9642 *** M-x crisp-mode enables an emulation for the CRiSP editor. | |
9643 | |
9644 *** M-x dirtrack arranges for better tracking of directory changes | |
9645 in shell buffers. | |
9646 | |
9647 *** The new library elint.el provides for linting of Emacs Lisp code. | |
9648 See the documentation for `elint-initialize', `elint-current-buffer' | |
9649 and `elint-defun'. | |
9650 | |
9651 *** M-x expand-add-abbrevs defines a special kind of abbrev which is | |
9652 meant for programming constructs. These abbrevs expand like ordinary | |
9653 ones, when you type SPC, but only at the end of a line and not within | |
9654 strings or comments. | |
9655 | |
9656 These abbrevs can act as templates: you can define places within an | |
9657 abbrev for insertion of additional text. Once you expand the abbrev, | |
9658 you can then use C-x a p and C-x a n to move back and forth to these | |
9659 insertion points. Thus you can conveniently insert additional text | |
9660 at these points. | |
9661 | |
9662 *** filecache.el remembers the location of files so that you | |
9663 can visit them by short forms of their names. | |
9664 | |
9665 *** find-func.el lets you find the definition of the user-loaded | |
9666 Emacs Lisp function at point. | |
9667 | |
9668 *** M-x handwrite converts text to a "handwritten" picture. | |
9669 | |
9670 *** M-x iswitchb-buffer is a command for switching to a buffer, much like | |
9671 switch-buffer, but it reads the argument in a more helpful way. | |
9672 | |
9673 *** M-x landmark implements a neural network for landmark learning. | |
9674 | |
9675 *** M-x locate provides a convenient interface to the `locate' program. | |
9676 | |
9677 *** M4 mode is a new mode for editing files of m4 input. | |
9678 | |
9679 *** mantemp.el creates C++ manual template instantiations | |
9680 from the GCC error messages which indicate which instantiations are needed. | |
9681 | |
9682 *** mouse-copy.el provides a one-click copy and move feature. | |
9683 You can drag a region with M-mouse-1, and it is automatically | |
9684 inserted at point. M-Shift-mouse-1 deletes the text from its | |
9685 original place after inserting the copy. | |
9686 | |
9687 *** mouse-drag.el lets you do scrolling by dragging Mouse-2 | |
9688 on the buffer. | |
9689 | |
9690 You click the mouse and move; that distance either translates into the | |
9691 velocity to scroll (with mouse-drag-throw) or the distance to scroll | |
9692 (with mouse-drag-drag). Horizontal scrolling is enabled when needed. | |
9693 | |
9694 Enable mouse-drag with: | |
9695 (global-set-key [down-mouse-2] 'mouse-drag-throw) | |
9696 -or- | |
9697 (global-set-key [down-mouse-2] 'mouse-drag-drag) | |
9698 | |
9699 *** mspools.el is useful for determining which mail folders have | |
9700 mail waiting to be read in them. It works with procmail. | |
9701 | |
9702 *** Octave mode is a major mode for editing files of input for Octave. | |
9703 It comes with a facility for communicating with an Octave subprocess. | |
9704 | |
9705 *** ogonek | |
9706 | |
9707 The ogonek package provides functions for changing the coding of | |
9708 Polish diacritic characters in buffers. Codings known from various | |
9709 platforms are supported such as ISO8859-2, Mazovia, IBM Latin2, and | |
9710 TeX. For example, you can change the coding from Mazovia to | |
9711 ISO8859-2. Another example is a change of coding from ISO8859-2 to | |
9712 prefix notation (in which `/a' stands for the aogonek character, for | |
9713 instance) and vice versa. | |
9714 | |
9715 To use this package load it using | |
9716 M-x load-library [enter] ogonek | |
9717 Then, you may get an explanation by calling one of | |
9718 M-x ogonek-jak -- in Polish | |
9719 M-x ogonek-how -- in English | |
9720 The info specifies the commands and variables provided as well as the | |
9721 ways of customization in `.emacs'. | |
9722 | |
9723 *** Interface to ph. | |
9724 | |
9725 Emacs provides a client interface to CCSO Nameservers (ph/qi) | |
9726 | |
9727 The CCSO nameserver is used in many universities to provide directory | |
9728 services about people. ph.el provides a convenient Emacs interface to | |
9729 these servers. | |
9730 | |
9731 *** uce.el is useful for replying to unsolicited commercial email. | |
9732 | |
9733 *** vcursor.el implements a "virtual cursor" feature. | |
9734 You can move the virtual cursor with special commands | |
9735 while the real cursor does not move. | |
9736 | |
9737 *** webjump.el is a "hot list" package which you can set up | |
9738 for visiting your favorite web sites. | |
9739 | |
9740 *** M-x winner-mode is a minor mode which saves window configurations, | |
9741 so you can move back to other configurations that you have recently used. | |
9742 | |
9743 ** movemail change | |
9744 | |
9745 Movemail no longer needs to be installed setuid root in order for POP | |
9746 mail retrieval to function properly. This is because it no longer | |
9747 supports the RPOP (reserved-port POP) protocol; instead, it uses the | |
9748 user's POP password to authenticate to the mail server. | |
9749 | |
9750 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
|
9751 |
30922 | 9752 * Emacs 20.1 changes for MS-DOS and MS-Windows. |
9753 | |
9754 ** Changes in handling MS-DOS/MS-Windows text files. | |
9755 | |
9756 Emacs handles three different conventions for representing | |
9757 end-of-line: CRLF for MSDOS, LF for Unix and GNU, and CR (used on the | |
9758 Macintosh). Emacs determines which convention is used in a specific | |
9759 file based on the contents of that file (except for certain special | |
9760 file names), and when it saves the file, it uses the same convention. | |
9761 | |
9762 To save the file and change the end-of-line convention, you can use | |
9763 C-x RET f (set-buffer-file-coding-system) to specify a different | |
9764 coding system for the buffer. Then, when you save the file, the newly | |
9765 specified coding system will take effect. For example, to save with | |
9766 LF, specify undecided-unix (or some other ...-unix coding system); to | |
9767 save with CRLF, specify undecided-dos. | |
35577
db5649648a65
Replace formfeeds removed on 2001/01/22.
Dave Love <fx@gnu.org>
parents:
35567
diff
changeset
|
9768 |
30922 | 9769 * Lisp Changes in Emacs 20.1 |
9770 | |
9771 ** Byte-compiled files made with Emacs 20 will, in general, work in | |
9772 Emacs 19 as well, as long as the source code runs in Emacs 19. And | |
9773 vice versa: byte-compiled files made with Emacs 19 should also run in | |
9774 Emacs 20, as long as the program itself works in Emacs 20. | |
9775 | |
9776 ** Windows-specific functions and variables have been renamed | |
9777 to start with w32- instead of win32-. | |
9778 | |
9779 In hacker language, calling something a "win" is a form of praise. We | |
9780 don't want to praise a non-free Microsoft system, so we don't call it | |
9781 "win". | |
9782 | |
9783 ** Basic Lisp changes | |
9784 | |
9785 *** A symbol whose name starts with a colon now automatically | |
9786 evaluates to itself. Therefore such a symbol can be used as a constant. | |
9787 | |
9788 *** The defined purpose of `defconst' has been changed. It should now | |
9789 be used only for values that should not be changed whether by a program | |
9790 or by the user. | |
9791 | |
9792 The actual behavior of defconst has not been changed. | |
9793 | |
9794 *** There are new macros `when' and `unless' | |
9795 | |
9796 (when CONDITION BODY...) is short for (if CONDITION (progn BODY...)) | |
9797 (unless CONDITION BODY...) is short for (if CONDITION nil BODY...) | |
9798 | |
9799 *** Emacs now defines functions caar, cadr, cdar and cddr with their | |
9800 usual Lisp meanings. For example, caar returns the car of the car of | |
9801 its argument. | |
9802 | |
9803 *** equal, when comparing strings, now ignores their text properties. | |
9804 | |
9805 *** The new function `functionp' tests whether an object is a function. | |
9806 | |
9807 *** arrayp now returns t for char-tables and bool-vectors. | |
9808 | |
9809 *** Certain primitives which use characters (as integers) now get an | |
9810 error if the integer is not a valid character code. These primitives | |
9811 include insert-char, char-to-string, and the %c construct in the | |
9812 `format' function. | |
9813 | |
9814 *** The `require' function now insists on adding a suffix, either .el | |
9815 or .elc, to the file name. Thus, (require 'foo) will not use a file | |
9816 whose name is just foo. It insists on foo.el or foo.elc. | |
9817 | |
9818 *** The `autoload' function, when the file name does not contain | |
9819 either a directory name or the suffix .el or .elc, insists on | |
9820 adding one of these suffixes. | |
9821 | |
9822 *** string-to-number now takes an optional second argument BASE | |
9823 which specifies the base to use when converting an integer. | |
9824 If BASE is omitted, base 10 is used. | |
9825 | |
9826 We have not implemented other radices for floating point numbers, | |
9827 because that would be much more work and does not seem useful. | |
9828 | |
9829 *** substring now handles vectors as well as strings. | |
9830 | |
9831 *** The Common Lisp function eql is no longer defined normally. | |
9832 You must load the `cl' library to define it. | |
9833 | |
9834 *** The new macro `with-current-buffer' lets you evaluate an expression | |
9835 conveniently with a different current buffer. It looks like this: | |
9836 | |
9837 (with-current-buffer BUFFER BODY-FORMS...) | |
9838 | |
9839 BUFFER is the expression that says which buffer to use. | |
9840 BODY-FORMS say what to do in that buffer. | |
9841 | |
9842 *** The new primitive `save-current-buffer' saves and restores the | |
9843 choice of current buffer, like `save-excursion', but without saving or | |
9844 restoring the value of point or the mark. `with-current-buffer' | |
9845 works using `save-current-buffer'. | |
9846 | |
9847 *** The new macro `with-temp-file' lets you do some work in a new buffer and | |
9848 write the output to a specified file. Like `progn', it returns the value | |
9849 of the last form. | |
9850 | |
9851 *** The new macro `with-temp-buffer' lets you do some work in a new buffer, | |
9852 which is discarded after use. Like `progn', it returns the value of the | |
9853 last form. If you wish to return the buffer contents, use (buffer-string) | |
9854 as the last form. | |
9855 | |
9856 *** The new function split-string takes a string, splits it at certain | |
9857 characters, and returns a list of the substrings in between the | |
9858 matches. | |
9859 | |
9860 For example, (split-string "foo bar lose" " +") returns ("foo" "bar" "lose"). | |
9861 | |
9862 *** The new macro with-output-to-string executes some Lisp expressions | |
9863 with standard-output set up so that all output feeds into a string. | |
9864 Then it returns that string. | |
9865 | |
9866 For example, if the current buffer name is `foo', | |
9867 | |
9868 (with-output-to-string | |
9869 (princ "The buffer is ") | |
9870 (princ (buffer-name))) | |
9871 | |
9872 returns "The buffer is foo". | |
9873 | |
9874 ** Non-ASCII characters are now supported, if enable-multibyte-characters | |
9875 is non-nil. | |
9876 | |
9877 These characters have character codes above 256. When inserted in the | |
9878 buffer or stored in a string, they are represented as multibyte | |
9879 characters that occupy several buffer positions each. | |
9880 | |
9881 *** When enable-multibyte-characters is non-nil, a single character in | |
9882 a buffer or string can be two or more bytes (as many as four). | |
9883 | |
9884 Buffers and strings are still made up of unibyte elements; | |
9885 character positions and string indices are always measured in bytes. | |
9886 Therefore, moving forward one character can increase the buffer | |
9887 position by 2, 3 or 4. The function forward-char moves by whole | |
9888 characters, and therefore is no longer equivalent to | |
9889 (lambda (n) (goto-char (+ (point) n))). | |
9890 | |
9891 ASCII characters (codes 0 through 127) are still single bytes, always. | |
9892 Sequences of byte values 128 through 255 are used to represent | |
9893 non-ASCII characters. These sequences are called "multibyte | |
9894 characters". | |
9895 | |
9896 The first byte of a multibyte character is always in the range 128 | |
9897 through 159 (octal 0200 through 0237). These values are called | |
9898 "leading codes". The second and subsequent bytes are always in the | |
9899 range 160 through 255 (octal 0240 through 0377). The first byte, the | |
9900 leading code, determines how many bytes long the sequence is. | |
9901 | |
9902 *** The function forward-char moves over characters, and therefore | |
9903 (forward-char 1) may increase point by more than 1 if it moves over a | |
9904 multibyte character. Likewise, delete-char always deletes a | |
9905 character, which may be more than one buffer position. | |
9906 | |
9907 This means that some Lisp programs, which assume that a character is | |
9908 always one buffer position, need to be changed. | |
9909 | |
9910 However, all ASCII characters are always one buffer position. | |
9911 | |
9912 *** The regexp [\200-\377] no longer matches all non-ASCII characters, | |
9913 because when enable-multibyte-characters is non-nil, these characters | |
9914 have codes that are not in the range octal 200 to octal 377. However, | |
9915 the regexp [^\000-\177] does match all non-ASCII characters, | |
9916 guaranteed. | |
9917 | |
9918 *** The function char-boundary-p returns non-nil if position POS is | |
9919 between two characters in the buffer (not in the middle of a | |
9920 character). | |
9921 | |
9922 When the value is non-nil, it says what kind of character follows POS: | |
9923 | |
9924 0 if POS is at an ASCII character or at the end of range, | |
9925 1 if POS is before a 2-byte length multi-byte form, | |
9926 2 if POS is at a head of 3-byte length multi-byte form, | |
9927 3 if POS is at a head of 4-byte length multi-byte form, | |
9928 4 if POS is at a head of multi-byte form of a composite character. | |
9929 | |
9930 *** The function char-bytes returns how many bytes the character CHAR uses. | |
9931 | |
9932 *** Strings can contain multibyte characters. The function | |
9933 `length' returns the string length counting bytes, which may be | |
9934 more than the number of characters. | |
9935 | |
9936 You can include a multibyte character in a string constant by writing | |
9937 it literally. You can also represent it with a hex escape, | |
9938 \xNNNNNNN..., using as many digits as necessary. Any character which | |
9939 is not a valid hex digit terminates this construct. If you want to | |
9940 follow it with a character that is a hex digit, write backslash and | |
9941 newline in between; that will terminate the hex escape. | |
9942 | |
9943 *** The function concat-chars takes arguments which are characters | |
9944 and returns a string containing those characters. | |
9945 | |
9946 *** The function sref access a multibyte character in a string. | |
9947 (sref STRING INDX) returns the character in STRING at INDEX. INDEX | |
9948 counts from zero. If INDEX is at a position in the middle of a | |
9949 character, sref signals an error. | |
9950 | |
9951 *** The function chars-in-string returns the number of characters | |
9952 in a string. This is less than the length of the string, if the | |
9953 string contains multibyte characters (the length counts bytes). | |
9954 | |
9955 *** The function chars-in-region returns the number of characters | |
9956 in a region from BEG to END. This is less than (- END BEG) if the | |
9957 region contains multibyte characters (the length counts bytes). | |
9958 | |
9959 *** The function string-to-list converts a string to a list of | |
9960 the characters in it. string-to-vector converts a string | |
9961 to a vector of the characters in it. | |
9962 | |
9963 *** The function store-substring alters part of the contents | |
9964 of a string. You call it as follows: | |
9965 | |
9966 (store-substring STRING IDX OBJ) | |
9967 | |
9968 This says to alter STRING, by storing OBJ starting at index IDX in | |
9969 STRING. OBJ may be either a character or a (smaller) string. | |
9970 This function really does alter the contents of STRING. | |
9971 Since it is impossible to change the length of an existing string, | |
9972 it is an error if OBJ doesn't fit within STRING's actual length. | |
9973 | |
9974 *** char-width returns the width (in columns) of the character CHAR, | |
9975 if it were displayed in the current buffer and the selected window. | |
9976 | |
9977 *** string-width returns the width (in columns) of the text in STRING, | |
9978 if it were displayed in the current buffer and the selected window. | |
9979 | |
9980 *** truncate-string-to-width shortens a string, if necessary, | |
9981 to fit within a certain number of columns. (Of course, it does | |
9982 not alter the string that you give it; it returns a new string | |
9983 which contains all or just part of the existing string.) | |
9984 | |
9985 (truncate-string-to-width STR END-COLUMN &optional START-COLUMN PADDING) | |
9986 | |
9987 This returns the part of STR up to column END-COLUMN. | |
9988 | |
9989 The optional argument START-COLUMN specifies the starting column. | |
9990 If this is non-nil, then the first START-COLUMN columns of the string | |
9991 are not included in the resulting value. | |
9992 | |
9993 The optional argument PADDING, if non-nil, is a padding character to be added | |
9994 at the beginning and end the resulting string, to extend it to exactly | |
9995 WIDTH columns. If PADDING is nil, that means do not pad; then, if STRING | |
9996 is narrower than WIDTH, the value is equal to STRING. | |
9997 | |
9998 If PADDING and START-COLUMN are both non-nil, and if there is no clean | |
9999 place in STRING that corresponds to START-COLUMN (because one | |
10000 character extends across that column), then the padding character | |
10001 PADDING is added one or more times at the beginning of the result | |
10002 string, so that its columns line up as if it really did start at | |
10003 column START-COLUMN. | |
10004 | |
10005 *** When the functions in the list after-change-functions are called, | |
10006 the third argument is the number of bytes in the pre-change text, not | |
10007 necessarily the number of characters. It is, in effect, the | |
10008 difference in buffer position between the beginning and the end of the | |
10009 changed text, before the change. | |
10010 | |
10011 *** The characters Emacs uses are classified in various character | |
10012 sets, each of which has a name which is a symbol. In general there is | |
10013 one character set for each script, not for each language. | |
10014 | |
10015 **** The function charsetp tests whether an object is a character set name. | |
10016 | |
10017 **** The variable charset-list holds a list of character set names. | |
10018 | |
10019 **** char-charset, given a character code, returns the name of the character | |
10020 set that the character belongs to. (The value is a symbol.) | |
10021 | |
10022 **** split-char, given a character code, returns a list containing the | |
10023 name of the character set, followed by one or two byte-values | |
10024 which identify the character within that character set. | |
10025 | |
10026 **** make-char, given a character set name and one or two subsequent | |
10027 byte-values, constructs a character code. This is roughly the | |
10028 opposite of split-char. | |
10029 | |
10030 **** find-charset-region returns a list of the character sets | |
10031 of all the characters between BEG and END. | |
10032 | |
10033 **** find-charset-string returns a list of the character sets | |
10034 of all the characters in a string. | |
10035 | |
10036 *** Here are the Lisp facilities for working with coding systems | |
10037 and specifying coding systems. | |
10038 | |
10039 **** The function coding-system-list returns a list of all coding | |
10040 system names (symbols). With optional argument t, it returns a list | |
10041 of all distinct base coding systems, not including variants. | |
10042 (Variant coding systems are those like latin-1-dos, latin-1-unix | |
10043 and latin-1-mac which specify the end-of-line conversion as well | |
10044 as what to do about code conversion.) | |
10045 | |
10046 **** coding-system-p tests a symbol to see if it is a coding system | |
10047 name. It returns t if so, nil if not. | |
10048 | |
10049 **** file-coding-system-alist specifies which coding systems to use | |
10050 for certain file names. It works like network-coding-system-alist, | |
10051 except that the PATTERN is matched against the file name. | |
10052 | |
10053 Each element has the format (PATTERN . VAL), where PATTERN determines | |
10054 which file names the element applies to. PATTERN should be a regexp | |
10055 to match against a file name. | |
10056 | |
10057 VAL is a coding system, a cons cell containing two coding systems, or | |
10058 a function symbol. If VAL is a coding system, it is used for both | |
10059 decoding what received from the network stream and encoding what sent | |
10060 to the network stream. If VAL is a cons cell containing two coding | |
10061 systems, the car specifies the coding system for decoding, and the cdr | |
10062 specifies the coding system for encoding. | |
10063 | |
10064 If VAL is a function symbol, the function must return a coding system | |
10065 or a cons cell containing two coding systems, which is used as above. | |
10066 | |
10067 **** The variable network-coding-system-alist specifies | |
10068 the coding system to use for network sockets. | |
10069 | |
10070 Each element has the format (PATTERN . VAL), where PATTERN determines | |
10071 which network sockets the element applies to. PATTERN should be | |
10072 either a port number or a regular expression matching some network | |
10073 service names. | |
10074 | |
10075 VAL is a coding system, a cons cell containing two coding systems, or | |
10076 a function symbol. If VAL is a coding system, it is used for both | |
10077 decoding what received from the network stream and encoding what sent | |
10078 to the network stream. If VAL is a cons cell containing two coding | |
10079 systems, the car specifies the coding system for decoding, and the cdr | |
10080 specifies the coding system for encoding. | |
10081 | |
10082 If VAL is a function symbol, the function must return a coding system | |
10083 or a cons cell containing two coding systems, which is used as above. | |
10084 | |
10085 **** process-coding-system-alist specifies which coding systems to use | |
10086 for certain subprocess. It works like network-coding-system-alist, | |
10087 except that the PATTERN is matched against the program name used to | |
10088 start the subprocess. | |
10089 | |
10090 **** The variable default-process-coding-system specifies the coding | |
10091 systems to use for subprocess (and net connection) input and output, | |
10092 when nothing else specifies what to do. The value is a cons cell | |
10093 (OUTPUT-CODING . INPUT-CODING). OUTPUT-CODING applies to output | |
10094 to the subprocess, and INPUT-CODING applies to input from it. | |
10095 | |
10096 **** The variable coding-system-for-write, if non-nil, specifies the | |
10097 coding system to use for writing a file, or for output to a synchronous | |
10098 subprocess. | |
10099 | |
10100 It also applies to any asynchronous subprocess or network connection, | |
10101 but in a different way: the value of coding-system-for-write when you | |
10102 start the subprocess or connection affects that subprocess or | |
10103 connection permanently or until overridden. | |
10104 | |
10105 The variable coding-system-for-write takes precedence over | |
10106 file-coding-system-alist, process-coding-system-alist and | |
10107 network-coding-system-alist, and all other methods of specifying a | |
10108 coding system for output. But most of the time this variable is nil. | |
10109 It exists so that Lisp programs can bind it to a specific coding | |
10110 system for one operation at a time. | |
10111 | |
10112 **** coding-system-for-read applies similarly to input from | |
10113 files, subprocesses or network connections. | |
10114 | |
10115 **** The function process-coding-system tells you what | |
10116 coding systems(s) an existing subprocess is using. | |
10117 The value is a cons cell, | |
10118 (DECODING-CODING-SYSTEM . ENCODING-CODING-SYSTEM) | |
10119 where DECODING-CODING-SYSTEM is used for decoding output from | |
10120 the subprocess, and ENCODING-CODING-SYSTEM is used for encoding | |
10121 input to the subprocess. | |
10122 | |
10123 **** The function set-process-coding-system can be used to | |
10124 change the coding systems in use for an existing subprocess. | |
10125 | |
10126 ** Emacs has a new facility to help users manage the many | |
10127 customization options. To make a Lisp program work with this facility, | |
10128 you need to use the new macros defgroup and defcustom. | |
10129 | |
10130 You use defcustom instead of defvar, for defining a user option | |
10131 variable. The difference is that you specify two additional pieces of | |
10132 information (usually): the "type" which says what values are | |
10133 legitimate, and the "group" which specifies the hierarchy for | |
10134 customization. | |
10135 | |
10136 Thus, instead of writing | |
10137 | |
10138 (defvar foo-blurgoze nil | |
10139 "*Non-nil means that foo will act very blurgozely.") | |
10140 | |
10141 you would now write this: | |
10142 | |
10143 (defcustom foo-blurgoze nil | |
10144 "*Non-nil means that foo will act very blurgozely." | |
10145 :type 'boolean | |
10146 :group foo) | |
10147 | |
10148 The type `boolean' means that this variable has only | |
10149 two meaningful states: nil and non-nil. Other type values | |
10150 describe other possibilities; see the manual for Custom | |
10151 for a description of them. | |
10152 | |
10153 The "group" argument is used to specify a group which the option | |
10154 should belong to. You define a new group like this: | |
10155 | |
10156 (defgroup ispell nil | |
10157 "Spell checking using Ispell." | |
10158 :group 'processes) | |
10159 | |
10160 The "group" argument in defgroup specifies the parent group. The root | |
10161 group is called `emacs'; it should not contain any variables itself, | |
10162 but only other groups. The immediate subgroups of `emacs' correspond | |
10163 to the keywords used by C-h p. Under these subgroups come | |
10164 second-level subgroups that belong to individual packages. | |
10165 | |
10166 Each Emacs package should have its own set of groups. A simple | |
10167 package should have just one group; a more complex package should | |
10168 have a hierarchy of its own groups. The sole or root group of a | |
10169 package should be a subgroup of one or more of the "keyword" | |
10170 first-level subgroups. | |
10171 | |
10172 ** New `widget' library for inserting UI components in buffers. | |
10173 | |
10174 This library, used by the new custom library, is documented in a | |
10175 separate manual that accompanies Emacs. | |
10176 | |
10177 ** easy-mmode | |
10178 | |
10179 The easy-mmode package provides macros and functions that make | |
10180 developing minor modes easier. Roughly, the programmer has to code | |
10181 only the functionality of the minor mode. All the rest--toggles, | |
10182 predicate, and documentation--can be done in one call to the macro | |
10183 `easy-mmode-define-minor-mode' (see the documentation). See also | |
10184 `easy-mmode-define-keymap'. | |
10185 | |
10186 ** Text property changes | |
10187 | |
10188 *** The `intangible' property now works on overlays as well as on a | |
10189 text property. | |
10190 | |
10191 *** The new functions next-char-property-change and | |
10192 previous-char-property-change scan through the buffer looking for a | |
10193 place where either a text property or an overlay might change. The | |
10194 functions take two arguments, POSITION and LIMIT. POSITION is the | |
10195 starting position for the scan. LIMIT says where to stop the scan. | |
10196 | |
10197 If no property change is found before LIMIT, the value is LIMIT. If | |
10198 LIMIT is nil, scan goes to the beginning or end of the accessible part | |
10199 of the buffer. If no property change is found, the value is the | |
10200 position of the beginning or end of the buffer. | |
10201 | |
10202 *** In the `local-map' text property or overlay property, the property | |
10203 value can now be a symbol whose function definition is a keymap. This | |
10204 is an alternative to using the keymap itself. | |
10205 | |
10206 ** Changes in invisibility features | |
10207 | |
10208 *** Isearch can now temporarily show parts of the buffer which are | |
10209 hidden by an overlay with a invisible property, when the search match | |
10210 is inside that portion of the buffer. To enable this the overlay | |
10211 should have a isearch-open-invisible property which is a function that | |
10212 would be called having the overlay as an argument, the function should | |
10213 make the overlay visible. | |
10214 | |
10215 During incremental search the overlays are shown by modifying the | |
10216 invisible and intangible properties, if beside this more actions are | |
10217 needed the overlay should have a isearch-open-invisible-temporary | |
10218 which is a function. The function is called with 2 arguments: one is | |
10219 the overlay and the second is nil when it should show the overlay and | |
10220 t when it should hide it. | |
10221 | |
10222 *** add-to-invisibility-spec, remove-from-invisibility-spec | |
10223 | |
10224 Modes that use overlays to hide portions of a buffer should set the | |
10225 invisible property of the overlay to the mode's name (or another symbol) | |
10226 and modify the `buffer-invisibility-spec' to include that symbol. | |
10227 Use `add-to-invisibility-spec' and `remove-from-invisibility-spec' to | |
10228 manipulate the `buffer-invisibility-spec'. | |
10229 Here is an example of how to do this: | |
10230 | |
10231 ;; If we want to display an ellipsis: | |
10232 (add-to-invisibility-spec '(my-symbol . t)) | |
10233 ;; If you don't want ellipsis: | |
10234 (add-to-invisibility-spec 'my-symbol) | |
10235 | |
10236 ... | |
10237 (overlay-put (make-overlay beginning end) 'invisible 'my-symbol) | |
10238 | |
10239 ... | |
10240 ;; When done with the overlays: | |
10241 (remove-from-invisibility-spec '(my-symbol . t)) | |
10242 ;; Or respectively: | |
10243 (remove-from-invisibility-spec 'my-symbol) | |
10244 | |
10245 ** Changes in syntax parsing. | |
10246 | |
10247 *** The syntax-directed buffer-scan functions (such as | |
10248 `parse-partial-sexp', `forward-word' and similar functions) can now | |
10249 obey syntax information specified by text properties, if the variable | |
10250 `parse-sexp-lookup-properties' is non-nil. | |
10251 | |
10252 If the value of `parse-sexp-lookup-properties' is nil, the behavior | |
10253 is as before: the syntax-table of the current buffer is always | |
10254 used to determine the syntax of the character at the position. | |
10255 | |
10256 When `parse-sexp-lookup-properties' is non-nil, the syntax of a | |
10257 character in the buffer is calculated thus: | |
10258 | |
10259 a) if the `syntax-table' text-property of that character | |
10260 is a cons, this cons becomes the syntax-type; | |
10261 | |
10262 Valid values of `syntax-table' text-property are: nil, a valid | |
10263 syntax-table, and a valid syntax-table element, i.e., | |
10264 a cons cell of the form (SYNTAX-CODE . MATCHING-CHAR). | |
10265 | |
10266 b) if the character's `syntax-table' text-property | |
10267 is a syntax table, this syntax table is used | |
10268 (instead of the syntax-table of the current buffer) to | |
10269 determine the syntax type of the character. | |
10270 | |
10271 c) otherwise the syntax-type is determined by the syntax-table | |
10272 of the current buffer. | |
10273 | |
10274 *** The meaning of \s in regular expressions is also affected by the | |
10275 value of `parse-sexp-lookup-properties'. The details are the same as | |
10276 for the syntax-directed buffer-scan functions. | |
10277 | |
10278 *** There are two new syntax-codes, `!' and `|' (numeric values 14 | |
10279 and 15). A character with a code `!' starts a comment which is ended | |
10280 only by another character with the same code (unless quoted). A | |
10281 character with a code `|' starts a string which is ended only by | |
10282 another character with the same code (unless quoted). | |
10283 | |
10284 These codes are mainly meant for use as values of the `syntax-table' | |
10285 text property. | |
10286 | |
10287 *** The function `parse-partial-sexp' has new semantics for the sixth | |
10288 arg COMMENTSTOP. If it is `syntax-table', parse stops after the start | |
10289 of a comment or a string, or after end of a comment or a string. | |
10290 | |
10291 *** The state-list which the return value from `parse-partial-sexp' | |
10292 (and can also be used as an argument) now has an optional ninth | |
10293 element: the character address of the start of last comment or string; | |
10294 nil if none. The fourth and eighth elements have special values if the | |
10295 string/comment is started by a "!" or "|" syntax-code. | |
10296 | |
10297 *** Since new features of `parse-partial-sexp' allow a complete | |
10298 syntactic parsing, `font-lock' no longer supports | |
10299 `font-lock-comment-start-regexp'. | |
10300 | |
10301 ** Changes in face features | |
10302 | |
10303 *** The face functions are now unconditionally defined in Emacs, even | |
10304 if it does not support displaying on a device that supports faces. | |
10305 | |
10306 *** The function face-documentation returns the documentation string | |
10307 of a face (or nil if it doesn't have one). | |
10308 | |
10309 *** The function face-bold-p returns t if a face should be bold. | |
10310 set-face-bold-p sets that flag. | |
10311 | |
10312 *** The function face-italic-p returns t if a face should be italic. | |
10313 set-face-italic-p sets that flag. | |
10314 | |
10315 *** You can now specify foreground and background colors for text | |
10316 by adding elements of the form (foreground-color . COLOR-NAME) | |
10317 and (background-color . COLOR-NAME) to the list of faces in | |
10318 the `face' property (either the character's text property or an | |
10319 overlay property). | |
10320 | |
10321 This means that you no longer need to create named faces to use | |
10322 arbitrary colors in a Lisp package. | |
10323 | |
10324 ** Changes in file-handling functions | |
10325 | |
10326 *** File-access primitive functions no longer discard an extra redundant | |
10327 directory name from the beginning of the file name. In other words, | |
10328 they no longer do anything special with // or /~. That conversion | |
10329 is now done only in substitute-in-file-name. | |
10330 | |
10331 This makes it possible for a Lisp program to open a file whose name | |
10332 begins with ~. | |
10333 | |
10334 *** If copy-file is unable to set the date of the output file, | |
10335 it now signals an error with the condition file-date-error. | |
10336 | |
10337 *** The inode number returned by file-attributes may be an integer (if | |
10338 the number fits in a Lisp integer) or a list of integers. | |
10339 | |
10340 *** insert-file-contents can now read from a special file, | |
10341 as long as the arguments VISIT and REPLACE are nil. | |
10342 | |
10343 *** The RAWFILE arg to find-file-noselect, if non-nil, now suppresses | |
10344 character code conversion as well as other things. | |
10345 | |
10346 Meanwhile, this feature does work with remote file names | |
10347 (formerly it did not). | |
10348 | |
10349 *** Lisp packages which create temporary files should use the TMPDIR | |
10350 environment variable to decide which directory to put them in. | |
10351 | |
10352 *** interpreter-mode-alist elements now specify regexps | |
10353 instead of constant strings. | |
10354 | |
10355 *** expand-file-name no longer treats `//' or `/~' specially. It used | |
10356 to delete all the text of a file name up through the first slash of | |
10357 any `//' or `/~' sequence. Now it passes them straight through. | |
10358 | |
10359 substitute-in-file-name continues to treat those sequences specially, | |
10360 in the same way as before. | |
10361 | |
10362 *** The variable `format-alist' is more general now. | |
10363 The FROM-FN and TO-FN in a format definition can now be strings | |
10364 which specify shell commands to use as filters to perform conversion. | |
10365 | |
10366 *** The new function access-file tries to open a file, and signals an | |
10367 error if that fails. If the open succeeds, access-file does nothing | |
10368 else, and returns nil. | |
10369 | |
10370 *** The function insert-directory now signals an error if the specified | |
10371 directory cannot be listed. | |
10372 | |
10373 ** Changes in minibuffer input | |
10374 | |
10375 *** The functions read-buffer, read-variable, read-command, read-string | |
10376 read-file-name, read-from-minibuffer and completing-read now take an | |
10377 additional argument which specifies the default value. If this | |
10378 argument is non-nil, it should be a string; that string is used in two | |
10379 ways: | |
10380 | |
10381 It is returned if the user enters empty input. | |
10382 It is available through the history command M-n. | |
10383 | |
10384 *** The functions read-string, read-from-minibuffer, | |
10385 read-no-blanks-input and completing-read now take an additional | |
10386 argument INHERIT-INPUT-METHOD. If this is non-nil, then the | |
10387 minibuffer inherits the current input method and the setting of | |
10388 enable-multibyte-characters from the previously current buffer. | |
10389 | |
10390 In an interactive spec, you can use M instead of s to read an | |
10391 argument in this way. | |
10392 | |
10393 *** All minibuffer input functions discard text properties | |
10394 from the text you enter in the minibuffer, unless the variable | |
10395 minibuffer-allow-text-properties is non-nil. | |
10396 | |
10397 ** Echo area features | |
10398 | |
10399 *** Clearing the echo area now runs the normal hook | |
10400 echo-area-clear-hook. Note that the echo area can be used while the | |
10401 minibuffer is active; in that case, the minibuffer is still active | |
10402 after the echo area is cleared. | |
10403 | |
10404 *** The function current-message returns the message currently displayed | |
10405 in the echo area, or nil if there is none. | |
10406 | |
10407 ** Keyboard input features | |
10408 | |
10409 *** tty-erase-char is a new variable that reports which character was | |
10410 set up as the terminal's erase character when time Emacs was started. | |
10411 | |
10412 *** num-nonmacro-input-events is the total number of input events | |
10413 received so far from the terminal. It does not count those generated | |
10414 by keyboard macros. | |
10415 | |
10416 ** Frame-related changes | |
10417 | |
10418 *** make-frame runs the normal hook before-make-frame-hook just before | |
10419 creating a frame, and just after creating a frame it runs the abnormal | |
10420 hook after-make-frame-functions with the new frame as arg. | |
10421 | |
10422 *** The new hook window-configuration-change-hook is now run every time | |
10423 the window configuration has changed. The frame whose configuration | |
10424 has changed is the selected frame when the hook is run. | |
10425 | |
10426 *** Each frame now independently records the order for recently | |
10427 selected buffers, in its buffer-list frame parameter, so that the | |
10428 value of other-buffer is now based on the buffers recently displayed | |
10429 in the selected frame. | |
10430 | |
10431 *** The value of the frame parameter vertical-scroll-bars | |
10432 is now `left', `right' or nil. A non-nil value specifies | |
10433 which side of the window to put the scroll bars on. | |
10434 | |
10435 ** X Windows features | |
10436 | |
10437 *** You can examine X resources for other applications by binding | |
10438 x-resource-class around a call to x-get-resource. The usual value of | |
10439 x-resource-class is "Emacs", which is the correct value for Emacs. | |
10440 | |
10441 *** In menus, checkboxes and radio buttons now actually work. | |
10442 The menu displays the current status of the box or button. | |
10443 | |
10444 *** The function x-list-fonts now takes an optional fourth argument | |
10445 MAXIMUM which sets a limit on how many matching fonts to return. | |
10446 A smaller value of MAXIMUM makes the function faster. | |
10447 | |
10448 If the only question is whether *any* font matches the pattern, | |
10449 it is good to supply 1 for this argument. | |
10450 | |
10451 ** Subprocess features | |
10452 | |
10453 *** A reminder: it is no longer necessary for subprocess filter | |
10454 functions and sentinels to do save-match-data, because Emacs does this | |
10455 automatically. | |
10456 | |
10457 *** The new function shell-command-to-string executes a shell command | |
10458 and returns the output from the command as a string. | |
10459 | |
10460 *** The new function process-contact returns t for a child process, | |
10461 and (HOSTNAME SERVICE) for a net connection. | |
10462 | |
10463 ** An error in running pre-command-hook or post-command-hook | |
10464 does clear the variable to nil. The documentation was wrong before. | |
10465 | |
10466 ** In define-key-after, if AFTER is t, the new binding now always goes | |
10467 at the end of the keymap. If the keymap is a menu, this means it | |
10468 goes after the other menu items. | |
10469 | |
10470 ** If you have a program that makes several changes in the same area | |
10471 of the buffer, you can use the macro combine-after-change-calls | |
10472 around that Lisp code to make it faster when after-change hooks | |
10473 are in use. | |
10474 | |
10475 The macro arranges to call the after-change functions just once for a | |
10476 series of several changes--if that seems safe. | |
10477 | |
10478 Don't alter the variables after-change-functions and | |
10479 after-change-function within the body of a combine-after-change-calls | |
10480 form. | |
10481 | |
10482 ** If you define an abbrev (with define-abbrev) whose EXPANSION | |
10483 is not a string, then the abbrev does not expand in the usual sense, | |
10484 but its hook is still run. | |
10485 | |
10486 ** Normally, the Lisp debugger is not used (even if you have enabled it) | |
10487 for errors that are handled by condition-case. | |
10488 | |
10489 If you set debug-on-signal to a non-nil value, then the debugger is called | |
10490 regardless of whether there is a handler for the condition. This is | |
10491 useful for debugging problems that happen inside of a condition-case. | |
10492 | |
10493 This mode of operation seems to be unreliable in other ways. Errors that | |
10494 are normal and ought to be handled, perhaps in timers or process | |
10495 filters, will instead invoke the debugger. So don't say you weren't | |
10496 warned. | |
10497 | |
10498 ** The new variable ring-bell-function lets you specify your own | |
10499 way for Emacs to "ring the bell". | |
10500 | |
10501 ** If run-at-time's TIME argument is t, the action is repeated at | |
10502 integral multiples of REPEAT from the epoch; this is useful for | |
10503 functions like display-time. | |
10504 | |
10505 ** You can use the function locate-library to find the precise file | |
10506 name of a Lisp library. This isn't new, but wasn't documented before. | |
10507 | |
10508 ** Commands for entering view mode have new optional arguments that | |
10509 can be used from Lisp. Low-level entrance to and exit from view mode | |
10510 is done by functions view-mode-enter and view-mode-exit. | |
10511 | |
10512 ** batch-byte-compile-file now makes Emacs return a nonzero status code | |
10513 if there is an error in compilation. | |
10514 | |
10515 ** pop-to-buffer, switch-to-buffer-other-window and | |
10516 switch-to-buffer-other-frame now accept an additional optional | |
10517 argument NORECORD, much like switch-to-buffer. If it is non-nil, | |
10518 they don't put the buffer at the front of the buffer list. | |
10519 | |
10520 ** If your .emacs file leaves the *scratch* buffer non-empty, | |
10521 Emacs does not display the startup message, so as to avoid changing | |
10522 the *scratch* buffer. | |
10523 | |
10524 ** The new function regexp-opt returns an efficient regexp to match a string. | |
10525 The arguments are STRINGS and (optionally) PAREN. This function can be used | |
10526 where regexp matching or searching is intensively used and speed is important, | |
10527 e.g., in Font Lock mode. | |
10528 | |
10529 ** The variable buffer-display-count is local to each buffer, | |
10530 and is incremented each time the buffer is displayed in a window. | |
10531 It starts at 0 when the buffer is created. | |
10532 | |
10533 ** The new function compose-mail starts composing a mail message | |
10534 using the user's chosen mail composition agent (specified with the | |
10535 variable mail-user-agent). It has variants compose-mail-other-window | |
10536 and compose-mail-other-frame. | |
10537 | |
10538 ** The `user-full-name' function now takes an optional parameter which | |
10539 can either be a number (the UID) or a string (the login name). The | |
10540 full name of the specified user will be returned. | |
10541 | |
10542 ** Lisp packages that load files of customizations, or any other sort | |
10543 of user profile, should obey the variable init-file-user in deciding | |
10544 where to find it. They should load the profile of the user name found | |
10545 in that variable. If init-file-user is nil, meaning that the -q | |
10546 option was used, then Lisp packages should not load the customization | |
10547 files at all. | |
10548 | |
10549 ** format-time-string now allows you to specify the field width | |
10550 and type of padding. This works as in printf: you write the field | |
10551 width as digits in the middle of a %-construct. If you start | |
10552 the field width with 0, it means to pad with zeros. | |
10553 | |
10554 For example, %S normally specifies the number of seconds since the | |
10555 minute; %03S means to pad this with zeros to 3 positions, %_3S to pad | |
10556 with spaces to 3 positions. Plain %3S pads with zeros, because that | |
10557 is how %S normally pads to two positions. | |
10558 | |
10559 ** thing-at-point now supports a new kind of "thing": url. | |
10560 | |
10561 ** imenu.el changes. | |
10562 | |
10563 You can now specify a function to be run when selecting an | |
10564 item from menu created by imenu. | |
10565 | |
10566 An example of using this feature: if we define imenu items for the | |
10567 #include directives in a C file, we can open the included file when we | |
10568 select one of those items. | |
35577
db5649648a65
Replace formfeeds removed on 2001/01/22.
Dave Love <fx@gnu.org>
parents:
35567
diff
changeset
|
10569 |
30922 | 10570 * For older news, see the file ONEWS |
25853 | 10571 |
10572 ---------------------------------------------------------------------- | |
10573 Copyright information: | |
10574 | |
35326
f30feeecf1c1
backward-delete-char-untabify-method
Dave Love <fx@gnu.org>
parents:
35297
diff
changeset
|
10575 Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc. |
25853 | 10576 |
10577 Permission is granted to anyone to make or distribute verbatim copies | |
10578 of this document as received, in any medium, provided that the | |
10579 copyright notice and this permission notice are preserved, | |
10580 thus giving the recipient permission to redistribute in turn. | |
10581 | |
10582 Permission is granted to distribute modified versions | |
10583 of this document, or of portions of it, | |
10584 under the above conditions, provided also that they | |
10585 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
|
10586 |
25853 | 10587 Local variables: |
10588 mode: outline | |
10589 paragraph-separate: "[ ]*$" | |
10590 end: |