Mercurial > emacs
annotate etc/NEWS @ 45539:99b2cc9b795c
(VERSION): Calculate using the same method that configure.in uses.
author | Miles Bader <miles@gnu.org> |
---|---|
date | Mon, 27 May 2002 08:07:49 +0000 |
parents | a35026845779 |
children | b436ae710691 |
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 |
42958
2d81f84af342
Document the extended color support for xterm and rxvt, and the
Eli Zaretskii <eliz@gnu.org>
parents:
42940
diff
changeset
|
254 ** 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
|
255 |
42729
5814fed2f430
Document the new full-screen options.
Eli Zaretskii <eliz@gnu.org>
parents:
42725
diff
changeset
|
256 +++ |
42958
2d81f84af342
Document the extended color support for xterm and rxvt, and the
Eli Zaretskii <eliz@gnu.org>
parents:
42940
diff
changeset
|
257 *** 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
|
258 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
|
259 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
|
260 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
|
261 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
|
262 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
|
263 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
|
264 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
|
265 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
|
266 |
42958
2d81f84af342
Document the extended color support for xterm and rxvt, and the
Eli Zaretskii <eliz@gnu.org>
parents:
42940
diff
changeset
|
267 --- |
2d81f84af342
Document the extended color support for xterm and rxvt, and the
Eli Zaretskii <eliz@gnu.org>
parents:
42940
diff
changeset
|
268 *** 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
|
269 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
|
270 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
|
271 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
|
272 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
|
273 |
2d81f84af342
Document the extended color support for xterm and rxvt, and the
Eli Zaretskii <eliz@gnu.org>
parents:
42940
diff
changeset
|
274 --- |
2d81f84af342
Document the extended color support for xterm and rxvt, and the
Eli Zaretskii <eliz@gnu.org>
parents:
42940
diff
changeset
|
275 *** 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
|
276 |
42749
62c6ce7088f2
Document the new --color arg and tty-color-mode frame parameter.
Eli Zaretskii <eliz@gnu.org>
parents:
42739
diff
changeset
|
277 +++ |
42729
5814fed2f430
Document the new full-screen options.
Eli Zaretskii <eliz@gnu.org>
parents:
42725
diff
changeset
|
278 ** 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
|
279 |
5814fed2f430
Document the new full-screen options.
Eli Zaretskii <eliz@gnu.org>
parents:
42725
diff
changeset
|
280 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
|
281 `--fullwidth', `--fullheight', and `--fullscreen' produce a frame |
5814fed2f430
Document the new full-screen options.
Eli Zaretskii <eliz@gnu.org>
parents:
42725
diff
changeset
|
282 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
|
283 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
|
284 |
41847
7423116b7ac3
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41820
diff
changeset
|
285 ** Info-index finally offers completion. |
7423116b7ac3
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41820
diff
changeset
|
286 |
43493
dcf4af6ac385
*** empty log message ***
Colin Walters <walters@gnu.org>
parents:
43459
diff
changeset
|
287 ** shell-mode now supports programmable completion using `pcomplete'. |
dcf4af6ac385
*** empty log message ***
Colin Walters <walters@gnu.org>
parents:
43459
diff
changeset
|
288 |
44622
a632dc3d85af
Add entries for some things I did earlier:
Miles Bader <miles@gnu.org>
parents:
44589
diff
changeset
|
289 ** 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
|
290 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
|
291 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
|
292 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
|
293 |
41730
fb0e629655ed
Document left-fringe and right-fringe frame parameters.
Kim F. Storm <storm@cua.dk>
parents:
41706
diff
changeset
|
294 ** 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
|
295 |
fb0e629655ed
Document left-fringe and right-fringe frame parameters.
Kim F. Storm <storm@cua.dk>
parents:
41706
diff
changeset
|
296 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
|
297 `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
|
298 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
|
299 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
|
300 |
41730
fb0e629655ed
Document left-fringe and right-fringe frame parameters.
Kim F. Storm <storm@cua.dk>
parents:
41706
diff
changeset
|
301 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
|
302 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
|
303 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
|
304 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
|
305 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
|
306 specified width). |
41730
fb0e629655ed
Document left-fringe and right-fringe frame parameters.
Kim F. Storm <storm@cua.dk>
parents:
41706
diff
changeset
|
307 |
41749
83a9052556ea
Setting left-fringe and rigth-fringe parameters to nil causes
Kim F. Storm <storm@cua.dk>
parents:
41748
diff
changeset
|
308 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
|
309 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
|
310 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
|
311 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
|
312 |
42739
f53ba4c83bf8
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42729
diff
changeset
|
313 ** Changes in C-h bindings: |
f53ba4c83bf8
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42729
diff
changeset
|
314 |
f53ba4c83bf8
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42729
diff
changeset
|
315 C-h e displays the *Messages* buffer. |
f53ba4c83bf8
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42729
diff
changeset
|
316 |
f53ba4c83bf8
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42729
diff
changeset
|
317 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
|
318 that do not change: |
f53ba4c83bf8
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42729
diff
changeset
|
319 |
f53ba4c83bf8
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42729
diff
changeset
|
320 C-h C-f displays the FAQ. |
f53ba4c83bf8
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42729
diff
changeset
|
321 C-h C-e displays the PROBLEMS file. |
f53ba4c83bf8
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42729
diff
changeset
|
322 |
f53ba4c83bf8
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42729
diff
changeset
|
323 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
|
324 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
|
325 |
43159 | 326 C-h c, C-h k, C-h w, and C-h f now handle remapped interactive commands. |
327 | |
328 - C-h c and C-h k report the actual command (after possible remapping) | |
329 run by the key sequence. | |
330 | |
331 - C-h w and C-h f on a command which has been remapped now report the | |
332 command it is remapped to, and the keys which can be used to run | |
333 that command. | |
334 | |
335 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
|
336 to new-kill-line, these commands now report: |
43159 | 337 |
338 - C-h c and C-h k C-k reports: | |
339 C-k runs the command new-kill-line | |
340 | |
341 - C-h w and C-h f kill-line reports: | |
342 kill-line is remapped to new-kill-line which is on C-k, <deleteline> | |
343 | |
344 - C-h w and C-h f new-kill-line reports: | |
345 new-kill-line is on C-k | |
346 | |
41928
31fb6b379d0f
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
41923
diff
changeset
|
347 ** 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
|
348 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
|
349 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
|
350 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
|
351 |
44680
39c7ce6f26c1
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44666
diff
changeset
|
352 ** Yanking text now discards certain text properties that can |
39c7ce6f26c1
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44666
diff
changeset
|
353 be inconvenient when you did not expect them. The variable |
39c7ce6f26c1
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44666
diff
changeset
|
354 `yank-excluded-properties' specifies which ones. Insertion |
39c7ce6f26c1
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44666
diff
changeset
|
355 of register contents and rectangles also discards these properties. |
39c7ce6f26c1
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44666
diff
changeset
|
356 |
44622
a632dc3d85af
Add entries for some things I did earlier:
Miles Bader <miles@gnu.org>
parents:
44589
diff
changeset
|
357 ** 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
|
358 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
|
359 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
|
360 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
|
361 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
|
362 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
|
363 |
a632dc3d85af
Add entries for some things I did earlier:
Miles Bader <miles@gnu.org>
parents:
44589
diff
changeset
|
364 ** 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
|
365 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
|
366 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
|
367 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
|
368 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
|
369 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
|
370 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
|
371 |
41923
86ecd07d46fb
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
41847
diff
changeset
|
372 ** 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
|
373 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
|
374 |
42874
95d25103a45e
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42867
diff
changeset
|
375 ** GUD mode improvements for jdb: |
42830
20fac7788e1f
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42822
diff
changeset
|
376 |
20fac7788e1f
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42822
diff
changeset
|
377 *** Search for source files using jdb classpath and class |
20fac7788e1f
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42822
diff
changeset
|
378 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
|
379 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
|
380 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
|
381 and `gud-jdb-classpath' customization variables documentation. |
20fac7788e1f
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42822
diff
changeset
|
382 |
20fac7788e1f
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42822
diff
changeset
|
383 *** Supports the standard breakpoint (gud-break, gud-clear) |
20fac7788e1f
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42822
diff
changeset
|
384 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
|
385 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
|
386 (gud-finish). |
20fac7788e1f
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42822
diff
changeset
|
387 |
20fac7788e1f
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42822
diff
changeset
|
388 *** 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
|
389 (Java 1.1 jdb). |
20fac7788e1f
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42822
diff
changeset
|
390 |
20fac7788e1f
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42822
diff
changeset
|
391 *** The previous method of searching for source files has been |
20fac7788e1f
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42822
diff
changeset
|
392 preserved in case someone still wants/needs to use it. |
20fac7788e1f
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42822
diff
changeset
|
393 Set gud-jdb-use-classpath to nil. |
20fac7788e1f
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42822
diff
changeset
|
394 |
20fac7788e1f
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42822
diff
changeset
|
395 Added Customization Variables |
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 *** 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
|
398 |
20fac7788e1f
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42822
diff
changeset
|
399 *** 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
|
400 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
|
401 java sources (previous method). |
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 *** 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
|
404 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
|
405 is nil). |
20fac7788e1f
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42822
diff
changeset
|
406 |
20fac7788e1f
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42822
diff
changeset
|
407 Minor Improvements |
20fac7788e1f
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42822
diff
changeset
|
408 |
20fac7788e1f
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42822
diff
changeset
|
409 *** 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
|
410 |
41620
d5ea676e4052
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41596
diff
changeset
|
411 ** hide-ifdef-mode now uses overlays rather than selective-display |
d5ea676e4052
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41596
diff
changeset
|
412 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
|
413 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
|
414 |
42677
449f96bbb6d0
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42629
diff
changeset
|
415 ** In Dired's ! command (dired-do-shell-command), `*' and `?' now |
449f96bbb6d0
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42629
diff
changeset
|
416 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
|
417 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
|
418 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
|
419 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
|
420 special treatment in `dired-do-shell-command'. |
42677
449f96bbb6d0
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42629
diff
changeset
|
421 |
44477
5bcb255d9dc5
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44431
diff
changeset
|
422 ** 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
|
423 types of files. The variable `dired-view-command-alist' controls |
5bcb255d9dc5
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44431
diff
changeset
|
424 what external viewers to use and when. |
5bcb255d9dc5
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44431
diff
changeset
|
425 |
41596
3c035e37d086
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41594
diff
changeset
|
426 ** 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
|
427 the corresponding environment variable does not exist. |
3c035e37d086
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41594
diff
changeset
|
428 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
|
429 is only rarely needed. |
3c035e37d086
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41594
diff
changeset
|
430 |
41337
3a8e8dd8a64e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41298
diff
changeset
|
431 ** 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
|
432 |
994a9d1eee71
Minor change of wording in the documentation of jit-lock-defer-time.
Eli Zaretskii <eliz@gnu.org>
parents:
41482
diff
changeset
|
433 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
|
434 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
|
435 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
|
436 only happen after 0.25s of idle time. |
41337
3a8e8dd8a64e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41298
diff
changeset
|
437 |
43301
898b4b31410f
* lisp/simple.el (mark-word): Mark more if repeated.
Kai Großjohann <kgrossjo@eu.uu.net>
parents:
43297
diff
changeset
|
438 +++ |
898b4b31410f
* lisp/simple.el (mark-word): Mark more if repeated.
Kai Großjohann <kgrossjo@eu.uu.net>
parents:
43297
diff
changeset
|
439 ** 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
|
440 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
|
441 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
|
442 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
|
443 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
|
444 bind that to a key. |
41298
dd0332958888
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41246
diff
changeset
|
445 |
44655
13e9258cbefb
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44625
diff
changeset
|
446 ** 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
|
447 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
|
448 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
|
449 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
|
450 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
|
451 mark, for one command only. |
13e9258cbefb
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44625
diff
changeset
|
452 |
44666
12a75af39ac0
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44655
diff
changeset
|
453 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
|
454 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
|
455 |
12a75af39ac0
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44655
diff
changeset
|
456 After these commands, Transient Mark mode remains enabled |
12a75af39ac0
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44655
diff
changeset
|
457 until you deactivate the mark--typically with a command that |
12a75af39ac0
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44655
diff
changeset
|
458 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
|
459 |
cff126affe7f
Enhancements to set-mark-command and exchange-point-and-mark.
Kim F. Storm <storm@cua.dk>
parents:
44477
diff
changeset
|
460 ** 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
|
461 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
|
462 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
|
463 |
42605
32e40100d0de
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42487
diff
changeset
|
464 ** 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
|
465 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
|
466 switching to it. |
42299
4bc3e5620674
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42281
diff
changeset
|
467 |
4bc3e5620674
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42281
diff
changeset
|
468 ** 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
|
469 all frames you create. A position specified with --geometry only |
4bc3e5620674
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42281
diff
changeset
|
470 affects the initial frame. |
4bc3e5620674
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42281
diff
changeset
|
471 |
41746
6d817b78bf33
Document prefix arg for M-h.
Kai Großjohann <kgrossjo@eu.uu.net>
parents:
41730
diff
changeset
|
472 +++ |
42183
ccf68d58861d
Fix typos. From Juanma Barranquero <lektu@teleline.es>.
Pavel Janík <Pavel@Janik.cz>
parents:
42160
diff
changeset
|
473 ** 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
|
474 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
|
475 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
|
476 paragraphs. |
41746
6d817b78bf33
Document prefix arg for M-h.
Kai Großjohann <kgrossjo@eu.uu.net>
parents:
41730
diff
changeset
|
477 |
42101
66b4582e344c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42043
diff
changeset
|
478 ** 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
|
479 into the kill ring. |
66b4582e344c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42043
diff
changeset
|
480 |
42160
530136f9f1b9
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42101
diff
changeset
|
481 ** 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
|
482 have been renamed to directory-free-space-program and |
530136f9f1b9
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42101
diff
changeset
|
483 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
|
484 directory listing into a buffer. |
530136f9f1b9
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42101
diff
changeset
|
485 |
41298
dd0332958888
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41246
diff
changeset
|
486 ** 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
|
487 (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
|
488 |
41229
70059cb88be4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41099
diff
changeset
|
489 ** The keyboard-coding-system is now automatically set based on |
70059cb88be4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41099
diff
changeset
|
490 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
|
491 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
|
492 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
|
493 |
70059cb88be4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41099
diff
changeset
|
494 (set-keyboard-coding-system nil) |
70059cb88be4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41099
diff
changeset
|
495 |
70059cb88be4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41099
diff
changeset
|
496 to your .emacs to revert to the old behavior. |
70059cb88be4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41099
diff
changeset
|
497 |
42197 | 498 ** A new coding system `euc-tw' has been added for traditional Chinese |
499 in CNS encoding; it accepts both Big 5 and CNS as input; on saving, | |
500 Big 5 is then converted to CNS. | |
501 | |
40916
4a749a84888c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40889
diff
changeset
|
502 +++ |
4a749a84888c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40889
diff
changeset
|
503 ** 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
|
504 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
|
505 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
|
506 can do this either silently or asking for confirmation first, |
41820 | 507 according to the value of `save-abbrevs'. |
40916
4a749a84888c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40889
diff
changeset
|
508 |
40729
650fb912b343
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40686
diff
changeset
|
509 ** 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
|
510 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
|
511 appears in. |
39552 | 512 |
40686
b6d0ce452871
Document the changes in the default values of tooltip-delay and
Eli Zaretskii <eliz@gnu.org>
parents:
40637
diff
changeset
|
513 ** 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
|
514 were changed. |
b6d0ce452871
Document the changes in the default values of tooltip-delay and
Eli Zaretskii <eliz@gnu.org>
parents:
40637
diff
changeset
|
515 |
40614
ac10bd51a000
Change of normal-erase-is-backspace-mode on terminals.
Gerd Moellmann <gerd@gnu.org>
parents:
40575
diff
changeset
|
516 ** 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
|
517 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
|
518 |
44718
e1f429a4cfd7
Variable auto-save-file-name-transforms now has a third element.
Glenn Morris <rgm@gnu.org>
parents:
44694
diff
changeset
|
519 ** 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
|
520 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
|
521 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
|
522 |
44199
c157bec8fb40
Add section for VC Changes. New entry for `vc-cvs-global-switches'.
André Spiegel <spiegel@gnu.org>
parents:
44160
diff
changeset
|
523 ** VC Changes |
c157bec8fb40
Add section for VC Changes. New entry for `vc-cvs-global-switches'.
André Spiegel <spiegel@gnu.org>
parents:
44160
diff
changeset
|
524 |
c157bec8fb40
Add section for VC Changes. New entry for `vc-cvs-global-switches'.
André Spiegel <spiegel@gnu.org>
parents:
44160
diff
changeset
|
525 *** 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
|
526 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
|
527 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
|
528 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
|
529 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
|
530 CVS. |
c157bec8fb40
Add section for VC Changes. New entry for `vc-cvs-global-switches'.
André Spiegel <spiegel@gnu.org>
parents:
44160
diff
changeset
|
531 |
44030
67ba867f0082
added a description of the new features in Ediff
Michael Kifer <kifer@cs.stonybrook.edu>
parents:
44018
diff
changeset
|
532 ** EDiff changes. |
67ba867f0082
added a description of the new features in Ediff
Michael Kifer <kifer@cs.stonybrook.edu>
parents:
44018
diff
changeset
|
533 |
44058 | 534 +++ |
44030
67ba867f0082
added a description of the new features in Ediff
Michael Kifer <kifer@cs.stonybrook.edu>
parents:
44018
diff
changeset
|
535 *** When comparing directories. |
67ba867f0082
added a description of the new features in Ediff
Michael Kifer <kifer@cs.stonybrook.edu>
parents:
44018
diff
changeset
|
536 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
|
537 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
|
538 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
|
539 |
44058 | 540 +++ |
44030
67ba867f0082
added a description of the new features in Ediff
Michael Kifer <kifer@cs.stonybrook.edu>
parents:
44018
diff
changeset
|
541 *** 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
|
542 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
|
543 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
|
544 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
|
545 comparison. |
67ba867f0082
added a description of the new features in Ediff
Michael Kifer <kifer@cs.stonybrook.edu>
parents:
44018
diff
changeset
|
546 |
42043
0fe5fe39786c
Etags changes for Prolog and PHP.
Francesco Potortì <pot@gnu.org>
parents:
41928
diff
changeset
|
547 ** Etags changes. |
0fe5fe39786c
Etags changes for Prolog and PHP.
Francesco Potortì <pot@gnu.org>
parents:
41928
diff
changeset
|
548 |
0fe5fe39786c
Etags changes for Prolog and PHP.
Francesco Potortì <pot@gnu.org>
parents:
41928
diff
changeset
|
549 *** 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
|
550 |
43855
db463e67459c
Better description of what etags does with #line.
Francesco Potortì <pot@gnu.org>
parents:
43772
diff
changeset
|
551 *** In Perl, packages are tags. |
db463e67459c
Better description of what etags does with #line.
Francesco Potortì <pot@gnu.org>
parents:
43772
diff
changeset
|
552 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
|
553 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
|
554 package::sub. |
db463e67459c
Better description of what etags does with #line.
Francesco Potortì <pot@gnu.org>
parents:
43772
diff
changeset
|
555 |
db463e67459c
Better description of what etags does with #line.
Francesco Potortì <pot@gnu.org>
parents:
43772
diff
changeset
|
556 *** 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
|
557 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
|
558 |
db463e67459c
Better description of what etags does with #line.
Francesco Potortì <pot@gnu.org>
parents:
43772
diff
changeset
|
559 *** Honour #line directives. |
db463e67459c
Better description of what etags does with #line.
Francesco Potortì <pot@gnu.org>
parents:
43772
diff
changeset
|
560 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
|
561 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
|
562 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
|
563 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
|
564 writes tags pointing to the source file. |
43724
16affaf7292b
etags honours #line directives.
Francesco Potortì <pot@gnu.org>
parents:
43666
diff
changeset
|
565 |
40493
94818b20da05
Document the change in list-buffers-noselect wrt buffers visiting files
Eli Zaretskii <eliz@gnu.org>
parents:
40487
diff
changeset
|
566 +++ |
40575
4ce7861c6181
Mention --no-window-system changes in the NEWS.
Pavel Janík <Pavel@Janik.cz>
parents:
40526
diff
changeset
|
567 ** 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
|
568 --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
|
569 |
40526
b466f4f946a7
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40493
diff
changeset
|
570 ** `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
|
571 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
|
572 |
40526
b466f4f946a7
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40493
diff
changeset
|
573 ** You can now customize fill-nobreak-predicate to control where |
b466f4f946a7
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40493
diff
changeset
|
574 filling can break lines. We provide two sample predicates, |
b466f4f946a7
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40493
diff
changeset
|
575 fill-single-word-nobreak-p and fill-french-nobreak-p. |
b466f4f946a7
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40493
diff
changeset
|
576 |
40316
ddce8f484e75
New user option `add-log-always-start-new-record'.
Sam Steingold <sds@gnu.org>
parents:
40296
diff
changeset
|
577 ** 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
|
578 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
|
579 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
|
580 |
40378
344e63612d00
renamed `html-xhtml' to `sgml-xml'
Sam Steingold <sds@gnu.org>
parents:
40316
diff
changeset
|
581 ** New user option `sgml-xml'. |
344e63612d00
renamed `html-xhtml' to `sgml-xml'
Sam Steingold <sds@gnu.org>
parents:
40316
diff
changeset
|
582 When this option is enabled, SGML tags are inserted in XML style, |
40215 | 583 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
|
584 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
|
585 from the file name or buffer contents. |
40215 | 586 |
41756
97f872fb595d
Describe isearch-resume-enabled.
Kim F. Storm <storm@cua.dk>
parents:
41749
diff
changeset
|
587 ** New user option `isearch-resume-enabled'. |
97f872fb595d
Describe isearch-resume-enabled.
Kim F. Storm <storm@cua.dk>
parents:
41749
diff
changeset
|
588 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
|
589 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
|
590 |
45022
4359b383982c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44996
diff
changeset
|
591 --- |
39975 | 592 ** When the *scratch* buffer is recreated, its mode is set from |
593 initial-major-mode, which normally is lisp-interaction-mode, | |
40215 | 594 instead of using default-major-mode. |
39975 | 595 |
45022
4359b383982c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44996
diff
changeset
|
596 --- |
39771 | 597 ** Byte compiler warning and error messages have been brought more |
598 in line with the output of other GNU tools. | |
599 | |
45022
4359b383982c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44996
diff
changeset
|
600 --- |
40487
8c17e2ae6bf5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
40378
diff
changeset
|
601 ** 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
|
602 |
e8c0b3b54fc7
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39738
diff
changeset
|
603 ** perl-mode has a new variable `perl-indent-continued-arguments'. |
e8c0b3b54fc7
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39738
diff
changeset
|
604 |
45302 | 605 ** fortran-mode has a new variable `fortran-directive-re'. |
45243 | 606 |
45499 | 607 ** f90-mode has new navigation commands `f90-end-of-block', |
608 `f90-beginning-of-block', `f90-next-block-end', | |
609 `f90-previous-block-start'. | |
610 | |
39849
10b9480202e8
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39784
diff
changeset
|
611 ** `special-display-buffer-names' and `special-display-regexps' now |
10b9480202e8
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39784
diff
changeset
|
612 understand two new boolean pseudo-frame-parameters `same-frame' and |
10b9480202e8
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39784
diff
changeset
|
613 `same-window'. |
10b9480202e8
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39784
diff
changeset
|
614 |
39552 | 615 ** When pure storage overflows while dumping, Emacs now prints how |
616 much pure storage it will approximately need. | |
617 | |
618 ** M-x setenv now expands environment variables of the form `$foo' and | |
619 `${foo}' in the specified new value of the environment variable. To | |
620 include a `$' in the value, use `$$'. | |
621 | |
39881
9c1b9334eb73
Mark last change as documented in the manual.
Eli Zaretskii <eliz@gnu.org>
parents:
39879
diff
changeset
|
622 +++ |
39879
fba70cf81a87
Document the significance of the trailing slash in elements of
Eli Zaretskii <eliz@gnu.org>
parents:
39849
diff
changeset
|
623 ** 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
|
624 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
|
625 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
|
626 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
|
627 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
|
628 candidate is a directory. |
fba70cf81a87
Document the significance of the trailing slash in elements of
Eli Zaretskii <eliz@gnu.org>
parents:
39849
diff
changeset
|
629 |
45022
4359b383982c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44996
diff
changeset
|
630 +++ |
39552 | 631 ** New user option `inhibit-startup-buffer-menu'. |
632 When loading many files, for instance with `emacs *', Emacs normally | |
633 displays a buffer menu. This option turns the buffer menu off. | |
634 | |
45022
4359b383982c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44996
diff
changeset
|
635 --- |
39552 | 636 ** Rmail now displays 5-digit message ids in its summary buffer. |
637 | |
39601 | 638 ** When using M-x revert-buffer in a compilation buffer to rerun a |
639 compilation, it is now made sure that the compilation buffer is reused | |
640 in case it has been renamed. | |
641 | |
45022
4359b383982c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44996
diff
changeset
|
642 --- |
40963
ff6a29bbaf7e
Add note about system caret on MS Windows.
Jason Rumney <jasonr@gnu.org>
parents:
40916
diff
changeset
|
643 ** 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
|
644 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
|
645 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
|
646 |
45022
4359b383982c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44996
diff
changeset
|
647 --- |
41482
fe774ae6bd57
Added entry for tooltips on MS Windows.
Jason Rumney <jasonr@gnu.org>
parents:
41471
diff
changeset
|
648 ** Tooltips now work on MS Windows. |
fe774ae6bd57
Added entry for tooltips on MS Windows.
Jason Rumney <jasonr@gnu.org>
parents:
41471
diff
changeset
|
649 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
|
650 |
45022
4359b383982c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44996
diff
changeset
|
651 --- |
44117
48ee57a8b28c
Add news of image support on Windows
Jason Rumney <jasonr@gnu.org>
parents:
44087
diff
changeset
|
652 ** Some images are now supported on Windows. |
44125
cf467d8b1309
Update images on Windows news.
Jason Rumney <jasonr@gnu.org>
parents:
44117
diff
changeset
|
653 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
|
654 libraries may be supported in future. |
48ee57a8b28c
Add news of image support on Windows
Jason Rumney <jasonr@gnu.org>
parents:
44087
diff
changeset
|
655 |
42725
7982df5e7d71
Add note about support for more mouse buttons in MS Windows.
Jason Rumney <jasonr@gnu.org>
parents:
42703
diff
changeset
|
656 ** 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
|
657 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
|
658 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
|
659 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
|
660 |
43302
2f479ac769e1
(Vx_alt_keysym, Vx_hyper_keysym, Vx_meta_keysym)
Kai Großjohann <kgrossjo@eu.uu.net>
parents:
43301
diff
changeset
|
661 ** 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
|
662 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
|
663 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
|
664 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
|
665 Meta and Alt: |
2f479ac769e1
(Vx_alt_keysym, Vx_hyper_keysym, Vx_meta_keysym)
Kai Großjohann <kgrossjo@eu.uu.net>
parents:
43301
diff
changeset
|
666 (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
|
667 (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
|
668 |
41246
003c53bb8906
Mention the French translations of the tutorial and the survival guide.
Eli Zaretskii <eliz@gnu.org>
parents:
41229
diff
changeset
|
669 --- |
003c53bb8906
Mention the French translations of the tutorial and the survival guide.
Eli Zaretskii <eliz@gnu.org>
parents:
41229
diff
changeset
|
670 ** 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
|
671 |
003c53bb8906
Mention the French translations of the tutorial and the survival guide.
Eli Zaretskii <eliz@gnu.org>
parents:
41229
diff
changeset
|
672 --- |
003c53bb8906
Mention the French translations of the tutorial and the survival guide.
Eli Zaretskii <eliz@gnu.org>
parents:
41229
diff
changeset
|
673 ** 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
|
674 |
44622
a632dc3d85af
Add entries for some things I did earlier:
Miles Bader <miles@gnu.org>
parents:
44589
diff
changeset
|
675 ** 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
|
676 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
|
677 prevent the library from using dithering. |
a632dc3d85af
Add entries for some things I did earlier:
Miles Bader <miles@gnu.org>
parents:
44589
diff
changeset
|
678 |
39738 | 679 ** New modes and packages |
680 | |
44972
0cdd0e248c05
Describe cua and keypad packages.
Kim F. Storm <storm@cua.dk>
parents:
44957
diff
changeset
|
681 *** 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
|
682 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
|
683 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
|
684 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
|
685 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
|
686 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
|
687 |
0cdd0e248c05
Describe cua and keypad packages.
Kim F. Storm <storm@cua.dk>
parents:
44957
diff
changeset
|
688 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
|
689 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
|
690 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
|
691 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
|
692 |
0cdd0e248c05
Describe cua and keypad packages.
Kim F. Storm <storm@cua.dk>
parents:
44957
diff
changeset
|
693 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
|
694 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
|
695 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
|
696 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
|
697 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
|
698 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
|
699 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
|
700 |
0cdd0e248c05
Describe cua and keypad packages.
Kim F. Storm <storm@cua.dk>
parents:
44957
diff
changeset
|
701 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
|
702 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
|
703 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
|
704 |
0cdd0e248c05
Describe cua and keypad packages.
Kim F. Storm <storm@cua.dk>
parents:
44957
diff
changeset
|
705 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
|
706 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
|
707 |
0cdd0e248c05
Describe cua and keypad packages.
Kim F. Storm <storm@cua.dk>
parents:
44957
diff
changeset
|
708 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
|
709 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
|
710 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
|
711 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
|
712 |
0cdd0e248c05
Describe cua and keypad packages.
Kim F. Storm <storm@cua.dk>
parents:
44957
diff
changeset
|
713 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
|
714 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
|
715 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
|
716 `cua-enable-cua-keys' variable. |
0cdd0e248c05
Describe cua and keypad packages.
Kim F. Storm <storm@cua.dk>
parents:
44957
diff
changeset
|
717 |
0cdd0e248c05
Describe cua and keypad packages.
Kim F. Storm <storm@cua.dk>
parents:
44957
diff
changeset
|
718 *** The new keypad setup package provides simplified configuration |
0cdd0e248c05
Describe cua and keypad packages.
Kim F. Storm <storm@cua.dk>
parents:
44957
diff
changeset
|
719 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
|
720 |
40847 | 721 +++ |
722 *** Calc is now part of the Emacs distribution. | |
723 | |
724 Calc is an advanced desk calculator and mathematical tool written in | |
725 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
|
726 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
|
727 available in `etc/calccard.tex' and `etc/calccard.ps'. |
40847 | 728 |
40889
c410bf71eef7
Mention the addition of the ELisp reference.
Eli Zaretskii <eliz@gnu.org>
parents:
40865
diff
changeset
|
729 +++ |
c410bf71eef7
Mention the addition of the ELisp reference.
Eli Zaretskii <eliz@gnu.org>
parents:
40865
diff
changeset
|
730 *** 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
|
731 |
c410bf71eef7
Mention the addition of the ELisp reference.
Eli Zaretskii <eliz@gnu.org>
parents:
40865
diff
changeset
|
732 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
|
733 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
|
734 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
|
735 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
|
736 |
45022
4359b383982c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44996
diff
changeset
|
737 --- |
4359b383982c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44996
diff
changeset
|
738 ** 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
|
739 cl-indent package. The new user options |
4359b383982c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44996
diff
changeset
|
740 `lisp-loop-keyword-indentation', `lisp-loop-forms-indentation', and |
4359b383982c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44996
diff
changeset
|
741 `lisp-simple-loop-indentation' can be used to customize the |
4359b383982c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44996
diff
changeset
|
742 indentation of keywords and forms in loop forms. |
4359b383982c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44996
diff
changeset
|
743 |
4359b383982c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44996
diff
changeset
|
744 --- |
4359b383982c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44996
diff
changeset
|
745 ** Indentation of backquoted forms has been made customizable in the |
4359b383982c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44996
diff
changeset
|
746 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
|
747 |
4359b383982c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44996
diff
changeset
|
748 --- |
41437
390b2eab7f6f
Mention the Elisp Intro manual.
Eli Zaretskii <eliz@gnu.org>
parents:
41367
diff
changeset
|
749 *** 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
|
750 the distribution. |
390b2eab7f6f
Mention the Elisp Intro manual.
Eli Zaretskii <eliz@gnu.org>
parents:
41367
diff
changeset
|
751 |
390b2eab7f6f
Mention the Elisp Intro manual.
Eli Zaretskii <eliz@gnu.org>
parents:
41367
diff
changeset
|
752 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
|
753 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
|
754 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
|
755 (Help->More Manuals->Introduction to Emacs Lisp). |
41437
390b2eab7f6f
Mention the Elisp Intro manual.
Eli Zaretskii <eliz@gnu.org>
parents:
41367
diff
changeset
|
756 |
44622
a632dc3d85af
Add entries for some things I did earlier:
Miles Bader <miles@gnu.org>
parents:
44589
diff
changeset
|
757 *** 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
|
758 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
|
759 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
|
760 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
|
761 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
|
762 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
|
763 `read-file-name-electric-shadow-properties'. |
a632dc3d85af
Add entries for some things I did earlier:
Miles Bader <miles@gnu.org>
parents:
44589
diff
changeset
|
764 |
39738 | 765 *** The ruler-mode.el library provides a minor mode for displaying an |
766 "active" ruler in the header line. You can use the mouse to visually | |
767 change the `fill-column', `window-margins' and `tab-stop-list' | |
768 settings. | |
769 | |
45022
4359b383982c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44996
diff
changeset
|
770 *** 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
|
771 move your cursor into hidden region of the buffer. |
8cf1bafe44b1
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41620
diff
changeset
|
772 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
|
773 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
|
774 |
45022
4359b383982c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44996
diff
changeset
|
775 There is also Global Reveal mode which affects all buffers. |
4359b383982c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44996
diff
changeset
|
776 |
4359b383982c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44996
diff
changeset
|
777 --- |
44822
0ecfbafcac13
*** empty log message ***
Colin Walters <walters@gnu.org>
parents:
44724
diff
changeset
|
778 *** The new package ibuffer provides a powerful, completely |
0ecfbafcac13
*** empty log message ***
Colin Walters <walters@gnu.org>
parents:
44724
diff
changeset
|
779 customizable replacement for buff-menu.el. |
0ecfbafcac13
*** empty log message ***
Colin Walters <walters@gnu.org>
parents:
44724
diff
changeset
|
780 |
45022
4359b383982c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44996
diff
changeset
|
781 --- |
4359b383982c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44996
diff
changeset
|
782 ** 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
|
783 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
|
784 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
|
785 mode-lines in inverse-video. |
a632dc3d85af
Add entries for some things I did earlier:
Miles Bader <miles@gnu.org>
parents:
44589
diff
changeset
|
786 |
39552 | 787 |
44724 | 788 * Lisp Changes in Emacs 21.4 |
40729
650fb912b343
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40686
diff
changeset
|
789 |
45495 | 790 ** The New lisp library fringe.el controls the apperance of fringes. |
791 | |
44134 | 792 ** The `defmacro' form may contain declarations specifying how to |
793 indent the macro in Lisp mode and how to debug it with Edebug. The | |
794 syntax of defmacro has been extended to | |
795 | |
796 (defmacro NAME LAMBDA-LIST [DOC-STRING] [DECLARATION ...] ...) | |
797 | |
798 DECLARATION is a list `(declare DECLARATION-SPECIFIER ...)'. The | |
799 declaration specifiers supported are: | |
800 | |
801 (indent INDENT) | |
802 Set NAME's `lisp-indent-function' property to INDENT. | |
803 | |
804 (edebug DEBUG) | |
805 Set NAME's `edebug-form-spec' property to DEBUG. (This is | |
806 equivalent to writing a `def-edebug-spec' for the macro. | |
807 | |
43159 | 808 ** Interactive commands can be remapped through keymaps. |
809 | |
810 This is an alternative to using defadvice or substitute-key-definition | |
811 to modify the behaviour of a key binding using the normal keymap | |
812 binding and lookup functionality. | |
813 | |
814 When a key sequence is bound to a command, and that command is | |
815 remapped to another command, that command is run instead of the | |
816 original command. | |
817 | |
818 Example: | |
819 Suppose that minor mode my-mode has defined the commands | |
820 my-kill-line and my-kill-word, and it wants C-k (and any other key | |
821 bound to kill-line) to run the command my-kill-line instead of | |
822 kill-line, and likewise it wants to run my-kill-word instead of | |
823 kill-word. | |
824 | |
825 Instead of rebinding C-k and the other keys in the minor mode map, | |
826 command remapping allows you to directly map kill-line into | |
827 my-kill-line and kill-word into my-kill-word through the minor mode | |
828 map using define-key: | |
829 | |
43503
324295ebaf57
Modify description of command remapping which now uses a `remap'
Kim F. Storm <storm@cua.dk>
parents:
43493
diff
changeset
|
830 (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
|
831 (define-key my-mode-map [remap kill-word] 'my-kill-word) |
43159 | 832 |
833 Now, when my-mode is enabled, and the user enters C-k or M-d, | |
834 the commands my-kill-line and my-kill-word are run. | |
835 | |
836 Notice that only one level of remapping is supported. In the above | |
837 example, this means that if my-kill-line is remapped to other-kill, | |
838 then C-k still runs my-kill-line. | |
839 | |
840 The following changes have been made to provide command remapping: | |
841 | |
43503
324295ebaf57
Modify description of command remapping which now uses a `remap'
Kim F. Storm <storm@cua.dk>
parents:
43493
diff
changeset
|
842 - 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
|
843 `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
|
844 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
|
845 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
|
846 |
324295ebaf57
Modify description of command remapping which now uses a `remap'
Kim F. Storm <storm@cua.dk>
parents:
43493
diff
changeset
|
847 - 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
|
848 command in the current keymaps, or nil if it isn't remapped. |
43159 | 849 |
850 - 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
|
851 third argument NO-REMAP is non-nil. |
43159 | 852 |
853 - where-is-internal now returns nil for a remapped command (e.g. | |
854 kill-line if my-mode is enabled), and the actual key binding for | |
855 the command it is remapped to (e.g. C-k for my-kill-line). | |
856 It also has a new optional fifth argument, NO-REMAP, which inhibits | |
857 remapping if non-nil (e.g. it returns C-k for kill-line and | |
858 <kill-line> for my-kill-line). | |
859 | |
860 - The new variable `this-original-command' contains the original | |
861 command before remapping. It is equal to `this-command' when the | |
862 command was not remapped. | |
863 | |
45223
4cb22a508fe3
Added emulation-mode-map-alists.
Kim F. Storm <storm@cua.dk>
parents:
45195
diff
changeset
|
864 ** New variable emulation-mode-map-alists. |
4cb22a508fe3
Added emulation-mode-map-alists.
Kim F. Storm <storm@cua.dk>
parents:
45195
diff
changeset
|
865 |
4cb22a508fe3
Added emulation-mode-map-alists.
Kim F. Storm <storm@cua.dk>
parents:
45195
diff
changeset
|
866 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
|
867 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
|
868 alist to this list. |
4cb22a508fe3
Added emulation-mode-map-alists.
Kim F. Storm <storm@cua.dk>
parents:
45195
diff
changeset
|
869 |
43139
22ff542d67ee
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43100
diff
changeset
|
870 ** Atomic change groups. |
22ff542d67ee
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43100
diff
changeset
|
871 |
22ff542d67ee
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43100
diff
changeset
|
872 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
|
873 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
|
874 around the code that makes changes. For instance: |
22ff542d67ee
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43100
diff
changeset
|
875 |
22ff542d67ee
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43100
diff
changeset
|
876 (atomic-change-group |
22ff542d67ee
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43100
diff
changeset
|
877 (insert foo) |
22ff542d67ee
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43100
diff
changeset
|
878 (delete-region x y)) |
22ff542d67ee
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43100
diff
changeset
|
879 |
22ff542d67ee
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43100
diff
changeset
|
880 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
|
881 `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
|
882 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
|
883 on any other buffers--any such changes remain. |
22ff542d67ee
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43100
diff
changeset
|
884 |
22ff542d67ee
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43100
diff
changeset
|
885 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
|
886 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
|
887 |
22ff542d67ee
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43100
diff
changeset
|
888 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
|
889 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
|
890 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
|
891 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
|
892 |
22ff542d67ee
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43100
diff
changeset
|
893 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
|
894 group. Pass the handle to `activate-change-group' afterward to |
22ff542d67ee
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43100
diff
changeset
|
895 do this. |
22ff542d67ee
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43100
diff
changeset
|
896 |
22ff542d67ee
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43100
diff
changeset
|
897 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
|
898 either accept the changes or cancel them all. Call |
22ff542d67ee
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43100
diff
changeset
|
899 `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
|
900 call `cancel-change-group' to undo them all. |
22ff542d67ee
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43100
diff
changeset
|
901 |
22ff542d67ee
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43100
diff
changeset
|
902 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
|
903 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
|
904 `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
|
905 (This is one reason why `prepare-change-group' and |
22ff542d67ee
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43100
diff
changeset
|
906 `activate-change-group' are separate functions.) Once you finish the |
22ff542d67ee
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43100
diff
changeset
|
907 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
|
908 twice. |
22ff542d67ee
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43100
diff
changeset
|
909 |
22ff542d67ee
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43100
diff
changeset
|
910 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
|
911 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
|
912 returned values, like this: |
22ff542d67ee
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43100
diff
changeset
|
913 |
22ff542d67ee
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43100
diff
changeset
|
914 (nconc (prepare-change-group buffer-1) |
22ff542d67ee
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43100
diff
changeset
|
915 (prepare-change-group buffer-2)) |
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 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
|
918 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
|
919 `accept-change-group' or `cancel-change-group'. |
22ff542d67ee
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43100
diff
changeset
|
920 |
22ff542d67ee
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43100
diff
changeset
|
921 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
|
922 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
|
923 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
|
924 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
|
925 finished. |
22ff542d67ee
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43100
diff
changeset
|
926 |
44680
39c7ce6f26c1
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44666
diff
changeset
|
927 ** New function remove-list-of-text-properties. |
39c7ce6f26c1
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44666
diff
changeset
|
928 |
39c7ce6f26c1
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44666
diff
changeset
|
929 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
|
930 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
|
931 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
|
932 |
44724 | 933 ** New functions insert-for-yank and insert-buffer-substring-as-yank. |
934 | |
935 These functions work like `insert' and `insert-buffer-substring', but | |
936 removes the text properties in the `yank-excluded-properties' list. | |
937 | |
938 ** New function insert-buffer-substring-no-properties. | |
939 | |
43973
7e66682c7ec6
Describe enhanced networking support.
Kim F. Storm <storm@cua.dk>
parents:
43947
diff
changeset
|
940 ** Enhanced networking support. |
7e66682c7ec6
Describe enhanced networking support.
Kim F. Storm <storm@cua.dk>
parents:
43947
diff
changeset
|
941 |
7e66682c7ec6
Describe enhanced networking support.
Kim F. Storm <storm@cua.dk>
parents:
43947
diff
changeset
|
942 *** 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
|
943 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
|
944 create a stream or datagram server inside emacs. |
7e66682c7ec6
Describe enhanced networking support.
Kim F. Storm <storm@cua.dk>
parents:
43947
diff
changeset
|
945 |
7e66682c7ec6
Describe enhanced networking support.
Kim F. Storm <storm@cua.dk>
parents:
43947
diff
changeset
|
946 - 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
|
947 - Datagram connection is selected using :type 'datagram arg. |
43973
7e66682c7ec6
Describe enhanced networking support.
Kim F. Storm <storm@cua.dk>
parents:
43947
diff
changeset
|
948 - 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
|
949 - Local sockets are supported using :family 'local arg. |
7e66682c7ec6
Describe enhanced networking support.
Kim F. Storm <storm@cua.dk>
parents:
43947
diff
changeset
|
950 - Non-blocking connect is supported using :nowait t arg. |
7e66682c7ec6
Describe enhanced networking support.
Kim F. Storm <storm@cua.dk>
parents:
43947
diff
changeset
|
951 |
44072
434c70e973e8
Explain how to use featurep with make-network-process.
Kim F. Storm <storm@cua.dk>
parents:
44058
diff
changeset
|
952 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
|
953 (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
|
954 |
43973
7e66682c7ec6
Describe enhanced networking support.
Kim F. Storm <storm@cua.dk>
parents:
43947
diff
changeset
|
955 *** 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
|
956 |
7e66682c7ec6
Describe enhanced networking support.
Kim F. Storm <storm@cua.dk>
parents:
43947
diff
changeset
|
957 *** New function open-network-stream-nowait. |
7e66682c7ec6
Describe enhanced networking support.
Kim F. Storm <storm@cua.dk>
parents:
43947
diff
changeset
|
958 |
7e66682c7ec6
Describe enhanced networking support.
Kim F. Storm <storm@cua.dk>
parents:
43947
diff
changeset
|
959 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
|
960 before the connection is established. The filter and sentinel |
7e66682c7ec6
Describe enhanced networking support.
Kim F. Storm <storm@cua.dk>
parents:
43947
diff
changeset
|
961 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
|
962 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
|
963 the status matching "open" or "failed". |
7e66682c7ec6
Describe enhanced networking support.
Kim F. Storm <storm@cua.dk>
parents:
43947
diff
changeset
|
964 |
7e66682c7ec6
Describe enhanced networking support.
Kim F. Storm <storm@cua.dk>
parents:
43947
diff
changeset
|
965 *** New function open-network-stream-server. |
44308
ecd559f0d5c3
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44295
diff
changeset
|
966 MORE INFO NEEDED HERE. |
43973
7e66682c7ec6
Describe enhanced networking support.
Kim F. Storm <storm@cua.dk>
parents:
43947
diff
changeset
|
967 |
7e66682c7ec6
Describe enhanced networking support.
Kim F. Storm <storm@cua.dk>
parents:
43947
diff
changeset
|
968 *** 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
|
969 MORE INFO NEEDED HERE. |
43973
7e66682c7ec6
Describe enhanced networking support.
Kim F. Storm <storm@cua.dk>
parents:
43947
diff
changeset
|
970 |
7e66682c7ec6
Describe enhanced networking support.
Kim F. Storm <storm@cua.dk>
parents:
43947
diff
changeset
|
971 *** 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
|
972 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
|
973 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
|
974 |
7e66682c7ec6
Describe enhanced networking support.
Kim F. Storm <storm@cua.dk>
parents:
43947
diff
changeset
|
975 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
|
976 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
|
977 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
|
978 the fifth is the port number. |
7e66682c7ec6
Describe enhanced networking support.
Kim F. Storm <storm@cua.dk>
parents:
43947
diff
changeset
|
979 |
7e66682c7ec6
Describe enhanced networking support.
Kim F. Storm <storm@cua.dk>
parents:
43947
diff
changeset
|
980 *** Network processes can now be stopped and restarted with |
7e66682c7ec6
Describe enhanced networking support.
Kim F. Storm <storm@cua.dk>
parents:
43947
diff
changeset
|
981 `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
|
982 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
|
983 no input is received in the stopped state. |
7e66682c7ec6
Describe enhanced networking support.
Kim F. Storm <storm@cua.dk>
parents:
43947
diff
changeset
|
984 |
7e66682c7ec6
Describe enhanced networking support.
Kim F. Storm <storm@cua.dk>
parents:
43947
diff
changeset
|
985 *** 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
|
986 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
|
987 |
7e66682c7ec6
Describe enhanced networking support.
Kim F. Storm <storm@cua.dk>
parents:
43947
diff
changeset
|
988 *** 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
|
989 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
|
990 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
|
991 |
42940
7c0e12d6edb5
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42874
diff
changeset
|
992 ** New function substring-no-properties. |
7c0e12d6edb5
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42874
diff
changeset
|
993 |
43626 | 994 ** New function minibuffer-selected-window. |
995 | |
44622
a632dc3d85af
Add entries for some things I did earlier:
Miles Bader <miles@gnu.org>
parents:
44589
diff
changeset
|
996 ** New function `call-process-shell-command'. |
a632dc3d85af
Add entries for some things I did earlier:
Miles Bader <miles@gnu.org>
parents:
44589
diff
changeset
|
997 |
44957
15ba9db103f6
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44934
diff
changeset
|
998 ** The dummy function keys made by easymenu |
15ba9db103f6
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44934
diff
changeset
|
999 are now always lower case. If you specify the |
15ba9db103f6
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44934
diff
changeset
|
1000 menu item name "Ada", for instance, it uses `ada' |
15ba9db103f6
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44934
diff
changeset
|
1001 as the "key" bound by that key binding. |
15ba9db103f6
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44934
diff
changeset
|
1002 |
15ba9db103f6
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44934
diff
changeset
|
1003 This is relevant only if Lisp code looks for |
15ba9db103f6
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44934
diff
changeset
|
1004 the bindings that were made with easymenu. |
15ba9db103f6
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44934
diff
changeset
|
1005 |
15ba9db103f6
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44934
diff
changeset
|
1006 ** The function `commandp' takes an additional optional |
15ba9db103f6
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44934
diff
changeset
|
1007 argument. If it is non-nil, then `commandp' checks |
15ba9db103f6
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44934
diff
changeset
|
1008 for a function that could be called with `call-interactively', |
15ba9db103f6
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44934
diff
changeset
|
1009 and does not return t for keyboard macros. |
15ba9db103f6
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44934
diff
changeset
|
1010 |
45022
4359b383982c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44996
diff
changeset
|
1011 ** 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
|
1012 buffer without leaving your current buffer, the master buffer. |
4359b383982c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44996
diff
changeset
|
1013 |
4359b383982c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44996
diff
changeset
|
1014 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
|
1015 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
|
1016 buffer containing the output from the SQL buffer containing the |
4359b383982c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44996
diff
changeset
|
1017 commands. |
4359b383982c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44996
diff
changeset
|
1018 |
4359b383982c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44996
diff
changeset
|
1019 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
|
1020 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
|
1021 SQL buffer. |
4359b383982c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44996
diff
changeset
|
1022 |
4359b383982c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44996
diff
changeset
|
1023 (add-hook 'sql-mode-hook |
4359b383982c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44996
diff
changeset
|
1024 (function (lambda () |
4359b383982c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44996
diff
changeset
|
1025 (master-mode t) |
4359b383982c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44996
diff
changeset
|
1026 (master-set-slave sql-buffer)))) |
4359b383982c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44996
diff
changeset
|
1027 (add-hook 'sql-set-sqli-hook |
4359b383982c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44996
diff
changeset
|
1028 (function (lambda () |
4359b383982c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44996
diff
changeset
|
1029 (master-set-slave sql-buffer)))) |
4359b383982c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44996
diff
changeset
|
1030 |
44418
68cfd204d729
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44356
diff
changeset
|
1031 ** File local variables. |
68cfd204d729
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44356
diff
changeset
|
1032 |
68cfd204d729
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44356
diff
changeset
|
1033 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
|
1034 properties--any specified text properties are discarded. |
68cfd204d729
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44356
diff
changeset
|
1035 |
42958
2d81f84af342
Document the extended color support for xterm and rxvt, and the
Eli Zaretskii <eliz@gnu.org>
parents:
42940
diff
changeset
|
1036 +++ |
42984
069f39874fde
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42974
diff
changeset
|
1037 *** The meanings of scroll-up-aggressively and scroll-down-aggressively |
069f39874fde
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42974
diff
changeset
|
1038 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
|
1039 and the latter now controls scrolling down. |
069f39874fde
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42974
diff
changeset
|
1040 |
069f39874fde
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42974
diff
changeset
|
1041 +++ |
42820
6477316b4dd9
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42786
diff
changeset
|
1042 ** New function window-body-height. |
6477316b4dd9
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42786
diff
changeset
|
1043 |
6477316b4dd9
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42786
diff
changeset
|
1044 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
|
1045 or the header line. |
6477316b4dd9
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42786
diff
changeset
|
1046 |
44160
9139b10bc7e6
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44134
diff
changeset
|
1047 ** New functions `lax-plist-get' and `lax-plist-put'. |
9139b10bc7e6
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44134
diff
changeset
|
1048 |
9139b10bc7e6
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44134
diff
changeset
|
1049 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
|
1050 compare the property name using `equal' rather than `eq'. |
9139b10bc7e6
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44134
diff
changeset
|
1051 |
44308
ecd559f0d5c3
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44295
diff
changeset
|
1052 ** New function `tool-bar-local-item-from-menu' |
ecd559f0d5c3
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44295
diff
changeset
|
1053 |
ecd559f0d5c3
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44295
diff
changeset
|
1054 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
|
1055 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
|
1056 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
|
1057 you specify the map to use as an argument. |
ecd559f0d5c3
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44295
diff
changeset
|
1058 |
42820
6477316b4dd9
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42786
diff
changeset
|
1059 +++ |
43415
59c97b8695ee
Document the optional second arg of `atan'.
Eli Zaretskii <eliz@gnu.org>
parents:
43390
diff
changeset
|
1060 ** 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
|
1061 |
59c97b8695ee
Document the optional second arg of `atan'.
Eli Zaretskii <eliz@gnu.org>
parents:
43390
diff
changeset
|
1062 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
|
1063 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
|
1064 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
|
1065 |
59c97b8695ee
Document the optional second arg of `atan'.
Eli Zaretskii <eliz@gnu.org>
parents:
43390
diff
changeset
|
1066 +++ |
42867
68f16b55e041
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42830
diff
changeset
|
1067 ** 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
|
1068 |
68f16b55e041
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42830
diff
changeset
|
1069 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
|
1070 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
|
1071 `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
|
1072 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
|
1073 variables call for both, only the mode line actually appears. |
68f16b55e041
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42830
diff
changeset
|
1074 |
68f16b55e041
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42830
diff
changeset
|
1075 +++ |
42749
62c6ce7088f2
Document the new --color arg and tty-color-mode frame parameter.
Eli Zaretskii <eliz@gnu.org>
parents:
42739
diff
changeset
|
1076 ** 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
|
1077 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
|
1078 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
|
1079 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
|
1080 |
44418
68cfd204d729
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44356
diff
changeset
|
1081 ** Mode line display ignores text properties in the value |
68cfd204d729
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44356
diff
changeset
|
1082 of a variable whose `risky-local-variables' property is nil. |
68cfd204d729
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
44356
diff
changeset
|
1083 |
42629
180b3f3a8fb8
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42605
diff
changeset
|
1084 ** 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
|
1085 |
180b3f3a8fb8
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42605
diff
changeset
|
1086 Multibyte buffers can now faithfully record all 256 character codes |
180b3f3a8fb8
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42605
diff
changeset
|
1087 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
|
1088 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
|
1089 now: |
180b3f3a8fb8
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42605
diff
changeset
|
1090 |
180b3f3a8fb8
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42605
diff
changeset
|
1091 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
|
1092 |
180b3f3a8fb8
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42605
diff
changeset
|
1093 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
|
1094 the time it takes to convert the format. |
180b3f3a8fb8
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42605
diff
changeset
|
1095 |
180b3f3a8fb8
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42605
diff
changeset
|
1096 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
|
1097 wasteful. |
180b3f3a8fb8
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42605
diff
changeset
|
1098 |
42487
88fb2c8602aa
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42437
diff
changeset
|
1099 ** If text has a `keymap' property, that keymap takes precedence |
88fb2c8602aa
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42437
diff
changeset
|
1100 over minor mode keymaps. |
88fb2c8602aa
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42437
diff
changeset
|
1101 |
42425
aa6c345a4af0
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42367
diff
changeset
|
1102 ** 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
|
1103 An octal escape makes it unibyte. |
aa6c345a4af0
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42367
diff
changeset
|
1104 |
44625 | 1105 ** Only one of the beginning or end of an invisible, intangible region is |
1106 considered an acceptable value for point; which one is determined by | |
1107 examining how the invisible/intangible properties are inherited when new | |
1108 text is inserted adjacent to them. If text inserted at the beginning would | |
1109 inherit the invisible/intangible properties, then that position is | |
1110 considered unacceptable, and point is forced to the position following the | |
1111 invisible/intangible text. If text inserted at the end would inherit the | |
1112 properties, then the opposite happens. | |
1113 | |
1114 Thus, point can only go to one end of an invisible, intangible region, but | |
1115 not the other one. This prevents C-f and C-b from appearing to stand still | |
1116 on the screen. | |
1117 | |
1118 ** field-beginning and field-end now accept an additional optional | |
1119 argument, LIMIT. | |
42367
e79ed5ab7b08
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42342
diff
changeset
|
1120 |
42437
5426f6a09f35
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42434
diff
changeset
|
1121 +++ |
42434
2c3aa5c554ca
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42425
diff
changeset
|
1122 ** define-abbrev now accepts an optional argument SYSTEM-FLAG. If |
2c3aa5c554ca
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42425
diff
changeset
|
1123 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
|
1124 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
|
1125 Major modes that predefine some abbrevs should always specify this |
2c3aa5c554ca
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42425
diff
changeset
|
1126 flag. |
2c3aa5c554ca
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
42425
diff
changeset
|
1127 |
42281 | 1128 ** Support for Mocklisp has been removed. |
1129 | |
1130 ** The function insert-string is now obsolete. | |
1131 | |
41596
3c035e37d086
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41594
diff
changeset
|
1132 ** The precedence of file-name-handlers has been changed. |
3c035e37d086
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41594
diff
changeset
|
1133 Instead of blindly choosing the first handler that matches, |
3c035e37d086
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41594
diff
changeset
|
1134 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
|
1135 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
|
1136 handler whose (match-beginning 0) is the largest is chosen. |
3c035e37d086
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41594
diff
changeset
|
1137 In case of ties, the old "first matched" rule applies. |
3c035e37d086
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41594
diff
changeset
|
1138 |
41594
452efff38a6e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41501
diff
changeset
|
1139 ** Dense keymaps now handle inheritance correctly. |
41847
7423116b7ac3
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41820
diff
changeset
|
1140 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
|
1141 bindings of the parent keymap. |
41594
452efff38a6e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41501
diff
changeset
|
1142 |
41337
3a8e8dd8a64e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41298
diff
changeset
|
1143 ** 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
|
1144 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
|
1145 (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
|
1146 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
|
1147 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
|
1148 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
|
1149 |
3a8e8dd8a64e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41298
diff
changeset
|
1150 s{ |
3a8e8dd8a64e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41298
diff
changeset
|
1151 foo |
3a8e8dd8a64e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41298
diff
changeset
|
1152 }{ |
3a8e8dd8a64e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41298
diff
changeset
|
1153 bar |
3a8e8dd8a64e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41298
diff
changeset
|
1154 }e |
3a8e8dd8a64e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41298
diff
changeset
|
1155 |
3a8e8dd8a64e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41298
diff
changeset
|
1156 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
|
1157 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
|
1158 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
|
1159 refontification of `bar' whenever the `e' is added/removed. |
3a8e8dd8a64e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41298
diff
changeset
|
1160 |
41298
dd0332958888
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41246
diff
changeset
|
1161 ** 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
|
1162 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
|
1163 |
44625 | 1164 ** face-attribute, face-foreground, face-background, and face-stipple now |
1165 accept a new optional argument, INHERIT, which controls how face | |
1166 inheritance is used when determining the value of a face attribute. | |
1167 | |
41229
70059cb88be4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41099
diff
changeset
|
1168 ** defcustom and other custom declarations now use a default group |
70059cb88be4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41099
diff
changeset
|
1169 (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
|
1170 |
70059cb88be4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41099
diff
changeset
|
1171 ** 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
|
1172 it receives a request from emacsclient. |
70059cb88be4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41099
diff
changeset
|
1173 |
41471
41ef4373121e
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
41439
diff
changeset
|
1174 ** The variable `recursive-load-depth-limit' has been deleted. |
41ef4373121e
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
41439
diff
changeset
|
1175 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
|
1176 than 3 levels of nesting. |
41ef4373121e
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
41439
diff
changeset
|
1177 |
41ef4373121e
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
41439
diff
changeset
|
1178 ** 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
|
1179 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
|
1180 in Indented-Text mode. |
41229
70059cb88be4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41099
diff
changeset
|
1181 |
40973
5959d9cfe456
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40963
diff
changeset
|
1182 ** 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
|
1183 property, `clone-indirect-buffer' signals an error if you use |
5959d9cfe456
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40963
diff
changeset
|
1184 it in that buffer. |
5959d9cfe456
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40963
diff
changeset
|
1185 |
5959d9cfe456
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40963
diff
changeset
|
1186 ** If you set `query-replace-skip-read-only' non-nil, |
5959d9cfe456
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40963
diff
changeset
|
1187 `query-replace' and related functions simply ignore |
5959d9cfe456
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40963
diff
changeset
|
1188 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
|
1189 |
41367 | 1190 ** In `replace-match', the replacement text no longer inherits |
41356 | 1191 properties from surrounding text. |
40973
5959d9cfe456
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40963
diff
changeset
|
1192 |
40729
650fb912b343
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40686
diff
changeset
|
1193 ** New function `buffer-local-value'. |
650fb912b343
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40686
diff
changeset
|
1194 |
650fb912b343
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40686
diff
changeset
|
1195 - Function: buffer-local-value variable buffer |
650fb912b343
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40686
diff
changeset
|
1196 |
650fb912b343
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40686
diff
changeset
|
1197 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
|
1198 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
|
1199 buffer BUFFER, it returns the default value of VARIABLE instead. |
39552 | 1200 |
40973
5959d9cfe456
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40963
diff
changeset
|
1201 ** 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
|
1202 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
|
1203 used in Indented Text mode. |
40487
8c17e2ae6bf5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
40378
diff
changeset
|
1204 |
8c17e2ae6bf5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
40378
diff
changeset
|
1205 ** 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
|
1206 that are kept identical by transparently propagating changes from one |
8c17e2ae6bf5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
40378
diff
changeset
|
1207 clone to the other. |
8c17e2ae6bf5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
40378
diff
changeset
|
1208 |
8c17e2ae6bf5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
40378
diff
changeset
|
1209 ** font-lock can manage arbitrary text-properties beside `face'. |
8c17e2ae6bf5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
40378
diff
changeset
|
1210 *** the FACENAME returned in font-lock-keywords can be a list |
43607 | 1211 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
|
1212 other properties than `face'. |
8c17e2ae6bf5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
40378
diff
changeset
|
1213 *** 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
|
1214 properties are automatically cleaned up by font-lock. |
8c17e2ae6bf5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
40378
diff
changeset
|
1215 |
43932
435ee4108bad
Document removal of special treatment of fg:COLOR and bg:COLOR faces.
Eli Zaretskii <eliz@gnu.org>
parents:
43931
diff
changeset
|
1216 ** 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
|
1217 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
|
1218 `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
|
1219 |
40487
8c17e2ae6bf5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
40378
diff
changeset
|
1220 ** 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
|
1221 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
|
1222 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
|
1223 |
8c17e2ae6bf5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
40378
diff
changeset
|
1224 ** `provide' and `featurep' now accept an optional second argument |
8c17e2ae6bf5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
40378
diff
changeset
|
1225 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
|
1226 and run any code associated with the provided feature. |
8c17e2ae6bf5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
40378
diff
changeset
|
1227 |
40295 | 1228 ** The variable `compilation-parse-errors-filename-function' can |
1229 be used to transform filenames found in compilation output. | |
1230 | |
40190
9ba78bf11cf1
Document changes in file-name-sans-extension and file-name-extension.
Eli Zaretskii <eliz@gnu.org>
parents:
39975
diff
changeset
|
1231 +++ |
9ba78bf11cf1
Document changes in file-name-sans-extension and file-name-extension.
Eli Zaretskii <eliz@gnu.org>
parents:
39975
diff
changeset
|
1232 ** 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
|
1233 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
|
1234 `.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
|
1235 |
39778 | 1236 ** Functions `user-uid' and `user-real-uid' now return floats if the |
1237 user UID doesn't fit in a Lisp integer. Function `user-full-name' | |
1238 accepts a float as UID parameter. | |
1239 | |
39765
e8c0b3b54fc7
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39738
diff
changeset
|
1240 ** `define-key-after' now accepts keys longer than 1. |
e8c0b3b54fc7
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39738
diff
changeset
|
1241 |
40296 | 1242 ** `define-derived-mode' now accepts nil as the parent. |
39765
e8c0b3b54fc7
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39738
diff
changeset
|
1243 |
e8c0b3b54fc7
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39738
diff
changeset
|
1244 ** 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
|
1245 |
39849
10b9480202e8
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39784
diff
changeset
|
1246 ** New functions `keymap-prompt' and `current-active-maps'. |
10b9480202e8
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39784
diff
changeset
|
1247 |
10b9480202e8
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39784
diff
changeset
|
1248 ** New function `describe-buffer-bindings'. |
10b9480202e8
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39784
diff
changeset
|
1249 |
10b9480202e8
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39784
diff
changeset
|
1250 ** New vars `exec-suffixes' and `load-suffixes' used when |
10b9480202e8
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39784
diff
changeset
|
1251 searching for an executable resp. an elisp file. |
10b9480202e8
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39784
diff
changeset
|
1252 |
39552 | 1253 ** Variable aliases have been implemented |
1254 | |
1255 - Macro: defvaralias ALIAS-VAR BASE-VAR | |
1256 | |
1257 This defines the symbol ALIAS-VAR as a variable alias for symbol | |
1258 BASE-VAR. This means that retrieving the value of ALIAS-VAR returns | |
1259 the value of BASE-VAR, and changing the value of ALIAS-VAR changes the | |
1260 value of BASE-VAR. | |
1261 | |
1262 - Function: indirect-variable VARIABLE | |
1263 | |
1264 This function returns the variable at the end of the chain of aliases | |
1265 of VARIABLE. If VARIABLE is not a symbol, or if VARIABLE is not | |
1266 defined as an alias, the function returns VARIABLE. | |
1267 | |
1268 It might be noteworthy that variables aliases work for all kinds of | |
1269 variables, including buffer-local and frame-local variables. | |
1270 | |
1271 ** Functions from `post-gc-hook' are run at the end of garbage | |
1272 collection. The hook is run with GC inhibited, so use it with care. | |
1273 | |
39604 | 1274 ** If the second argument to `copy-file' is the name of a directory, |
39605 | 1275 the file is copied to that directory instead of signaling an error. |
39604 | 1276 |
39647 | 1277 ** The variables most-positive-fixnum and most-negative-fixnum |
1278 have been moved from the CL package to the core. | |
1279 | |
41355
ffd42182dd37
Added note about locale-coding-system on Windows.
Jason Rumney <jasonr@gnu.org>
parents:
41340
diff
changeset
|
1280 ** 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
|
1281 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
|
1282 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
|
1283 |
43754 | 1284 ** Functions y-or-n-p, read-char, read-keysequence and alike that |
1285 display a prompt but don't use the minibuffer now display the prompt | |
1286 using the text properties (esp. the face) of the prompt string. | |
1287 | |
39765
e8c0b3b54fc7
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39738
diff
changeset
|
1288 ** New packages: |
e8c0b3b54fc7
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39738
diff
changeset
|
1289 |
e8c0b3b54fc7
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39738
diff
changeset
|
1290 *** 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
|
1291 current syntactic context (as returned by parse-partial-sexp). |
e8c0b3b54fc7
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39738
diff
changeset
|
1292 |
41340
00ed4838100e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
41337
diff
changeset
|
1293 *** 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
|
1294 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
|
1295 |
44622
a632dc3d85af
Add entries for some things I did earlier:
Miles Bader <miles@gnu.org>
parents:
44589
diff
changeset
|
1296 *** 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
|
1297 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
|
1298 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
|
1299 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
|
1300 as help and apropos buffers. |
a632dc3d85af
Add entries for some things I did earlier:
Miles Bader <miles@gnu.org>
parents:
44589
diff
changeset
|
1301 |
39552 | 1302 |
25995 | 1303 * Installation Changes in Emacs 21.1 |
1304 | |
36039 | 1305 See the INSTALL file for information on installing extra libraries and |
1306 fonts to take advantage of the new graphical features and extra | |
1307 charsets in this release. | |
1308 | |
30576 | 1309 ** Support for GNU/Linux on IA64 machines has been added. |
1310 | |
31007 | 1311 ** Support for LynxOS has been added. |
1312 | |
28166 | 1313 ** 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
|
1314 images and toolkit scrollbars. Use the --help option in `configure' |
cb2595f03c92
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
29949
diff
changeset
|
1315 to list them. |
29696 | 1316 |
30467
26afdae5ea13
--disable-largefile, 64-bit solaris
Dave Love <fx@gnu.org>
parents:
30445
diff
changeset
|
1317 ** You can build a 64-bit Emacs for SPARC/Solaris systems which |
32182 | 1318 support 64-bit executables and also on Irix 6.5. This increases the |
33484 | 1319 maximum buffer size. See etc/MACHINES for instructions. Changes to |
1320 build on other 64-bit systems should be straightforward modulo any | |
1321 necessary changes to unexec. | |
30576 | 1322 |
38900
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1323 ** 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
|
1324 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
|
1325 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1326 ** 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
|
1327 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
|
1328 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1329 ** `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
|
1330 the --without-pop configure option, should that be necessary. |
32428 | 1331 |
32865
34e286ed22a5
Say that Emacs can now be built on the Macintosh.
Andrew Choi <akochoi@shaw.ca>
parents:
32845
diff
changeset
|
1332 ** This version can be built for the Macintosh, but does not implement |
32966 | 1333 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
|
1334 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
|
1335 "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
|
1336 description of aspects specific to the Mac. |
32428 | 1337 |
38900
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1338 ** 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
|
1339 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
|
1340 |
35577
db5649648a65
Replace formfeeds removed on 2001/01/22.
Dave Love <fx@gnu.org>
parents:
35567
diff
changeset
|
1341 |
28166 | 1342 * Changes in Emacs 21.1 |
1343 | |
36821 | 1344 ** Emacs has a new redisplay engine. |
1345 | |
1346 The new redisplay handles characters of variable width and height. | |
1347 Italic text can be used without redisplay problems. Fonts containing | |
1348 oversized characters, i.e. characters larger than the logical height | |
1349 of a font can be used. Images of various formats can be displayed in | |
1350 the text. | |
1351 | |
1352 ** Emacs has a new face implementation. | |
1353 | |
1354 The new faces no longer fundamentally use X font names to specify the | |
1355 font. Instead, each face has several independent attributes--family, | |
1356 height, width, weight and slant--that it may or may not specify. | |
1357 These attributes can be merged from various faces, and then together | |
1358 specify a font. | |
1359 | |
1360 Faces are supported on terminals that can display color or fonts. | |
1361 These terminal capabilities are auto-detected. Details can be found | |
1362 under Lisp changes, below. | |
1363 | |
1364 ** Emacs can display faces on TTY frames. | |
1365 | |
1366 Emacs automatically detects terminals that are able to display colors. | |
1367 Faces with a weight greater than normal are displayed extra-bright, if | |
1368 the terminal supports it. Faces with a weight less than normal and | |
1369 italic faces are displayed dimmed, if the terminal supports it. | |
1370 Underlined faces are displayed underlined if possible. Other face | |
1371 attributes such as `overline', `strike-through', and `box' are ignored | |
1372 on terminals. | |
1373 | |
1374 The command-line options `-fg COLOR', `-bg COLOR', and `-rv' are now | |
1375 supported on character terminals. | |
1376 | |
38900
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1377 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
|
1378 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
|
1379 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
|
1380 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
|
1381 |
36821 | 1382 ** New default font is Courier 12pt under X. |
1383 | |
38900
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1384 ** Sound support |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1385 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1386 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
|
1387 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
|
1388 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
|
1389 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
|
1390 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
|
1391 |
36821 | 1392 ** Emacs now resizes mini-windows if appropriate. |
1393 | |
1394 If a message is longer than one line, or minibuffer contents are | |
1395 longer than one line, Emacs can resize the minibuffer window unless it | |
1396 is on a frame of its own. You can control resizing and the maximum | |
1397 minibuffer window size by setting the following variables: | |
1398 | |
1399 - User option: max-mini-window-height | |
1400 | |
1401 Maximum height for resizing mini-windows. If a float, it specifies a | |
1402 fraction of the mini-window frame's height. If an integer, it | |
1403 specifies a number of lines. | |
1404 | |
1405 Default is 0.25. | |
1406 | |
1407 - User option: resize-mini-windows | |
1408 | |
1409 How to resize mini-windows. If nil, don't resize. If t, always | |
1410 resize to fit the size of the text. If `grow-only', let mini-windows | |
1411 grow only, until they become empty, at which point they are shrunk | |
1412 again. | |
1413 | |
1414 Default is `grow-only'. | |
1415 | |
1416 ** LessTif support. | |
1417 | |
1418 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
|
1419 <http://www.lesstif.org>). You will need version 0.92.26, or later. |
36821 | 1420 |
1421 ** LessTif/Motif file selection dialog. | |
1422 | |
1423 When Emacs is configured to use LessTif or Motif, reading a file name | |
1424 from a menu will pop up a file selection dialog if `use-dialog-box' is | |
1425 non-nil. | |
1426 | |
39485
5e20b8bbcc45
Document the support for file selection dialog on MS-Windows.
Eli Zaretskii <eliz@gnu.org>
parents:
39441
diff
changeset
|
1427 ** 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
|
1428 |
5e20b8bbcc45
Document the support for file selection dialog on MS-Windows.
Eli Zaretskii <eliz@gnu.org>
parents:
39441
diff
changeset
|
1429 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
|
1430 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
|
1431 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
|
1432 |
36821 | 1433 ** Toolkit scroll bars. |
1434 | |
1435 Emacs now uses toolkit scroll bars if available. When configured for | |
1436 LessTif/Motif, it will use that toolkit's scroll bar. Otherwise, when | |
1437 configured for Lucid and Athena widgets, it will use the Xaw3d scroll | |
1438 bar if Xaw3d is available. You can turn off the use of toolkit scroll | |
1439 bars by specifying `--with-toolkit-scroll-bars=no' when configuring | |
1440 Emacs. | |
1441 | |
1442 When you encounter problems with the Xaw3d scroll bar, watch out how | |
1443 Xaw3d is compiled on your system. If the Makefile generated from | |
1444 Xaw3d's Imakefile contains a `-DNARROWPROTO' compiler option, and your | |
1445 Emacs system configuration file `s/your-system.h' does not contain a | |
1446 define for NARROWPROTO, you might consider adding it. Take | |
1447 `s/freebsd.h' as an example. | |
1448 | |
1449 Alternatively, if you don't have access to the Xaw3d source code, take | |
1450 a look at your system's imake configuration file, for example in the | |
1451 directory `/usr/X11R6/lib/X11/config' (paths are different on | |
1452 different systems). You will find files `*.cf' there. If your | |
1453 system's cf-file contains a line like `#define NeedWidePrototypes NO', | |
1454 add a `#define NARROWPROTO' to your Emacs system configuration file. | |
1455 | |
1456 The reason for this is that one Xaw3d function uses `double' or | |
1457 `float' function parameters depending on the setting of NARROWPROTO. | |
1458 This is not a problem when Imakefiles are used because each system's | |
37156 | 1459 imake configuration file contains the necessary information. Since |
36821 | 1460 Emacs doesn't use imake, this has do be done manually. |
1461 | |
1462 ** Tool bar support. | |
1463 | |
1464 Emacs supports a tool bar at the top of a frame under X. For details | |
1465 of how to define a tool bar, see the page describing Lisp-level | |
1466 changes. Tool-bar global minor mode controls whether or not it is | |
1467 displayed and is on by default. The appearance of the bar is improved | |
1468 if Emacs has been built with XPM image support. Otherwise monochrome | |
1469 icons will be used. | |
1470 | |
1471 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
|
1472 for specific modes (with copyright assignments). |
36821 | 1473 |
1474 ** Tooltips. | |
1475 | |
1476 Tooltips are small X windows displaying a help string at the current | |
1477 mouse position. The Lisp package `tooltip' implements them. You can | |
1478 turn them off via the user option `tooltip-mode'. | |
1479 | |
1480 Tooltips also provides support for GUD debugging. If activated, | |
1481 variable values can be displayed in tooltips by pointing at them with | |
1482 the mouse in source buffers. You can customize various aspects of the | |
1483 tooltip display in the group `tooltip'. | |
1484 | |
38900
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1485 ** Automatic Hscrolling |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1486 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1487 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
|
1488 `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
|
1489 customized. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1490 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1491 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
|
1492 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
|
1493 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
|
1494 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
|
1495 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
|
1496 |
36821 | 1497 ** When using a windowing terminal, each Emacs window now has a cursor |
1498 of its own. By default, when a window is selected, the cursor is | |
1499 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
|
1500 `cursor-in-non-selected-windows' controls how to display the |
36821 | 1501 cursor in non-selected windows. If nil, no cursor is shown, if |
36885 | 1502 non-nil a hollow box cursor is shown. |
36821 | 1503 |
1504 ** Fringes to the left and right of windows are used to display | |
1505 truncation marks, continuation marks, overlay arrows and alike. The | |
1506 foreground, background, and stipple of these areas can be changed by | |
1507 customizing face `fringe'. | |
1508 | |
1509 ** The mode line under X is now drawn with shadows by default. | |
1510 You can change its appearance by modifying the face `mode-line'. | |
1511 In particular, setting the `:box' attribute to nil turns off the 3D | |
1512 appearance of the mode line. (The 3D appearance makes the mode line | |
1513 occupy more space, and thus might cause the first or the last line of | |
1514 the window to be partially obscured.) | |
1515 | |
1516 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
|
1517 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
|
1518 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
|
1519 ignored, and mode-lines to be drawn using the default text face. |
36821 | 1520 |
1521 ** Mouse-sensitive mode line. | |
1522 | |
36848
87bf5cef20c7
Mode line is mouse-sensitive on all systems which have a mouse.
Eli Zaretskii <eliz@gnu.org>
parents:
36821
diff
changeset
|
1523 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
|
1524 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
|
1525 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
|
1526 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
|
1527 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
|
1528 have enabled one. |
36821 | 1529 |
1530 Currently, the following actions have been defined: | |
1531 | |
40916
4a749a84888c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40889
diff
changeset
|
1532 - 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
|
1533 |
4a749a84888c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40889
diff
changeset
|
1534 - Mouse-3 on the buffer-name goes to the previous buffer. |
36821 | 1535 |
1536 - Mouse-2 on the read-only or modified status in the mode line (`%' or | |
1537 `*') toggles the status. | |
1538 | |
1539 - Mouse-3 on the mode name displays a minor-mode menu. | |
1540 | |
1541 ** Hourglass pointer | |
1542 | |
1543 Emacs can optionally display an hourglass pointer under X. You can | |
1544 turn the display on or off by customizing group `cursor'. | |
1545 | |
1546 ** Blinking cursor | |
1547 | |
1548 M-x blink-cursor-mode toggles a blinking cursor under X and on | |
1549 terminals having terminal capabilities `vi', `vs', and `ve'. Blinking | |
1550 and related parameters like frequency and delay can be customized in | |
1551 the group `cursor'. | |
1552 | |
1553 ** New font-lock support mode `jit-lock-mode'. | |
1554 | |
1555 This support mode is roughly equivalent to `lazy-lock' but is | |
1556 generally faster. It supports stealth and deferred fontification. | |
1557 See the documentation of the function `jit-lock-mode' for more | |
1558 details. | |
1559 | |
1560 Font-lock uses jit-lock-mode as default support mode, so you don't | |
1561 have to do anything to activate it. | |
1562 | |
38900
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1563 ** 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
|
1564 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1565 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
|
1566 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
|
1567 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1568 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
|
1569 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
|
1570 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
|
1571 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
|
1572 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
|
1573 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
|
1574 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
|
1575 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
|
1576 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1577 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
|
1578 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
|
1579 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
|
1580 `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
|
1581 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
|
1582 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
|
1583 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1584 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
|
1585 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
|
1586 |
36821 | 1587 ** The default for user-option `next-line-add-newlines' has been |
1588 changed to nil, i.e. C-n will no longer add newlines at the end of a | |
1589 buffer by default. | |
1590 | |
1591 ** The <home> and <end> keys now move to the beginning or end of the | |
1592 current line, respectively. C-<home> and C-<end> move to the | |
1593 beginning and end of the buffer. | |
1594 | |
1595 ** Emacs now checks for recursive loads of Lisp files. If the | |
1596 recursion depth exceeds `recursive-load-depth-limit', an error is | |
1597 signaled. | |
1598 | |
1599 ** When an error is signaled during the loading of the user's init | |
1600 file, Emacs now pops up the *Messages* buffer. | |
1601 | |
1602 ** Emacs now refuses to load compiled Lisp files which weren't | |
1603 compiled with Emacs. Set `load-dangerous-libraries' to t to change | |
1604 this behavior. | |
1605 | |
38900
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1606 The reason for this change is an incompatible change in XEmacs's byte |
36821 | 1607 compiler. Files compiled with XEmacs can contain byte codes that let |
1608 Emacs dump core. | |
1609 | |
1610 ** Toggle buttons and radio buttons in menus. | |
1611 | |
1612 When compiled with LessTif (or Motif) support, Emacs uses toolkit | |
1613 widgets for radio and toggle buttons in menus. When configured for | |
1614 Lucid, Emacs draws radio buttons and toggle buttons similar to Motif. | |
1615 | |
1616 ** The menu bar configuration has changed. The new configuration is | |
1617 more CUA-compliant. The most significant change is that Options is | |
1618 now a separate menu-bar item, with Mule and Customize as its submenus. | |
1619 | |
1620 ** Item Save Options on the Options menu allows saving options set | |
1621 using that menu. | |
1622 | |
1623 ** Highlighting of trailing whitespace. | |
1624 | |
1625 When `show-trailing-whitespace' is non-nil, Emacs displays trailing | |
1626 whitespace in the face `trailing-whitespace'. Trailing whitespace is | |
1627 defined as spaces or tabs at the end of a line. To avoid busy | |
1628 highlighting when entering new text, trailing whitespace is not | |
1629 displayed if point is at the end of the line containing the | |
1630 whitespace. | |
1631 | |
1632 ** C-x 5 1 runs the new command delete-other-frames which deletes | |
1633 all frames except the selected one. | |
1634 | |
1635 ** The new user-option `confirm-kill-emacs' can be customized to | |
1636 let Emacs ask for confirmation before exiting. | |
1637 | |
1638 ** The header line in an Info buffer is now displayed as an emacs | |
1639 header-line (which is like a mode-line, but at the top of the window), | |
1640 so that it remains visible even when the buffer has been scrolled. | |
1641 This behavior may be disabled by customizing the option | |
1642 `Info-use-header-line'. | |
1643 | |
1644 ** Polish, Czech, German, and French translations of Emacs' reference card | |
1645 have been added. They are named `pl-refcard.tex', `cs-refcard.tex', | |
1646 `de-refcard.tex' and `fr-refcard.tex'. Postscript files are included. | |
1647 | |
1648 ** An `Emacs Survival Guide', etc/survival.tex, is available. | |
1649 | |
1650 ** A reference card for Dired has been added. Its name is | |
1651 `dired-ref.tex'. A French translation is available in | |
1652 `fr-drdref.tex'. | |
1653 | |
1654 ** C-down-mouse-3 is bound differently. Now if the menu bar is not | |
1655 displayed it pops up a menu containing the items which would be on the | |
1656 menu bar. If the menu bar is displayed, it pops up the major mode | |
1657 menu or the Edit menu if there is no major mode menu. | |
1658 | |
38900
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1659 ** 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
|
1660 |
38107 | 1661 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
|
1662 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
|
1663 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
|
1664 `~/.emacs' init file or to modify it from any Lisp program in general. |
36821 | 1665 |
1666 ** C-u C-x = provides detailed information about the character at | |
1667 point in a pop-up window. | |
1668 | |
1669 ** Emacs can now support 'wheeled' mice (such as the MS IntelliMouse) | |
1670 under XFree86. To enable this, use the `mouse-wheel-mode' command, or | |
1671 customize the variable `mouse-wheel-mode'. | |
1672 | |
1673 The variables `mouse-wheel-follow-mouse' and `mouse-wheel-scroll-amount' | |
1674 determine where and by how much buffers are scrolled. | |
1675 | |
1676 ** Emacs' auto-save list files are now by default stored in a | |
1677 sub-directory `.emacs.d/auto-save-list/' of the user's home directory. | |
1678 (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
|
1679 You can customize `auto-save-list-file-prefix' to change this location. |
36821 | 1680 |
1681 ** The function `getenv' is now callable interactively. | |
1682 | |
34271 | 1683 ** The new user-option `even-window-heights' can be set to nil |
1684 to prevent `display-buffer' from evening out window heights. | |
1685 | |
33796
10ffa5b56f53
mention `delete-trailing-whitespace'
Sam Steingold <sds@gnu.org>
parents:
33720
diff
changeset
|
1686 ** The new command M-x delete-trailing-whitespace RET will delete the |
33990 | 1687 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
|
1688 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
|
1689 |
33559 | 1690 ** When visiting a file with M-x find-file-literally, no newlines will |
35937 | 1691 be added to the end of the buffer even if `require-final-newline' is |
1692 non-nil. | |
33559 | 1693 |
31728 | 1694 ** The new user-option `find-file-suppress-same-file-warnings' can be |
1695 set to suppress warnings ``X and Y are the same file'' when visiting a | |
1696 file that is already visited under a different name. | |
1697 | |
31807 | 1698 ** The new user-option `electric-help-shrink-window' can be set to |
1699 nil to prevent adjusting the help window size to the buffer size. | |
1700 | |
31728 | 1701 ** New command M-x describe-character-set reads a character set name |
32280 | 1702 and displays information about that. |
31248 | 1703 |
30693 | 1704 ** The new variable `auto-mode-interpreter-regexp' contains a regular |
1705 expression matching interpreters, for file mode determination. | |
1706 | |
1707 This regular expression is matched against the first line of a file to | |
1708 determine the file's mode in `set-auto-mode' when Emacs can't deduce a | |
1709 mode from the file's name. If it matches, the file is assumed to be | |
1710 interpreted by the interpreter matched by the second group of the | |
1711 regular expression. The mode is then determined as the mode | |
1712 associated with that interpreter in `interpreter-mode-alist'. | |
1713 | |
29532
9609bc6529ac
executable-make-buffer-file-executable-if-script-p
Dave Love <fx@gnu.org>
parents:
29509
diff
changeset
|
1714 ** New function executable-make-buffer-file-executable-if-script-p is |
31007 | 1715 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
|
1716 |
29509 | 1717 ** The most preferred coding-system is now used to save a buffer if |
1718 buffer-file-coding-system is `undecided' and it is safe for the buffer | |
1719 contents. (The most preferred is set by set-language-environment or | |
1720 by M-x prefer-coding-system.) Thus if you visit an ASCII file and | |
1721 insert a non-ASCII character from your current language environment, | |
1722 the file will be saved silently with the appropriate coding. | |
1723 Previously you would be prompted for a safe coding system. | |
1724 | |
38900
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1725 ** 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
|
1726 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
|
1727 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1728 ** 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
|
1729 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
|
1730 |
30296 | 1731 ** New variable `inhibit-iso-escape-detection' determines if Emacs' |
1732 coding system detection algorithm should pay attention to ISO2022's | |
1733 escape sequences. If this variable is non-nil, the algorithm ignores | |
1734 such escape sequences. The default value is nil, and it is | |
1735 recommended not to change it except for the special case that you | |
30357 | 1736 always want to read any escape code verbatim. If you just want to |
30296 | 1737 read a specific file without decoding escape codes, use C-x RET c |
30357 | 1738 (`universal-coding-system-argument'). For instance, C-x RET c latin-1 |
1739 RET C-x C-f filename RET. | |
30205 | 1740 |
29506 | 1741 ** Variable `default-korean-keyboard' is initialized properly from the |
1742 environment variable `HANGUL_KEYBOARD_TYPE'. | |
1743 | |
1744 ** New command M-x list-charset-chars reads a character set name and | |
1745 displays all characters in that character set. | |
1746 | |
1747 ** M-x set-terminal-coding-system (C-x RET t) now allows CCL-based | |
1748 coding systems such as cpXXX and cyrillic-koi8. | |
1749 | |
38900
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1750 ** 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
|
1751 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
|
1752 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
|
1753 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1754 ** 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
|
1755 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
|
1756 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
|
1757 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
|
1758 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
|
1759 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
|
1760 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
|
1761 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1762 ** 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
|
1763 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
|
1764 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
|
1765 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1766 ** 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
|
1767 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
|
1768 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
|
1769 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1770 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
|
1771 --- ------- ----------- |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1772 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
|
1773 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
|
1774 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
|
1775 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1776 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
|
1777 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
|
1778 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
|
1779 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1780 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
|
1781 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
|
1782 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
|
1783 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
|
1784 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
|
1785 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
|
1786 |
39885
91b2bb6856b0
List the new input methods introduced with Emacs 21.1.
Eli Zaretskii <eliz@gnu.org>
parents:
39881
diff
changeset
|
1787 ** 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
|
1788 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
|
1789 "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
|
1790 package. |
91b2bb6856b0
List the new input methods introduced with Emacs 21.1.
Eli Zaretskii <eliz@gnu.org>
parents:
39881
diff
changeset
|
1791 |
38900
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1792 ** 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
|
1793 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
|
1794 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
|
1795 "=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
|
1796 "`", 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
|
1797 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1798 ** 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
|
1799 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
|
1800 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
|
1801 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
|
1802 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
|
1803 on. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1804 |
29218
e956cc90f6c0
newcomment and the change of binding for M-;
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29162
diff
changeset
|
1805 ** 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
|
1806 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
|
1807 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
|
1808 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
|
1809 |
28799 | 1810 ** New user options `display-time-mail-face' and |
1811 `display-time-use-mail-icon' control the appearance of mode-line mail | |
1812 indicator used by the display-time package. On a suitable display the | |
1813 indicator can be an icon and is mouse-sensitive. | |
1814 | |
28695 | 1815 ** On window-systems, additional space can be put between text lines |
1816 on the display using several methods | |
1817 | |
1818 - By setting frame parameter `line-spacing' to PIXELS. PIXELS must be | |
1819 a positive integer, and specifies that PIXELS number of pixels should | |
1820 be put below text lines on the affected frame or frames. | |
1821 | |
1822 - By setting X resource `lineSpacing', class `LineSpacing'. This is | |
33838 | 1823 equivalent to specifying the frame parameter. |
28695 | 1824 |
28870 | 1825 - By specifying `--line-spacing=N' or `-lsp N' on the command line. |
28695 | 1826 |
1827 - By setting buffer-local variable `line-spacing'. The meaning is | |
1828 the same, but applies to the a particular buffer only. | |
1829 | |
29752 | 1830 ** The new command `clone-indirect-buffer' can be used to create |
28660 | 1831 an indirect buffer that is a twin copy of the current buffer. The |
29752 | 1832 command `clone-indirect-buffer-other-window', bound to C-x 4 c, |
28660 | 1833 does the same but displays the indirect buffer in another window. |
28626 | 1834 |
28525
05658544eaff
backup-directory-alist, make-backup-file-name-function.
Dave Love <fx@gnu.org>
parents:
28506
diff
changeset
|
1835 ** New user options `backup-directory-alist' and |
28757 | 1836 `make-backup-file-name-function' control the placement of backups, |
1837 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
|
1838 |
28396 | 1839 ** New commands iso-iso2sgml and iso-sgml2iso convert between Latin-1 |
1840 characters and the corresponding SGML (HTML) entities. | |
1841 | |
28159 | 1842 ** New X resources recognized |
27994 | 1843 |
28140 | 1844 *** The X resource `synchronous', class `Synchronous', specifies |
1845 whether Emacs should run in synchronous mode. Synchronous mode | |
1846 is useful for debugging X problems. | |
1847 | |
1848 Example: | |
1849 | |
28159 | 1850 emacs.synchronous: true |
28140 | 1851 |
27994 | 1852 *** The X resource `visualClass, class `VisualClass', specifies the |
1853 visual Emacs should use. The resource's value should be a string of | |
27995 | 1854 the form `CLASS-DEPTH', where CLASS is the name of the visual class, |
1855 and DEPTH is the requested color depth as a decimal number. Valid | |
1856 visual class names are | |
27994 | 1857 |
1858 TrueColor | |
1859 PseudoColor | |
1860 DirectColor | |
1861 StaticColor | |
1862 GrayScale | |
1863 StaticGray | |
1864 | |
1865 Visual class names specified as X resource are case-insensitive, i.e. | |
1866 `pseudocolor', `Pseudocolor' and `PseudoColor' all have the same | |
1867 meaning. | |
1868 | |
27995 | 1869 The program `xdpyinfo' can be used to list the visual classes |
1870 supported on your display, and which depths they have. If | |
1871 `visualClass' is not specified, Emacs uses the display's default | |
1872 visual. | |
1873 | |
1874 Example: | |
1875 | |
28159 | 1876 emacs.visualClass: TrueColor-8 |
27994 | 1877 |
1878 *** The X resource `privateColormap', class `PrivateColormap', | |
1879 specifies that Emacs should use a private colormap if it is using the | |
1880 default visual, and that visual is of class PseudoColor. Recognized | |
1881 resource values are `true' or `on'. | |
1882 | |
27995 | 1883 Example: |
1884 | |
28159 | 1885 emacs.privateColormap: true |
27995 | 1886 |
25853 | 1887 ** Faces and frame parameters. |
1888 | |
1889 There are four new faces `scroll-bar', `border', `cursor' and `mouse'. | |
1890 Setting the frame parameters `scroll-bar-foreground' and | |
1891 `scroll-bar-background' sets foreground and background color of face | |
1892 `scroll-bar' and vice versa. Setting frame parameter `border-color' | |
1893 sets the background color of face `border' and vice versa. Likewise | |
1894 for frame parameters `cursor-color' and face `cursor', and frame | |
1895 parameter `mouse-color' and face `mouse'. | |
1896 | |
1897 Changing frame parameter `font' sets font-related attributes of the | |
1898 `default' face and vice versa. Setting frame parameters | |
26264 | 1899 `foreground-color' or `background-color' sets the colors of the |
25853 | 1900 `default' face and vice versa. |
1901 | |
25951 | 1902 ** New face `menu'. |
1903 | |
1904 The face `menu' can be used to change colors and font of Emacs' menus. | |
1905 | |
25853 | 1906 ** New frame parameter `screen-gamma' for gamma correction. |
1907 | |
1908 The new frame parameter `screen-gamma' specifies gamma-correction for | |
1909 colors. Its value may be nil, the default, in which case no gamma | |
1910 correction occurs, or a number > 0, usually a float, that specifies | |
1911 the screen gamma of a frame's display. | |
1912 | |
1913 PC monitors usually have a screen gamma of 2.2. smaller values result | |
1914 in darker colors. You might want to try a screen gamma of 1.5 for LCD | |
1915 color displays. The viewing gamma Emacs uses is 0.4545. (1/2.2). | |
1916 | |
1917 The X resource name of this parameter is `screenGamma', class | |
1918 `ScreenGamma'. | |
1919 | |
1920 ** Tabs and variable-width text. | |
1921 | |
1922 Tabs are now displayed with stretch properties; the width of a tab is | |
1923 defined as a multiple of the normal character width of a frame, and is | |
1924 independent of the fonts used in the text where the tab appears. | |
1925 Thus, tabs can be used to line up text in different fonts. | |
1926 | |
1927 ** Enhancements of the Lucid menu bar | |
1928 | |
1929 *** The Lucid menu bar now supports the resource "margin". | |
1930 | |
1931 emacs.pane.menubar.margin: 5 | |
1932 | |
28677
950ff4674e17
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
28660
diff
changeset
|
1933 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
|
1934 LessTif/Motif one. |
950ff4674e17
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
28660
diff
changeset
|
1935 |
950ff4674e17
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
28660
diff
changeset
|
1936 *** 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
|
1937 LessTif and Motif. |
25853 | 1938 |
1939 ** A block cursor can be drawn as wide as the glyph under it under X. | |
1940 | |
1941 As an example: if a block cursor is over a tab character, it will be | |
1942 drawn as wide as that tab on the display. To do this, set | |
1943 `x-stretch-cursor' to a non-nil value. | |
1944 | |
1945 ** 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
|
1946 bitmap (this is similar to the tilde displayed by vi and Less). |
25853 | 1947 |
1948 This behavior is activated by setting the buffer-local variable | |
1949 `indicate-empty-lines' to a non-nil value. The default value of this | |
1950 variable is found in `default-indicate-empty-lines'. | |
1951 | |
1952 ** There is a new "aggressive" scrolling method. | |
1953 | |
1954 When scrolling up because point is above the window start, if the | |
33624 | 1955 value of the buffer-local variable `scroll-up-aggressively' is a |
25853 | 1956 number, Emacs chooses a new window start so that point ends up that |
31124 | 1957 fraction of the window's height from the top of the window. |
25853 | 1958 |
1959 When scrolling down because point is below the window end, if the | |
35680 | 1960 value of the buffer-local variable `scroll-down-aggressively' is a |
25853 | 1961 number, Emacs chooses a new window start so that point ends up that |
31124 | 1962 fraction of the window's height from the bottom of the window. |
25853 | 1963 |
38900
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1964 ** 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
|
1965 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
|
1966 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
|
1967 buffers. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1968 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1969 ** 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
|
1970 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1971 ** 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
|
1972 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
|
1973 `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
|
1974 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1975 ** 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
|
1976 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
|
1977 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
|
1978 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
|
1979 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
|
1980 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
|
1981 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1982 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
|
1983 |
25853 | 1984 ** The rectangle commands now avoid inserting undesirable spaces, |
1985 notably at the end of lines. | |
1986 | |
1987 All these functions have been rewritten to avoid inserting unwanted | |
1988 spaces, and an optional prefix now allows them to behave the old way. | |
1989 | |
37446
1b121f2746a8
Change entries for string-rectangle and alike.
Gerd Moellmann <gerd@gnu.org>
parents:
37388
diff
changeset
|
1990 ** 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
|
1991 |
1b121f2746a8
Change entries for string-rectangle and alike.
Gerd Moellmann <gerd@gnu.org>
parents:
37388
diff
changeset
|
1992 ** 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
|
1993 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
|
1994 |
25853 | 1995 ** The new command M-x query-replace-regexp-eval acts like |
1996 query-replace-regexp, but takes a Lisp expression which is evaluated | |
1997 after each match to get the replacement text. | |
1998 | |
29972 | 1999 ** M-x query-replace recognizes a new command `e' (or `E') that lets |
2000 you edit the replacement string. | |
28805 | 2001 |
38925
d5d4948816a7
Label all user-level changes with either +++ or ---.
Eli Zaretskii <eliz@gnu.org>
parents:
38900
diff
changeset
|
2002 ** 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
|
2003 (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
|
2004 in the text, analogous to lisp-complete-symbol. |
28805 | 2005 |
38900
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2006 ** 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
|
2007 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2008 ** 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
|
2009 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
|
2010 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2011 ** 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
|
2012 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
|
2013 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
|
2014 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
|
2015 |
38925
d5d4948816a7
Label all user-level changes with either +++ or ---.
Eli Zaretskii <eliz@gnu.org>
parents:
38900
diff
changeset
|
2016 -- |
38900
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2017 ** 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
|
2018 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
|
2019 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2020 ** 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
|
2021 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
|
2022 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
|
2023 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
|
2024 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2025 ** 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
|
2026 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
|
2027 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2028 ** 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
|
2029 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
|
2030 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
|
2031 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
|
2032 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
|
2033 of Emacs. |
29676 | 2034 |
25853 | 2035 ** Customize changes |
2036 | |
2037 *** Customize now supports comments about customized items. Use the | |
36885 | 2038 `State' menu to add comments, or give a prefix argument to |
2039 M-x customize-set-variable or M-x customize-set-value. Note that | |
2040 customization comments will cause the customizations to fail in | |
2041 earlier versions of Emacs. | |
25853 | 2042 |
2043 *** The new option `custom-buffer-done-function' says whether to kill | |
2044 Custom buffers when you've done with them or just bury them (the | |
2045 default). | |
2046 | |
37901
9447d0447996
Document that customizations from "emacs -q" cannot be saved.
Eli Zaretskii <eliz@gnu.org>
parents:
37805
diff
changeset
|
2047 *** 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
|
2048 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
|
2049 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
|
2050 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
|
2051 file. |
9447d0447996
Document that customizations from "emacs -q" cannot be saved.
Eli Zaretskii <eliz@gnu.org>
parents:
37805
diff
changeset
|
2052 |
43061
357ce0fca815
Document the new behavior of novice.el under "emacs -q".
Eli Zaretskii <eliz@gnu.org>
parents:
43045
diff
changeset
|
2053 ** 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
|
2054 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
|
2055 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
|
2056 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
|
2057 |
25853 | 2058 ** New features in evaluation commands |
2059 | |
30056 | 2060 *** The commands to evaluate Lisp expressions, such as C-M-x in Lisp |
25853 | 2061 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
|
2062 print-level, print-length, and debug-on-error based on the new |
25853 | 2063 customizable variables eval-expression-print-level, |
2064 eval-expression-print-length, and eval-expression-debug-on-error. | |
2065 | |
38562
5a192d819ce2
Mention the effect of eval-expression-print-length and
Eli Zaretskii <eliz@gnu.org>
parents:
38527
diff
changeset
|
2066 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
|
2067 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
|
2068 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
|
2069 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
|
2070 printed). |
5a192d819ce2
Mention the effect of eval-expression-print-length and
Eli Zaretskii <eliz@gnu.org>
parents:
38527
diff
changeset
|
2071 |
38590 | 2072 <RET> or <mouse-2> on the printed text toggles between an abbreviated |
2073 printed representation and an unabbreviated one. | |
38573 | 2074 |
38562
5a192d819ce2
Mention the effect of eval-expression-print-length and
Eli Zaretskii <eliz@gnu.org>
parents:
38527
diff
changeset
|
2075 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
|
2076 during evaluation produces a backtrace. |
5a192d819ce2
Mention the effect of eval-expression-print-length and
Eli Zaretskii <eliz@gnu.org>
parents:
38527
diff
changeset
|
2077 |
40526
b466f4f946a7
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40493
diff
changeset
|
2078 *** The function `eval-defun' (C-M-x) now loads Edebug and instruments |
30056 | 2079 code when called with a prefix argument. |
2080 | |
26820 | 2081 ** CC mode changes. |
2082 | |
2083 Note: This release contains changes that might not be compatible with | |
2084 current user setups (although it's believed that these | |
2085 incompatibilities will only show in very uncommon circumstances). | |
2086 However, since the impact is uncertain, these changes may be rolled | |
2087 back depending on user feedback. Therefore there's no forward | |
2088 compatibility guarantee wrt the new features introduced in this | |
2089 release. | |
2090 | |
37009 | 2091 *** The hardcoded switch to "java" style in Java mode is gone. |
2092 CC Mode used to automatically set the style to "java" when Java mode | |
2093 is entered. This has now been removed since it caused too much | |
2094 confusion. | |
2095 | |
2096 However, to keep backward compatibility to a certain extent, the | |
2097 default value for c-default-style now specifies the "java" style for | |
2098 java-mode, but "gnu" for all other modes (as before). So you won't | |
2099 notice the change if you haven't touched that variable. | |
2100 | |
2101 *** New cleanups, space-before-funcall and compact-empty-funcall. | |
2102 Two new cleanups have been added to c-cleanup-list: | |
2103 | |
2104 space-before-funcall causes a space to be inserted before the opening | |
2105 parenthesis of a function call, which gives the style "foo (bar)". | |
2106 | |
2107 compact-empty-funcall causes any space before a function call opening | |
2108 parenthesis to be removed if there are no arguments to the function. | |
2109 It's typically useful together with space-before-funcall to get the | |
2110 style "foo (bar)" and "foo()". | |
2111 | |
2112 *** Some keywords now automatically trigger reindentation. | |
2113 Keywords like "else", "while", "catch" and "finally" have been made | |
2114 "electric" to make them reindent automatically when they continue an | |
2115 earlier statement. An example: | |
2116 | |
2117 for (i = 0; i < 17; i++) | |
2118 if (a[i]) | |
2119 res += a[i]->offset; | |
2120 else | |
2121 | |
2122 Here, the "else" should be indented like the preceding "if", since it | |
2123 continues that statement. CC Mode will automatically reindent it after | |
2124 the "else" has been typed in full, since it's not until then it's | |
2125 possible to decide whether it's a new statement or a continuation of | |
2126 the preceding "if". | |
2127 | |
2128 CC Mode uses Abbrev mode to achieve this, which is therefore turned on | |
2129 by default. | |
2130 | |
2131 *** M-a and M-e now moves by sentence in multiline strings. | |
2132 Previously these two keys only moved by sentence in comments, which | |
2133 meant that sentence movement didn't work in strings containing | |
2134 documentation or other natural language text. | |
2135 | |
2136 The reason it's only activated in multiline strings (i.e. strings that | |
2137 contain a newline, even when escaped by a '\') is to avoid stopping in | |
2138 the short strings that often reside inside statements. Multiline | |
2139 strings almost always contain text in a natural language, as opposed | |
2140 to other strings that typically contain format specifications, | |
2141 commands, etc. Also, it's not that bothersome that M-a and M-e misses | |
2142 sentences in single line strings, since they're short anyway. | |
2143 | |
2144 *** Support for autodoc comments in Pike mode. | |
2145 Autodoc comments for Pike are used to extract documentation from the | |
2146 source, like Javadoc in Java. Pike mode now recognize this markup in | |
2147 comment prefixes and paragraph starts. | |
2148 | |
2149 *** The comment prefix regexps on c-comment-prefix may be mode specific. | |
2150 When c-comment-prefix is an association list, it specifies the comment | |
2151 line prefix on a per-mode basis, like c-default-style does. This | |
2152 change came about to support the special autodoc comment prefix in | |
2153 Pike mode only. | |
2154 | |
2155 *** Better handling of syntactic errors. | |
2156 The recovery after unbalanced parens earlier in the buffer has been | |
2157 improved; CC Mode now reports them by dinging and giving a message | |
2158 stating the offending line, but still recovers and indent the | |
2159 following lines in a sane way (most of the time). An "else" with no | |
2160 matching "if" is handled similarly. If an error is discovered while | |
2161 indenting a region, the whole region is still indented and the error | |
2162 is reported afterwards. | |
2163 | |
2164 *** Lineup functions may now return absolute columns. | |
2165 A lineup function can give an absolute column to indent the line to by | |
2166 returning a vector with the desired column as the first element. | |
2167 | |
2168 *** More robust and warning-free byte compilation. | |
2169 Although this is strictly not a user visible change (well, depending | |
2170 on the view of a user), it's still worth mentioning that CC Mode now | |
2171 can be compiled in the standard ways without causing trouble. Some | |
2172 code have also been moved between the subpackages to enhance the | |
2173 modularity somewhat. Thanks to Martin Buchholz for doing the | |
2174 groundwork. | |
2175 | |
30412 | 2176 *** c-style-variables-are-local-p now defaults to t. |
2177 This is an incompatible change that has been made to make the behavior | |
2178 of the style system wrt global variable settings less confusing for | |
2179 non-advanced users. If you know what this variable does you might | |
2180 want to set it to nil in your .emacs, otherwise you probably don't | |
2181 have to bother. | |
2182 | |
2183 Defaulting c-style-variables-are-local-p to t avoids the confusing | |
2184 situation that occurs when a user sets some style variables globally | |
30445 | 2185 and edits both a Java and a non-Java file in the same Emacs session. |
30412 | 2186 If the style variables aren't buffer local in this case, loading of |
2187 the second file will cause the default style (either "gnu" or "java" | |
2188 by default) to override the global settings made by the user. | |
2189 | |
26820 | 2190 *** New initialization procedure for the style system. |
2191 When the initial style for a buffer is determined by CC Mode (from the | |
2192 variable c-default-style), the global values of style variables now | |
2193 take precedence over the values specified by the chosen style. This | |
2194 is different than the old behavior: previously, the style-specific | |
2195 settings would override the global settings. This change makes it | |
2196 possible to do simple configuration in the intuitive way with | |
2197 Customize or with setq lines in one's .emacs file. | |
2198 | |
2199 By default, the global value of every style variable is the new | |
2200 special symbol set-from-style, which causes the value to be taken from | |
2201 the style system. This means that in effect, only an explicit setting | |
2202 of a style variable will cause the "overriding" behavior described | |
2203 above. | |
2204 | |
2205 Also note that global settings override style-specific settings *only* | |
2206 when the initial style of a buffer is chosen by a CC Mode major mode | |
2207 function. When a style is chosen in other ways --- for example, by a | |
2208 call like (c-set-style "gnu") in a hook, or via M-x c-set-style --- | |
2209 then the style-specific values take precedence over any global style | |
2210 values. In Lisp terms, global values override style-specific values | |
2211 only when the new second argument to c-set-style is non-nil; see the | |
2212 function documentation for more info. | |
2213 | |
2214 The purpose of these changes is to make it easier for users, | |
2215 especially novice users, to do simple customizations with Customize or | |
2216 with setq in their .emacs files. On the other hand, the new system is | |
2217 intended to be compatible with advanced users' customizations as well, | |
2218 such as those that choose styles in hooks or whatnot. This new system | |
2219 is believed to be almost entirely compatible with current | |
2220 configurations, in spite of the changed precedence between style and | |
2221 global variable settings when a buffer's default style is set. | |
2222 | |
2223 (Thanks to Eric Eide for clarifying this explanation a bit.) | |
2224 | |
2225 **** c-offsets-alist is now a customizable variable. | |
2226 This became possible as a result of the new initialization behavior. | |
2227 | |
2228 This variable is treated slightly differently from the other style | |
2229 variables; instead of using the symbol set-from-style, it will be | |
2230 completed with the syntactic symbols it doesn't already contain when | |
2231 the style is first initialized. This means it now defaults to the | |
2232 empty list to make all syntactic elements get their values from the | |
2233 style system. | |
2234 | |
2235 **** Compatibility variable to restore the old behavior. | |
2236 In case your configuration doesn't work with this change, you can set | |
2237 c-old-style-variable-behavior to non-nil to get the old behavior back | |
2238 as far as possible. | |
2239 | |
2240 *** Improvements to line breaking and text filling. | |
2241 CC Mode now handles this more intelligently and seamlessly wrt the | |
2242 surrounding code, especially inside comments. For details see the new | |
2243 chapter about this in the manual. | |
2244 | |
2245 **** New variable to recognize comment line prefix decorations. | |
2246 The variable c-comment-prefix-regexp has been added to properly | |
2247 recognize the line prefix in both block and line comments. It's | |
2248 primarily used to initialize the various paragraph recognition and | |
2249 adaptive filling variables that the text handling functions uses. | |
2250 | |
2251 **** New variable c-block-comment-prefix. | |
2252 This is a generalization of the now obsolete variable | |
2253 c-comment-continuation-stars to handle arbitrary strings. | |
2254 | |
2255 **** CC Mode now uses adaptive fill mode. | |
2256 This to make it adapt better to the paragraph style inside comments. | |
2257 | |
2258 It's also possible to use other adaptive filling packages inside CC | |
2259 Mode, notably Kyle E. Jones' Filladapt mode (http://wonderworks.com/). | |
2260 A new convenience function c-setup-filladapt sets up Filladapt for use | |
2261 inside CC Mode. | |
2262 | |
2263 Note though that the 2.12 version of Filladapt lacks a feature that | |
2264 causes it to work suboptimally when c-comment-prefix-regexp can match | |
2265 the empty string (which it commonly does). A patch for that is | |
2266 available from the CC Mode web site (http://www.python.org/emacs/ | |
2267 cc-mode/). | |
2268 | |
38894
681dc47ffb61
Document the removal of c-hanging-comment-starter-p and
Eli Zaretskii <eliz@gnu.org>
parents:
38832
diff
changeset
|
2269 **** 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
|
2270 `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
|
2271 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
|
2272 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
|
2273 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
|
2274 |
26820 | 2275 **** It's now possible to selectively turn off auto filling. |
2276 The variable c-ignore-auto-fill is used to ignore auto fill mode in | |
2277 specific contexts, e.g. in preprocessor directives and in string | |
2278 literals. | |
2279 | |
2280 **** New context sensitive line break function c-context-line-break. | |
2281 It works like newline-and-indent in normal code, and adapts the line | |
2282 prefix according to the comment style when used inside comments. If | |
2283 you're normally using newline-and-indent, you might want to switch to | |
2284 this function. | |
2285 | |
2286 *** Fixes to IDL mode. | |
2287 It now does a better job in recognizing only the constructs relevant | |
2288 to IDL. E.g. it no longer matches "class" as the beginning of a | |
2289 struct block, but it does match the CORBA 2.3 "valuetype" keyword. | |
2290 Thanks to Eric Eide. | |
2291 | |
2292 *** Improvements to the Whitesmith style. | |
2293 It now keeps the style consistently on all levels and both when | |
2294 opening braces hangs and when they don't. | |
2295 | |
2296 **** New lineup function c-lineup-whitesmith-in-block. | |
2297 | |
2298 *** New lineup functions c-lineup-template-args and c-indent-multi-line-block. | |
2299 See their docstrings for details. c-lineup-template-args does a | |
2300 better job of tracking the brackets used as parens in C++ templates, | |
2301 and is used by default to line up continued template arguments. | |
2302 | |
2303 *** c-lineup-comment now preserves alignment with a comment on the | |
2304 previous line. It used to instead preserve comments that started in | |
2305 the column specified by comment-column. | |
2306 | |
2307 *** c-lineup-C-comments handles "free form" text comments. | |
2308 In comments with a long delimiter line at the start, the indentation | |
2309 is kept unchanged for lines that start with an empty comment line | |
2310 prefix. This is intended for the type of large block comments that | |
2311 contain documentation with its own formatting. In these you normally | |
2312 don't want CC Mode to change the indentation. | |
2313 | |
2314 *** The `c' syntactic symbol is now relative to the comment start | |
2315 instead of the previous line, to make integers usable as lineup | |
2316 arguments. | |
2317 | |
2318 *** All lineup functions have gotten docstrings. | |
2319 | |
2320 *** More preprocessor directive movement functions. | |
2321 c-down-conditional does the reverse of c-up-conditional. | |
2322 c-up-conditional-with-else and c-down-conditional-with-else are | |
2323 variants of these that also stops at "#else" lines (suggested by Don | |
2324 Provan). | |
2325 | |
2326 *** Minor improvements to many movement functions in tricky situations. | |
2327 | |
38900
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2328 ** Dired changes |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2329 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2330 *** 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
|
2331 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
|
2332 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
|
2333 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2334 *** 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
|
2335 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
|
2336 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
|
2337 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2338 *** 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
|
2339 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
|
2340 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
|
2341 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2342 *** 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
|
2343 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
|
2344 directory. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2345 |
38989
6dcbf4154ff0
Change key for dired-show-file-type to `y'.
Gerd Moellmann <gerd@gnu.org>
parents:
38938
diff
changeset
|
2346 *** 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
|
2347 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
|
2348 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
|
2349 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
|
2350 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
|
2351 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2352 *** 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
|
2353 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
|
2354 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2355 *** 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
|
2356 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
|
2357 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
|
2358 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
|
2359 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2360 ** Gnus 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 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
|
2363 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
|
2364 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
|
2365 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2366 *** 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
|
2367 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
|
2368 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2369 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
|
2370 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2371 (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
|
2372 (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
|
2373 (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
|
2374 (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
|
2375 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2376 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
|
2377 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2378 (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
|
2379 '((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
|
2380 :suffix ".in"))) |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2381 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2382 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
|
2383 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
|
2384 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2385 *** 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
|
2386 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
|
2387 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
|
2388 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
|
2389 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2390 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
|
2391 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
|
2392 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
|
2393 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2394 *** 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
|
2395 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
|
2396 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
|
2397 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
|
2398 |
38925
d5d4948816a7
Label all user-level changes with either +++ or ---.
Eli Zaretskii <eliz@gnu.org>
parents:
38900
diff
changeset
|
2399 *** 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
|
2400 Gnus facilities. |
d5d4948816a7
Label all user-level changes with either +++ or ---.
Eli Zaretskii <eliz@gnu.org>
parents:
38900
diff
changeset
|
2401 |
38900
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2402 *** 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
|
2403 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
|
2404 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2405 *** 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
|
2406 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
|
2407 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2408 *** `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
|
2409 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
|
2410 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2411 *** 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
|
2412 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
|
2413 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2414 *** 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
|
2415 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
|
2416 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
|
2417 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2418 *** 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
|
2419 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2420 *** 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
|
2421 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2422 ** 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
|
2423 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2424 *** 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
|
2425 macros |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2426 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2427 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
|
2428 ------------------------- |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2429 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
|
2430 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
|
2431 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
|
2432 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
|
2433 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
|
2434 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
|
2435 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
|
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 " 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
|
2438 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2439 ** 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
|
2440 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2441 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
|
2442 `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
|
2443 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
|
2444 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2445 ** 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
|
2446 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2447 *** 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
|
2448 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
|
2449 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
|
2450 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
|
2451 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
|
2452 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2453 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
|
2454 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
|
2455 this way. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2456 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2457 ** 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
|
2458 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
|
2459 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2460 ** 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
|
2461 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2462 *** 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
|
2463 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
|
2464 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
|
2465 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2466 ** 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
|
2467 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
|
2468 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2469 ** 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
|
2470 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2471 *** 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
|
2472 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2473 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
|
2474 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
|
2475 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
|
2476 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
|
2477 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2478 *** 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
|
2479 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
|
2480 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
|
2481 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
|
2482 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2483 *** 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
|
2484 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
|
2485 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
|
2486 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2487 *** 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
|
2488 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2489 *** 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
|
2490 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
|
2491 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
|
2492 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
|
2493 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2494 *** 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
|
2495 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
|
2496 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2497 ** 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
|
2498 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2499 *** 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
|
2500 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
|
2501 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
|
2502 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2503 **** 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
|
2504 current buffer. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2505 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2506 *** 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
|
2507 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
|
2508 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2509 *** 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
|
2510 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
|
2511 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
|
2512 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
|
2513 `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
|
2514 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
|
2515 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2516 *** 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
|
2517 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2518 ** 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
|
2519 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2520 *** 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
|
2521 `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
|
2522 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2523 ** 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
|
2524 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2525 *** 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
|
2526 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
|
2527 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2528 *** 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
|
2529 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
|
2530 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2531 *** `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
|
2532 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
|
2533 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2534 *** 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
|
2535 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
|
2536 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2537 ** 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
|
2538 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2539 *** 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
|
2540 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
|
2541 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
|
2542 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
|
2543 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2544 ** 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
|
2545 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2546 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
|
2547 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
|
2548 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2549 *** 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
|
2550 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
|
2551 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
|
2552 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
|
2553 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
|
2554 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
|
2555 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2556 *** 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
|
2557 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
|
2558 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
|
2559 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
|
2560 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
|
2561 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
|
2562 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
|
2563 `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
|
2564 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2565 *** 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
|
2566 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
|
2567 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2568 *** 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
|
2569 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
|
2570 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
|
2571 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2572 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
|
2573 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
|
2574 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
|
2575 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2576 *** 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
|
2577 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
|
2578 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
|
2579 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2580 *** 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
|
2581 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
|
2582 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
|
2583 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2584 *** 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
|
2585 (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
|
2586 compatibility. |
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 *** 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
|
2589 ring (history). |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2590 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2591 *** 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
|
2592 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
|
2593 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
|
2594 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2595 ** 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
|
2596 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2597 *** 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
|
2598 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
|
2599 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
|
2600 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
|
2601 `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
|
2602 as correspondent. |
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 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
|
2605 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
|
2606 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
|
2607 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2608 *** 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
|
2609 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
|
2610 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
|
2611 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
|
2612 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
|
2613 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2614 *** 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
|
2615 like `j'. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2616 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2617 *** 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
|
2618 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
|
2619 digest message. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2620 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2621 *** 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
|
2622 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
|
2623 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2624 *** 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
|
2625 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
|
2626 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
|
2627 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2628 ** 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
|
2629 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
|
2630 |
38925
d5d4948816a7
Label all user-level changes with either +++ or ---.
Eli Zaretskii <eliz@gnu.org>
parents:
38900
diff
changeset
|
2631 ** 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
|
2632 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
|
2633 |
39300
8b178b9f2ee1
Document that rmail-output-to-rmail-file now writes in emacs-mule.
Eli Zaretskii <eliz@gnu.org>
parents:
39270
diff
changeset
|
2634 ** 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
|
2635 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
|
2636 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
|
2637 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
|
2638 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
|
2639 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
|
2640 |
8b178b9f2ee1
Document that rmail-output-to-rmail-file now writes in emacs-mule.
Eli Zaretskii <eliz@gnu.org>
parents:
39270
diff
changeset
|
2641 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
|
2642 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
|
2643 `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
|
2644 |
38900
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2645 ** 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
|
2646 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2647 *** 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
|
2648 `latex-mode'. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2649 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2650 *** 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
|
2651 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2652 *** 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
|
2653 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2654 *** 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
|
2655 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2656 ** 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
|
2657 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2658 *** 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
|
2659 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
|
2660 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
|
2661 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
|
2662 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
|
2663 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
|
2664 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2665 *** 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
|
2666 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
|
2667 `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
|
2668 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2669 *** 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
|
2670 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
|
2671 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2672 *** 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
|
2673 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
|
2674 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
|
2675 been cited. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2676 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2677 ** 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
|
2678 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
|
2679 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
|
2680 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
|
2681 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2682 ** 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
|
2683 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
|
2684 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2685 *** 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
|
2686 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
|
2687 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
|
2688 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
|
2689 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2690 *** 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
|
2691 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
|
2692 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
|
2693 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
|
2694 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
|
2695 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
|
2696 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2697 ** 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
|
2698 file names. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2699 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2700 ** Ispell changes |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2701 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2702 *** 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
|
2703 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
|
2704 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
|
2705 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2706 *** 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
|
2707 added. |
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 *** 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
|
2710 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
|
2711 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2712 *** 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
|
2713 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2714 *** 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
|
2715 cases. |
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 *** 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
|
2718 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
|
2719 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2720 *** 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
|
2721 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
|
2722 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2723 *** 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
|
2724 |
28506 | 2725 ** Makefile mode changes |
2726 | |
2727 *** The mode now uses the abbrev table `makefile-mode-abbrev-table'. | |
2728 | |
30483
05fc373ff5b8
mention `float-time' and the remote file modtime check
Sam Steingold <sds@gnu.org>
parents:
30482
diff
changeset
|
2729 *** Conditionals and include statements are now highlighted when |
28506 | 2730 Fontlock mode is active. |
2731 | |
26407 | 2732 ** Isearch changes |
2733 | |
30477 | 2734 *** Isearch now puts a call to `isearch-resume' in the command history, |
2735 so that searches can be resumed. | |
2736 | |
40526
b466f4f946a7
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40493
diff
changeset
|
2737 *** In Isearch mode, C-M-s and C-M-r are now bound like C-s and C-r, |
28506 | 2738 respectively, i.e. you can repeat a regexp isearch with the same keys |
2739 that started the search. | |
2740 | |
26407 | 2741 *** In Isearch mode, mouse-2 in the echo area now yanks the current |
25853 | 2742 selection into the search string rather than giving an error. |
2743 | |
26407 | 2744 *** There is a new lazy highlighting feature in incremental search. |
2745 | |
26417 | 2746 Lazy highlighting is switched on/off by customizing variable |
26407 | 2747 `isearch-lazy-highlight'. When active, all matches for the current |
2748 search string are highlighted. The current match is highlighted as | |
2749 before using face `isearch' or `region'. All other matches are | |
2750 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
|
2751 `secondary-selection'. |
26407 | 2752 |
2753 The extra highlighting makes it easier to anticipate where the cursor | |
2754 will end up each time you press C-s or C-r to repeat a pending search. | |
2755 Highlighting of these additional matches happens in a deferred fashion | |
2756 using "idle timers," so the cycles needed do not rob isearch of its | |
2757 usual snappy response. | |
2758 | |
2759 If `isearch-lazy-highlight-cleanup' is set to t, highlights for | |
2760 matches are automatically cleared when you end the search. If it is | |
2761 set to nil, you can remove the highlights manually with `M-x | |
2762 isearch-lazy-highlight-cleanup'. | |
2763 | |
31388 | 2764 ** VC Changes |
2765 | |
2766 VC has been overhauled internally. It is now modular, making it | |
2767 easier to plug-in arbitrary version control backends. (See Lisp | |
2768 Changes for details on the new structure.) As a result, the mechanism | |
2769 to enable and disable support for particular version systems has | |
2770 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
|
2771 `vc-handled-backends'. Its value is a list of symbols that identify |
31388 | 2772 version systems; the default is '(RCS CVS SCCS). When finding a file, |
2773 each of the backends in that list is tried in order to see whether the | |
2774 file is registered in that backend. | |
2775 | |
2776 When registering a new file, VC first tries each of the listed | |
2777 backends to see if any of them considers itself "responsible" for the | |
2778 directory of the file (e.g. because a corresponding subdirectory for | |
2779 master files exists). If none of the backends is responsible, then | |
2780 the first backend in the list that could register the file is chosen. | |
2781 As a consequence, the variable `vc-default-back-end' is now obsolete. | |
2782 | |
2783 The old variable `vc-master-templates' is also obsolete, although VC | |
2784 still supports it for backward compatibility. To define templates for | |
2785 RCS or SCCS, you should rather use the new variables | |
2786 vc-{rcs,sccs}-master-templates. (There is no such feature under CVS | |
2787 where it doesn't make sense.) | |
2788 | |
2789 The variables `vc-ignore-vc-files' and `vc-handle-cvs' are also | |
2790 obsolete now, you must set `vc-handled-backends' to nil or exclude | |
2791 `CVS' from the list, respectively, to achieve their effect now. | |
2792 | |
2793 *** General Changes | |
2794 | |
2795 The variable `vc-checkout-carefully' is obsolete: the corresponding | |
2796 checks are always done now. | |
2797 | |
31858
269d69b69fe4
Update hideshow.el section.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
31827
diff
changeset
|
2798 VC Dired buffers are now kept up-to-date during all version control |
31388 | 2799 operations. |
2800 | |
33111
bbf383648e4d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
33020
diff
changeset
|
2801 `vc-diff' output is now displayed in `diff-mode'. |
bbf383648e4d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
33020
diff
changeset
|
2802 `vc-print-log' uses `log-view-mode'. |
bbf383648e4d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
33020
diff
changeset
|
2803 `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
|
2804 |
33541 | 2805 The command C-x v m (vc-merge) now accepts an empty argument as the |
2806 first revision number. This means that any recent changes on the | |
2807 current branch should be picked up from the repository and merged into | |
2808 the working file (``merge news''). | |
2809 | |
2810 The commands C-x v s (vc-create-snapshot) and C-x v r | |
2811 (vc-retrieve-snapshot) now ask for a directory name from which to work | |
2812 downwards. | |
2813 | |
2814 *** Multiple Backends | |
2815 | |
2816 VC now lets you register files in more than one backend. This is | |
2817 useful, for example, if you are working with a slow remote CVS | |
2818 repository. You can then use RCS for local editing, and occasionally | |
2819 commit your changes back to CVS, or pick up changes from CVS into your | |
2820 local RCS archives. | |
2821 | |
2822 To make this work, the ``more local'' backend (RCS in our example) | |
2823 should come first in `vc-handled-backends', and the ``more remote'' | |
2824 backend (CVS) should come later. (The default value of | |
2825 `vc-handled-backends' already has it that way.) | |
2826 | |
36275
44540d398934
Some corrections to the VC news.
André Spiegel <spiegel@gnu.org>
parents:
36259
diff
changeset
|
2827 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
|
2828 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
|
2829 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
|
2830 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
|
2831 current revision number from the more remote backend. |
33541 | 2832 |
2833 If a file is registered in multiple backends, you can switch to | |
2834 another one using C-x v b (vc-switch-backend). This does not change | |
2835 any files, it only changes VC's perspective on the file. Use this to | |
2836 pick up changes from CVS while working under RCS locally. | |
2837 | |
2838 After you are done with your local RCS editing, you can commit your | |
2839 changes back to CVS using C-u C-x v v CVS RET. In this case, the | |
2840 local RCS archive is removed after the commit, and the log entry | |
2841 buffer is initialized to contain the entire RCS change log of the file. | |
2842 | |
31388 | 2843 *** Changes for CVS |
2844 | |
2845 There is a new user option, `vc-cvs-stay-local'. If it is `t' (the | |
2846 default), then VC avoids network queries for files registered in | |
2847 remote repositories. The state of such files is then only determined | |
2848 by heuristics and past information. `vc-cvs-stay-local' can also be a | |
2849 regexp to match against repository hostnames; only files from hosts | |
2850 that match it are treated locally. If the variable is nil, then VC | |
2851 queries the repository just as often as it does for local files. | |
2852 | |
33541 | 2853 If `vc-cvs-stay-local' is on, then VC also makes local backups of |
2854 repository versions. This means that ordinary diffs (C-x v =) and | |
2855 revert operations (C-x v u) can be done completely locally, without | |
2856 any repository interactions at all. The name of a local version | |
2857 backup of FILE is FILE.~REV.~, where REV is the repository version | |
2858 number. This format is similar to that used by C-x v ~ | |
2859 (vc-version-other-window), except for the trailing dot. As a matter | |
2860 of fact, the two features can each use the files created by the other, | |
2861 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
|
2862 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
|
2863 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
|
2864 name.) |
33541 | 2865 |
31388 | 2866 If `vc-cvs-stay-local' is on, and there have been changes in the |
2867 repository, VC notifies you about it when you actually try to commit. | |
2868 If you want to check for updates from the repository without trying to | |
33541 | 2869 commit, you can either use C-x v m RET to perform an update on the |
31388 | 2870 current file, or you can use C-x v r RET to get an update for an |
2871 entire directory tree. | |
2872 | |
2873 The new user option `vc-cvs-use-edit' indicates whether VC should call | |
2874 "cvs edit" to make files writeable; it defaults to `t'. (This option | |
2875 is only meaningful if the CVSREAD variable is set, or if files are | |
2876 "watched" by other developers.) | |
2877 | |
33541 | 2878 The commands C-x v s (vc-create-snapshot) and C-x v r |
2879 (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
|
2880 an empty snapshot name to the latter, that performs a `cvs update', |
33541 | 2881 starting at the given directory. |
2882 | |
31388 | 2883 *** Lisp Changes in VC |
2884 | |
2885 VC has been restructured internally to make it modular. You can now | |
2886 add support for arbitrary version control backends by writing a | |
2887 library that provides a certain set of backend-specific functions, and | |
2888 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
|
2889 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
|
2890 provides a number of functions vc-sys-... (see commentary at the top |
31388 | 2891 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
|
2892 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
|
2893 `SYS' to the list `vc-handled-backends'. |
31388 | 2894 |
36525
cb77fd8249b6
Change the `***' for the EDT entry to `**'.
Gerd Moellmann <gerd@gnu.org>
parents:
36470
diff
changeset
|
2895 ** The customizable EDT emulation package now supports the EDT |
35163 | 2896 SUBS command and EDT scroll margins. It also works with more |
2897 terminal/keyboard configurations and it now works under XEmacs. | |
2898 See etc/edt-user.doc for more information. | |
2899 | |
25853 | 2900 ** New modes and packages |
2901 | |
34394
d6a4dd5cd345
Entry for `minibuffer-electric-default-mode'.
Miles Bader <miles@gnu.org>
parents:
34389
diff
changeset
|
2902 *** 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
|
2903 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
|
2904 the default is not applicable. |
d6a4dd5cd345
Entry for `minibuffer-electric-default-mode'.
Miles Bader <miles@gnu.org>
parents:
34389
diff
changeset
|
2905 |
33618 | 2906 *** Artist is an Emacs lisp package that allows you to draw lines, |
2907 rectangles and ellipses by using your mouse and/or keyboard. The | |
2908 shapes are made up with the ascii characters |, -, / and \. | |
2909 | |
2910 Features are: | |
2911 | |
2912 - Intersecting: When a `|' intersects with a `-', a `+' is | |
2913 drawn, like this: | \ / | |
33796
10ffa5b56f53
mention `delete-trailing-whitespace'
Sam Steingold <sds@gnu.org>
parents:
33720
diff
changeset
|
2914 --+-- X |
33618 | 2915 | / \ |
2916 | |
2917 - Rubber-banding: When drawing lines you can interactively see the | |
2918 result while holding the mouse button down and moving the mouse. If | |
2919 your machine is not fast enough (a 386 is a bit too slow, but a | |
2920 pentium is well enough), you can turn this feature off. You will | |
2921 then see 1's and 2's which mark the 1st and 2nd endpoint of the line | |
2922 you are drawing. | |
2923 | |
2924 - Arrows: After having drawn a (straight) line or a (straight) | |
2925 poly-line, you can set arrows on the line-ends by typing < or >. | |
2926 | |
2927 - Flood-filling: You can fill any area with a certain character by | |
2928 flood-filling. | |
2929 | |
2930 - Cut copy and paste: You can cut, copy and paste rectangular | |
2931 regions. Artist also interfaces with the rect package (this can be | |
2932 turned off if it causes you any trouble) so anything you cut in | |
2933 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
|
2934 |
33618 | 2935 - Drawing with keys: Everything you can do with the mouse, you can |
2936 also do without the mouse. | |
2937 | |
2938 - Aspect-ratio: You can set the variable artist-aspect-ratio to | |
2939 reflect the height-width ratio for the font you are using. Squares | |
2940 and circles are then drawn square/round. Note, that once your | |
2941 ascii-file is shown with font with a different height-width ratio, | |
2942 the squares won't be square and the circles won't be round. | |
2943 | |
2944 - Drawing operations: The following drawing operations are implemented: | |
2945 | |
2946 lines straight-lines | |
2947 rectangles squares | |
2948 poly-lines straight poly-lines | |
2949 ellipses circles | |
2950 text (see-thru) text (overwrite) | |
2951 spray-can setting size for spraying | |
2952 vaporize line vaporize lines | |
2953 erase characters erase rectangles | |
2954 | |
2955 Straight lines are lines that go horizontally, vertically or | |
2956 diagonally. Plain lines go in any direction. The operations in | |
2957 the right column are accessed by holding down the shift key while | |
2958 drawing. | |
2959 | |
2960 It is possible to vaporize (erase) entire lines and connected lines | |
2961 (rectangles for example) as long as the lines being vaporized are | |
2962 straight and connected at their endpoints. Vaporizing is inspired | |
2963 by the drawrect package by Jari Aalto <jari.aalto@poboxes.com>. | |
2964 | |
2965 - Picture mode compatibility: Artist is picture mode compatible (this | |
2966 can be turned off). | |
2967 | |
32448
4925b241a9ac
Added a note about Eshell.
John Wiegley <johnw@newartisans.com>
parents:
32428
diff
changeset
|
2968 *** 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
|
2969 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
|
2970 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
|
2971 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
|
2972 history lists, aliases, extended globbing, smart scrolling, etc. It |
4925b241a9ac
Added a note about Eshell.
John Wiegley <johnw@newartisans.com>
parents:
32428
diff
changeset
|
2973 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
|
2974 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
|
2975 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
|
2976 all within the scope of your Emacs process. |
4925b241a9ac
Added a note about Eshell.
John Wiegley <johnw@newartisans.com>
parents:
32428
diff
changeset
|
2977 |
30781 | 2978 *** The new package timeclock.el is a mode is for keeping track of time |
2979 intervals. You can use it for whatever purpose you like, but the | |
2980 typical scenario is to keep track of how much time you spend working | |
2981 on certain projects. | |
2982 | |
35927 | 2983 *** The new package hi-lock.el provides commands to highlight matches |
2984 of interactively entered regexps. For example, | |
30789 | 2985 |
2986 M-x highlight-regexp RET clearly RET RET | |
30565 | 2987 |
2988 will highlight all occurrences of `clearly' using a yellow background | |
2989 face. New occurrences of `clearly' will be highlighted as they are | |
2990 typed. `M-x unhighlight-regexp RET' will remove the highlighting. | |
2991 Any existing face can be used for highlighting and a set of | |
2992 appropriate faces is provided. The regexps can be written into the | |
2993 current buffer in a form that will be recognized the next time the | |
35927 | 2994 corresponding file is read. There are commands to highlight matches |
2995 to phrases and to highlight entire lines containing a match. | |
30565 | 2996 |
30789 | 2997 *** The new package zone.el plays games with Emacs' display when |
30565 | 2998 Emacs is idle. |
2999 | |
38099 | 3000 *** The new package tildify.el allows to add hard spaces or other text |
3001 fragments in accordance with the current major mode. | |
3002 | |
30319 | 3003 *** The new package xml.el provides a simple but generic XML |
3004 parser. It doesn't parse the DTDs however. | |
3005 | |
29218
e956cc90f6c0
newcomment and the change of binding for M-;
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29162
diff
changeset
|
3006 *** 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
|
3007 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
|
3008 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
|
3009 `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
|
3010 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
|
3011 |
28879 | 3012 *** The Ebrowse package implements a C++ class browser and tags |
3013 facilities tailored for use with C++. It is documented in a | |
3014 separate Texinfo file. | |
3015 | |
31007 | 3016 *** The PCL-CVS package available by either running M-x cvs-examine or |
3017 by visiting a CVS administrative directory (with a prefix argument) | |
3018 provides an alternative interface to VC-dired for CVS. It comes with | |
3019 `log-view-mode' to view RCS and SCCS logs and `log-edit-mode' used to | |
35680 | 3020 enter check-in log messages. |
31007 | 3021 |
28834 | 3022 *** The new package called `woman' allows to browse Unix man pages |
3023 without invoking external programs. | |
3024 | |
3025 The command `M-x woman' formats manual pages entirely in Emacs Lisp | |
3026 and then displays them, like `M-x manual-entry' does. Unlike | |
3027 `manual-entry', `woman' does not invoke any external programs, so it | |
3028 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
|
3029 Groff or `troff' commands are not readily available. |
28834 | 3030 |
3031 The command `M-x woman-find-file' asks for the file name of a man | |
3032 page, then formats and displays it like `M-x woman' does. | |
3033 | |
28098 | 3034 *** The new command M-x re-builder offers a convenient interface for |
3035 authoring regular expressions with immediate visual feedback. | |
3036 | |
3037 The buffer from which the command was called becomes the target for | |
3038 the regexp editor popping up in a separate window. Matching text in | |
3039 the target buffer is immediately color marked during the editing. | |
3040 Each sub-expression of the regexp will show up in a different face so | |
3041 even complex regexps can be edited and verified on target data in a | |
3042 single step. | |
3043 | |
3044 On displays not supporting faces the matches instead blink like | |
3045 matching parens to make them stand out. On such a setup you will | |
3046 probably also want to use the sub-expression mode when the regexp | |
3047 contains such to get feedback about their respective limits. | |
3048 | |
27644 | 3049 *** glasses-mode is a minor mode that makes |
3050 unreadableIdentifiersLikeThis readable. It works as glasses, without | |
3051 actually modifying content of a buffer. | |
3052 | |
27498 | 3053 *** The package ebnf2ps translates an EBNF to a syntactic chart in |
3054 PostScript. | |
3055 | |
3056 Currently accepts ad-hoc EBNF, ISO EBNF and Bison/Yacc. | |
3057 | |
3058 The ad-hoc default EBNF syntax has the following elements: | |
3059 | |
3060 ; comment (until end of line) | |
3061 A non-terminal | |
3062 "C" terminal | |
3063 ?C? special | |
3064 $A default non-terminal | |
3065 $"C" default terminal | |
3066 $?C? default special | |
3067 A = B. production (A is the header and B the body) | |
3068 C D sequence (C occurs before D) | |
3069 C | D alternative (C or D occurs) | |
3070 A - B exception (A excluding B, B without any non-terminal) | |
3071 n * A repetition (A repeats n (integer) times) | |
3072 (C) group (expression C is grouped together) | |
3073 [C] optional (C may or not occurs) | |
3074 C+ one or more occurrences of C | |
3075 {C}+ one or more occurrences of C | |
3076 {C}* zero or more occurrences of C | |
3077 {C} zero or more occurrences of C | |
3078 C / D equivalent to: C {D C}* | |
3079 {C || D}+ equivalent to: C {D C}* | |
3080 {C || D}* equivalent to: [C {D C}*] | |
3081 {C || D} equivalent to: [C {D C}*] | |
3082 | |
3083 Please, see ebnf2ps documentation for EBNF syntax and how to use it. | |
3084 | |
27328 | 3085 *** The package align.el will align columns within a region, using M-x |
3086 align. Its mode-specific rules, based on regular expressions, | |
3087 determine where the columns should be split. In C and C++, for | |
3088 example, it will align variable names in declaration lists, or the | |
3089 equal signs of assignments. | |
3090 | |
27266
8ce11c7a7fcb
read-mail-command, outline mode changes, change-log-merge,
Dave Love <fx@gnu.org>
parents:
27200
diff
changeset
|
3091 *** `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
|
3092 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
|
3093 |
27016 | 3094 *** bs.el is a new package for buffer selection similar to |
3095 list-buffers or electric-buffer-list. Use M-x bs-show to display a | |
36885 | 3096 buffer menu with this package. See the Custom group `bs'. |
27016 | 3097 |
29696 | 3098 *** find-lisp.el is a package emulating the Unix find command in Lisp. |
3099 | |
27733 | 3100 *** calculator.el is a small calculator package that is intended to |
3101 replace desktop calculators such as xcalc and calc.exe. Actually, it | |
3102 is not too small - it has more features than most desktop calculators, | |
3103 and can be customized easily to get many more functions. It should | |
3104 not be confused with "calc" which is a much bigger mathematical tool | |
3105 which answers different needs. | |
3106 | |
26964
2939daf50656
Font-lock changes by Anders Lindgren.
Gerd Moellmann <gerd@gnu.org>
parents:
26933
diff
changeset
|
3107 *** 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
|
3108 suspicious C and C++ constructions. Currently, assignments inside |
2939daf50656
Font-lock changes by Anders Lindgren.
Gerd Moellmann <gerd@gnu.org>
parents:
26933
diff
changeset
|
3109 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
|
3110 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
|
3111 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
|
3112 to be enabled. |
2939daf50656
Font-lock changes by Anders Lindgren.
Gerd Moellmann <gerd@gnu.org>
parents:
26933
diff
changeset
|
3113 |
27094
6500fd0a7d8e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27092
diff
changeset
|
3114 *** 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
|
3115 containing diff3-style conflict markers, such as generated by RCS. |
6500fd0a7d8e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27092
diff
changeset
|
3116 |
25853 | 3117 *** 5x5.el is a simple puzzle game. |
3118 | |
38938 | 3119 *** hl-line.el provides `hl-line-mode', a minor mode to highlight the |
3120 current line in the current buffer. It also provides | |
3121 `global-hl-line-mode' to provide the same behaviour in all buffers. | |
25853 | 3122 |
3123 *** ansi-color.el translates ANSI terminal escapes into text-properties. | |
3124 | |
35578 | 3125 Please note: if `ansi-color-for-comint-mode' and |
31936 | 3126 `global-font-lock-mode' are non-nil, loading ansi-color.el will |
3127 disable font-lock and add `ansi-color-apply' to | |
3128 `comint-preoutput-filter-functions' for all shell-mode buffers. This | |
3129 displays the output of "ls --color=yes" using the correct foreground | |
3130 and background colors. | |
3131 | |
25853 | 3132 *** delphi.el provides a major mode for editing the Delphi (Object |
3133 Pascal) language. | |
3134 | |
3135 *** quickurl.el provides a simple method of inserting a URL based on | |
3136 the text at point. | |
3137 | |
3138 *** sql.el provides an interface to SQL data bases. | |
3139 | |
25862 | 3140 *** fortune.el uses the fortune program to create mail/news signatures. |
3141 | |
35163 | 3142 *** whitespace.el is a package for warning about and cleaning bogus |
3143 whitespace in a file. | |
25853 | 3144 |
25992 | 3145 *** PostScript mode (ps-mode) is a new major mode for editing PostScript |
3146 files. It offers: interaction with a PostScript interpreter, including | |
3147 (very basic) error handling; fontification, easily customizable for | |
3148 interpreter messages; auto-indentation; insertion of EPSF templates and | |
3149 often used code snippets; viewing of BoundingBox; commenting out / | |
3150 uncommenting regions; conversion of 8bit characters to PostScript octal | |
3151 codes. All functionality is accessible through a menu. | |
3152 | |
3153 *** delim-col helps to prettify columns in a text region or rectangle. | |
3154 | |
3155 Here is an example of columns: | |
3156 | |
3157 horse apple bus | |
3158 dog pineapple car EXTRA | |
3159 porcupine strawberry airplane | |
3160 | |
3161 Doing the following settings: | |
3162 | |
3163 (setq delimit-columns-str-before "[ ") | |
3164 (setq delimit-columns-str-after " ]") | |
3165 (setq delimit-columns-str-separator ", ") | |
3166 (setq delimit-columns-separator "\t") | |
3167 | |
3168 | |
3169 Selecting the lines above and typing: | |
3170 | |
3171 M-x delimit-columns-region | |
3172 | |
3173 It results: | |
3174 | |
3175 [ horse , apple , bus , ] | |
3176 [ dog , pineapple , car , EXTRA ] | |
3177 [ porcupine, strawberry, airplane, ] | |
3178 | |
3179 delim-col has the following options: | |
3180 | |
3181 delimit-columns-str-before Specify a string to be inserted | |
3182 before all columns. | |
3183 | |
3184 delimit-columns-str-separator Specify a string to be inserted | |
3185 between each column. | |
3186 | |
3187 delimit-columns-str-after Specify a string to be inserted | |
3188 after all columns. | |
3189 | |
3190 delimit-columns-separator Specify a regexp which separates | |
3191 each column. | |
3192 | |
3193 delim-col has the following commands: | |
3194 | |
3195 delimit-columns-region Prettify all columns in a text region. | |
3196 delimit-columns-rectangle Prettify all columns in a text rectangle. | |
3197 | |
36885 | 3198 *** Recentf mode maintains a menu for visiting files that were |
3199 operated on recently. User option recentf-menu-filter specifies a | |
3200 menu filter function to change the menu appearance. For example, the | |
3201 recent file list can be displayed: | |
30319 | 3202 |
3203 - organized by major modes, directories or user defined rules. | |
35680 | 3204 - sorted by file paths, file names, ascending or descending. |
3205 - showing paths relative to the current default-directory | |
30319 | 3206 |
3207 The `recentf-filter-changer' menu filter function allows to | |
3208 dynamically change the menu appearance. | |
26030
c5e8559a53cb
Add description of recentf.
Gerd Moellmann <gerd@gnu.org>
parents:
26016
diff
changeset
|
3209 |
26149 | 3210 *** elide-head.el provides a mechanism for eliding boilerplate header |
3211 text. | |
3212 | |
26924 | 3213 *** footnote.el provides `footnote-mode', a minor mode supporting use |
26786 | 3214 of footnotes. It is intended for use with Message mode, but isn't |
3215 specific to Message mode. | |
3216 | |
26924 | 3217 *** diff-mode.el provides `diff-mode', a major mode for |
3218 viewing/editing context diffs (patches). It is selected for files | |
3219 with extension `.diff', `.diffs', `.patch' and `.rej'. | |
3220 | |
27714
22a581e00fe4
Mention some new packages, extra configure options.
Dave Love <fx@gnu.org>
parents:
27693
diff
changeset
|
3221 *** 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
|
3222 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
|
3223 protocols. It has a separate manual. |
22a581e00fe4
Mention some new packages, extra configure options.
Dave Love <fx@gnu.org>
parents:
27693
diff
changeset
|
3224 |
28132 | 3225 *** autoconf.el provides a major mode for editing configure.in files |
3226 for Autoconf, selected automatically. | |
3227 | |
28710 | 3228 *** 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
|
3229 |
30483
05fc373ff5b8
mention `float-time' and the remote file modtime check
Sam Steingold <sds@gnu.org>
parents:
30482
diff
changeset
|
3230 *** crm.el provides a facility to read multiple strings from the |
28710 | 3231 minibuffer with completion. |
27714
22a581e00fe4
Mention some new packages, extra configure options.
Dave Love <fx@gnu.org>
parents:
27693
diff
changeset
|
3232 |
28883 | 3233 *** todo-mode.el provides management of TODO lists and integration |
3234 with the diary features. | |
3235 | |
28912 | 3236 *** autoarg.el provides a feature reported from Twenex Emacs whereby |
3237 numeric keys supply prefix args rather than self inserting. | |
3238 | |
29814 | 3239 *** The function `turn-off-auto-fill' unconditionally turns off Auto |
3240 Fill mode. | |
3241 | |
33020 | 3242 *** pcomplete.el is a library that provides programmable completion |
3243 facilities for Emacs, similar to what zsh and tcsh offer. The main | |
3244 difference is that completion functions are written in Lisp, meaning | |
3245 they can be profiled, debugged, etc. | |
32465 | 3246 |
38379 | 3247 *** antlr-mode is a new major mode for editing ANTLR grammar files. |
3248 It is automatically turned on for files whose names have the extension | |
3249 `.g'. | |
3250 | |
38900
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3251 ** 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
|
3252 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3253 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
|
3254 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
|
3255 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
|
3256 numeric base. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3257 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3258 ** 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
|
3259 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3260 *** 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
|
3261 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
|
3262 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
|
3263 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3264 *** 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
|
3265 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
|
3266 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3267 *** 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
|
3268 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
|
3269 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3270 ** 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
|
3271 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
|
3272 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3273 ** 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
|
3274 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
|
3275 `(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
|
3276 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3277 ** 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
|
3278 group. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3279 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3280 ** 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
|
3281 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
|
3282 are recognized: |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3283 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3284 `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
|
3285 `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
|
3286 `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
|
3287 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
|
3288 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3289 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
|
3290 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3291 [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
|
3292 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3293 ** 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
|
3294 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
|
3295 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3296 ** 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
|
3297 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
|
3298 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
|
3299 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
|
3300 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3301 ** 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
|
3302 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
|
3303 `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
|
3304 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3305 ** `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
|
3306 `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
|
3307 `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
|
3308 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3309 ** 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
|
3310 `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
|
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 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
|
3313 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
|
3314 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3315 ** `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
|
3316 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
|
3317 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3318 ** 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
|
3319 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
|
3320 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
|
3321 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
|
3322 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
|
3323 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
|
3324 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3325 ** 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
|
3326 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
|
3327 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3328 ** 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
|
3329 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3330 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
|
3331 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
|
3332 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3333 ** 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
|
3334 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3335 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
|
3336 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
|
3337 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
|
3338 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3339 ** Etags changes. |
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 *** 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
|
3342 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3343 *** 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
|
3344 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
|
3345 {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
|
3346 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
|
3347 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
|
3348 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3349 *** 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
|
3350 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
|
3351 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3352 *** 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
|
3353 "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
|
3354 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3355 *** 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
|
3356 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
|
3357 `template' keywords. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3358 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3359 *** 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
|
3360 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
|
3361 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3362 *** 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
|
3363 types. |
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 *** 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
|
3366 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3367 *** 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
|
3368 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3369 *** 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
|
3370 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
|
3371 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3372 *** 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
|
3373 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3374 *** 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
|
3375 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
|
3376 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3377 *** 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
|
3378 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3379 *** .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
|
3380 for PSWrap. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3381 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3382 ** 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
|
3383 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3384 *** 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
|
3385 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
|
3386 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
|
3387 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3388 *** 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
|
3389 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
|
3390 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3391 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
|
3392 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
|
3393 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
|
3394 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
|
3395 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3396 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
|
3397 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3398 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
|
3399 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
|
3400 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3401 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
|
3402 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3403 '(("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
|
3404 ("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
|
3405 ("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
|
3406 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3407 *** 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
|
3408 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
|
3409 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3410 *** 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
|
3411 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
|
3412 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3413 *** 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
|
3414 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
|
3415 /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
|
3416 "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
|
3417 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
|
3418 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3419 *** 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
|
3420 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
|
3421 (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
|
3422 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3423 *** 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
|
3424 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
|
3425 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
|
3426 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3427 ** 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
|
3428 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
|
3429 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
|
3430 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3431 ** 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
|
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 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
|
3434 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3435 ** 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
|
3436 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
|
3437 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
|
3438 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3439 ** 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
|
3440 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
|
3441 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
|
3442 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
|
3443 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3444 ** 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
|
3445 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
3446 ** 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
|
3447 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
|
3448 |
33290 | 3449 ** Refill minor mode provides preliminary support for keeping |
3450 paragraphs filled as you modify them. | |
3451 | |
38605
f99d2e5ee830
Add description of double-click-fuzz.
Gerd Moellmann <gerd@gnu.org>
parents:
38590
diff
changeset
|
3452 ** 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
|
3453 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
|
3454 is measured in pixels. |
f99d2e5ee830
Add description of double-click-fuzz.
Gerd Moellmann <gerd@gnu.org>
parents:
38590
diff
changeset
|
3455 |
33290 | 3456 ** The new global minor mode `auto-image-file-mode' allows image files |
3457 to be visited as images. | |
3458 | |
39270
daf37eb76fde
grep-command and grep-find-command user options.
Gerd Moellmann <gerd@gnu.org>
parents:
39255
diff
changeset
|
3459 ** 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
|
3460 were added to compile.el. |
daf37eb76fde
grep-command and grep-find-command user options.
Gerd Moellmann <gerd@gnu.org>
parents:
39255
diff
changeset
|
3461 |
25853 | 3462 ** Withdrawn packages |
3463 | |
3464 *** mldrag.el has been removed. mouse.el provides the same | |
3465 functionality with aliases for the mldrag functions. | |
26133 | 3466 |
27369 | 3467 *** eval-reg.el has been obsoleted by changes to edebug.el and removed. |
3468 | |
3469 *** ph.el has been obsoleted by EUDC and removed. | |
29102 | 3470 |
35577
db5649648a65
Replace formfeeds removed on 2001/01/22.
Dave Love <fx@gnu.org>
parents:
35567
diff
changeset
|
3471 |
33991 | 3472 * Incompatible Lisp changes |
3473 | |
3474 There are a few Lisp changes which are not backwards-compatible and | |
3475 may require changes to existing code. Here is a list for reference. | |
35421 | 3476 See the sections below for details. |
33991 | 3477 |
35297
e268b7b500f0
Changes for makefile support in etags.
Francesco Potortì <pot@gnu.org>
parents:
35278
diff
changeset
|
3478 ** 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
|
3479 `(format "%s" foo)' no longer works to copy and remove properties. |
41091 | 3480 Use `copy-sequence' to copy the string, then use `set-text-properties' |
3481 to remove the properties of the copy. | |
33991 | 3482 |
3483 ** Since the `keymap' text property now has significance, some code | |
3484 which uses both `local-map' and `keymap' properties (for portability) | |
3485 may, for instance, give rise to duplicate menus when the keymaps from | |
3486 these properties are active. | |
3487 | |
34029 | 3488 ** The change in the treatment of non-ASCII characters in search |
33991 | 3489 ranges may affect some code. |
34017 | 3490 |
3491 ** A non-nil value for the LOCAL arg of add-hook makes the hook | |
3492 buffer-local even if `make-local-hook' hasn't been called, which might | |
3493 make a difference to some code. | |
3494 | |
34029 | 3495 ** The new treatment of the minibuffer prompt might affect code which |
3496 operates on the minibuffer. | |
3497 | |
34087
4fcc3c4e9b0f
Explain why `no-conversion' is no longer appropriate for reading
Eli Zaretskii <eliz@gnu.org>
parents:
34060
diff
changeset
|
3498 ** 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
|
3499 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
|
3500 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
|
3501 (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
|
3502 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
|
3503 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
|
3504 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
|
3505 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
|
3506 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
|
3507 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
|
3508 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
|
3509 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
|
3510 |
4fcc3c4e9b0f
Explain why `no-conversion' is no longer appropriate for reading
Eli Zaretskii <eliz@gnu.org>
parents:
34060
diff
changeset
|
3511 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
|
3512 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
|
3513 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
|
3514 |
34617 | 3515 ** 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
|
3516 `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
|
3517 `before-change-functions' and `after-change-functions' instead. |
34617 | 3518 |
3519 ** 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
|
3520 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
|
3521 such as `mapconcat'. |
34617 | 3522 |
38649
021a0445b5f6
Mention the change in base64-decode-string whereby the result is
Eli Zaretskii <eliz@gnu.org>
parents:
38605
diff
changeset
|
3523 ** 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
|
3524 string. |
021a0445b5f6
Mention the change in base64-decode-string whereby the result is
Eli Zaretskii <eliz@gnu.org>
parents:
38605
diff
changeset
|
3525 |
36244 | 3526 ** Not a Lisp incompatibility as such but, with the introduction of |
3527 extra private charsets, there is now only one slot free for a new | |
3528 dimension-2 private charset. User code which tries to add more than | |
3529 one extra will fail unless you rebuild Emacs with some standard | |
3530 charset(s) removed; that is probably inadvisable because it changes | |
3531 the emacs-mule encoding. Also, files stored in the emacs-mule | |
36470 | 3532 encoding using Emacs 20 with additional private charsets defined will |
3533 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
|
3534 |
37077
8b914cd4ae0c
Fix the wording about directory-sep-char deprecation.
Eli Zaretskii <eliz@gnu.org>
parents:
37064
diff
changeset
|
3535 ** 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
|
3536 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
|
3537 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
|
3538 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
|
3539 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
|
3540 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
|
3541 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
|
3542 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
|
3543 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
|
3544 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
|
3545 |
35577
db5649648a65
Replace formfeeds removed on 2001/01/22.
Dave Love <fx@gnu.org>
parents:
35567
diff
changeset
|
3546 |
29102 | 3547 * Lisp changes made after edition 2.6 of the Emacs Lisp Manual, |
3548 (Display-related features are described in a page of their own below.) | |
3549 | |
39089 | 3550 ** Function assq-delete-all replaces function assoc-delete-all. |
3551 | |
41356 | 3552 ** The new function animate-string, from lisp/play/animate.el |
38527 | 3553 allows the animated display of strings. |
3554 | |
37061 | 3555 ** The new function `interactive-form' can be used to obtain the |
3556 interactive form of a function. | |
3557 | |
36885 | 3558 ** The keyword :set-after in defcustom allows to specify dependencies |
3559 between custom options. Example: | |
3560 | |
3561 (defcustom default-input-method nil | |
3562 "*Default input method for multilingual text (a string). | |
3563 This is the input method activated automatically by the command | |
3564 `toggle-input-method' (\\[toggle-input-method])." | |
3565 :group 'mule | |
3566 :type '(choice (const nil) string) | |
3567 :set-after '(current-language-environment)) | |
3568 | |
3569 This specifies that default-input-method should be set after | |
3570 current-language-environment even if default-input-method appears | |
3571 first in a custom-set-variables statement. | |
3572 | |
35862
9604ca6b3728
More typos from Juanma Barranquero <lektu@uol.com.br>.
Eli Zaretskii <eliz@gnu.org>
parents:
35847
diff
changeset
|
3573 ** The new hook `kbd-macro-termination-hook' is run at the end of |
35125 | 3574 function execute-kbd-macro. Functions on this hook are called with no |
3575 args. The hook is run independent of how the macro was terminated | |
3576 (signal or normal termination). | |
3577 | |
35090 | 3578 ** Functions `butlast' and `nbutlast' for removing trailing elements |
3579 from a list are now available without requiring the CL package. | |
3580 | |
34271 | 3581 ** The new user-option `even-window-heights' can be set to nil |
3582 to prevent `display-buffer' from evening out window heights. | |
3583 | |
33373 | 3584 ** The user-option `face-font-registry-alternatives' specifies |
3585 alternative font registry names to try when looking for a font. | |
3586 | |
34054 | 3587 ** Function `md5' calculates the MD5 "message digest"/"checksum". |
33364 | 3588 |
32913 | 3589 ** Function `delete-frame' runs `delete-frame-hook' before actually |
3590 deleting the frame. The hook is called with one arg, the frame | |
3591 being deleted. | |
3592 | |
32845
e92097fd9144
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32751
diff
changeset
|
3593 ** `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
|
3594 |
32466 | 3595 ** The treatment of non-ASCII characters in search ranges has changed. |
32465 | 3596 If a range in a regular expression or the arg of |
3597 skip-chars-forward/backward starts with a unibyte character C and ends | |
3598 with a multibyte character C2, the range is divided into two: one is | |
3599 C..?\377, the other is C1..C2, where C1 is the first character of C2's | |
3600 charset. | |
3601 | |
32259
cae38860a9ee
Add entry for `display-message-or-buffer'.
Miles Bader <miles@gnu.org>
parents:
32257
diff
changeset
|
3602 ** 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
|
3603 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
|
3604 message. |
cae38860a9ee
Add entry for `display-message-or-buffer'.
Miles Bader <miles@gnu.org>
parents:
32257
diff
changeset
|
3605 |
32050
2a3bcf8d9877
Add entries for `auto-image-file-mode' and `with-auto-compression-mode'.
Miles Bader <miles@gnu.org>
parents:
32037
diff
changeset
|
3606 ** 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
|
3607 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
|
3608 |
31636 | 3609 ** In image specifications, `:heuristic-mask' has been replaced |
3610 with the more general `:mask' property. | |
3611 | |
35364 | 3612 ** Image specifications accept more `:conversion's. |
31728 | 3613 |
31561 | 3614 ** A `?' can be used in a symbol name without escaping it with a |
3615 backslash. | |
3616 | |
31007 | 3617 ** Reading from the mini-buffer now reads from standard input if Emacs |
3618 is running in batch mode. For example, | |
3619 | |
3620 (message "%s" (read t)) | |
3621 | |
3622 will read a Lisp expression from standard input and print the result | |
3623 to standard output. | |
3624 | |
3625 ** The argument of `down-list', `backward-up-list', `up-list', | |
3626 `kill-sexp', `backward-kill-sexp' and `mark-sexp' is now optional. | |
3627 | |
30564 | 3628 ** If `display-buffer-reuse-frames' is set, function `display-buffer' |
3629 will raise frames displaying a buffer, instead of creating a new | |
3630 frame or window. | |
3631 | |
30516 | 3632 ** Two new functions for removing elements from lists/sequences |
3633 were added | |
3634 | |
3635 - Function: remove ELT SEQ | |
3636 | |
35680 | 3637 Return a copy of SEQ with all occurrences of ELT removed. SEQ must be |
30516 | 3638 a list, vector, or string. The comparison is done with `equal'. |
3639 | |
3640 - Function: remq ELT LIST | |
3641 | |
35680 | 3642 Return a copy of LIST with all occurrences of ELT removed. The |
30516 | 3643 comparison is done with `eq'. |
3644 | |
3645 ** The function `delete' now also works with vectors and strings. | |
30511 | 3646 |
30502 | 3647 ** 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
|
3648 has been changed: WEAK can now have new values `key-or-value' and |
39441 | 3649 `key-and-value', in addition the `nil', `key', `value', and `t'. |
30502 | 3650 |
30357 | 3651 ** Function `aset' stores any multibyte character in any string |
3652 without signaling "Attempt to change char length of a string". It may | |
3653 convert a unibyte string to multibyte if necessary. | |
3654 | |
30219 | 3655 ** The value of the `help-echo' text property is called as a function |
3656 or evaluated, if it is not a string already, to obtain a help string. | |
30203 | 3657 |
30158
84d54b049d67
make-obsolete, plist-member changes
Dave Love <fx@gnu.org>
parents:
30155
diff
changeset
|
3658 ** 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
|
3659 function was declared obsolete. |
84d54b049d67
make-obsolete, plist-member changes
Dave Love <fx@gnu.org>
parents:
30155
diff
changeset
|
3660 |
30483
05fc373ff5b8
mention `float-time' and the remote file modtime check
Sam Steingold <sds@gnu.org>
parents:
30482
diff
changeset
|
3661 ** 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
|
3662 retained as an alias). |
84d54b049d67
make-obsolete, plist-member changes
Dave Love <fx@gnu.org>
parents:
30155
diff
changeset
|
3663 |
30068
fd80ab818a0c
Fix various typos.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30056
diff
changeset
|
3664 ** Easy-menu's :filter now works as in XEmacs. |
fd80ab818a0c
Fix various typos.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30056
diff
changeset
|
3665 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
|
3666 is automatically converted to Emacs' form. |
fd80ab818a0c
Fix various typos.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30056
diff
changeset
|
3667 |
30038 | 3668 ** The new function `window-list' has been defined |
3669 | |
33620 | 3670 - Function: window-list &optional FRAME WINDOW MINIBUF |
3671 | |
3672 Return a list of windows on FRAME, starting with WINDOW. FRAME nil or | |
3673 omitted means use the selected frame. WINDOW nil or omitted means use | |
3674 the selected window. MINIBUF t means include the minibuffer window, | |
3675 even if it isn't active. MINIBUF nil or omitted means include the | |
3676 minibuffer window only if it's active. MINIBUF neither nil nor t | |
3677 means never include the minibuffer window. | |
30038 | 3678 |
39179
d0b29a3ee609
some-window -> get-window-with-predicate.
Gerd Moellmann <gerd@gnu.org>
parents:
39089
diff
changeset
|
3679 ** 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
|
3680 |
d0b29a3ee609
some-window -> get-window-with-predicate.
Gerd Moellmann <gerd@gnu.org>
parents:
39089
diff
changeset
|
3681 - Function: get-window-with-predicate PREDICATE &optional MINIBUF ALL-FRAMES DEFAULT |
30006 | 3682 |
3683 Return a window satisfying PREDICATE. | |
3684 | |
3685 This function cycles through all visible windows using `walk-windows', | |
3686 calling PREDICATE on each one. PREDICATE is called with a window as | |
3687 argument. The first window for which PREDICATE returns a non-nil | |
3688 value is returned. If no window satisfies PREDICATE, DEFAULT is | |
3689 returned. | |
3690 | |
3691 Optional second arg MINIBUF t means count the minibuffer window even | |
3692 if not active. MINIBUF nil or omitted means count the minibuffer iff | |
3693 it is active. MINIBUF neither t nor nil means not to count the | |
3694 minibuffer even if it is active. | |
3695 | |
3696 Several frames may share a single minibuffer; if the minibuffer | |
3697 counts, all windows on all frames that share that minibuffer count | |
3698 too. Therefore, if you are using a separate minibuffer frame | |
3699 and the minibuffer is active and MINIBUF says it counts, | |
3700 `walk-windows' includes the windows in the frame from which you | |
3701 entered the minibuffer, as well as the minibuffer window. | |
3702 | |
3703 ALL-FRAMES is the optional third argument. | |
3704 ALL-FRAMES nil or omitted means cycle within the frames as specified above. | |
3705 ALL-FRAMES = `visible' means include windows on all visible frames. | |
3706 ALL-FRAMES = 0 means include windows on all visible and iconified frames. | |
3707 ALL-FRAMES = t means include windows on all frames including invisible frames. | |
3708 If ALL-FRAMES is a frame, it means include windows on that frame. | |
3709 Anything else means restrict to the selected frame. | |
3710 | |
30564 | 3711 ** The function `single-key-description' now encloses function key and |
3712 event names in angle brackets. When called with a second optional | |
3713 argument non-nil, angle brackets won't be printed. | |
29657 | 3714 |
29637 | 3715 ** If the variable `message-truncate-lines' is bound to t around a |
3716 call to `message', the echo area will not be resized to display that | |
30290 | 3717 message; it will be truncated instead, as it was done in 20.x. |
3718 Default value is nil. | |
29637 | 3719 |
30483
05fc373ff5b8
mention `float-time' and the remote file modtime check
Sam Steingold <sds@gnu.org>
parents:
30482
diff
changeset
|
3720 ** The user option `line-number-display-limit' can now be set to nil, |
29633 | 3721 meaning no limit. |
3722 | |
38126
64a45ba0553f
Document line-number-display-limit-width.
Eli Zaretskii <eliz@gnu.org>
parents:
38107
diff
changeset
|
3723 ** 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
|
3724 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
|
3725 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
|
3726 |
30483
05fc373ff5b8
mention `float-time' and the remote file modtime check
Sam Steingold <sds@gnu.org>
parents:
30482
diff
changeset
|
3727 ** `select-safe-coding-system' now also checks the most preferred |
29509 | 3728 coding-system if buffer-file-coding-system is `undecided' and |
3729 DEFAULT-CODING-SYSTEM is not specified, | |
3730 | |
34001 | 3731 ** The function `subr-arity' provides information about the argument |
3732 list of a primitive. | |
29238 | 3733 |
33111
bbf383648e4d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
33020
diff
changeset
|
3734 ** `where-is-internal' now also accepts a list of keymaps. |
bbf383648e4d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
33020
diff
changeset
|
3735 |
29286 | 3736 ** The text property `keymap' specifies a key map which overrides the |
3737 buffer's local map and the map specified by the `local-map' property. | |
3738 This is probably what most current uses of `local-map' want, rather | |
3739 than replacing the local map. | |
3740 | |
35250 | 3741 ** The obsolete variables `before-change-function' and |
3742 `after-change-function' are no longer acted upon and have been | |
3743 removed. Use `before-change-functions' and `after-change-functions' | |
3744 instead. | |
29498 | 3745 |
3746 ** The function `apropos-mode' runs the hook `apropos-mode-hook'. | |
3747 | |
33111
bbf383648e4d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
33020
diff
changeset
|
3748 ** `concat' no longer accepts individual integer arguments, |
bbf383648e4d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
33020
diff
changeset
|
3749 as promised long ago. |
30339
70d759570f7a
C-down-mouse-3. Move concat change.
Dave Love <fx@gnu.org>
parents:
30319
diff
changeset
|
3750 |
30483
05fc373ff5b8
mention `float-time' and the remote file modtime check
Sam Steingold <sds@gnu.org>
parents:
30482
diff
changeset
|
3751 ** 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
|
3752 |
1d5371e8a974
Add entry for auto-coding-regexp-alist.
Gerd Moellmann <gerd@gnu.org>
parents:
37446
diff
changeset
|
3753 ** 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
|
3754 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
|
3755 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
|
3756 |
35577
db5649648a65
Replace formfeeds removed on 2001/01/22.
Dave Love <fx@gnu.org>
parents:
35567
diff
changeset
|
3757 |
25853 | 3758 * Lisp changes in Emacs 21.1 (see following page for display-related features) |
3759 | |
39517 | 3760 ** The new package rx.el provides an alternative sexp notation for |
3761 regular expressions. | |
3762 | |
3763 - Function: rx-to-string SEXP | |
3764 | |
3765 Translate SEXP into a regular expression in string notation. | |
3766 | |
3767 - Macro: rx SEXP | |
3768 | |
3769 Translate SEXP into a regular expression in string notation. | |
3770 | |
3771 The following are valid subforms of regular expressions in sexp | |
3772 notation. | |
3773 | |
3774 STRING | |
3775 matches string STRING literally. | |
3776 | |
3777 CHAR | |
3778 matches character CHAR literally. | |
3779 | |
3780 `not-newline' | |
3781 matches any character except a newline. | |
3782 . | |
3783 `anything' | |
3784 matches any character | |
3785 | |
3786 `(any SET)' | |
3787 matches any character in SET. SET may be a character or string. | |
3788 Ranges of characters can be specified as `A-Z' in strings. | |
3789 | |
40215 | 3790 '(in SET)' |
39517 | 3791 like `any'. |
3792 | |
3793 `(not (any SET))' | |
3794 matches any character not in SET | |
3795 | |
3796 `line-start' | |
3797 matches the empty string, but only at the beginning of a line | |
3798 in the text being matched | |
3799 | |
3800 `line-end' | |
3801 is similar to `line-start' but matches only at the end of a line | |
3802 | |
3803 `string-start' | |
3804 matches the empty string, but only at the beginning of the | |
3805 string being matched against. | |
3806 | |
3807 `string-end' | |
3808 matches the empty string, but only at the end of the | |
3809 string being matched against. | |
3810 | |
3811 `buffer-start' | |
3812 matches the empty string, but only at the beginning of the | |
3813 buffer being matched against. | |
3814 | |
3815 `buffer-end' | |
3816 matches the empty string, but only at the end of the | |
3817 buffer being matched against. | |
3818 | |
3819 `point' | |
3820 matches the empty string, but only at point. | |
3821 | |
3822 `word-start' | |
3823 matches the empty string, but only at the beginning or end of a | |
3824 word. | |
3825 | |
3826 `word-end' | |
3827 matches the empty string, but only at the end of a word. | |
3828 | |
3829 `word-boundary' | |
3830 matches the empty string, but only at the beginning or end of a | |
3831 word. | |
3832 | |
3833 `(not word-boundary)' | |
3834 matches the empty string, but not at the beginning or end of a | |
3835 word. | |
3836 | |
3837 `digit' | |
3838 matches 0 through 9. | |
3839 | |
3840 `control' | |
3841 matches ASCII control characters. | |
3842 | |
3843 `hex-digit' | |
3844 matches 0 through 9, a through f and A through F. | |
3845 | |
3846 `blank' | |
3847 matches space and tab only. | |
3848 | |
3849 `graphic' | |
3850 matches graphic characters--everything except ASCII control chars, | |
3851 space, and DEL. | |
3852 | |
3853 `printing' | |
3854 matches printing characters--everything except ASCII control chars | |
3855 and DEL. | |
3856 | |
3857 `alphanumeric' | |
3858 matches letters and digits. (But at present, for multibyte characters, | |
3859 it matches anything that has word syntax.) | |
3860 | |
3861 `letter' | |
3862 matches letters. (But at present, for multibyte characters, | |
3863 it matches anything that has word syntax.) | |
3864 | |
3865 `ascii' | |
3866 matches ASCII (unibyte) characters. | |
3867 | |
3868 `nonascii' | |
3869 matches non-ASCII (multibyte) characters. | |
3870 | |
3871 `lower' | |
3872 matches anything lower-case. | |
3873 | |
3874 `upper' | |
3875 matches anything upper-case. | |
3876 | |
3877 `punctuation' | |
3878 matches punctuation. (But at present, for multibyte characters, | |
3879 it matches anything that has non-word syntax.) | |
3880 | |
3881 `space' | |
3882 matches anything that has whitespace syntax. | |
3883 | |
3884 `word' | |
3885 matches anything that has word syntax. | |
3886 | |
3887 `(syntax SYNTAX)' | |
3888 matches a character with syntax SYNTAX. SYNTAX must be one | |
3889 of the following symbols. | |
3890 | |
3891 `whitespace' (\\s- in string notation) | |
3892 `punctuation' (\\s.) | |
3893 `word' (\\sw) | |
3894 `symbol' (\\s_) | |
3895 `open-parenthesis' (\\s() | |
3896 `close-parenthesis' (\\s)) | |
3897 `expression-prefix' (\\s') | |
3898 `string-quote' (\\s\") | |
3899 `paired-delimiter' (\\s$) | |
3900 `escape' (\\s\\) | |
3901 `character-quote' (\\s/) | |
3902 `comment-start' (\\s<) | |
3903 `comment-end' (\\s>) | |
3904 | |
3905 `(not (syntax SYNTAX))' | |
3906 matches a character that has not syntax SYNTAX. | |
3907 | |
3908 `(category CATEGORY)' | |
3909 matches a character with category CATEGORY. CATEGORY must be | |
3910 either a character to use for C, or one of the following symbols. | |
3911 | |
3912 `consonant' (\\c0 in string notation) | |
3913 `base-vowel' (\\c1) | |
3914 `upper-diacritical-mark' (\\c2) | |
3915 `lower-diacritical-mark' (\\c3) | |
3916 `tone-mark' (\\c4) | |
3917 `symbol' (\\c5) | |
3918 `digit' (\\c6) | |
3919 `vowel-modifying-diacritical-mark' (\\c7) | |
3920 `vowel-sign' (\\c8) | |
3921 `semivowel-lower' (\\c9) | |
3922 `not-at-end-of-line' (\\c<) | |
3923 `not-at-beginning-of-line' (\\c>) | |
3924 `alpha-numeric-two-byte' (\\cA) | |
3925 `chinse-two-byte' (\\cC) | |
3926 `greek-two-byte' (\\cG) | |
3927 `japanese-hiragana-two-byte' (\\cH) | |
3928 `indian-tow-byte' (\\cI) | |
3929 `japanese-katakana-two-byte' (\\cK) | |
3930 `korean-hangul-two-byte' (\\cN) | |
3931 `cyrillic-two-byte' (\\cY) | |
3932 `ascii' (\\ca) | |
3933 `arabic' (\\cb) | |
3934 `chinese' (\\cc) | |
3935 `ethiopic' (\\ce) | |
3936 `greek' (\\cg) | |
3937 `korean' (\\ch) | |
3938 `indian' (\\ci) | |
3939 `japanese' (\\cj) | |
3940 `japanese-katakana' (\\ck) | |
3941 `latin' (\\cl) | |
3942 `lao' (\\co) | |
3943 `tibetan' (\\cq) | |
3944 `japanese-roman' (\\cr) | |
3945 `thai' (\\ct) | |
3946 `vietnamese' (\\cv) | |
3947 `hebrew' (\\cw) | |
3948 `cyrillic' (\\cy) | |
3949 `can-break' (\\c|) | |
3950 | |
3951 `(not (category CATEGORY))' | |
3952 matches a character that has not category CATEGORY. | |
3953 | |
3954 `(and SEXP1 SEXP2 ...)' | |
3955 matches what SEXP1 matches, followed by what SEXP2 matches, etc. | |
3956 | |
3957 `(submatch SEXP1 SEXP2 ...)' | |
3958 like `and', but makes the match accessible with `match-end', | |
3959 `match-beginning', and `match-string'. | |
3960 | |
3961 `(group SEXP1 SEXP2 ...)' | |
3962 another name for `submatch'. | |
3963 | |
3964 `(or SEXP1 SEXP2 ...)' | |
3965 matches anything that matches SEXP1 or SEXP2, etc. If all | |
3966 args are strings, use `regexp-opt' to optimize the resulting | |
3967 regular expression. | |
3968 | |
3969 `(minimal-match SEXP)' | |
3970 produce a non-greedy regexp for SEXP. Normally, regexps matching | |
3971 zero or more occurrances of something are \"greedy\" in that they | |
3972 match as much as they can, as long as the overall regexp can | |
3973 still match. A non-greedy regexp matches as little as possible. | |
3974 | |
3975 `(maximal-match SEXP)' | |
3976 produce a greedy regexp for SEXP. This is the default. | |
3977 | |
3978 `(zero-or-more SEXP)' | |
3979 matches zero or more occurrences of what SEXP matches. | |
3980 | |
3981 `(0+ SEXP)' | |
3982 like `zero-or-more'. | |
3983 | |
3984 `(* SEXP)' | |
3985 like `zero-or-more', but always produces a greedy regexp. | |
3986 | |
3987 `(*? SEXP)' | |
3988 like `zero-or-more', but always produces a non-greedy regexp. | |
3989 | |
3990 `(one-or-more SEXP)' | |
3991 matches one or more occurrences of A. | |
40215 | 3992 |
39517 | 3993 `(1+ SEXP)' |
3994 like `one-or-more'. | |
3995 | |
3996 `(+ SEXP)' | |
3997 like `one-or-more', but always produces a greedy regexp. | |
3998 | |
3999 `(+? SEXP)' | |
4000 like `one-or-more', but always produces a non-greedy regexp. | |
4001 | |
4002 `(zero-or-one SEXP)' | |
4003 matches zero or one occurrences of A. | |
40215 | 4004 |
39517 | 4005 `(optional SEXP)' |
4006 like `zero-or-one'. | |
4007 | |
4008 `(? SEXP)' | |
4009 like `zero-or-one', but always produces a greedy regexp. | |
4010 | |
4011 `(?? SEXP)' | |
4012 like `zero-or-one', but always produces a non-greedy regexp. | |
4013 | |
4014 `(repeat N SEXP)' | |
4015 matches N occurrences of what SEXP matches. | |
4016 | |
4017 `(repeat N M SEXP)' | |
4018 matches N to M occurrences of what SEXP matches. | |
4019 | |
4020 `(eval FORM)' | |
4021 evaluate FORM and insert result. If result is a string, | |
4022 `regexp-quote' it. | |
4023 | |
4024 `(regexp REGEXP)' | |
4025 include REGEXP in string notation in the result. | |
4026 | |
36811 | 4027 *** The features `md5' and `overlay' are now provided by default. |
4028 | |
30933
3a89352a7dab
Document save-restriction fix.
Miles Bader <miles@gnu.org>
parents:
30930
diff
changeset
|
4029 *** 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
|
4030 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
|
4031 the original restriction. Previously, doing this would cause the saved |
3a89352a7dab
Document save-restriction fix.
Miles Bader <miles@gnu.org>
parents:
30930
diff
changeset
|
4032 restriction to be restored incorrectly. |
3a89352a7dab
Document save-restriction fix.
Miles Bader <miles@gnu.org>
parents:
30930
diff
changeset
|
4033 |
29506 | 4034 *** The functions `find-charset-region' and `find-charset-string' include |
4035 `eight-bit-control' and/or `eight-bit-graphic' in the returned list | |
36470 | 4036 when they find 8-bit characters. Previously, they included `ascii' in a |
29506 | 4037 multibyte buffer and `unknown' in a unibyte buffer. |
4038 | |
39255 | 4039 *** 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
|
4040 `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
|
4041 if it contains a character from the `eight-bit-control' character set. |
29506 | 4042 |
4043 *** The handling of multibyte sequences in a multibyte buffer is | |
4044 changed. Previously, a byte sequence matching the pattern | |
4045 [\200-\237][\240-\377]+ was interpreted as a single character | |
4046 regardless of the length of the trailing bytes [\240-\377]+. Thus, if | |
4047 the sequence was longer than what the leading byte indicated, the | |
4048 extra trailing bytes were ignored by Lisp functions. Now such extra | |
4049 bytes are independent 8-bit characters belonging to the charset | |
4050 eight-bit-graphic. | |
4051 | |
4052 ** Fontsets are now implemented using char-tables. | |
4053 | |
35847
83b8f5ad1f97
Several typos fixed. From Juanma Barranquero <lektu@uol.com.br>.
Eli Zaretskii <eliz@gnu.org>
parents:
35784
diff
changeset
|
4054 A fontset can now be specified for each independent character, for |
29506 | 4055 a group of characters or for a character set rather than just for a |
4056 character set as previously. | |
4057 | |
4058 *** The arguments of the function `set-fontset-font' are changed. | |
4059 They are NAME, CHARACTER, FONTNAME, and optional FRAME. The function | |
4060 modifies fontset NAME to use FONTNAME for CHARACTER. | |
4061 | |
4062 CHARACTER may be a cons (FROM . TO), where FROM and TO are non-generic | |
4063 characters. In that case FONTNAME is used for all characters in the | |
4064 range FROM and TO (inclusive). CHARACTER may be a charset. In that | |
4065 case FONTNAME is used for all character in the charset. | |
4066 | |
4067 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
|
4068 name of a font and REGISTRY is a registry name of a font. |
29506 | 4069 |
4070 *** Variable x-charset-registry has been deleted. The default charset | |
4071 registries of character sets are set in the default fontset | |
4072 "fontset-default". | |
4073 | |
4074 *** The function `create-fontset-from-fontset-spec' ignores the second | |
4075 argument STYLE-VARIANT. It never creates style-variant fontsets. | |
4076 | |
4077 ** The method of composing characters is changed. Now character | |
4078 composition is done by a special text property `composition' in | |
4079 buffers and strings. | |
4080 | |
4081 *** Charset composition is deleted. Emacs never creates a `composite | |
4082 character' which is an independent character with a unique character | |
4083 code. Thus the following functions handling `composite characters' | |
4084 have been deleted: composite-char-component, | |
4085 composite-char-component-count, composite-char-composition-rule, | |
4086 composite-char-composition-rule and decompose-composite-char delete. | |
4087 The variables leading-code-composition and min-composite-char have | |
4088 also been deleted. | |
4089 | |
4090 *** Three more glyph reference points are added. They can be used to | |
4091 specify a composition rule. See the documentation of the variable | |
4092 `reference-point-alist' for more detail. | |
4093 | |
4094 *** The function `compose-region' takes new arguments COMPONENTS and | |
4095 MODIFICATION-FUNC. With COMPONENTS, you can specify not only a | |
4096 composition rule but also characters to be composed. Such characters | |
4097 may differ between buffer and string text. | |
4098 | |
4099 *** The function `compose-string' takes new arguments START, END, | |
4100 COMPONENTS, and MODIFICATION-FUNC. | |
4101 | |
4102 *** The function `compose-string' puts text property `composition' | |
4103 directly on the argument STRING instead of returning a new string. | |
4104 Likewise, the function `decompose-string' just removes text property | |
4105 `composition' from STRING. | |
4106 | |
4107 *** The new function `find-composition' returns information about | |
4108 a composition at a specified position in a buffer or a string. | |
4109 | |
4110 *** The function `decompose-composite-char' is now labeled as | |
4111 obsolete. | |
4112 | |
36039 | 4113 ** The new coding system `mac-roman' is primarily intended for use on |
4114 the Macintosh but may be used generally for Macintosh-encoded text. | |
4115 | |
33290 | 4116 ** The new character sets `mule-unicode-0100-24ff', |
35937 | 4117 `mule-unicode-2500-33ff', and `mule-unicode-e000-ffff' have been |
4118 introduced for Unicode characters in the range U+0100..U+24FF, | |
4119 U+2500..U+33FF, U+E000..U+FFFF respectively. | |
4120 | |
38012
3bf93c45de95
Mention that mule-unicode-* charsets aren't unified with the others.
Eli Zaretskii <eliz@gnu.org>
parents:
37948
diff
changeset
|
4121 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
|
4122 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
|
4123 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
|
4124 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
|
4125 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
|
4126 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
|
4127 |
3bf93c45de95
Mention that mule-unicode-* charsets aren't unified with the others.
Eli Zaretskii <eliz@gnu.org>
parents:
37948
diff
changeset
|
4128 ** 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
|
4129 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
|
4130 details, please see the documentation string of this coding system. |
35557 | 4131 |
29506 | 4132 ** The new character sets `japanese-jisx0213-1' and |
35937 | 4133 `japanese-jisx0213-2' have been introduced for the new Japanese |
4134 standard JIS X 0213 Plane 1 and Plane 2. | |
4135 | |
4136 ** The new character sets `latin-iso8859-14' and `latin-iso8859-15' | |
4137 have been introduced. | |
29506 | 4138 |
4139 ** The new character sets `eight-bit-control' and `eight-bit-graphic' | |
35937 | 4140 have been introduced for 8-bit characters in the ranges 0x80..0x9F and |
36470 | 4141 0xA0..0xFF respectively. Note that the multibyte representation of |
4142 eight-bit-control is never exposed; this leads to an exception in the | |
4143 emacs-mule coding system, which encodes everything else to the | |
36885 | 4144 buffer/string internal representation. Note that to search for |
4145 eight-bit-graphic characters in a multibyte buffer, the search string | |
4146 must be multibyte, otherwise such characters will be converted to | |
4147 their multibyte equivalent. | |
29506 | 4148 |
28847 | 4149 ** If the APPEND argument of `write-region' is an integer, it seeks to |
4150 that offset in the file before writing. | |
4151 | |
30068
fd80ab818a0c
Fix various typos.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30056
diff
changeset
|
4152 ** 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
|
4153 compatibility with XEmacs (and is used internally by define-minor-mode). |
28724 | 4154 |
28710 | 4155 ** The function `shell-command' now sets the default directory of the |
4156 `*Shell Command Output*' buffer to the default directory of the buffer | |
4157 from which the command was issued. | |
4158 | |
4159 ** The functions `query-replace', `query-replace-regexp', | |
4160 `query-replace-regexp-eval' `map-query-replace-regexp', | |
4161 `replace-string', `replace-regexp', and `perform-replace' take two | |
4162 additional optional arguments START and END that specify the region to | |
4163 operate on. | |
4164 | |
28658 | 4165 ** The new function `count-screen-lines' is a more flexible alternative |
4166 to `window-buffer-height'. | |
4167 | |
4168 - Function: count-screen-lines &optional BEG END COUNT-FINAL-NEWLINE WINDOW | |
4169 | |
4170 Return the number of screen lines in the region between BEG and END. | |
4171 The number of screen lines may be different from the number of actual | |
4172 lines, due to line breaking, display table, etc. | |
4173 | |
4174 Optional arguments BEG and END default to `point-min' and `point-max' | |
4175 respectively. | |
4176 | |
35680 | 4177 If region ends with a newline, ignore it unless optional third argument |
28658 | 4178 COUNT-FINAL-NEWLINE is non-nil. |
4179 | |
4180 The optional fourth argument WINDOW specifies the window used for | |
4181 obtaining parameters such as width, horizontal scrolling, and so | |
4182 on. The default is to use the selected window's parameters. | |
4183 | |
4184 Like `vertical-motion', `count-screen-lines' always uses the current | |
4185 buffer, regardless of which buffer is displayed in WINDOW. This makes | |
4186 possible to use `count-screen-lines' in any buffer, whether or not it | |
4187 is currently displayed in some window. | |
4188 | |
28556 | 4189 ** The new function `mapc' is like `mapcar' but doesn't collect the |
4190 argument function's results. | |
4191 | |
28496 | 4192 ** 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
|
4193 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
|
4194 `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
|
4195 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
|
4196 sequence). |
28496 | 4197 |
28492 | 4198 ** The function sendmail-user-agent-compose now recognizes a `body' |
31859 | 4199 header in the list of headers passed to it. |
28492 | 4200 |
4201 ** The new function member-ignore-case works like `member', but | |
4202 ignores differences in case and text representation. | |
4203 | |
4204 ** The buffer-local variable cursor-type can be used to specify the | |
28323 | 4205 cursor to use in windows displaying a buffer. Values are interpreted |
4206 as follows: | |
4207 | |
4208 t use the cursor specified for the frame (default) | |
4209 nil don't display a cursor | |
4210 `bar' display a bar cursor with default width | |
4211 (bar . WIDTH) display a bar cursor with width WIDTH | |
4212 others display a box cursor. | |
4213 | |
28303 | 4214 ** The variable open-paren-in-column-0-is-defun-start controls whether |
4215 an open parenthesis in column 0 is considered to be the start of a | |
4216 defun. If set, the default, it is considered a defun start. If not | |
4217 set, an open parenthesis in column 0 has no special meaning. | |
4218 | |
28194 | 4219 ** 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
|
4220 specifications in string form as accepted by `modify-syntax-entry' to |
28194 | 4221 the cons-cell form that is used for the values of the `syntax-table' |
4222 text property, and in `font-lock-syntactic-keywords'. | |
4223 | |
4224 Example: | |
4225 | |
4226 (string-to-syntax "()") | |
4227 => (4 . 41) | |
4228 | |
28166 | 4229 ** Emacs' reader supports CL read syntax for integers in bases |
4230 other than 10. | |
4231 | |
4232 *** `#BINTEGER' or `#bINTEGER' reads INTEGER in binary (radix 2). | |
4233 INTEGER optionally contains a sign. | |
4234 | |
30483
05fc373ff5b8
mention `float-time' and the remote file modtime check
Sam Steingold <sds@gnu.org>
parents:
30482
diff
changeset
|
4235 #b1111 |
28166 | 4236 => 15 |
30483
05fc373ff5b8
mention `float-time' and the remote file modtime check
Sam Steingold <sds@gnu.org>
parents:
30482
diff
changeset
|
4237 #b-1111 |
28166 | 4238 => -15 |
4239 | |
4240 *** `#OINTEGER' or `#oINTEGER' reads INTEGER in octal (radix 8). | |
4241 | |
30483
05fc373ff5b8
mention `float-time' and the remote file modtime check
Sam Steingold <sds@gnu.org>
parents:
30482
diff
changeset
|
4242 #o666 |
28166 | 4243 => 438 |
4244 | |
4245 *** `#XINTEGER' or `#xINTEGER' reads INTEGER in hexadecimal (radix 16). | |
4246 | |
30483
05fc373ff5b8
mention `float-time' and the remote file modtime check
Sam Steingold <sds@gnu.org>
parents:
30482
diff
changeset
|
4247 #xbeef |
28166 | 4248 => 48815 |
4249 | |
4250 *** `#RADIXrINTEGER' reads INTEGER in radix RADIX, 2 <= RADIX <= 36. | |
4251 | |
30483
05fc373ff5b8
mention `float-time' and the remote file modtime check
Sam Steingold <sds@gnu.org>
parents:
30482
diff
changeset
|
4252 #2R-111 |
28166 | 4253 => -7 |
30483
05fc373ff5b8
mention `float-time' and the remote file modtime check
Sam Steingold <sds@gnu.org>
parents:
30482
diff
changeset
|
4254 #25rah |
28166 | 4255 => 267 |
4256 | |
28335 | 4257 ** The function `documentation-property' now evaluates the value of |
30068
fd80ab818a0c
Fix various typos.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30056
diff
changeset
|
4258 the given property to obtain a string if it doesn't refer to etc/DOC |
28037 | 4259 and isn't a string. |
4260 | |
28335 | 4261 ** If called for a symbol, the function `documentation' now looks for |
4262 a `function-documentation' property of that symbol. If it has a non-nil | |
4263 value, the documentation is taken from that value. If the value is | |
4264 not a string, it is evaluated to obtain a string. | |
4265 | |
27881
f54471f7b913
replace-regexps-in-string, mouse-position-function, define-key-after change
Dave Love <fx@gnu.org>
parents:
27847
diff
changeset
|
4266 ** 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
|
4267 |
28149 | 4268 ** 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
|
4269 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
|
4270 |
f54471f7b913
replace-regexps-in-string, mouse-position-function, define-key-after change
Dave Love <fx@gnu.org>
parents:
27847
diff
changeset
|
4271 ** `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
|
4272 `mouse-position-function'. |
f54471f7b913
replace-regexps-in-string, mouse-position-function, define-key-after change
Dave Love <fx@gnu.org>
parents:
27847
diff
changeset
|
4273 |
27827 | 4274 ** The function string-to-number now returns a float for numbers |
4275 that don't fit into a Lisp integer. | |
4276 | |
27820 | 4277 ** The variable keyword-symbols-constants-flag has been removed. |
4278 Keywords are now always considered constants. | |
4279 | |
27770 | 4280 ** The new function `delete-and-extract-region' deletes text and |
4281 returns it. | |
4282 | |
27276 | 4283 ** The function `clear-this-command-keys' now also clears the vector |
4284 returned by function `recent-keys'. | |
4285 | |
27385
f7b7fdb0f3f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27381
diff
changeset
|
4286 ** Variables `beginning-of-defun-function' and `end-of-defun-function' |
f7b7fdb0f3f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27381
diff
changeset
|
4287 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
|
4288 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
|
4289 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
|
4290 mode. |
f7b7fdb0f3f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27381
diff
changeset
|
4291 |
27094
6500fd0a7d8e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27092
diff
changeset
|
4292 ** 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
|
4293 and is renamed `define-minor-mode'. |
6500fd0a7d8e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27092
diff
changeset
|
4294 |
27385
f7b7fdb0f3f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27381
diff
changeset
|
4295 ** 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
|
4296 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
|
4297 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
|
4298 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
|
4299 been performed." |
f7b7fdb0f3f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27381
diff
changeset
|
4300 |
f7b7fdb0f3f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27381
diff
changeset
|
4301 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
|
4302 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
|
4303 hook function returns non-nil meaning expansion has been done, |
f7b7fdb0f3f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27381
diff
changeset
|
4304 then the self-inserting character is not inserted. |
f7b7fdb0f3f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27381
diff
changeset
|
4305 |
26737 | 4306 ** The function `intern-soft' now accepts a symbol as first argument. |
4307 In this case, that exact symbol is looked up in the specified obarray, | |
4308 and the function's value is nil if it is not found. | |
4309 | |
26467 | 4310 ** The new macro `with-syntax-table' can be used to evaluate forms |
4311 with the syntax table of the current buffer temporarily set to a | |
4312 specified table. | |
4313 | |
4314 (with-syntax-table TABLE &rest BODY) | |
4315 | |
4316 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
|
4317 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
|
4318 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
|
4319 what BODY returns. |
26467 | 4320 |
27693
d8bedafef8d5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27644
diff
changeset
|
4321 ** 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
|
4322 Perl's shy-groups \(?:...\) and non-greedy *? +? and ?? operators. |
35680 | 4323 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
|
4324 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
|
4325 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
|
4326 |
26397
17d6fe2e2d0f
Removal of buffer argument of file-local-copy.
Gerd Moellmann <gerd@gnu.org>
parents:
26360
diff
changeset
|
4327 ** 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
|
4328 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
|
4329 |
26360
5370b1c171ef
Change in file-locked-p argument.
Gerd Moellmann <gerd@gnu.org>
parents:
26359
diff
changeset
|
4330 ** 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
|
4331 instead of being optional. |
5370b1c171ef
Change in file-locked-p argument.
Gerd Moellmann <gerd@gnu.org>
parents:
26359
diff
changeset
|
4332 |
26277
32e16b70ae15
New built-in error `text-read-only'.
Gerd Moellmann <gerd@gnu.org>
parents:
26271
diff
changeset
|
4333 ** 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
|
4334 modify read-only text. |
32e16b70ae15
New built-in error `text-read-only'.
Gerd Moellmann <gerd@gnu.org>
parents:
26271
diff
changeset
|
4335 |
26140
068f7ad41d40
Describe new functions and variables for locales.
Paul Eggert <eggert@twinsun.com>
parents:
26133
diff
changeset
|
4336 ** New functions and variables for locales. |
068f7ad41d40
Describe new functions and variables for locales.
Paul Eggert <eggert@twinsun.com>
parents:
26133
diff
changeset
|
4337 |
068f7ad41d40
Describe new functions and variables for locales.
Paul Eggert <eggert@twinsun.com>
parents:
26133
diff
changeset
|
4338 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
|
4339 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
|
4340 time functions like strftime. The new variables |
4df5920724de
Rename messages-locale to system-messages-locale
Paul Eggert <eggert@twinsun.com>
parents:
26467
diff
changeset
|
4341 `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
|
4342 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
|
4343 |
068f7ad41d40
Describe new functions and variables for locales.
Paul Eggert <eggert@twinsun.com>
parents:
26133
diff
changeset
|
4344 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
|
4345 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
|
4346 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
|
4347 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
|
4348 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
|
4349 `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
|
4350 `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
|
4351 |
26107
5bdae485eb03
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
26096
diff
changeset
|
4352 ** syntax tables now understand nested comments. |
5bdae485eb03
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
26096
diff
changeset
|
4353 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
|
4354 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
|
4355 start sequences. |
5bdae485eb03
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
26096
diff
changeset
|
4356 |
25910
918acea58309
Add section for change of pixmap-spec-p to bitmap-spec-p.
Gerd Moellmann <gerd@gnu.org>
parents:
25862
diff
changeset
|
4357 ** 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
|
4358 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
|
4359 |
25853 | 4360 ** New function `propertize' |
4361 | |
4362 The new function `propertize' can be used to conveniently construct | |
4363 strings with text properties. | |
4364 | |
4365 - Function: propertize STRING &rest PROPERTIES | |
4366 | |
4367 Value is a copy of STRING with text properties assigned as specified | |
4368 by PROPERTIES. PROPERTIES is a sequence of pairs PROPERTY VALUE, with | |
4369 PROPERTY being the name of a text property and VALUE being the | |
4370 specified value of that property. Example: | |
4371 | |
4372 (propertize "foo" 'face 'bold 'read-only t) | |
4373 | |
4374 ** push and pop macros. | |
4375 | |
27385
f7b7fdb0f3f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27381
diff
changeset
|
4376 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
|
4377 are now defined in Emacs Lisp. These macros allow only symbols |
25853 | 4378 as the place that holds the list to be changed. |
4379 | |
4380 (push NEWELT LISTNAME) add NEWELT to the front of LISTNAME's value. | |
4381 (pop LISTNAME) return first elt of LISTNAME, and remove it | |
4382 (thus altering the value of LISTNAME). | |
4383 | |
27385
f7b7fdb0f3f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27381
diff
changeset
|
4384 ** New dolist and dotimes macros. |
f7b7fdb0f3f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27381
diff
changeset
|
4385 |
27387
d0a7127b33e5
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27385
diff
changeset
|
4386 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
|
4387 are now defined in Emacs Lisp. |
27385
f7b7fdb0f3f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27381
diff
changeset
|
4388 |
f7b7fdb0f3f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27381
diff
changeset
|
4389 (dolist (VAR LIST [RESULT]) BODY...) |
f7b7fdb0f3f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27381
diff
changeset
|
4390 Execute body once for each element of LIST, |
f7b7fdb0f3f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27381
diff
changeset
|
4391 using the variable VAR to hold the current element. |
f7b7fdb0f3f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27381
diff
changeset
|
4392 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
|
4393 |
f7b7fdb0f3f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27381
diff
changeset
|
4394 (dotimes (VAR COUNT [RESULT]) BODY...) |
f7b7fdb0f3f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27381
diff
changeset
|
4395 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
|
4396 inclusive, to COUNT, exclusive. |
f7b7fdb0f3f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27381
diff
changeset
|
4397 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
|
4398 |
34166 | 4399 ** Regular expressions now support Posix character classes such as |
4400 [:alpha:], [:space:] and so on. These must be used within a character | |
4401 class--for instance, [-[:digit:].+] matches digits or a period | |
4402 or a sign. | |
25853 | 4403 |
4404 [:digit:] matches 0 through 9 | |
4405 [:cntrl:] matches ASCII control characters | |
4406 [:xdigit:] matches 0 through 9, a through f and A through F. | |
4407 [:blank:] matches space and tab only | |
4408 [:graph:] matches graphic characters--everything except ASCII control chars, | |
4409 space, and DEL. | |
4410 [:print:] matches printing characters--everything except ASCII control chars | |
4411 and DEL. | |
4412 [:alnum:] matches letters and digits. | |
4413 (But at present, for multibyte characters, | |
4414 it matches anything that has word syntax.) | |
4415 [:alpha:] matches letters. | |
4416 (But at present, for multibyte characters, | |
4417 it matches anything that has word syntax.) | |
4418 [:ascii:] matches ASCII (unibyte) characters. | |
4419 [:nonascii:] matches non-ASCII (multibyte) characters. | |
4420 [:lower:] matches anything lower-case. | |
4421 [:punct:] matches punctuation. | |
4422 (But at present, for multibyte characters, | |
4423 it matches anything that has non-word syntax.) | |
4424 [:space:] matches anything that has whitespace syntax. | |
4425 [:upper:] matches anything upper-case. | |
4426 [:word:] matches anything that has word syntax. | |
4427 | |
4428 ** Emacs now has built-in hash tables. | |
4429 | |
4430 The following functions are defined for hash tables: | |
4431 | |
4432 - Function: make-hash-table ARGS | |
4433 | |
4434 The argument list ARGS consists of keyword/argument pairs. All arguments | |
4435 are optional. The following arguments are defined: | |
4436 | |
4437 :test TEST | |
4438 | |
4439 TEST must be a symbol specifying how to compare keys. Default is `eql'. | |
4440 Predefined are `eq', `eql' and `equal'. If TEST is not predefined, | |
4441 it must have been defined with `define-hash-table-test'. | |
4442 | |
4443 :size SIZE | |
4444 | |
4445 SIZE must be an integer > 0 giving a hint to the implementation how | |
4446 many elements will be put in the hash table. Default size is 65. | |
4447 | |
4448 :rehash-size REHASH-SIZE | |
4449 | |
4450 REHASH-SIZE specifies by how much to grow a hash table once it becomes | |
4451 full. If REHASH-SIZE is an integer, add that to the hash table's old | |
4452 size to get the new size. Otherwise, REHASH-SIZE must be a float > | |
4453 1.0, and the new size is computed by multiplying REHASH-SIZE with the | |
4454 old size. Default rehash size is 1.5. | |
4455 | |
4456 :rehash-threshold THRESHOLD | |
4457 | |
4458 THRESHOLD must be a float > 0 and <= 1.0 specifying when to resize the | |
4459 hash table. It is resized when the ratio of (number of entries) / | |
4460 (size of hash table) is >= THRESHOLD. Default threshold is 0.8. | |
4461 | |
4462 :weakness WEAK | |
4463 | |
30502 | 4464 WEAK must be either nil, one of the symbols `key, `value', |
4465 `key-or-value', `key-and-value', or t, meaning the same as | |
4466 `key-and-value'. Entries are removed from weak tables during garbage | |
4467 collection if their key and/or value are not referenced elsewhere | |
4468 outside of the hash table. Default are non-weak hash tables. | |
25853 | 4469 |
4470 - Function: makehash &optional TEST | |
4471 | |
4472 Similar to make-hash-table, but only TEST can be specified. | |
4473 | |
4474 - Function: hash-table-p TABLE | |
4475 | |
4476 Returns non-nil if TABLE is a hash table object. | |
4477 | |
4478 - Function: copy-hash-table TABLE | |
4479 | |
4480 Returns a copy of TABLE. Only the table itself is copied, keys and | |
4481 values are shared. | |
4482 | |
4483 - Function: hash-table-count TABLE | |
4484 | |
4485 Returns the number of entries in TABLE. | |
4486 | |
4487 - Function: hash-table-rehash-size TABLE | |
4488 | |
4489 Returns the rehash size of TABLE. | |
4490 | |
4491 - Function: hash-table-rehash-threshold TABLE | |
4492 | |
4493 Returns the rehash threshold of TABLE. | |
4494 | |
4495 - Function: hash-table-rehash-size TABLE | |
4496 | |
4497 Returns the size of TABLE. | |
4498 | |
30789 | 4499 - Function: hash-table-test TABLE |
25853 | 4500 |
4501 Returns the test TABLE uses to compare keys. | |
4502 | |
4503 - Function: hash-table-weakness TABLE | |
4504 | |
4505 Returns the weakness specified for TABLE. | |
4506 | |
4507 - Function: clrhash TABLE | |
4508 | |
4509 Clear TABLE. | |
4510 | |
4511 - Function: gethash KEY TABLE &optional DEFAULT | |
4512 | |
4513 Look up KEY in TABLE and return its associated VALUE or DEFAULT if | |
4514 not found. | |
4515 | |
26264 | 4516 - Function: puthash KEY VALUE TABLE |
25853 | 4517 |
4518 Associate KEY with VALUE in TABLE. If KEY is already associated with | |
4519 another value, replace the old value with VALUE. | |
4520 | |
4521 - Function: remhash KEY TABLE | |
4522 | |
4523 Remove KEY from TABLE if it is there. | |
4524 | |
4525 - Function: maphash FUNCTION TABLE | |
4526 | |
4527 Call FUNCTION for all elements in TABLE. FUNCTION must take two | |
4528 arguments KEY and VALUE. | |
4529 | |
4530 - Function: sxhash OBJ | |
4531 | |
4532 Return a hash code for Lisp object OBJ. | |
4533 | |
4534 - Function: define-hash-table-test NAME TEST-FN HASH-FN | |
4535 | |
4536 Define a new hash table test named NAME. If NAME is specified as | |
4537 a test in `make-hash-table', the table created will use TEST-FN for | |
26264 | 4538 comparing keys, and HASH-FN to compute hash codes for keys. Test |
25853 | 4539 and hash function are stored as symbol property `hash-table-test' |
4540 of NAME with a value of (TEST-FN HASH-FN). | |
4541 | |
4542 TEST-FN must take two arguments and return non-nil if they are the same. | |
4543 | |
4544 HASH-FN must take one argument and return an integer that is the hash | |
4545 code of the argument. The function should use the whole range of | |
4546 integer values for hash code computation, including negative integers. | |
4547 | |
4548 Example: The following creates a hash table whose keys are supposed to | |
4549 be strings that are compared case-insensitively. | |
4550 | |
4551 (defun case-fold-string= (a b) | |
4552 (compare-strings a nil nil b nil nil t)) | |
4553 | |
4554 (defun case-fold-string-hash (a) | |
4555 (sxhash (upcase a))) | |
4556 | |
26264 | 4557 (define-hash-table-test 'case-fold 'case-fold-string= |
25853 | 4558 'case-fold-string-hash)) |
4559 | |
4560 (make-hash-table :test 'case-fold) | |
4561 | |
4562 ** The Lisp reader handles circular structure. | |
4563 | |
4564 It now works to use the #N= and #N# constructs to represent | |
4565 circular structures. For example, #1=(a . #1#) represents | |
4566 a cons cell which is its own cdr. | |
4567 | |
4568 ** The Lisp printer handles circular structure. | |
4569 | |
4570 If you bind print-circle to a non-nil value, the Lisp printer outputs | |
4571 #N= and #N# constructs to represent circular and shared structure. | |
4572 | |
4573 ** If the second argument to `move-to-column' is anything but nil or | |
4574 t, that means replace a tab with spaces if necessary to reach the | |
4575 specified column, but do not add spaces at the end of the line if it | |
4576 is too short to reach that column. | |
4577 | |
4578 ** perform-replace has a new feature: the REPLACEMENTS argument may | |
4579 now be a cons cell (FUNCTION . DATA). This means to call FUNCTION | |
4580 after each match to get the replacement text. FUNCTION is called with | |
4581 two arguments: DATA, and the number of replacements already made. | |
4582 | |
4583 If the FROM-STRING contains any upper-case letters, | |
4584 perform-replace also turns off `case-fold-search' temporarily | |
4585 and inserts the replacement text without altering case in it. | |
4586 | |
4587 ** The function buffer-size now accepts an optional argument | |
4588 to specify which buffer to return the size of. | |
4589 | |
4590 ** The calendar motion commands now run the normal hook | |
4591 calendar-move-hook after moving point. | |
4592 | |
4593 ** The new variable small-temporary-file-directory specifies a | |
4594 directory to use for creating temporary files that are likely to be | |
4595 small. (Certain Emacs features use this directory.) If | |
4596 small-temporary-file-directory is nil, they use | |
4597 temporary-file-directory instead. | |
4598 | |
4599 ** The variable `inhibit-modification-hooks', if non-nil, inhibits all | |
4600 the hooks that track changes in the buffer. This affects | |
4601 `before-change-functions' and `after-change-functions', as well as | |
4602 hooks attached to text properties and overlay properties. | |
4603 | |
36885 | 4604 ** assq-delete-all is a new function that deletes all the |
4605 elements of an alist which have a car `eq' to a particular value. | |
25853 | 4606 |
4607 ** make-temp-file provides a more reliable way to create a temporary file. | |
4608 | |
4609 make-temp-file is used like make-temp-name, except that it actually | |
4610 creates the file before it returns. This prevents a timing error, | |
4611 ensuring that no other job can use the same name for a temporary file. | |
4612 | |
4613 ** New exclusive-open feature in `write-region' | |
4614 | |
4615 The optional seventh arg is now called MUSTBENEW. If non-nil, it insists | |
4616 on a check for an existing file with the same name. If MUSTBENEW | |
4617 is `excl', that means to get an error if the file already exists; | |
4618 never overwrite. If MUSTBENEW is neither nil nor `excl', that means | |
4619 ask for confirmation before overwriting, but do go ahead and | |
4620 overwrite the file if the user gives confirmation. | |
4621 | |
4622 If the MUSTBENEW argument in `write-region' is `excl', | |
4623 that means to use a special feature in the `open' system call | |
4624 to get an error if the file exists at that time. | |
4625 The error reported is `file-already-exists'. | |
4626 | |
4627 ** Function `format' now handles text properties. | |
4628 | |
4629 Text properties of the format string are applied to the result string. | |
4630 If the result string is longer than the format string, text properties | |
4631 ending at the end of the format string are extended to the end of the | |
4632 result string. | |
4633 | |
4634 Text properties from string arguments are applied to the result | |
4635 string where arguments appear in the result string. | |
4636 | |
4637 Example: | |
4638 | |
4639 (let ((s1 "hello, %s") | |
4640 (s2 "world")) | |
4641 (put-text-property 0 (length s1) 'face 'bold s1) | |
4642 (put-text-property 0 (length s2) 'face 'italic s2) | |
26034 | 4643 (format s1 s2)) |
25853 | 4644 |
4645 results in a bold-face string with an italic `world' at the end. | |
4646 | |
4647 ** Messages can now be displayed with text properties. | |
4648 | |
4649 Text properties are handled as described above for function `format'. | |
4650 The following example displays a bold-face message with an italic | |
4651 argument in it. | |
4652 | |
4653 (let ((msg "hello, %s!") | |
4654 (arg "world")) | |
4655 (put-text-property 0 (length msg) 'face 'bold msg) | |
4656 (put-text-property 0 (length arg) 'face 'italic arg) | |
4657 (message msg arg)) | |
4658 | |
4659 ** Sound support | |
4660 | |
4661 Emacs supports playing sound files on GNU/Linux and the free BSDs | |
4662 (Voxware driver and native BSD driver, aka as Luigi's driver). | |
4663 | |
4664 Currently supported file formats are RIFF-WAVE (*.wav) and Sun Audio | |
4665 (*.au). You must configure Emacs with the option `--with-sound=yes' | |
4666 to enable sound support. | |
4667 | |
4668 Sound files can be played by calling (play-sound SOUND). SOUND is a | |
4669 list of the form `(sound PROPERTY...)'. The function is only defined | |
4670 when sound support is present for the system on which Emacs runs. The | |
4671 functions runs `play-sound-functions' with one argument which is the | |
4672 sound to play, before playing the sound. | |
4673 | |
4674 The following sound properties are supported: | |
4675 | |
4676 - `:file FILE' | |
4677 | |
4678 FILE is a file name. If FILE isn't an absolute name, it will be | |
4679 searched relative to `data-directory'. | |
4680 | |
27148 | 4681 - `:data DATA' |
4682 | |
4683 DATA is a string containing sound data. Either :file or :data | |
4684 may be present, but not both. | |
4685 | |
25853 | 4686 - `:volume VOLUME' |
4687 | |
4688 VOLUME must be an integer in the range 0..100 or a float in the range | |
4689 0..1. This property is optional. | |
4690 | |
33991 | 4691 - `:device DEVICE' |
4692 | |
4693 DEVICE is a string specifying the system device on which to play the | |
4694 sound. The default device is system-dependent. | |
4695 | |
25853 | 4696 Other properties are ignored. |
4697 | |
33991 | 4698 An alternative interface is called as |
4699 (play-sound-file FILE &optional VOLUME DEVICE). | |
4700 | |
25853 | 4701 ** `multimedia' is a new Finder keyword and Custom group. |
26933 | 4702 |
4703 ** keywordp is a new predicate to test efficiently for an object being | |
4704 a keyword symbol. | |
27145
01abacc81cce
Changes to garbage-collect, new var strings-consed,
Gerd Moellmann <gerd@gnu.org>
parents:
27144
diff
changeset
|
4705 |
01abacc81cce
Changes to garbage-collect, new var strings-consed,
Gerd Moellmann <gerd@gnu.org>
parents:
27144
diff
changeset
|
4706 ** Changes to garbage collection |
01abacc81cce
Changes to garbage-collect, new var strings-consed,
Gerd Moellmann <gerd@gnu.org>
parents:
27144
diff
changeset
|
4707 |
01abacc81cce
Changes to garbage-collect, new var strings-consed,
Gerd Moellmann <gerd@gnu.org>
parents:
27144
diff
changeset
|
4708 *** 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
|
4709 of live and free strings. |
01abacc81cce
Changes to garbage-collect, new var strings-consed,
Gerd Moellmann <gerd@gnu.org>
parents:
27144
diff
changeset
|
4710 |
01abacc81cce
Changes to garbage-collect, new var strings-consed,
Gerd Moellmann <gerd@gnu.org>
parents:
27144
diff
changeset
|
4711 *** 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
|
4712 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
|
4713 |
35577
db5649648a65
Replace formfeeds removed on 2001/01/22.
Dave Love <fx@gnu.org>
parents:
35567
diff
changeset
|
4714 |
29151 | 4715 * Lisp-level Display features added after release 2.6 of the Emacs |
4716 Lisp Manual | |
4717 | |
33309 | 4718 ** The user-option `resize-mini-windows' controls how Emacs resizes |
4719 mini-windows. | |
4720 | |
34389
779f5314f5fa
Update entry for `pos-visible-in-window-p'.
Miles Bader <miles@gnu.org>
parents:
34334
diff
changeset
|
4721 ** 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
|
4722 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
|
4723 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
|
4724 |
33309 | 4725 ** On window systems, `glyph-table' is no longer used. |
31220 | 4726 |
30222 | 4727 ** Help strings in menu items are now used to provide `help-echo' text. |
29939 | 4728 |
4729 ** The function `image-size' can be used to determine the size of an | |
4730 image. | |
4731 | |
4732 - Function: image-size SPEC &optional PIXELS FRAME | |
4733 | |
4734 Return the size of an image as a pair (WIDTH . HEIGHT). | |
4735 | |
4736 SPEC is an image specification. PIXELS non-nil means return sizes | |
4737 measured in pixels, otherwise return sizes measured in canonical | |
4738 character units (fractions of the width/height of the frame's default | |
4739 font). FRAME is the frame on which the image will be displayed. | |
4740 FRAME nil or omitted means use the selected frame. | |
4741 | |
31639 | 4742 ** The function `image-mask-p' can be used to determine if an image |
4743 has a mask bitmap. | |
4744 | |
4745 - Function: image-mask-p SPEC &optional FRAME | |
4746 | |
4747 Return t if image SPEC has a mask bitmap. | |
4748 FRAME is the frame on which the image will be displayed. FRAME nil | |
4749 or omitted means use the selected frame. | |
4750 | |
29506 | 4751 ** The function `find-image' can be used to find a usable image |
4752 satisfying one of a list of specifications. | |
4753 | |
4754 ** The STRING argument of `put-image' and `insert-image' is now | |
4755 optional. | |
4756 | |
31156 | 4757 ** Image specifications may contain the property `:ascent center' (see |
4758 below). | |
29151 | 4759 |
35577
db5649648a65
Replace formfeeds removed on 2001/01/22.
Dave Love <fx@gnu.org>
parents:
35567
diff
changeset
|
4760 |
25853 | 4761 * New Lisp-level Display features in Emacs 21.1 |
4762 | |
28634 | 4763 ** The function tty-suppress-bold-inverse-default-colors can be used |
4764 to make Emacs avoid displaying text with bold black foreground on TTYs. | |
4765 | |
4766 Some terminals, notably PC consoles, emulate bold text by displaying | |
4767 text in brighter colors. On such a console, a bold black foreground | |
4768 is displayed in a gray color. If this turns out to be hard to read on | |
4769 your monitor---the problem occurred with the mode line on | |
4770 laptops---you can instruct Emacs to ignore the text's boldness, and to | |
4771 just display it black instead. | |
4772 | |
4773 This situation can't be detected automatically. You will have to put | |
4774 a line like | |
4775 | |
4776 (tty-suppress-bold-inverse-default-colors t) | |
4777 | |
4778 in your `.emacs'. | |
4779 | |
25853 | 4780 ** New face implementation. |
4781 | |
4782 Emacs faces have been reimplemented from scratch. They don't use XLFD | |
4783 font names anymore and face merging now works as expected. | |
4784 | |
4785 *** New faces. | |
4786 | |
4787 Each face can specify the following display attributes: | |
4788 | |
4789 1. Font family or fontset alias name. | |
26264 | 4790 |
25853 | 4791 2. Relative proportionate width, aka character set width or set |
4792 width (swidth), e.g. `semi-compressed'. | |
26264 | 4793 |
25853 | 4794 3. Font height in 1/10pt |
26264 | 4795 |
25853 | 4796 4. Font weight, e.g. `bold'. |
26264 | 4797 |
25853 | 4798 5. Font slant, e.g. `italic'. |
26264 | 4799 |
25853 | 4800 6. Foreground color. |
26264 | 4801 |
25853 | 4802 7. Background color. |
4803 | |
4804 8. Whether or not characters should be underlined, and in what color. | |
4805 | |
4806 9. Whether or not characters should be displayed in inverse video. | |
4807 | |
4808 10. A background stipple, a bitmap. | |
4809 | |
4810 11. Whether or not characters should be overlined, and in what color. | |
4811 | |
4812 12. Whether or not characters should be strike-through, and in what | |
4813 color. | |
4814 | |
4815 13. Whether or not a box should be drawn around characters, its | |
4816 color, the width of the box lines, and 3D appearance. | |
4817 | |
4818 Faces are frame-local by nature because Emacs allows to define the | |
4819 same named face (face names are symbols) differently for different | |
4820 frames. Each frame has an alist of face definitions for all named | |
4821 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
|
4822 with the symbol `face' in slot 0, and a slot for each of the face |
25853 | 4823 attributes mentioned above. |
4824 | |
4825 There is also a global face alist `face-new-frame-defaults'. Face | |
4826 definitions from this list are used to initialize faces of newly | |
4827 created frames. | |
26264 | 4828 |
25853 | 4829 A face doesn't have to specify all attributes. Those not specified |
4830 have a nil value. Faces specifying all attributes are called | |
4831 `fully-specified'. | |
4832 | |
4833 *** Face merging. | |
4834 | |
4835 The display style of a given character in the text is determined by | |
4836 combining several faces. This process is called `face merging'. Any | |
4837 aspect of the display style that isn't specified by overlays or text | |
4838 properties is taken from the `default' face. Since it is made sure | |
4839 that the default face is always fully-specified, face merging always | |
4840 results in a fully-specified face. | |
4841 | |
4842 *** Face realization. | |
4843 | |
4844 After all face attributes for a character have been determined by | |
4845 merging faces of that character, that face is `realized'. The | |
4846 realization process maps face attributes to what is physically | |
4847 available on the system where Emacs runs. The result is a `realized | |
4848 face' in form of an internal structure which is stored in the face | |
4849 cache of the frame on which it was realized. | |
4850 | |
4851 Face realization is done in the context of the charset of the | |
4852 character to display because different fonts and encodings are used | |
4853 for different charsets. In other words, for characters of different | |
4854 charsets, different realized faces are needed to display them. | |
4855 | |
4856 Except for composite characters, faces are always realized for a | |
4857 specific character set and contain a specific font, even if the face | |
4858 being realized specifies a fontset. The reason is that the result of | |
4859 the new font selection stage is better than what can be done with | |
4860 statically defined font name patterns in fontsets. | |
4861 | |
4862 In unibyte text, Emacs' charsets aren't applicable; function | |
4863 `char-charset' reports ASCII for all characters, including those > | |
4864 0x7f. The X registry and encoding of fonts to use is determined from | |
4865 the variable `face-default-registry' in this case. The variable is | |
4866 initialized at Emacs startup time from the font the user specified for | |
4867 Emacs. | |
4868 | |
4869 Currently all unibyte text, i.e. all buffers with | |
4870 `enable-multibyte-characters' nil are displayed with fonts of the same | |
4871 registry and encoding `face-default-registry'. This is consistent | |
4872 with the fact that languages can also be set globally, only. | |
4873 | |
4874 **** Clearing face caches. | |
4875 | |
4876 The Lisp function `clear-face-cache' can be called to clear face caches | |
4877 on all frames. If called with a non-nil argument, it will also unload | |
4878 unused fonts. | |
4879 | |
4880 *** Font selection. | |
26264 | 4881 |
25853 | 4882 Font selection tries to find the best available matching font for a |
4883 given (charset, face) combination. This is done slightly differently | |
4884 for faces specifying a fontset, or a font family name. | |
4885 | |
4886 If the face specifies a fontset name, that fontset determines a | |
4887 pattern for fonts of the given charset. If the face specifies a font | |
4888 family, a font pattern is constructed. Charset symbols have a | |
4889 property `x-charset-registry' for that purpose that maps a charset to | |
4890 an XLFD registry and encoding in the font pattern constructed. | |
4891 | |
4892 Available fonts on the system on which Emacs runs are then matched | |
4893 against the font pattern. The result of font selection is the best | |
4894 match for the given face attributes in this font list. | |
4895 | |
4896 Font selection can be influenced by the user. | |
4897 | |
4898 The user can specify the relative importance he gives the face | |
4899 attributes width, height, weight, and slant by setting | |
4900 face-font-selection-order (faces.el) to a list of face attribute | |
4901 names. The default is (:width :height :weight :slant), and means | |
4902 that font selection first tries to find a good match for the font | |
4903 width specified by a face, then---within fonts with that width---tries | |
4904 to find a best match for the specified font height, etc. | |
4905 | |
33373 | 4906 Setting `face-font-family-alternatives' allows the user to specify |
4907 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
|
4908 doesn't exist. |
34630 | 4909 |
4910 Setting `face-font-registry-alternatives' allows the user to specify | |
35680 | 4911 all alternative font registry names to try for a face specifying a |
34630 | 4912 registry. |
4913 | |
35680 | 4914 Please note that the interpretations of the above two variables are |
34630 | 4915 slightly different. |
4916 | |
4917 Setting face-ignored-fonts allows the user to ignore specific fonts. | |
4918 | |
25853 | 4919 |
4920 **** Scalable fonts | |
4921 | |
4922 Emacs can make use of scalable fonts but doesn't do so by default, | |
4923 since the use of too many or too big scalable fonts may crash XFree86 | |
4924 servers. | |
4925 | |
4926 To enable scalable font use, set the variable | |
26034 | 4927 `scalable-fonts-allowed'. A value of nil, the default, means never use |
25853 | 4928 scalable fonts. A value of t means any scalable font may be used. |
4929 Otherwise, the value must be a list of regular expressions. A | |
4930 scalable font may then be used if it matches a regular expression from | |
4931 that list. Example: | |
4932 | |
4933 (setq scalable-fonts-allowed '("muleindian-2$")) | |
4934 | |
4935 allows the use of scalable fonts with registry `muleindian-2'. | |
4936 | |
4937 *** Functions and variables related to font selection. | |
4938 | |
4939 - Function: x-family-fonts &optional FAMILY FRAME | |
4940 | |
4941 Return a list of available fonts of family FAMILY on FRAME. If FAMILY | |
4942 is omitted or nil, list all families. Otherwise, FAMILY must be a | |
4943 string, possibly containing wildcards `?' and `*'. | |
4944 | |
4945 If FRAME is omitted or nil, use the selected frame. Each element of | |
4946 the result is a vector [FAMILY WIDTH POINT-SIZE WEIGHT SLANT FIXED-P | |
4947 FULL REGISTRY-AND-ENCODING]. FAMILY is the font family name. | |
4948 POINT-SIZE is the size of the font in 1/10 pt. WIDTH, WEIGHT, and | |
4949 SLANT are symbols describing the width, weight and slant of the font. | |
4950 These symbols are the same as for face attributes. FIXED-P is non-nil | |
4951 if the font is fixed-pitch. FULL is the full name of the font, and | |
4952 REGISTRY-AND-ENCODING is a string giving the registry and encoding of | |
4953 the font. The result list is sorted according to the current setting | |
4954 of the face font sort order. | |
4955 | |
26264 | 4956 - Function: x-font-family-list |
25853 | 4957 |
4958 Return a list of available font families on FRAME. If FRAME is | |
4959 omitted or nil, use the selected frame. Value is a list of conses | |
4960 (FAMILY . FIXED-P) where FAMILY is a font family, and FIXED-P is | |
4961 non-nil if fonts of that family are fixed-pitch. | |
4962 | |
4963 - Variable: font-list-limit | |
4964 | |
4965 Limit for font matching. If an integer > 0, font matching functions | |
4966 won't load more than that number of fonts when searching for a | |
4967 matching font. The default is currently 100. | |
4968 | |
4969 *** Setting face attributes. | |
4970 | |
4971 For the most part, the new face implementation is interface-compatible | |
4972 with the old one. Old face attribute related functions are now | |
4973 implemented in terms of the new functions `set-face-attribute' and | |
4974 `face-attribute'. | |
4975 | |
4976 Face attributes are identified by their names which are keyword | |
4977 symbols. All attributes can be set to `unspecified'. | |
4978 | |
4979 The following attributes are recognized: | |
4980 | |
4981 `:family' | |
4982 | |
4983 VALUE must be a string specifying the font family, e.g. ``courier'', | |
4984 or a fontset alias name. If a font family is specified, wild-cards `*' | |
4985 and `?' are allowed. | |
4986 | |
4987 `:width' | |
4988 | |
4989 VALUE specifies the relative proportionate width of the font to use. | |
4990 It must be one of the symbols `ultra-condensed', `extra-condensed', | |
4991 `condensed', `semi-condensed', `normal', `semi-expanded', `expanded', | |
4992 `extra-expanded', or `ultra-expanded'. | |
4993 | |
4994 `:height' | |
4995 | |
31183
cb5d69bcd655
Add description of new :inherit face attribute, and additional legal
Miles Bader <miles@gnu.org>
parents:
31156
diff
changeset
|
4996 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
|
4997 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
|
4998 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
|
4999 height (from the underlying face), and should return the new height. |
25853 | 5000 |
5001 `:weight' | |
5002 | |
5003 VALUE specifies the weight of the font to use. It must be one of the | |
5004 symbols `ultra-bold', `extra-bold', `bold', `semi-bold', `normal', | |
5005 `semi-light', `light', `extra-light', `ultra-light'. | |
5006 | |
5007 `:slant' | |
5008 | |
5009 VALUE specifies the slant of the font to use. It must be one of the | |
5010 symbols `italic', `oblique', `normal', `reverse-italic', or | |
5011 `reverse-oblique'. | |
5012 | |
5013 `:foreground', `:background' | |
5014 | |
5015 VALUE must be a color name, a string. | |
5016 | |
5017 `:underline' | |
5018 | |
5019 VALUE specifies whether characters in FACE should be underlined. If | |
5020 VALUE is t, underline with foreground color of the face. If VALUE is | |
5021 a string, underline with that color. If VALUE is nil, explicitly | |
5022 don't underline. | |
5023 | |
5024 `:overline' | |
5025 | |
5026 VALUE specifies whether characters in FACE should be overlined. If | |
5027 VALUE is t, overline with foreground color of the face. If VALUE is a | |
5028 string, overline with that color. If VALUE is nil, explicitly don't | |
5029 overline. | |
5030 | |
5031 `:strike-through' | |
5032 | |
5033 VALUE specifies whether characters in FACE should be drawn with a line | |
5034 striking through them. If VALUE is t, use the foreground color of the | |
5035 face. If VALUE is a string, strike-through with that color. If VALUE | |
5036 is nil, explicitly don't strike through. | |
5037 | |
5038 `:box' | |
5039 | |
5040 VALUE specifies whether characters in FACE should have a box drawn | |
5041 around them. If VALUE is nil, explicitly don't draw boxes. If | |
5042 VALUE is t, draw a box with lines of width 1 in the foreground color | |
5043 of the face. If VALUE is a string, the string must be a color name, | |
5044 and the box is drawn in that color with a line width of 1. Otherwise, | |
5045 VALUE must be a property list of the form `(:line-width WIDTH | |
5046 :color COLOR :style STYLE)'. If a keyword/value pair is missing from | |
5047 the property list, a default value will be used for the value, as | |
5048 specified below. WIDTH specifies the width of the lines to draw; it | |
5049 defaults to 1. COLOR is the name of the color to draw in, default is | |
5050 the foreground color of the face for simple boxes, and the background | |
5051 color of the face for 3D boxes. STYLE specifies whether a 3D box | |
5052 should be draw. If STYLE is `released-button', draw a box looking | |
5053 like a released 3D button. If STYLE is `pressed-button' draw a box | |
5054 that appears like a pressed button. If STYLE is nil, the default if | |
5055 the property list doesn't contain a style specification, draw a 2D | |
5056 box. | |
5057 | |
5058 `:inverse-video' | |
5059 | |
5060 VALUE specifies whether characters in FACE should be displayed in | |
5061 inverse video. VALUE must be one of t or nil. | |
5062 | |
5063 `:stipple' | |
5064 | |
5065 If VALUE is a string, it must be the name of a file of pixmap data. | |
5066 The directories listed in the `x-bitmap-file-path' variable are | |
5067 searched. Alternatively, VALUE may be a list of the form (WIDTH | |
5068 HEIGHT DATA) where WIDTH and HEIGHT are the size in pixels, and DATA | |
5069 is a string containing the raw bits of the bitmap. VALUE nil means | |
5070 explicitly don't use a stipple pattern. | |
5071 | |
5072 For convenience, attributes `:family', `:width', `:height', `:weight', | |
5073 and `:slant' may also be set in one step from an X font name: | |
5074 | |
5075 `:font' | |
5076 | |
5077 Set font-related face attributes from VALUE. VALUE must be a valid | |
5078 XLFD font name. If it is a font name pattern, the first matching font | |
5079 is used--this is for compatibility with the behavior of previous | |
5080 versions of Emacs. | |
5081 | |
5082 For compatibility with Emacs 20, keywords `:bold' and `:italic' can | |
5083 be used to specify that a bold or italic font should be used. VALUE | |
5084 must be t or nil in that case. A value of `unspecified' is not allowed." | |
5085 | |
5086 Please see also the documentation of `set-face-attribute' and | |
5087 `defface'. | |
5088 | |
31183
cb5d69bcd655
Add description of new :inherit face attribute, and additional legal
Miles Bader <miles@gnu.org>
parents:
31156
diff
changeset
|
5089 `:inherit' |
cb5d69bcd655
Add description of new :inherit face attribute, and additional legal
Miles Bader <miles@gnu.org>
parents:
31156
diff
changeset
|
5090 |
cb5d69bcd655
Add description of new :inherit face attribute, and additional legal
Miles Bader <miles@gnu.org>
parents:
31156
diff
changeset
|
5091 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
|
5092 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
|
5093 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
|
5094 |
25853 | 5095 *** Face attributes and X resources |
5096 | |
5097 The following X resource names can be used to set face attributes | |
5098 from X resources: | |
5099 | |
5100 Face attribute X resource class | |
5101 ----------------------------------------------------------------------- | |
5102 :family attributeFamily . Face.AttributeFamily | |
5103 :width attributeWidth Face.AttributeWidth | |
5104 :height attributeHeight Face.AttributeHeight | |
5105 :weight attributeWeight Face.AttributeWeight | |
5106 :slant attributeSlant Face.AttributeSlant | |
5107 foreground attributeForeground Face.AttributeForeground | |
5108 :background attributeBackground . Face.AttributeBackground | |
5109 :overline attributeOverline Face.AttributeOverline | |
5110 :strike-through attributeStrikeThrough Face.AttributeStrikeThrough | |
5111 :box attributeBox Face.AttributeBox | |
5112 :underline attributeUnderline Face.AttributeUnderline | |
5113 :inverse-video attributeInverse Face.AttributeInverse | |
5114 :stipple attributeStipple Face.AttributeStipple | |
26264 | 5115 or attributeBackgroundPixmap |
25853 | 5116 Face.AttributeBackgroundPixmap |
5117 :font attributeFont Face.AttributeFont | |
5118 :bold attributeBold Face.AttributeBold | |
5119 :italic attributeItalic . Face.AttributeItalic | |
5120 :font attributeFont Face.AttributeFont | |
5121 | |
5122 *** Text property `face'. | |
5123 | |
5124 The value of the `face' text property can now be a single face | |
5125 specification or a list of such specifications. Each face | |
5126 specification can be | |
5127 | |
5128 1. A symbol or string naming a Lisp face. | |
5129 | |
5130 2. A property list of the form (KEYWORD VALUE ...) where each | |
5131 KEYWORD is a face attribute name, and VALUE is an appropriate value | |
5132 for that attribute. Please see the doc string of `set-face-attribute' | |
5133 for face attribute names. | |
5134 | |
5135 3. Conses of the form (FOREGROUND-COLOR . COLOR) or | |
5136 (BACKGROUND-COLOR . COLOR) where COLOR is a color name. This is | |
5137 for compatibility with previous Emacs versions. | |
5138 | |
5139 ** Support functions for colors on text-only terminals. | |
5140 | |
27092
60f5b0f50db9
Document the unified frame-independent support for colors and faces.
Eli Zaretskii <eliz@gnu.org>
parents:
27076
diff
changeset
|
5141 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
|
5142 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
|
5143 the terminal. Emacs defines a couple of common color mappings by |
25853 | 5144 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
|
5145 `defined-colors'. The function `tty-color-clear' can be |
25853 | 5146 used to clear the mapping table. |
5147 | |
27092
60f5b0f50db9
Document the unified frame-independent support for colors and faces.
Eli Zaretskii <eliz@gnu.org>
parents:
27076
diff
changeset
|
5148 ** 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
|
5149 |
60f5b0f50db9
Document the unified frame-independent support for colors and faces.
Eli Zaretskii <eliz@gnu.org>
parents:
27076
diff
changeset
|
5150 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
|
5151 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
|
5152 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
|
5153 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
|
5154 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
|
5155 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
|
5156 `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
|
5157 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
|
5158 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
|
5159 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
|
5160 |
60f5b0f50db9
Document the unified frame-independent support for colors and faces.
Eli Zaretskii <eliz@gnu.org>
parents:
27076
diff
changeset
|
5161 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
|
5162 any frame type. |
60f5b0f50db9
Document the unified frame-independent support for colors and faces.
Eli Zaretskii <eliz@gnu.org>
parents:
27076
diff
changeset
|
5163 |
27573
32f4457e5501
Document functions which return display capabilities.
Eli Zaretskii <eliz@gnu.org>
parents:
27533
diff
changeset
|
5164 ** Platform-independent functions to describe display capabilities. |
32f4457e5501
Document functions which return display capabilities.
Eli Zaretskii <eliz@gnu.org>
parents:
27533
diff
changeset
|
5165 |
32f4457e5501
Document functions which return display capabilities.
Eli Zaretskii <eliz@gnu.org>
parents:
27533
diff
changeset
|
5166 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
|
5167 `display-graphic-p', `display-selections-p', `display-screens', |
32f4457e5501
Document functions which return display capabilities.
Eli Zaretskii <eliz@gnu.org>
parents:
27533
diff
changeset
|
5168 `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
|
5169 `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
|
5170 `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
|
5171 `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
|
5172 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
|
5173 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
|
5174 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
|
5175 |
38471 | 5176 The new function `display-images-p' returns non-nil if a particular |
5177 display can display image files. | |
5178 | |
25853 | 5179 ** 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
|
5180 |
25853 | 5181 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
|
5182 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
|
5183 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
|
5184 `Inviolable' option. |
25853 | 5185 |
43184
de686446afd2
Fix description of minibuffer-prompt-end.
Andreas Schwab <schwab@suse.de>
parents:
43159
diff
changeset
|
5186 The function `minibuffer-prompt-end' returns the current position of the |
25853 | 5187 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
|
5188 Otherwise, it returns `(point-min)'. |
25853 | 5189 |
26062
fd35581d53c1
Add Miles Bader's description of fields.
Gerd Moellmann <gerd@gnu.org>
parents:
26034
diff
changeset
|
5190 ** New `field' abstraction in buffers. |
fd35581d53c1
Add Miles Bader's description of fields.
Gerd Moellmann <gerd@gnu.org>
parents:
26034
diff
changeset
|
5191 |
fd35581d53c1
Add Miles Bader's description of fields.
Gerd Moellmann <gerd@gnu.org>
parents:
26034
diff
changeset
|
5192 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
|
5193 buffers. A field is a contiguous region of text with the same `field' |
30776 | 5194 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
|
5195 |
26300
25356c16306f
Expanded description of `field' property from Miles Bader.
Gerd Moellmann <gerd@gnu.org>
parents:
26292
diff
changeset
|
5196 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
|
5197 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
|
5198 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
|
5199 not let the point move past the field boundary, but other movement |
27144 | 5200 commands continue into the next field if repeated. Stopping at field |
5201 boundaries can be suppressed programmatically by binding | |
5202 `inhibit-field-text-motion' to a non-nil value around calls to these | |
5203 functions. | |
26062
fd35581d53c1
Add Miles Bader's description of fields.
Gerd Moellmann <gerd@gnu.org>
parents:
26034
diff
changeset
|
5204 |
fd35581d53c1
Add Miles Bader's description of fields.
Gerd Moellmann <gerd@gnu.org>
parents:
26034
diff
changeset
|
5205 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
|
5206 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
|
5207 editing commands treat the user's text separately from the prompt. |
25853 | 5208 |
26300
25356c16306f
Expanded description of `field' property from Miles Bader.
Gerd Moellmann <gerd@gnu.org>
parents:
26292
diff
changeset
|
5209 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
|
5210 |
30776 | 5211 - 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
|
5212 |
25356c16306f
Expanded description of `field' property from Miles Bader.
Gerd Moellmann <gerd@gnu.org>
parents:
26292
diff
changeset
|
5213 Return the position closest to NEW-POS that is in the same field as OLD-POS. |
30776 | 5214 |
26300
25356c16306f
Expanded description of `field' property from Miles Bader.
Gerd Moellmann <gerd@gnu.org>
parents:
26292
diff
changeset
|
5215 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
|
5216 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
|
5217 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
|
5218 |
25356c16306f
Expanded description of `field' property from Miles Bader.
Gerd Moellmann <gerd@gnu.org>
parents:
26292
diff
changeset
|
5219 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
|
5220 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
|
5221 ESCAPE-FROM-EDGE: If ESCAPE-FROM-EDGE is nil, then NEW-POS is |
30776 | 5222 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
|
5223 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
|
5224 is non-nil, NEW-POS is constrained to the union of the two adjacent |
30776 | 5225 fields. Additionally, if two fields are separated by another field with |
5226 the special value `boundary', then any point within this special field is | |
5227 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
|
5228 |
25356c16306f
Expanded description of `field' property from Miles Bader.
Gerd Moellmann <gerd@gnu.org>
parents:
26292
diff
changeset
|
5229 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
|
5230 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
|
5231 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
|
5232 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
|
5233 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
|
5234 |
30776 | 5235 If the optional argument INHIBIT-CAPTURE-PROPERTY is non-nil, and OLD-POS has |
5236 a non-nil property of that name, then any field boundaries are ignored. | |
5237 | |
5238 Field boundaries are not noticed if `inhibit-field-text-motion' is non-nil. | |
5239 | |
5240 - Function: delete-field &optional POS | |
5241 | |
5242 Delete the field surrounding POS. | |
26300
25356c16306f
Expanded description of `field' property from Miles Bader.
Gerd Moellmann <gerd@gnu.org>
parents:
26292
diff
changeset
|
5243 A field is a region of text with the same `field' property. |
30776 | 5244 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
|
5245 |
25356c16306f
Expanded description of `field' property from Miles Bader.
Gerd Moellmann <gerd@gnu.org>
parents:
26292
diff
changeset
|
5246 - 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
|
5247 |
25356c16306f
Expanded description of `field' property from Miles Bader.
Gerd Moellmann <gerd@gnu.org>
parents:
26292
diff
changeset
|
5248 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
|
5249 A field is a region of text with the same `field' property. |
30776 | 5250 If POS is nil, the value of point is used for POS. |
5251 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
|
5252 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
|
5253 |
25356c16306f
Expanded description of `field' property from Miles Bader.
Gerd Moellmann <gerd@gnu.org>
parents:
26292
diff
changeset
|
5254 - 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
|
5255 |
25356c16306f
Expanded description of `field' property from Miles Bader.
Gerd Moellmann <gerd@gnu.org>
parents:
26292
diff
changeset
|
5256 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
|
5257 A field is a region of text with the same `field' property. |
30776 | 5258 If POS is nil, the value of point is used for POS. |
5259 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
|
5260 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
|
5261 |
25356c16306f
Expanded description of `field' property from Miles Bader.
Gerd Moellmann <gerd@gnu.org>
parents:
26292
diff
changeset
|
5262 - Function: field-string &optional POS |
25356c16306f
Expanded description of `field' property from Miles Bader.
Gerd Moellmann <gerd@gnu.org>
parents:
26292
diff
changeset
|
5263 |
25356c16306f
Expanded description of `field' property from Miles Bader.
Gerd Moellmann <gerd@gnu.org>
parents:
26292
diff
changeset
|
5264 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
|
5265 A field is a region of text with the same `field' property. |
30776 | 5266 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
|
5267 |
25356c16306f
Expanded description of `field' property from Miles Bader.
Gerd Moellmann <gerd@gnu.org>
parents:
26292
diff
changeset
|
5268 - 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
|
5269 |
25356c16306f
Expanded description of `field' property from Miles Bader.
Gerd Moellmann <gerd@gnu.org>
parents:
26292
diff
changeset
|
5270 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
|
5271 A field is a region of text with the same `field' property. |
30776 | 5272 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
|
5273 |
25853 | 5274 ** Image support. |
5275 | |
5276 Emacs can now display images. Images are inserted into text by giving | |
5277 strings or buffer text a `display' text property containing one of | |
5278 (AREA IMAGE) or IMAGE. The display of the `display' property value | |
5279 replaces the display of the characters having that property. | |
5280 | |
5281 If the property value has the form (AREA IMAGE), AREA must be one of | |
5282 `(margin left-margin)', `(margin right-margin)' or `(margin nil)'. If | |
5283 AREA is `(margin nil)', IMAGE will be displayed in the text area of a | |
5284 window, otherwise it will be displayed in the left or right marginal | |
5285 area. | |
5286 | |
5287 IMAGE is an image specification. | |
5288 | |
5289 *** Image specifications | |
5290 | |
5291 Image specifications are lists of the form `(image PROPS)' where PROPS | |
5292 is a property list whose keys are keyword symbols. Each | |
5293 specifications must contain a property `:type TYPE' with TYPE being a | |
26403 | 5294 symbol specifying the image type, e.g. `xbm'. Properties not |
5295 described below are ignored. | |
25853 | 5296 |
5297 The following is a list of properties all image types share. | |
5298 | |
5299 `:ascent ASCENT' | |
5300 | |
28789 | 5301 ASCENT must be a number in the range 0..100, or the symbol `center'. |
5302 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
|
5303 to use for its ascent. |
28789 | 5304 |
5305 If not specified, ASCENT defaults to the value 50 which means that the | |
5306 image will be centered with the base line of the row it appears in. | |
5307 | |
30483
05fc373ff5b8
mention `float-time' and the remote file modtime check
Sam Steingold <sds@gnu.org>
parents:
30482
diff
changeset
|
5308 If ASCENT is `center' the image is vertically centered around a |
29151 | 5309 centerline which is the vertical center of text drawn at the position |
5310 of the image, in the manner specified by the text properties and | |
5311 overlays that apply to the image. | |
25853 | 5312 |
5313 `:margin MARGIN' | |
5314 | |
35278 | 5315 MARGIN must be either a number >= 0 specifying how many pixels to put |
5316 as margin around the image, or a pair (X . Y) with X specifying the | |
5317 horizontal margin and Y specifying the vertical margin. Default is 0. | |
25853 | 5318 |
5319 `:relief RELIEF' | |
5320 | |
5321 RELIEF is analogous to the `:relief' attribute of faces. Puts a relief | |
5322 around an image. | |
5323 | |
35364 | 5324 `:conversion ALGO' |
25853 | 5325 |
31636 | 5326 Apply an image algorithm to the image before displaying it. |
5327 | |
5328 ALGO `laplace' or `emboss' means apply a Laplace or ``emboss'' | |
5329 edge-detection algorithm to the image. | |
5330 | |
5331 ALGO `(edge-detection :matrix MATRIX :color-adjust ADJUST)' means | |
5332 apply a general edge-detection algorithm. MATRIX must be either a | |
5333 nine-element list or a nine-element vector of numbers. A pixel at | |
5334 position x/y in the transformed image is computed from original pixels | |
5335 around that position. MATRIX specifies, for each pixel in the | |
5336 neighborhood of x/y, a factor with which that pixel will influence the | |
5337 transformed pixel; element 0 specifies the factor for the pixel at | |
5338 x-1/y-1, element 1 the factor for the pixel at x/y-1 etc. as shown | |
5339 below. | |
5340 | |
5341 (x-1/y-1 x/y-1 x+1/y-1 | |
5342 x-1/y x/y x+1/y | |
5343 x-1/y+1 x/y+1 x+1/y+1) | |
5344 | |
5345 The resulting pixel is computed from the color intensity of the color | |
5346 resulting from summing up the RGB values of surrounding pixels, | |
5347 multiplied by the specified factors, and dividing that sum by the sum | |
5348 of the factors' absolute values. | |
5349 | |
31858
269d69b69fe4
Update hideshow.el section.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
31827
diff
changeset
|
5350 Laplace edge-detection currently uses a matrix of |
31636 | 5351 |
5352 (1 0 0 | |
5353 0 0 0 | |
5354 9 9 -1) | |
5355 | |
5356 Emboss edge-detection uses a matrix of | |
5357 | |
5358 ( 2 -1 0 | |
5359 -1 0 1 | |
5360 0 1 -2) | |
5361 | |
31728 | 5362 ALGO `disabled' means transform the image so that it looks |
5363 ``disabled''. | |
5364 | |
31636 | 5365 `:mask MASK' |
5366 | |
5367 If MASK is `heuristic' or `(heuristic BG)', build a clipping mask for | |
5368 the image, so that the background of a frame is visible behind the | |
5369 image. If BG is not specified, or if BG is t, determine the | |
5370 background color of the image by looking at the 4 corners of the | |
35680 | 5371 image, assuming the most frequently occurring color from the corners is |
31636 | 5372 the background color of the image. Otherwise, BG must be a list `(RED |
5373 GREEN BLUE)' specifying the color to assume for the background of the | |
5374 image. | |
5375 | |
5376 If MASK is nil, remove a mask from the image, if it has one. Images | |
5377 in some formats include a mask which can be removed by specifying | |
5378 `:mask nil'. | |
25853 | 5379 |
5380 `:file FILE' | |
5381 | |
5382 Load image from FILE. If FILE is not absolute after expanding it, | |
5383 search for the image in `data-directory'. Some image types support | |
5384 building images from data. When this is done, no `:file' property | |
5385 may be present in the image specification. | |
5386 | |
27076
40c18bc759e9
Change description of :data for images.
Gerd Moellmann <gerd@gnu.org>
parents:
27055
diff
changeset
|
5387 `:data DATA' |
40c18bc759e9
Change description of :data for images.
Gerd Moellmann <gerd@gnu.org>
parents:
27055
diff
changeset
|
5388 |
40c18bc759e9
Change description of :data for images.
Gerd Moellmann <gerd@gnu.org>
parents:
27055
diff
changeset
|
5389 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
|
5390 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
|
5391 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
|
5392 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
|
5393 |
25853 | 5394 *** Supported image types |
5395 | |
26034 | 5396 **** XBM, image type `xbm'. |
25853 | 5397 |
5398 XBM images don't require an external library. Additional image | |
5399 properties supported are | |
5400 | |
5401 `:foreground FG' | |
5402 | |
37948
3025939a637d
Add that PBM and XPM image specs may have :foreground nil, and
Gerd Moellmann <gerd@gnu.org>
parents:
37933
diff
changeset
|
5403 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
|
5404 meaning to use the default. Default is the frame's foreground. |
25853 | 5405 |
32572 | 5406 `:background BG' |
25853 | 5407 |
37948
3025939a637d
Add that PBM and XPM image specs may have :foreground nil, and
Gerd Moellmann <gerd@gnu.org>
parents:
37933
diff
changeset
|
5408 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
|
5409 meaning to use the default. Default is the frame's background color. |
25853 | 5410 |
5411 XBM images can be constructed from data instead of file. In this | |
5412 case, the image specification must contain the following properties | |
5413 instead of a `:file' property. | |
5414 | |
5415 `:width WIDTH' | |
5416 | |
5417 WIDTH specifies the width of the image in pixels. | |
5418 | |
5419 `:height HEIGHT' | |
5420 | |
5421 HEIGHT specifies the height of the image in pixels. | |
5422 | |
5423 `:data DATA' | |
5424 | |
5425 DATA must be either | |
5426 | |
5427 1. a string large enough to hold the bitmap data, i.e. it must | |
5428 have a size >= (WIDTH + 7) / 8 * HEIGHT | |
5429 | |
5430 2. a bool-vector of size >= WIDTH * HEIGHT | |
5431 | |
5432 3. a vector of strings or bool-vectors, one for each line of the | |
5433 bitmap. | |
5434 | |
28748 | 5435 4. a string that's an in-memory XBM file. Neither width nor |
5436 height may be specified in this case because these are defined | |
5437 in the file. | |
5438 | |
25853 | 5439 **** XPM, image type `xpm' |
5440 | |
5441 XPM images require the external library `libXpm', package | |
5442 `xpm-3.4k.tar.gz', version 3.4k or later. Make sure the library is | |
5443 found when Emacs is configured by supplying appropriate paths via | |
5444 `--x-includes' and `--x-libraries'. | |
5445 | |
5446 Additional image properties supported are: | |
5447 | |
5448 `:color-symbols SYMBOLS' | |
5449 | |
5450 SYMBOLS must be a list of pairs (NAME . COLOR), with NAME being the | |
5451 name of color as it appears in an XPM file, and COLOR being an X color | |
5452 name. | |
5453 | |
5454 XPM images can be built from memory instead of files. In that case, | |
5455 add a `:data' property instead of a `:file' property. | |
5456 | |
5457 The XPM library uses libz in its implementation so that it is able | |
5458 to display compressed images. | |
5459 | |
5460 **** PBM, image type `pbm' | |
5461 | |
5462 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
|
5463 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
|
5464 mono images are |
329cbf266d5c
Add description of :foreground and :background to PBM images.
Gerd Moellmann <gerd@gnu.org>
parents:
32511
diff
changeset
|
5465 |
329cbf266d5c
Add description of :foreground and :background to PBM images.
Gerd Moellmann <gerd@gnu.org>
parents:
32511
diff
changeset
|
5466 `:foreground FG' |
329cbf266d5c
Add description of :foreground and :background to PBM images.
Gerd Moellmann <gerd@gnu.org>
parents:
32511
diff
changeset
|
5467 |
37948
3025939a637d
Add that PBM and XPM image specs may have :foreground nil, and
Gerd Moellmann <gerd@gnu.org>
parents:
37933
diff
changeset
|
5468 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
|
5469 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
|
5470 |
329cbf266d5c
Add description of :foreground and :background to PBM images.
Gerd Moellmann <gerd@gnu.org>
parents:
32511
diff
changeset
|
5471 `:background FG' |
329cbf266d5c
Add description of :foreground and :background to PBM images.
Gerd Moellmann <gerd@gnu.org>
parents:
32511
diff
changeset
|
5472 |
37948
3025939a637d
Add that PBM and XPM image specs may have :foreground nil, and
Gerd Moellmann <gerd@gnu.org>
parents:
37933
diff
changeset
|
5473 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
|
5474 meaning to use the default. Default is the frame's background color. |
25853 | 5475 |
5476 **** JPEG, image type `jpeg' | |
5477 | |
5478 Support for JPEG images requires the external library `libjpeg', | |
27055 | 5479 package `jpegsrc.v6a.tar.gz', or later. Additional image properties |
5480 are: | |
5481 | |
25853 | 5482 **** TIFF, image type `tiff' |
5483 | |
5484 Support for TIFF images requires the external library `libtiff', | |
5485 package `tiff-v3.4-tar.gz', or later. There are no additional image | |
5486 properties defined. | |
5487 | |
5488 **** GIF, image type `gif' | |
5489 | |
5490 Support for GIF images requires the external library `libungif', package | |
5491 `libungif-4.1.0', or later. | |
5492 | |
5493 Additional image properties supported are: | |
5494 | |
5495 `:index INDEX' | |
5496 | |
5497 INDEX must be an integer >= 0. Load image number INDEX from a | |
35680 | 5498 multi-image GIF file. An error is signaled if INDEX is too large. |
25853 | 5499 |
5500 This could be used to implement limited support for animated GIFs. | |
5501 For example, the following function displays a multi-image GIF file | |
5502 at point-min in the current buffer, switching between sub-images | |
5503 every 0.1 seconds. | |
5504 | |
5505 (defun show-anim (file max) | |
5506 "Display multi-image GIF file FILE which contains MAX subimages." | |
5507 (display-anim (current-buffer) file 0 max t)) | |
5508 | |
5509 (defun display-anim (buffer file idx max first-time) | |
5510 (when (= idx max) | |
5511 (setq idx 0)) | |
27076
40c18bc759e9
Change description of :data for images.
Gerd Moellmann <gerd@gnu.org>
parents:
27055
diff
changeset
|
5512 (let ((img (create-image file nil nil :index idx))) |
25853 | 5513 (save-excursion |
5514 (set-buffer buffer) | |
5515 (goto-char (point-min)) | |
5516 (unless first-time (delete-char 1)) | |
5517 (insert-image img "x")) | |
5518 (run-with-timer 0.1 nil 'display-anim buffer file (1+ idx) max nil))) | |
5519 | |
5520 **** PNG, image type `png' | |
5521 | |
5522 Support for PNG images requires the external library `libpng', | |
5523 package `libpng-1.0.2.tar.gz', or later. There are no additional image | |
5524 properties defined. | |
5525 | |
5526 **** Ghostscript, image type `postscript'. | |
5527 | |
5528 Additional image properties supported are: | |
5529 | |
5530 `:pt-width WIDTH' | |
5531 | |
5532 WIDTH is width of the image in pt (1/72 inch). WIDTH must be an | |
26034 | 5533 integer. This is a required property. |
25853 | 5534 |
5535 `:pt-height HEIGHT' | |
5536 | |
5537 HEIGHT specifies the height of the image in pt (1/72 inch). HEIGHT | |
26034 | 5538 must be a integer. This is an required property. |
25853 | 5539 |
5540 `:bounding-box BOX' | |
5541 | |
5542 BOX must be a list or vector of 4 integers giving the bounding box of | |
5543 the PS image, analogous to the `BoundingBox' comment found in PS | |
5544 files. This is an required property. | |
5545 | |
5546 Part of the Ghostscript interface is implemented in Lisp. See | |
5547 lisp/gs.el. | |
5548 | |
5549 *** Lisp interface. | |
5550 | |
26264 | 5551 The variable `image-types' contains a list of those image types |
5552 which are supported in the current configuration. | |
25853 | 5553 |
5554 Images are stored in an image cache and removed from the cache when | |
5555 they haven't been displayed for `image-cache-eviction-delay seconds. | |
5556 The function `clear-image-cache' can be used to clear the image cache | |
28759 | 5557 manually. Images in the cache are compared with `equal', i.e. all |
5558 images with `equal' specifications share the same image. | |
25853 | 5559 |
5560 *** Simplified image API, image.el | |
5561 | |
5562 The new Lisp package image.el contains functions that simplify image | |
5563 creation and putting images into text. The function `create-image' | |
5564 can be used to create images. The macro `defimage' can be used to | |
5565 define an image based on available image types. The functions | |
5566 `put-image' and `insert-image' can be used to insert an image into a | |
5567 buffer. | |
5568 | |
5569 ** Display margins. | |
5570 | |
5571 Windows can now have margins which are used for special text | |
5572 and images. | |
5573 | |
5574 To give a window margins, either set the buffer-local variables | |
5575 `left-margin-width' and `right-margin-width', or call | |
5576 `set-window-margins'. The function `window-margins' can be used to | |
5577 obtain the current settings. To make `left-margin-width' and | |
5578 `right-margin-width' take effect, you must set them before displaying | |
5579 the buffer in a window, or use `set-window-buffer' to force an update | |
5580 of the display margins. | |
5581 | |
5582 You can put text in margins by giving it a `display' text property | |
5583 containing a pair of the form `(LOCATION . VALUE)', where LOCATION is | |
5584 one of `left-margin' or `right-margin' or nil. VALUE can be either a | |
5585 string, an image specification or a stretch specification (see later | |
5586 in this file). | |
5587 | |
5588 ** Help display | |
5589 | |
5590 Emacs displays short help messages in the echo area, when the mouse | |
5591 moves over a tool-bar item or a piece of text that has a text property | |
5592 `help-echo'. This feature also applies to strings in the mode line | |
5593 that have a `help-echo' property. | |
5594 | |
30219 | 5595 If the value of the `help-echo' property is a function, that function |
30305 | 5596 is called with three arguments WINDOW, OBJECT and POSITION. WINDOW is |
30372 | 5597 the window in which the help was found. |
5598 | |
5599 If OBJECT is a buffer, POS is the position in the buffer where the | |
5600 `help-echo' text property was found. | |
5601 | |
5602 If OBJECT is an overlay, that overlay has a `help-echo' property, and | |
5603 POS is the position in the overlay's buffer under the mouse. | |
5604 | |
5605 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
|
5606 the `display' property), POS is the position in that string under the |
30372 | 5607 mouse. |
30219 | 5608 |
5609 If the value of the `help-echo' property is neither a function nor a | |
5610 string, it is evaluated to obtain a help string. | |
5611 | |
5612 For tool-bar and menu-bar items, their key definition is used to | |
5613 determine the help to display. If their definition contains a | |
5614 property `:help FORM', FORM is evaluated to determine the help string. | |
5615 For tool-bar items without a help form, the caption of the item is | |
5616 used as help string. | |
25853 | 5617 |
5618 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
|
5619 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
|
5620 causes the help display to appear there instead of in the echo area. |
25853 | 5621 |
5622 ** Vertical fractional scrolling. | |
5623 | |
5624 The display of text in windows can be scrolled smoothly in pixels. | |
5625 This is useful, for example, for making parts of large images visible. | |
5626 | |
5627 The function `window-vscroll' returns the current value of vertical | |
5628 scrolling, a non-negative fraction of the canonical character height. | |
5629 The function `set-window-vscroll' can be used to set the vertical | |
5630 scrolling value. Here is an example of how these function might be | |
5631 used. | |
5632 | |
26264 | 5633 (global-set-key [A-down] |
5634 #'(lambda () | |
25853 | 5635 (interactive) |
26264 | 5636 (set-window-vscroll (selected-window) |
25853 | 5637 (+ 0.5 (window-vscroll))))) |
26264 | 5638 (global-set-key [A-up] |
25853 | 5639 #'(lambda () |
5640 (interactive) | |
26264 | 5641 (set-window-vscroll (selected-window) |
25853 | 5642 (- (window-vscroll) 0.5))))) |
5643 | |
5644 ** New hook `fontification-functions'. | |
5645 | |
5646 Functions from `fontification-functions' are called from redisplay | |
5647 when it encounters a region of text that is not yet fontified. This | |
5648 variable automatically becomes buffer-local when set. Each function | |
5649 is called with one argument, POS. | |
5650 | |
5651 At least one of the hook functions should fontify one or more | |
5652 characters starting at POS in the current buffer. It should mark them | |
5653 as fontified by giving them a non-nil value of the `fontified' text | |
5654 property. It may be reasonable for these functions to check for the | |
5655 `fontified' property and not put it back on, but they do not have to. | |
5656 | |
5657 ** Tool bar support. | |
5658 | |
5659 Emacs supports a tool bar at the top of a frame under X. The frame | |
5660 parameter `tool-bar-lines' (X resource "toolBar", class "ToolBar") | |
5661 controls how may lines to reserve for the tool bar. A zero value | |
5662 suppresses the tool bar. If the value is non-zero and | |
5663 `auto-resize-tool-bars' is non-nil the tool bar's size will be changed | |
5664 automatically so that all tool bar items are visible. | |
5665 | |
5666 *** Tool bar item definitions | |
5667 | |
5668 Tool bar items are defined using `define-key' with a prefix-key | |
5669 `tool-bar'. For example `(define-key global-map [tool-bar item1] ITEM)' | |
5670 where ITEM is a list `(menu-item CAPTION BINDING PROPS...)'. | |
26264 | 5671 |
25853 | 5672 CAPTION is the caption of the item, If it's not a string, it is |
5673 evaluated to get a string. The caption is currently not displayed in | |
5674 the tool bar, but it is displayed if the item doesn't have a `:help' | |
5675 property (see below). | |
26264 | 5676 |
25853 | 5677 BINDING is the tool bar item's binding. Tool bar items with keymaps as |
5678 binding are currently ignored. | |
5679 | |
5680 The following properties are recognized: | |
5681 | |
5682 `:enable FORM'. | |
26264 | 5683 |
25853 | 5684 FORM is evaluated and specifies whether the tool bar item is enabled |
5685 or disabled. | |
26264 | 5686 |
25853 | 5687 `:visible FORM' |
26264 | 5688 |
25853 | 5689 FORM is evaluated and specifies whether the tool bar item is displayed. |
26264 | 5690 |
25853 | 5691 `:filter FUNCTION' |
5692 | |
5693 FUNCTION is called with one parameter, the same list BINDING in which | |
5694 FUNCTION is specified as the filter. The value FUNCTION returns is | |
5695 used instead of BINDING to display this item. | |
26264 | 5696 |
25853 | 5697 `:button (TYPE SELECTED)' |
5698 | |
5699 TYPE must be one of `:radio' or `:toggle'. SELECTED is evaluated | |
5700 and specifies whether the button is selected (pressed) or not. | |
26264 | 5701 |
25853 | 5702 `:image IMAGES' |
5703 | |
5704 IMAGES is either a single image specification or a vector of four | |
5705 image specifications. If it is a vector, this table lists the | |
5706 meaning of each of the four elements: | |
5707 | |
5708 Index Use when item is | |
5709 ---------------------------------------- | |
5710 0 enabled and selected | |
5711 1 enabled and deselected | |
5712 2 disabled and selected | |
5713 3 disabled and deselected | |
26264 | 5714 |
28946 | 5715 If IMAGE is a single image specification, a Laplace edge-detection |
5716 algorithm is used on that image to draw the image in disabled state. | |
5717 | |
25853 | 5718 `:help HELP-STRING'. |
26264 | 5719 |
25853 | 5720 Gives a help string to display for the tool bar item. This help |
5721 is displayed when the mouse is moved over the item. | |
5722 | |
31641 | 5723 The function `toolbar-add-item' is a convenience function for adding |
31741 | 5724 toolbar items generally, and `tool-bar-add-item-from-menu' can be used |
5725 to define a toolbar item with a binding copied from an item on the | |
5726 menu bar. | |
31641 | 5727 |
33484 | 5728 The default bindings use a menu-item :filter to derive the tool-bar |
5729 dynamically from variable `tool-bar-map' which may be set | |
5730 buffer-locally to override the global map. | |
5731 | |
25853 | 5732 *** Tool-bar-related variables. |
5733 | |
5734 If `auto-resize-tool-bar' is non-nil, the tool bar will automatically | |
5735 resize to show all defined tool bar items. It will never grow larger | |
5736 than 1/4 of the frame's size. | |
5737 | |
26264 | 5738 If `auto-raise-tool-bar-buttons' is non-nil, tool bar buttons will be |
25853 | 5739 raised when the mouse moves over them. |
5740 | |
5741 You can add extra space between tool bar items by setting | |
5742 `tool-bar-button-margin' to a positive integer specifying a number of | |
35278 | 5743 pixels, or a pair of integers (X . Y) specifying horizontal and |
5744 vertical margins . Default is 1. | |
25853 | 5745 |
5746 You can change the shadow thickness of tool bar buttons by setting | |
5747 `tool-bar-button-relief' to an integer. Default is 3. | |
5748 | |
5749 *** Tool-bar clicks with modifiers. | |
5750 | |
5751 You can bind commands to clicks with control, shift, meta etc. on | |
26264 | 5752 a tool bar item. If |
25853 | 5753 |
5754 (define-key global-map [tool-bar shell] | |
5755 '(menu-item "Shell" shell | |
5756 :image (image :type xpm :file "shell.xpm"))) | |
5757 | |
5758 is the original tool bar item definition, then | |
5759 | |
5760 (define-key global-map [tool-bar S-shell] 'some-command) | |
5761 | |
5762 makes a binding to run `some-command' for a shifted click on the same | |
5763 item. | |
5764 | |
5765 ** Mode line changes. | |
5766 | |
5767 *** Mouse-sensitive mode line. | |
5768 | |
5769 The mode line can be made mouse-sensitive by displaying strings there | |
5770 that have a `local-map' text property. There are three ways to display | |
5771 a string with a `local-map' property in the mode line. | |
5772 | |
5773 1. The mode line spec contains a variable whose string value has | |
5774 a `local-map' text property. | |
5775 | |
5776 2. The mode line spec contains a format specifier (e.g. `%12b'), and | |
5777 that format specifier has a `local-map' property. | |
5778 | |
5779 3. The mode line spec contains a list containing `:eval FORM'. FORM | |
5780 is evaluated. If the result is a string, and that string has a | |
5781 `local-map' property. | |
5782 | |
5783 The same mechanism is used to determine the `face' and `help-echo' | |
5784 properties of strings in the mode line. See `bindings.el' for an | |
5785 example. | |
5786 | |
26359
d2970b5d3b72
Add mode line element '(:eval FORM)'.
Gerd Moellmann <gerd@gnu.org>
parents:
26322
diff
changeset
|
5787 *** 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
|
5788 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
|
5789 |
25853 | 5790 *** You can suppress mode-line display by setting the buffer-local |
5791 variable mode-line-format to nil. | |
5792 | |
5793 *** A headerline can now be displayed at the top of a window. | |
5794 | |
5795 This mode line's contents are controlled by the new variable | |
5796 `header-line-format' and `default-header-line-format' which are | |
5797 completely analogous to `mode-line-format' and | |
5798 `default-mode-line-format'. A value of nil means don't display a top | |
5799 line. | |
5800 | |
5801 The appearance of top mode lines is controlled by the face | |
5802 `header-line'. | |
5803 | |
5804 The function `coordinates-in-window-p' returns `header-line' for a | |
5805 position in the header-line. | |
5806 | |
5807 ** Text property `display' | |
5808 | |
31827 | 5809 The `display' text property is used to insert images into text, |
5810 replace text with other text, display text in marginal area, and it is | |
5811 also used to control other aspects of how text displays. The value of | |
5812 the `display' property should be a display specification, as described | |
25853 | 5813 below, or a list or vector containing display specifications. |
5814 | |
31827 | 5815 *** Replacing text, displaying text in marginal areas |
5816 | |
5817 To replace the text having the `display' property with some other | |
5818 text, use a display specification of the form `(LOCATION STRING)'. | |
5819 | |
5820 If LOCATION is `(margin left-margin)', STRING is displayed in the left | |
5821 marginal area, if it is `(margin right-margin)', it is displayed in | |
5822 the right marginal area, and if LOCATION is `(margin nil)' STRING | |
5823 is displayed in the text. In the latter case you can also use the | |
5824 simpler form STRING as property value. | |
5825 | |
25853 | 5826 *** Variable width and height spaces |
5827 | |
5828 To display a space of fractional width or height, use a display | |
5829 specification of the form `(LOCATION STRECH)'. If LOCATION is | |
5830 `(margin left-margin)', the space is displayed in the left marginal | |
5831 area, if it is `(margin right-margin)', it is displayed in the right | |
5832 marginal area, and if LOCATION is `(margin nil)' the space is | |
5833 displayed in the text. In the latter case you can also use the | |
5834 simpler form STRETCH as property value. | |
5835 | |
5836 The stretch specification STRETCH itself is a list of the form `(space | |
5837 PROPS)', where PROPS is a property list which can contain the | |
5838 properties described below. | |
5839 | |
5840 The display of the fractional space replaces the display of the | |
5841 characters having the `display' property. | |
5842 | |
5843 - :width WIDTH | |
5844 | |
5845 Specifies that the space width should be WIDTH times the normal | |
5846 character width. WIDTH can be an integer or floating point number. | |
5847 | |
5848 - :relative-width FACTOR | |
5849 | |
5850 Specifies that the width of the stretch should be computed from the | |
5851 first character in a group of consecutive characters that have the | |
5852 same `display' property. The computation is done by multiplying the | |
5853 width of that character by FACTOR. | |
5854 | |
5855 - :align-to HPOS | |
5856 | |
5857 Specifies that the space should be wide enough to reach HPOS. The | |
5858 value HPOS is measured in units of the normal character width. | |
5859 | |
5860 Exactly one of the above properties should be used. | |
5861 | |
5862 - :height HEIGHT | |
5863 | |
5864 Specifies the height of the space, as HEIGHT, measured in terms of the | |
5865 normal line height. | |
5866 | |
5867 - :relative-height FACTOR | |
5868 | |
5869 The height of the space is computed as the product of the height | |
5870 of the text having the `display' property and FACTOR. | |
5871 | |
5872 - :ascent ASCENT | |
5873 | |
5874 Specifies that ASCENT percent of the height of the stretch should be | |
5875 used for the ascent of the stretch, i.e. for the part above the | |
5876 baseline. The value of ASCENT must be a non-negative number less or | |
5877 equal to 100. | |
5878 | |
5879 You should not use both `:height' and `:relative-height' together. | |
5880 | |
5881 *** Images | |
5882 | |
5883 A display specification for an image has the form `(LOCATION | |
5884 . IMAGE)', where IMAGE is an image specification. The image replaces, | |
5885 in the display, the characters having this display specification in | |
5886 their `display' text property. If LOCATION is `(margin left-margin)', | |
5887 the image will be displayed in the left marginal area, if it is | |
5888 `(margin right-margin)' it will be displayed in the right marginal | |
5889 area, and if LOCATION is `(margin nil)' the image will be displayed in | |
5890 the text. In the latter case you can also use the simpler form IMAGE | |
5891 as display specification. | |
5892 | |
5893 *** Other display properties | |
5894 | |
33499 | 5895 - (space-width FACTOR) |
25853 | 5896 |
5897 Specifies that space characters in the text having that property | |
5898 should be displayed FACTOR times as wide as normal; FACTOR must be an | |
5899 integer or float. | |
5900 | |
33499 | 5901 - (height HEIGHT) |
25853 | 5902 |
5903 Display text having this property in a font that is smaller or larger. | |
5904 | |
5905 If HEIGHT is a list of the form `(+ N)', where N is an integer, that | |
5906 means to use a font that is N steps larger. If HEIGHT is a list of | |
5907 the form `(- N)', that means to use a font that is N steps smaller. A | |
5908 ``step'' is defined by the set of available fonts; each size for which | |
5909 a font is available counts as a step. | |
5910 | |
5911 If HEIGHT is a number, that means to use a font that is HEIGHT times | |
5912 as tall as the frame's default font. | |
5913 | |
5914 If HEIGHT is a symbol, it is called as a function with the current | |
5915 height as argument. The function should return the new height to use. | |
5916 | |
5917 Otherwise, HEIGHT is evaluated to get the new height, with the symbol | |
5918 `height' bound to the current specified font height. | |
5919 | |
33499 | 5920 - (raise FACTOR) |
25853 | 5921 |
5922 FACTOR must be a number, specifying a multiple of the current | |
5923 font's height. If it is positive, that means to display the characters | |
5924 raised. If it is negative, that means to display them lower down. The | |
5925 amount of raising or lowering is computed without taking account of the | |
33499 | 5926 `height' subproperty. |
25853 | 5927 |
5928 *** Conditional display properties | |
5929 | |
5930 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
|
5931 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
|
5932 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
|
5933 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
|
5934 conditional display property; `position' and `buffer-position' are |
f5db16d9b787
Change conditional display property API description.
Gerd Moellmann <gerd@gnu.org>
parents:
38989
diff
changeset
|
5935 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
|
5936 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
|
5937 different when object is a string. |
25853 | 5938 |
5939 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
|
5940 `(when t . SPEC)'. |
25853 | 5941 |
5942 ** New menu separator types. | |
5943 | |
5944 Emacs now supports more than one menu separator type. Menu items with | |
5945 item names consisting of dashes only (including zero dashes) are | |
5946 treated like before. In addition, the following item names are used | |
5947 to specify other menu separator types. | |
5948 | |
5949 - `--no-line' or `--space', or `--:space', or `--:noLine' | |
5950 | |
5951 No separator lines are drawn, but a small space is inserted where the | |
5952 separator occurs. | |
5953 | |
5954 - `--single-line' or `--:singleLine' | |
5955 | |
5956 A single line in the menu's foreground color. | |
5957 | |
5958 - `--double-line' or `--:doubleLine' | |
5959 | |
5960 A double line in the menu's foreground color. | |
5961 | |
5962 - `--single-dashed-line' or `--:singleDashedLine' | |
5963 | |
5964 A single dashed line in the menu's foreground color. | |
5965 | |
5966 - `--double-dashed-line' or `--:doubleDashedLine' | |
5967 | |
5968 A double dashed line in the menu's foreground color. | |
5969 | |
5970 - `--shadow-etched-in' or `--:shadowEtchedIn' | |
5971 | |
35862
9604ca6b3728
More typos from Juanma Barranquero <lektu@uol.com.br>.
Eli Zaretskii <eliz@gnu.org>
parents:
35847
diff
changeset
|
5972 A single line with 3D sunken appearance. This is the form |
25853 | 5973 displayed for item names consisting of dashes only. |
5974 | |
5975 - `--shadow-etched-out' or `--:shadowEtchedOut' | |
5976 | |
5977 A single line with 3D raised appearance. | |
5978 | |
5979 - `--shadow-etched-in-dash' or `--:shadowEtchedInDash' | |
5980 | |
5981 A single dashed line with 3D sunken appearance. | |
5982 | |
5983 - `--shadow-etched-out-dash' or `--:shadowEtchedOutDash' | |
5984 | |
5985 A single dashed line with 3D raise appearance. | |
5986 | |
5987 - `--shadow-double-etched-in' or `--:shadowDoubleEtchedIn' | |
5988 | |
5989 Two lines with 3D sunken appearance. | |
5990 | |
5991 - `--shadow-double-etched-out' or `--:shadowDoubleEtchedOut' | |
5992 | |
5993 Two lines with 3D raised appearance. | |
5994 | |
5995 - `--shadow-double-etched-in-dash' or `--:shadowDoubleEtchedInDash' | |
5996 | |
5997 Two dashed lines with 3D sunken appearance. | |
5998 | |
5999 - `--shadow-double-etched-out-dash' or `--:shadowDoubleEtchedOutDash' | |
6000 | |
6001 Two dashed lines with 3D raised appearance. | |
6002 | |
6003 Under LessTif/Motif, the last four separator types are displayed like | |
6004 the corresponding single-line separators. | |
6005 | |
6006 ** New frame parameters for scroll bar colors. | |
6007 | |
6008 The new frame parameters `scroll-bar-foreground' and | |
6009 `scroll-bar-background' can be used to change scroll bar colors. | |
6010 Their value must be either a color name, a string, or nil to specify | |
6011 that scroll bars should use a default color. For toolkit scroll bars, | |
6012 default colors are toolkit specific. For non-toolkit scroll bars, the | |
6013 default background is the background color of the frame, and the | |
6014 default foreground is black. | |
6015 | |
6016 The X resource name of these parameters are `scrollBarForeground' | |
6017 (class ScrollBarForeground) and `scrollBarBackground' (class | |
6018 `ScrollBarBackground'). | |
6019 | |
6020 Setting these parameters overrides toolkit specific X resource | |
6021 settings for scroll bar colors. | |
6022 | |
6023 ** You can set `redisplay-dont-pause' to a non-nil value to prevent | |
6024 display updates from being interrupted when input is pending. | |
6025 | |
6026 ** Changing a window's width may now change its window start if it | |
6027 starts on a continuation line. The new window start is computed based | |
6028 on the window's new width, starting from the start of the continued | |
6029 line as the start of the screen line with the minimum distance from | |
6030 the original window start. | |
6031 | |
6032 ** The variable `hscroll-step' and the functions | |
6033 `hscroll-point-visible' and `hscroll-window-column' have been removed | |
6034 now that proper horizontal scrolling is implemented. | |
6035 | |
6036 ** Windows can now be made fixed-width and/or fixed-height. | |
6037 | |
6038 A window is fixed-size if its buffer has a buffer-local variable | |
6039 `window-size-fixed' whose value is not nil. A value of `height' makes | |
6040 windows fixed-height, a value of `width' makes them fixed-width, any | |
6041 other non-nil value makes them both fixed-width and fixed-height. | |
6042 | |
6043 The following code makes all windows displaying the current buffer | |
6044 fixed-width and fixed-height. | |
6045 | |
6046 (set (make-local-variable 'window-size-fixed) t) | |
6047 | |
6048 A call to enlarge-window on a window gives an error if that window is | |
6049 fixed-width and it is tried to change the window's width, or if the | |
6050 window is fixed-height, and it is tried to change its height. To | |
6051 change the size of a fixed-size window, bind `window-size-fixed' | |
6052 temporarily to nil, for example | |
6053 | |
6054 (let ((window-size-fixed nil)) | |
6055 (enlarge-window 10)) | |
6056 | |
26264 | 6057 Likewise, an attempt to split a fixed-height window vertically, |
25853 | 6058 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
|
6059 |
e1e48e0663f6
Mention cursor-type support on MS-DOS terminals.
Eli Zaretskii <eliz@gnu.org>
parents:
28063
diff
changeset
|
6060 ** 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
|
6061 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
|
6062 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
|
6063 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
|
6064 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
|
6065 support a vertical-bar cursor). |
30786 | 6066 |
30922 | 6067 |
35577
db5649648a65
Replace formfeeds removed on 2001/01/22.
Dave Love <fx@gnu.org>
parents:
35567
diff
changeset
|
6068 |
30922 | 6069 * Emacs 20.7 is a bug-fix release with few user-visible changes |
6070 | |
6071 ** It is now possible to use CCL-based coding systems for keyboard | |
6072 input. | |
6073 | |
6074 ** ange-ftp now handles FTP security extensions, like Kerberos. | |
6075 | |
6076 ** Rmail has been extended to recognize more forms of digest messages. | |
6077 | |
6078 ** Now, most coding systems set in keyboard coding system work not | |
6079 only for character input, but also in incremental search. The | |
6080 exceptions are such coding systems that handle 2-byte character sets | |
6081 (e.g euc-kr, euc-jp) and that use ISO's escape sequence | |
6082 (e.g. iso-2022-jp). They are ignored in incremental search. | |
6083 | |
6084 ** Support for Macintosh PowerPC-based machines running GNU/Linux has | |
6085 been added. | |
6086 | |
35577
db5649648a65
Replace formfeeds removed on 2001/01/22.
Dave Love <fx@gnu.org>
parents:
35567
diff
changeset
|
6087 |
30922 | 6088 * Emacs 20.6 is a bug-fix release with one user-visible change |
6089 | |
6090 ** Support for ARM-based non-RISCiX machines has been added. | |
6091 | |
35469 | 6092 |
35577
db5649648a65
Replace formfeeds removed on 2001/01/22.
Dave Love <fx@gnu.org>
parents:
35567
diff
changeset
|
6093 |
30922 | 6094 * Emacs 20.5 is a bug-fix release with no user-visible changes. |
6095 | |
6096 ** Not new, but not mentioned before: | |
6097 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
|
6098 |
30922 | 6099 * Changes in Emacs 20.4 |
6100 | |
6101 ** Init file may be called .emacs.el. | |
6102 | |
6103 You can now call the Emacs init file `.emacs.el'. | |
6104 Formerly the name had to be `.emacs'. If you use the name | |
6105 `.emacs.el', you can byte-compile the file in the usual way. | |
6106 | |
6107 If both `.emacs' and `.emacs.el' exist, the latter file | |
6108 is the one that is used. | |
6109 | |
6110 ** shell-command, and shell-command-on-region, now return | |
6111 the exit code of the command (unless it is asynchronous). | |
6112 Also, you can specify a place to put the error output, | |
6113 separate from the command's regular output. | |
6114 Interactively, the variable shell-command-default-error-buffer | |
6115 says where to put error output; set it to a buffer name. | |
6116 In calls from Lisp, an optional argument ERROR-BUFFER specifies | |
6117 the buffer name. | |
6118 | |
6119 When you specify a non-nil error buffer (or buffer name), any error | |
6120 output is inserted before point in that buffer, with \f\n to separate | |
6121 it from the previous batch of error output. The error buffer is not | |
6122 cleared, so error output from successive commands accumulates there. | |
6123 | |
6124 ** Setting the default value of enable-multibyte-characters to nil in | |
6125 the .emacs file, either explicitly using setq-default, or via Custom, | |
6126 is now essentially equivalent to using --unibyte: all buffers | |
6127 created during startup will be made unibyte after loading .emacs. | |
6128 | |
6129 ** C-x C-f now handles the wildcards * and ? in file names. For | |
6130 example, typing C-x C-f c*.c RET visits all the files whose names | |
6131 match c*.c. To visit a file whose name contains * or ?, add the | |
6132 quoting sequence /: to the beginning of the file name. | |
6133 | |
6134 ** The M-x commands keep-lines, flush-lines and count-matches | |
6135 now have the same feature as occur and query-replace: | |
6136 if the pattern contains any upper case letters, then | |
6137 they never ignore case. | |
6138 | |
6139 ** The end-of-line format conversion feature previously mentioned | |
6140 under `* Emacs 20.1 changes for MS-DOS and MS-Windows' actually | |
6141 applies to all operating systems. Emacs recognizes from the contents | |
6142 of a file what convention it uses to separate lines--newline, CRLF, or | |
6143 just CR--and automatically converts the contents to the normal Emacs | |
6144 convention (using newline to separate lines) for editing. This is a | |
6145 part of the general feature of coding system conversion. | |
6146 | |
6147 If you subsequently save the buffer, Emacs converts the text back to | |
6148 the same format that was used in the file before. | |
6149 | |
6150 You can turn off end-of-line conversion by setting the variable | |
6151 `inhibit-eol-conversion' to non-nil, e.g. with Custom in the MULE group. | |
6152 | |
6153 ** The character set property `prefered-coding-system' has been | |
6154 renamed to `preferred-coding-system', for the sake of correct spelling. | |
6155 This is a fairly internal feature, so few programs should be affected. | |
6156 | |
6157 ** Mode-line display of end-of-line format is changed. | |
6158 The indication of the end-of-line format of the file visited by a | |
6159 buffer is now more explicit when that format is not the usual one for | |
6160 your operating system. For example, the DOS-style end-of-line format | |
6161 is displayed as "(DOS)" on Unix and GNU/Linux systems. The usual | |
6162 end-of-line format is still displayed as a single character (colon for | |
6163 Unix, backslash for DOS and Windows, and forward slash for the Mac). | |
6164 | |
6165 The values of the variables eol-mnemonic-unix, eol-mnemonic-dos, | |
6166 eol-mnemonic-mac, and eol-mnemonic-undecided, which are strings, | |
6167 control what is displayed in the mode line for each end-of-line | |
6168 format. You can now customize these variables. | |
6169 | |
6170 ** In the previous version of Emacs, tar-mode didn't work well if a | |
6171 filename contained non-ASCII characters. Now this is fixed. Such a | |
6172 filename is decoded by file-name-coding-system if the default value of | |
6173 enable-multibyte-characters is non-nil. | |
6174 | |
6175 ** The command temp-buffer-resize-mode toggles a minor mode | |
6176 in which temporary buffers (such as help buffers) are given | |
6177 windows just big enough to hold the whole contents. | |
6178 | |
6179 ** If you use completion.el, you must now run the function | |
6180 dynamic-completion-mode to enable it. Just loading the file | |
6181 doesn't have any effect. | |
6182 | |
6183 ** In Flyspell mode, the default is now to make just one Ispell process, | |
6184 not one per buffer. | |
6185 | |
6186 ** If you use iswitchb but do not call (iswitchb-default-keybindings) to | |
6187 use the default keybindings, you will need to add the following line: | |
6188 (add-hook 'minibuffer-setup-hook 'iswitchb-minibuffer-setup) | |
6189 | |
6190 ** Auto-show mode is no longer enabled just by loading auto-show.el. | |
6191 To control it, set `auto-show-mode' via Custom or use the | |
6192 `auto-show-mode' command. | |
6193 | |
6194 ** Handling of X fonts' ascent/descent parameters has been changed to | |
6195 avoid redisplay problems. As a consequence, compared with previous | |
6196 versions the line spacing and frame size now differ with some font | |
6197 choices, typically increasing by a pixel per line. This change | |
6198 occurred in version 20.3 but was not documented then. | |
6199 | |
6200 ** If you select the bar cursor style, it uses the frame's | |
6201 cursor-color, rather than the cursor foreground pixel. | |
6202 | |
6203 ** In multibyte mode, Rmail decodes incoming MIME messages using the | |
6204 character set specified in the message. If you want to disable this | |
6205 feature, set the variable rmail-decode-mime-charset to nil. | |
6206 | |
6207 ** Not new, but not mentioned previously in NEWS: when you use #! at | |
6208 the beginning of a file to make it executable and specify an | |
6209 interpreter program, Emacs looks on the second line for the -*- mode | |
6210 and variable specification, as well as on the first line. | |
6211 | |
6212 ** Support for IBM codepage encoding of non-ASCII characters. | |
6213 | |
6214 The new command M-x codepage-setup creates a special coding system | |
6215 that can be used to convert text between a specific IBM codepage and | |
6216 one of the character sets built into Emacs which matches that | |
6217 codepage. For example, codepage 850 corresponds to Latin-1 character | |
6218 set, codepage 855 corresponds to Cyrillic-ISO character set, etc. | |
6219 | |
6220 Windows codepages 1250, 1251 and some others, where Windows deviates | |
6221 from the corresponding ISO character set, are also supported. | |
6222 | |
6223 IBM box-drawing characters and other glyphs which don't have | |
6224 equivalents in the corresponding ISO character set, are converted to | |
6225 a character defined by dos-unsupported-char-glyph on MS-DOS, and to | |
6226 `?' on other systems. | |
6227 | |
6228 IBM codepages are widely used on MS-DOS and MS-Windows, so this | |
6229 feature is most useful on those platforms, but it can also be used on | |
6230 Unix. | |
6231 | |
6232 Emacs compiled for MS-DOS automatically loads the support for the | |
6233 current codepage when it starts. | |
6234 | |
6235 ** Mail changes | |
6236 | |
6237 *** When mail is sent using compose-mail (C-x m), and if | |
6238 `mail-send-nonascii' is set to the new default value `mime', | |
6239 appropriate MIME headers are added. The headers are added only if | |
6240 non-ASCII characters are present in the body of the mail, and no other | |
6241 MIME headers are already present. For example, the following three | |
6242 headers are added if the coding system used in the *mail* buffer is | |
6243 latin-1: | |
6244 | |
6245 MIME-version: 1.0 | |
6246 Content-type: text/plain; charset=iso-8859-1 | |
6247 Content-Transfer-Encoding: 8bit | |
6248 | |
6249 *** The new variable default-sendmail-coding-system specifies the | |
6250 default way to encode outgoing mail. This has higher priority than | |
6251 default-buffer-file-coding-system but has lower priority than | |
6252 sendmail-coding-system and the local value of | |
6253 buffer-file-coding-system. | |
6254 | |
6255 You should not set this variable manually. Instead, set | |
6256 sendmail-coding-system to specify a fixed encoding for all outgoing | |
6257 mail. | |
6258 | |
6259 *** When you try to send a message that contains non-ASCII characters, | |
6260 if the coding system specified by those variables doesn't handle them, | |
6261 Emacs will ask you to select a suitable coding system while showing a | |
6262 list of possible coding systems. | |
6263 | |
6264 ** CC Mode changes | |
6265 | |
6266 *** c-default-style can now take an association list that maps major | |
6267 modes to style names. When this variable is an alist, Java mode no | |
6268 longer hardcodes a setting to "java" style. See the variable's | |
6269 docstring for details. | |
6270 | |
6271 *** It's now possible to put a list as the offset on a syntactic | |
6272 symbol. The list is evaluated recursively until a non-nil offset is | |
6273 found. This is useful to combine several lineup functions to act in a | |
6274 prioritized order on a single line. However, none of the supplied | |
6275 lineup functions use this feature currently. | |
6276 | |
6277 *** New syntactic symbol catch-clause, which is used on the "catch" and | |
6278 "finally" lines in try-catch constructs in C++ and Java. | |
6279 | |
6280 *** New cleanup brace-catch-brace on c-cleanup-list, which does for | |
6281 "catch" lines what brace-elseif-brace does for "else if" lines. | |
6282 | |
6283 *** The braces of Java anonymous inner classes are treated separately | |
6284 from the braces of other classes in auto-newline mode. Two new | |
6285 symbols inexpr-class-open and inexpr-class-close may be used on | |
6286 c-hanging-braces-alist to control the automatic newlines used for | |
6287 anonymous classes. | |
6288 | |
6289 *** Support for the Pike language added, along with new Pike specific | |
6290 syntactic symbols: inlambda, lambda-intro-cont | |
6291 | |
6292 *** Support for Java anonymous classes via new syntactic symbol | |
6293 inexpr-class. New syntactic symbol inexpr-statement for Pike | |
6294 support and gcc-style statements inside expressions. New lineup | |
6295 function c-lineup-inexpr-block. | |
6296 | |
6297 *** New syntactic symbol brace-entry-open which is used in brace lists | |
6298 (i.e. static initializers) when a list entry starts with an open | |
6299 brace. These used to be recognized as brace-list-entry's. | |
6300 c-electric-brace also recognizes brace-entry-open braces | |
6301 (brace-list-entry's can no longer be electrified). | |
6302 | |
6303 *** New command c-indent-line-or-region, not bound by default. | |
6304 | |
6305 *** `#' is only electric when typed in the indentation of a line. | |
6306 | |
6307 *** Parentheses are now electric (via the new command c-electric-paren) | |
6308 for auto-reindenting lines when parens are typed. | |
6309 | |
6310 *** In "gnu" style, inline-open offset is now set to zero. | |
6311 | |
6312 *** Uniform handling of the inclass syntactic symbol. The indentation | |
6313 associated with it is now always relative to the class opening brace. | |
6314 This means that the indentation behavior has changed in some | |
6315 circumstances, but only if you've put anything besides 0 on the | |
6316 class-open syntactic symbol (none of the default styles do that). | |
6317 | |
6318 ** Gnus changes. | |
6319 | |
6320 *** New functionality for using Gnus as an offline newsreader has been | |
6321 added. A plethora of new commands and modes have been added. See the | |
6322 Gnus manual for the full story. | |
6323 | |
6324 *** The nndraft backend has returned, but works differently than | |
6325 before. All Message buffers are now also articles in the nndraft | |
6326 group, which is created automatically. | |
6327 | |
6328 *** `gnus-alter-header-function' can now be used to alter header | |
6329 values. | |
6330 | |
6331 *** `gnus-summary-goto-article' now accept Message-ID's. | |
6332 | |
6333 *** A new Message command for deleting text in the body of a message | |
6334 outside the region: `C-c C-v'. | |
6335 | |
6336 *** You can now post to component group in nnvirtual groups with | |
6337 `C-u C-c C-c'. | |
6338 | |
6339 *** `nntp-rlogin-program' -- new variable to ease customization. | |
6340 | |
6341 *** `C-u C-c C-c' in `gnus-article-edit-mode' will now inhibit | |
6342 re-highlighting of the article buffer. | |
6343 | |
6344 *** New element in `gnus-boring-article-headers' -- `long-to'. | |
6345 | |
6346 *** `M-i' symbolic prefix command. See the section "Symbolic | |
6347 Prefixes" in the Gnus manual for details. | |
6348 | |
6349 *** `L' and `I' in the summary buffer now take the symbolic prefix | |
6350 `a' to add the score rule to the "all.SCORE" file. | |
6351 | |
6352 *** `gnus-simplify-subject-functions' variable to allow greater | |
6353 control over simplification. | |
6354 | |
6355 *** `A T' -- new command for fetching the current thread. | |
6356 | |
6357 *** `/ T' -- new command for including the current thread in the | |
6358 limit. | |
6359 | |
6360 *** `M-RET' is a new Message command for breaking cited text. | |
6361 | |
6362 *** \\1-expressions are now valid in `nnmail-split-methods'. | |
6363 | |
6364 *** The `custom-face-lookup' function has been removed. | |
6365 If you used this function in your initialization files, you must | |
6366 rewrite them to use `face-spec-set' instead. | |
6367 | |
35680 | 6368 *** Canceling now uses the current select method. Symbolic prefix |
30922 | 6369 `a' forces normal posting method. |
6370 | |
6371 *** New command to translate M******** sm*rtq**t*s into proper text | |
6372 -- `W d'. | |
6373 | |
6374 *** For easier debugging of nntp, you can set `nntp-record-commands' | |
6375 to a non-nil value. | |
6376 | |
6377 *** nntp now uses ~/.authinfo, a .netrc-like file, for controlling | |
6378 where and how to send AUTHINFO to NNTP servers. | |
6379 | |
6380 *** A command for editing group parameters from the summary buffer | |
6381 has been added. | |
6382 | |
6383 *** A history of where mails have been split is available. | |
6384 | |
6385 *** A new article date command has been added -- `article-date-iso8601'. | |
6386 | |
6387 *** Subjects can be simplified when threading by setting | |
6388 `gnus-score-thread-simplify'. | |
6389 | |
6390 *** A new function for citing in Message has been added -- | |
6391 `message-cite-original-without-signature'. | |
6392 | |
6393 *** `article-strip-all-blank-lines' -- new article command. | |
6394 | |
6395 *** A new Message command to kill to the end of the article has | |
6396 been added. | |
6397 | |
6398 *** A minimum adaptive score can be specified by using the | |
6399 `gnus-adaptive-word-minimum' variable. | |
6400 | |
6401 *** The "lapsed date" article header can be kept continually | |
6402 updated by the `gnus-start-date-timer' command. | |
6403 | |
6404 *** Web listserv archives can be read with the nnlistserv backend. | |
6405 | |
6406 *** Old dejanews archives can now be read by nnweb. | |
6407 | |
6408 *** `gnus-posting-styles' has been re-activated. | |
6409 | |
6410 ** Changes to TeX and LaTeX mode | |
6411 | |
6412 *** The new variable `tex-start-options-string' can be used to give | |
6413 options for the TeX run. The default value causes TeX to run in | |
6414 nonstopmode. For an interactive TeX run set it to nil or "". | |
6415 | |
6416 *** The command `tex-feed-input' sends input to the Tex Shell. In a | |
6417 TeX buffer it is bound to the keys C-RET, C-c RET, and C-c C-m (some | |
6418 of these keys may not work on all systems). For instance, if you run | |
6419 TeX interactively and if the TeX run stops because of an error, you | |
6420 can continue it without leaving the TeX buffer by typing C-RET. | |
6421 | |
6422 *** The Tex Shell Buffer is now in `compilation-shell-minor-mode'. | |
6423 All error-parsing commands of the Compilation major mode are available | |
6424 but bound to keys that don't collide with the shell. Thus you can use | |
6425 the Tex Shell for command line executions like a usual shell. | |
6426 | |
6427 *** The commands `tex-validate-region' and `tex-validate-buffer' check | |
6428 the matching of braces and $'s. The errors are listed in a *Occur* | |
6429 buffer and you can use C-c C-c or mouse-2 to go to a particular | |
6430 mismatch. | |
6431 | |
6432 ** Changes to RefTeX mode | |
6433 | |
6434 *** The table of contents buffer can now also display labels and | |
6435 file boundaries in addition to sections. Use `l', `i', and `c' keys. | |
6436 | |
6437 *** Labels derived from context (the section heading) are now | |
6438 lowercase by default. To make the label legal in LaTeX, latin-1 | |
6439 characters will lose their accent. All Mule characters will be | |
6440 removed from the label. | |
6441 | |
6442 *** The automatic display of cross reference information can also use | |
6443 a window instead of the echo area. See variable `reftex-auto-view-crossref'. | |
6444 | |
6445 *** kpsewhich can be used by RefTeX to find TeX and BibTeX files. See the | |
6446 customization group `reftex-finding-files'. | |
6447 | |
6448 *** The option `reftex-bibfile-ignore-list' has been renamed to | |
6449 `reftex-bibfile-ignore-regexps' and indeed can be fed with regular | |
6450 expressions. | |
6451 | |
6452 *** Multiple Selection buffers are now hidden buffers. | |
6453 | |
6454 ** New/deleted modes and packages | |
6455 | |
6456 *** The package snmp-mode.el provides major modes for editing SNMP and | |
6457 SNMPv2 MIBs. It has entries on `auto-mode-alist'. | |
6458 | |
6459 *** The package sql.el provides a major mode, M-x sql-mode, for | |
6460 editing SQL files, and M-x sql-interactive-mode for interacting with | |
6461 SQL interpreters. It has an entry on `auto-mode-alist'. | |
6462 | |
6463 *** M-x highlight-changes-mode provides a minor mode displaying buffer | |
6464 changes with a special face. | |
6465 | |
6466 *** ispell4.el has been deleted. It got in the way of ispell.el and | |
6467 this was hard to fix reliably. It has long been obsolete -- use | |
6468 Ispell 3.1 and ispell.el. | |
35577
db5649648a65
Replace formfeeds removed on 2001/01/22.
Dave Love <fx@gnu.org>
parents:
35567
diff
changeset
|
6469 |
30922 | 6470 * MS-DOS changes in Emacs 20.4 |
6471 | |
6472 ** Emacs compiled for MS-DOS now supports MULE features better. | |
6473 This includes support for display of all ISO 8859-N character sets, | |
6474 conversion to and from IBM codepage encoding of non-ASCII characters, | |
6475 and automatic setup of the MULE environment at startup. For details, | |
6476 check out the section `MS-DOS and MULE' in the manual. | |
6477 | |
6478 The MS-DOS installation procedure automatically configures and builds | |
6479 Emacs with input method support if it finds an unpacked Leim | |
6480 distribution when the config.bat script is run. | |
6481 | |
6482 ** Formerly, the value of lpr-command did not affect printing on | |
6483 MS-DOS unless print-region-function was set to nil, but now it | |
6484 controls whether an external program is invoked or output is written | |
6485 directly to a printer port. Similarly, in the previous version of | |
6486 Emacs, the value of ps-lpr-command did not affect PostScript printing | |
6487 on MS-DOS unless ps-printer-name was set to something other than a | |
6488 string (eg. t or `pipe'), but now it controls whether an external | |
6489 program is used. (These changes were made so that configuration of | |
6490 printing variables would be almost identical across all platforms.) | |
6491 | |
6492 ** In the previous version of Emacs, PostScript and non-PostScript | |
6493 output was piped to external programs, but because most print programs | |
6494 available for MS-DOS and MS-Windows cannot read data from their standard | |
6495 input, on those systems the data to be output is now written to a | |
6496 temporary file whose name is passed as the last argument to the external | |
6497 program. | |
6498 | |
6499 An exception is made for `print', a standard program on Windows NT, | |
6500 and `nprint', a standard program on Novell Netware. For both of these | |
6501 programs, the command line is constructed in the appropriate syntax | |
6502 automatically, using only the value of printer-name or ps-printer-name | |
6503 as appropriate--the value of the relevant `-switches' variable is | |
6504 ignored, as both programs have no useful switches. | |
6505 | |
6506 ** The value of the variable dos-printer (cf. dos-ps-printer), if it has | |
6507 a value, overrides the value of printer-name (cf. ps-printer-name), on | |
6508 MS-DOS and MS-Windows only. This has been true since version 20.3, but | |
6509 was not documented clearly before. | |
6510 | |
6511 ** All the Emacs games now work on MS-DOS terminals. | |
6512 This includes Tetris and Snake. | |
35577
db5649648a65
Replace formfeeds removed on 2001/01/22.
Dave Love <fx@gnu.org>
parents:
35567
diff
changeset
|
6513 |
30922 | 6514 * Lisp changes in Emacs 20.4 |
6515 | |
6516 ** New functions line-beginning-position and line-end-position | |
6517 return the position of the beginning or end of the current line. | |
6518 They both accept an optional argument, which has the same | |
6519 meaning as the argument to beginning-of-line or end-of-line. | |
6520 | |
6521 ** find-file and allied functions now have an optional argument | |
6522 WILDCARD. If this is non-nil, they do wildcard processing, | |
6523 and visit all files that match the wildcard pattern. | |
6524 | |
6525 ** Changes in the file-attributes function. | |
6526 | |
6527 *** The file size returned by file-attributes may be an integer or a float. | |
6528 It is an integer if the size fits in a Lisp integer, float otherwise. | |
6529 | |
6530 *** The inode number returned by file-attributes may be an integer (if | |
6531 the number fits in a Lisp integer) or a cons cell containing two | |
6532 integers. | |
6533 | |
6534 ** The new function directory-files-and-attributes returns a list of | |
6535 files in a directory and their attributes. It accepts the same | |
6536 arguments as directory-files and has similar semantics, except that | |
6537 file names and attributes are returned. | |
6538 | |
6539 ** The new function file-attributes-lessp is a helper function for | |
6540 sorting the list generated by directory-files-and-attributes. It | |
35680 | 6541 accepts two arguments, each a list of a file name and its attributes. |
30922 | 6542 It compares the file names of each according to string-lessp and |
6543 returns the result. | |
6544 | |
6545 ** The new function file-expand-wildcards expands a wildcard-pattern | |
6546 to produce a list of existing files that match the pattern. | |
6547 | |
6548 ** New functions for base64 conversion: | |
6549 | |
6550 The function base64-encode-region converts a part of the buffer | |
6551 into the base64 code used in MIME. base64-decode-region | |
6552 performs the opposite conversion. Line-breaking is supported | |
6553 optionally. | |
6554 | |
6555 Functions base64-encode-string and base64-decode-string do a similar | |
6556 job on the text in a string. They return the value as a new string. | |
6557 | |
6558 ** | |
6559 The new function process-running-child-p | |
6560 will tell you if a subprocess has given control of its | |
6561 terminal to its own child process. | |
6562 | |
6563 ** interrupt-process and such functions have a new feature: | |
6564 when the second argument is `lambda', they send a signal | |
6565 to the running child of the subshell, if any, but if the shell | |
6566 itself owns its terminal, no signal is sent. | |
6567 | |
6568 ** There are new widget types `plist' and `alist' which can | |
6569 be used for customizing variables whose values are plists or alists. | |
6570 | |
42974 | 6571 ** easymenu.el now understands `:key-sequence' and `:style button'. |
30922 | 6572 :included is an alias for :visible. |
6573 | |
6574 easy-menu-add-item now understands the values returned by | |
6575 easy-menu-remove-item and easy-menu-item-present-p. This can be used | |
6576 to move or copy menu entries. | |
6577 | |
6578 ** Multibyte editing changes | |
6579 | |
6580 *** The definitions of sref and char-bytes are changed. Now, sref is | |
6581 an alias of aref and char-bytes always returns 1. This change is to | |
6582 make some Emacs Lisp code which works on 20.2 and earlier also | |
6583 work on the latest Emacs. Such code uses a combination of sref and | |
6584 char-bytes in a loop typically as below: | |
6585 (setq char (sref str idx) | |
6586 idx (+ idx (char-bytes idx))) | |
6587 The byte-compiler now warns that this is obsolete. | |
6588 | |
6589 If you want to know how many bytes a specific multibyte character | |
6590 (say, CH) occupies in a multibyte buffer, use this code: | |
6591 (charset-bytes (char-charset ch)) | |
6592 | |
6593 *** In multibyte mode, when you narrow a buffer to some region, and the | |
6594 region is preceded or followed by non-ASCII codes, inserting or | |
6595 deleting at the head or the end of the region may signal this error: | |
6596 | |
35680 | 6597 Byte combining across boundary of accessible buffer text inhibited |
30922 | 6598 |
6599 This is to avoid some bytes being combined together into a character | |
6600 across the boundary. | |
6601 | |
6602 *** The functions find-charset-region and find-charset-string include | |
6603 `unknown' in the returned list in the following cases: | |
6604 o The current buffer or the target string is unibyte and | |
6605 contains 8-bit characters. | |
6606 o The current buffer or the target string is multibyte and | |
6607 contains invalid characters. | |
6608 | |
6609 *** The functions decode-coding-region and encode-coding-region remove | |
6610 text properties of the target region. Ideally, they should correctly | |
6611 preserve text properties, but for the moment, it's hard. Removing | |
6612 text properties is better than preserving them in a less-than-correct | |
6613 way. | |
6614 | |
6615 *** prefer-coding-system sets EOL conversion of default coding systems. | |
6616 If the argument to prefer-coding-system specifies a certain type of | |
6617 end of line conversion, the default coding systems set by | |
6618 prefer-coding-system will specify that conversion type for end of line. | |
6619 | |
6620 *** The new function thai-compose-string can be used to properly | |
6621 compose Thai characters in a string. | |
6622 | |
6623 ** The primitive `define-prefix-command' now takes an optional third | |
6624 argument NAME, which should be a string. It supplies the menu name | |
6625 for the created keymap. Keymaps created in order to be displayed as | |
6626 menus should always use the third argument. | |
6627 | |
6628 ** The meanings of optional second arguments for read-char, | |
6629 read-event, and read-char-exclusive are flipped. Now the second | |
6630 arguments are INHERIT-INPUT-METHOD. These functions use the current | |
6631 input method (if any) if and only if INHERIT-INPUT-METHOD is non-nil. | |
6632 | |
6633 ** The new function clear-this-command-keys empties out the contents | |
6634 of the vector that (this-command-keys) returns. This is useful in | |
6635 programs that read passwords, to prevent the passwords from echoing | |
6636 inadvertently as part of the next command in certain cases. | |
6637 | |
6638 ** The new macro `with-temp-message' displays a temporary message in | |
6639 the echo area, while executing some Lisp code. Like `progn', it | |
6640 returns the value of the last form, but it also restores the previous | |
6641 echo area contents. | |
6642 | |
6643 (with-temp-message MESSAGE &rest BODY) | |
6644 | |
6645 ** The function `require' now takes an optional third argument | |
6646 NOERROR. If it is non-nil, then there is no error if the | |
6647 requested feature cannot be loaded. | |
6648 | |
6649 ** In the function modify-face, an argument of (nil) for the | |
6650 foreground color, background color or stipple pattern | |
6651 means to clear out that attribute. | |
6652 | |
6653 ** The `outer-window-id' frame property of an X frame | |
6654 gives the window number of the outermost X window for the frame. | |
6655 | |
6656 ** Temporary buffers made with with-output-to-temp-buffer are now | |
6657 read-only by default, and normally use the major mode Help mode | |
6658 unless you put them in some other non-Fundamental mode before the | |
6659 end of with-output-to-temp-buffer. | |
6660 | |
6661 ** The new functions gap-position and gap-size return information on | |
6662 the gap of the current buffer. | |
6663 | |
6664 ** The new functions position-bytes and byte-to-position provide a way | |
6665 to convert between character positions and byte positions in the | |
6666 current buffer. | |
6667 | |
6668 ** vc.el defines two new macros, `edit-vc-file' and `with-vc-file', to | |
6669 facilitate working with version-controlled files from Lisp programs. | |
6670 These macros check out a given file automatically if needed, and check | |
6671 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
|
6672 |
30922 | 6673 * Installation Changes in Emacs 20.3 |
6674 | |
6675 ** The default value of load-path now includes most subdirectories of | |
6676 the site-specific directories /usr/local/share/emacs/site-lisp and | |
6677 /usr/local/share/emacs/VERSION/site-lisp, in addition to those | |
6678 directories themselves. Both immediate subdirectories and | |
6679 subdirectories multiple levels down are added to load-path. | |
6680 | |
6681 Not all subdirectories are included, though. Subdirectories whose | |
6682 names do not start with a letter or digit are excluded. | |
6683 Subdirectories named RCS or CVS are excluded. Also, a subdirectory | |
6684 which contains a file named `.nosearch' is excluded. You can use | |
6685 these methods to prevent certain subdirectories from being searched. | |
6686 | |
6687 Emacs finds these subdirectories and adds them to load-path when it | |
6688 starts up. While it would be cleaner to find the subdirectories each | |
6689 time Emacs loads a file, that would be much slower. | |
6690 | |
6691 This feature is an incompatible change. If you have stored some Emacs | |
6692 Lisp files in a subdirectory of the site-lisp directory specifically | |
6693 to prevent them from being used, you will need to rename the | |
6694 subdirectory to start with a non-alphanumeric character, or create a | |
6695 `.nosearch' file in it, in order to continue to achieve the desired | |
6696 results. | |
6697 | |
6698 ** Emacs no longer includes an old version of the C preprocessor from | |
6699 GCC. This was formerly used to help compile Emacs with C compilers | |
6700 that had limits on the significant length of an identifier, but in | |
6701 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
|
6702 |
30922 | 6703 * Changes in Emacs 20.3 |
6704 | |
6705 ** The new command C-x z (repeat) repeats the previous command | |
6706 including its argument. If you repeat the z afterward, | |
6707 it repeats the command additional times; thus, you can | |
6708 perform many repetitions with one keystroke per repetition. | |
6709 | |
6710 ** Emacs now supports "selective undo" which undoes only within a | |
6711 specified region. To do this, set point and mark around the desired | |
6712 region and type C-u C-x u (or C-u C-_). You can then continue undoing | |
6713 further, within the same region, by repeating the ordinary undo | |
6714 command C-x u or C-_. This will keep undoing changes that were made | |
6715 within the region you originally specified, until either all of them | |
6716 are undone, or it encounters a change which crosses the edge of that | |
6717 region. | |
6718 | |
6719 In Transient Mark mode, undoing when a region is active requests | |
6720 selective undo. | |
6721 | |
6722 ** If you specify --unibyte when starting Emacs, then all buffers are | |
6723 unibyte, except when a Lisp program specifically creates a multibyte | |
6724 buffer. Setting the environment variable EMACS_UNIBYTE has the same | |
6725 effect. The --no-unibyte option overrides EMACS_UNIBYTE and directs | |
6726 Emacs to run normally in multibyte mode. | |
6727 | |
6728 The option --unibyte does not affect the reading of Emacs Lisp files, | |
6729 though. If you want a Lisp file to be read in unibyte mode, use | |
6730 -*-unibyte: t;-*- on its first line. That will force Emacs to | |
6731 load that file in unibyte mode, regardless of how Emacs was started. | |
6732 | |
6733 ** toggle-enable-multibyte-characters no longer has a key binding and | |
6734 no longer appears in the menu bar. We've realized that changing the | |
6735 enable-multibyte-characters variable in an existing buffer is | |
6736 something that most users not do. | |
6737 | |
6738 ** You can specify a coding system to use for the next cut or paste | |
6739 operations through the window system with the command C-x RET X. | |
6740 The coding system can make a difference for communication with other | |
6741 applications. | |
6742 | |
6743 C-x RET x specifies a coding system for all subsequent cutting and | |
6744 pasting operations. | |
6745 | |
6746 ** You can specify the printer to use for commands that do printing by | |
6747 setting the variable `printer-name'. Just what a printer name looks | |
6748 like depends on your operating system. You can specify a different | |
6749 printer for the Postscript printing commands by setting | |
6750 `ps-printer-name'. | |
6751 | |
6752 ** Emacs now supports on-the-fly spell checking by the means of a | |
6753 minor mode. It is called M-x flyspell-mode. You don't have to remember | |
6754 any other special commands to use it, and you will hardly notice it | |
6755 except when you make a spelling error. Flyspell works by highlighting | |
6756 incorrect words as soon as they are completed or as soon as the cursor | |
6757 hits a new word. | |
6758 | |
6759 Flyspell mode works with whichever dictionary you have selected for | |
6760 Ispell in Emacs. In TeX mode, it understands TeX syntax so as not | |
6761 to be confused by TeX commands. | |
6762 | |
6763 You can correct a misspelled word by editing it into something | |
6764 correct. You can also correct it, or accept it as correct, by | |
6765 clicking on the word with Mouse-2; that gives you a pop-up menu | |
6766 of various alternative replacements and actions. | |
6767 | |
6768 Flyspell mode also proposes "automatic" corrections. M-TAB replaces | |
6769 the current misspelled word with a possible correction. If several | |
6770 corrections are made possible, M-TAB cycles through them in | |
6771 alphabetical order, or in order of decreasing likelihood if | |
6772 flyspell-sort-corrections is nil. | |
6773 | |
6774 Flyspell mode also flags an error when a word is repeated, if | |
6775 flyspell-mark-duplications-flag is non-nil. | |
6776 | |
6777 ** Changes in input method usage. | |
6778 | |
6779 Now you can use arrow keys (right, left, down, up) for selecting among | |
6780 the alternatives just the same way as you do by C-f, C-b, C-n, and C-p | |
6781 respectively. | |
6782 | |
6783 You can use the ENTER key to accept the current conversion. | |
6784 | |
6785 If you type TAB to display a list of alternatives, you can select one | |
6786 of the alternatives with Mouse-2. | |
6787 | |
6788 The meaning of the variable `input-method-verbose-flag' is changed so | |
6789 that you can set it to t, nil, `default', or `complex-only'. | |
6790 | |
6791 If the value is nil, extra guidance is never given. | |
6792 | |
6793 If the value is t, extra guidance is always given. | |
6794 | |
6795 If the value is `complex-only', extra guidance is always given only | |
6796 when you are using complex input methods such as chinese-py. | |
6797 | |
6798 If the value is `default' (this is the default), extra guidance is | |
6799 given in the following case: | |
6800 o When you are using a complex input method. | |
6801 o When you are using a simple input method but not in the minibuffer. | |
6802 | |
6803 If you are using Emacs through a very slow line, setting | |
6804 input-method-verbose-flag to nil or to complex-only is a good choice, | |
6805 and if you are using an input method you are not familiar with, | |
6806 setting it to t is helpful. | |
6807 | |
6808 The old command select-input-method is now called set-input-method. | |
6809 | |
6810 In the language environment "Korean", you can use the following | |
6811 keys: | |
6812 Shift-SPC toggle-korean-input-method | |
6813 C-F9 quail-hangul-switch-symbol-ksc | |
6814 F9 quail-hangul-switch-hanja | |
6815 These key bindings are canceled when you switch to another language | |
6816 environment. | |
6817 | |
6818 ** The minibuffer history of file names now records the specified file | |
6819 names, not the entire minibuffer input. For example, if the | |
6820 minibuffer starts out with /usr/foo/, you might type in /etc/passwd to | |
6821 get | |
6822 | |
6823 /usr/foo//etc/passwd | |
6824 | |
6825 which stands for the file /etc/passwd. | |
6826 | |
6827 Formerly, this used to put /usr/foo//etc/passwd in the history list. | |
6828 Now this puts just /etc/passwd in the history list. | |
6829 | |
6830 ** If you are root, Emacs sets backup-by-copying-when-mismatch to t | |
6831 at startup, so that saving a file will be sure to preserve | |
6832 its owner and group. | |
6833 | |
6834 ** find-func.el can now also find the place of definition of Emacs | |
6835 Lisp variables in user-loaded libraries. | |
6836 | |
6837 ** C-x r t (string-rectangle) now deletes the existing rectangle | |
6838 contents before inserting the specified string on each line. | |
6839 | |
6840 ** There is a new command delete-whitespace-rectangle | |
6841 which deletes whitespace starting from a particular column | |
6842 in all the lines on a rectangle. The column is specified | |
6843 by the left edge of the rectangle. | |
6844 | |
6845 ** You can now store a number into a register with C-u NUMBER C-x r n REG, | |
6846 increment it by INC with C-u INC C-x r + REG (to increment by one, omit | |
6847 C-u INC), and insert it in the buffer with C-x r g REG. This is useful | |
6848 for writing keyboard macros. | |
6849 | |
6850 ** The new command M-x speedbar displays a frame in which directories, | |
6851 files, and tags can be displayed, manipulated, and jumped to. The | |
6852 frame defaults to 20 characters in width, and is the same height as | |
6853 the frame that it was started from. Some major modes define | |
6854 additional commands for the speedbar, including Rmail, GUD/GDB, and | |
6855 info. | |
6856 | |
6857 ** query-replace-regexp is now bound to C-M-%. | |
6858 | |
6859 ** In Transient Mark mode, when the region is active, M-x | |
6860 query-replace and the other replace commands now operate on the region | |
6861 contents only. | |
6862 | |
6863 ** M-x write-region, when used interactively, now asks for | |
6864 confirmation before overwriting an existing file. When you call | |
6865 the function from a Lisp program, a new optional argument CONFIRM | |
6866 says whether to ask for confirmation in this case. | |
6867 | |
6868 ** If you use find-file-literally and the file is already visited | |
6869 non-literally, the command asks you whether to revisit the file | |
6870 literally. If you say no, it signals an error. | |
6871 | |
6872 ** Major modes defined with the "derived mode" feature | |
6873 now use the proper name for the mode hook: WHATEVER-mode-hook. | |
6874 Formerly they used the name WHATEVER-mode-hooks, but that is | |
6875 inconsistent with Emacs conventions. | |
6876 | |
6877 ** shell-command-on-region (and shell-command) reports success or | |
6878 failure if the command produces no output. | |
6879 | |
6880 ** Set focus-follows-mouse to nil if your window system or window | |
6881 manager does not transfer focus to another window when you just move | |
6882 the mouse. | |
6883 | |
6884 ** mouse-menu-buffer-maxlen has been renamed to | |
6885 mouse-buffer-menu-maxlen to be consistent with the other related | |
6886 function and variable names. | |
6887 | |
6888 ** The new variable auto-coding-alist specifies coding systems for | |
6889 reading specific files. This has higher priority than | |
6890 file-coding-system-alist. | |
6891 | |
6892 ** If you set the variable unibyte-display-via-language-environment to | |
6893 t, then Emacs displays non-ASCII characters are displayed by | |
6894 converting them to the equivalent multibyte characters according to | |
6895 the current language environment. As a result, they are displayed | |
6896 according to the current fontset. | |
6897 | |
6898 ** C-q's handling of codes in the range 0200 through 0377 is changed. | |
6899 | |
6900 The codes in the range 0200 through 0237 are inserted as one byte of | |
6901 that code regardless of the values of nonascii-translation-table and | |
6902 nonascii-insert-offset. | |
6903 | |
6904 For the codes in the range 0240 through 0377, if | |
6905 enable-multibyte-characters is non-nil and nonascii-translation-table | |
6906 nor nonascii-insert-offset can't convert them to valid multibyte | |
6907 characters, they are converted to Latin-1 characters. | |
6908 | |
6909 ** If you try to find a file that is not read-accessible, you now get | |
6910 an error, rather than an empty buffer and a warning. | |
6911 | |
6912 ** In the minibuffer history commands M-r and M-s, an upper case | |
6913 letter in the regular expression forces case-sensitive search. | |
6914 | |
6915 ** In the *Help* buffer, cross-references to commands and variables | |
6916 are inferred and hyperlinked. Use C-h m in Help mode for the relevant | |
6917 command keys. | |
6918 | |
6919 ** M-x apropos-command, with a prefix argument, no longer looks for | |
6920 user option variables--instead it looks for noninteractive functions. | |
6921 | |
6922 Meanwhile, the command apropos-variable normally searches for | |
6923 user option variables; with a prefix argument, it looks at | |
6924 all variables that have documentation. | |
6925 | |
6926 ** When you type a long line in the minibuffer, and the minibuffer | |
6927 shows just one line, automatically scrolling works in a special way | |
6928 that shows you overlap with the previous line of text. The variable | |
6929 minibuffer-scroll-overlap controls how many characters of overlap | |
6930 it should show; the default is 20. | |
6931 | |
6932 Meanwhile, Resize Minibuffer mode is still available; in that mode, | |
6933 the minibuffer grows taller (up to a point) as needed to show the whole | |
6934 of your input. | |
6935 | |
6936 ** The new command M-x customize-changed-options lets you customize | |
6937 all the options whose meanings or default values have changed in | |
6938 recent Emacs versions. You specify a previous Emacs version number as | |
6939 argument, and the command creates a customization buffer showing all | |
6940 the customizable options which were changed since that version. | |
6941 Newly added options are included as well. | |
6942 | |
6943 If you don't specify a particular version number argument, | |
6944 then the customization buffer shows all the customizable options | |
6945 for which Emacs versions of changes are recorded. | |
6946 | |
6947 This function is also bound to the Changed Options entry in the | |
6948 Customize menu. | |
6949 | |
6950 ** When you run M-x grep with a prefix argument, it figures out | |
6951 the tag around point and puts that into the default grep command. | |
6952 | |
6953 ** The new command M-* (pop-tag-mark) pops back through a history of | |
6954 buffer positions from which M-. or other tag-finding commands were | |
6955 invoked. | |
6956 | |
6957 ** The new variable comment-padding specifies the number of spaces | |
6958 that `comment-region' will insert before the actual text of the comment. | |
6959 The default is 1. | |
6960 | |
6961 ** In Fortran mode the characters `.', `_' and `$' now have symbol | |
6962 syntax, not word syntax. Fortran mode now supports `imenu' and has | |
6963 new commands fortran-join-line (M-^) and fortran-narrow-to-subprogram | |
6964 (C-x n d). M-q can be used to fill a statement or comment block | |
6965 sensibly. | |
6966 | |
6967 ** GUD now supports jdb, the Java debugger, and pdb, the Python debugger. | |
6968 | |
6969 ** If you set the variable add-log-keep-changes-together to a non-nil | |
6970 value, the command `C-x 4 a' will automatically notice when you make | |
6971 two entries in one day for one file, and combine them. | |
6972 | |
6973 ** You can use the command M-x diary-mail-entries to mail yourself a | |
6974 reminder about upcoming diary entries. See the documentation string | |
6975 for a sample shell script for calling this function automatically | |
6976 every night. | |
6977 | |
6978 ** Desktop changes | |
6979 | |
6980 *** All you need to do to enable use of the Desktop package, is to set | |
6981 the variable desktop-enable to t with Custom. | |
6982 | |
6983 *** Minor modes are now restored. Which minor modes are restored | |
6984 and how modes are restored is controlled by `desktop-minor-mode-table'. | |
6985 | |
6986 ** There is no need to do anything special, now, to enable Gnus to | |
6987 read and post multi-lingual articles. | |
6988 | |
6989 ** Outline mode has now support for showing hidden outlines when | |
6990 doing an isearch. In order for this to happen search-invisible should | |
6991 be set to open (the default). If an isearch match is inside a hidden | |
6992 outline the outline is made visible. If you continue pressing C-s and | |
6993 the match moves outside the formerly invisible outline, the outline is | |
6994 made invisible again. | |
6995 | |
6996 ** Mail reading and sending changes | |
6997 | |
6998 *** The Rmail e command now switches to displaying the whole header of | |
6999 the message before it lets you edit the message. This is so that any | |
7000 changes you make in the header will not be lost if you subsequently | |
7001 toggle. | |
7002 | |
7003 *** The w command in Rmail, which writes the message body into a file, | |
7004 now works in the summary buffer as well. (The command to delete the | |
7005 summary buffer is now Q.) The default file name for the w command, if | |
7006 the message has no subject, is stored in the variable | |
7007 rmail-default-body-file. | |
7008 | |
7009 *** Most of the commands and modes that operate on mail and netnews no | |
7010 longer depend on the value of mail-header-separator. Instead, they | |
7011 handle whatever separator the buffer happens to use. | |
7012 | |
7013 *** If you set mail-signature to a value which is not t, nil, or a string, | |
7014 it should be an expression. When you send a message, this expression | |
7015 is evaluated to insert the signature. | |
7016 | |
7017 *** The new Lisp library feedmail.el (version 8) enhances processing of | |
7018 outbound email messages. It works in coordination with other email | |
7019 handling packages (e.g., rmail, VM, gnus) and is responsible for | |
7020 putting final touches on messages and actually submitting them for | |
7021 transmission. Users of the emacs program "fakemail" might be | |
7022 especially interested in trying feedmail. | |
7023 | |
7024 feedmail is not enabled by default. See comments at the top of | |
7025 feedmail.el for set-up instructions. Among the bigger features | |
7026 provided by feedmail are: | |
7027 | |
7028 **** you can park outgoing messages into a disk-based queue and | |
7029 stimulate sending some or all of them later (handy for laptop users); | |
7030 there is also a queue for draft messages | |
7031 | |
7032 **** you can get one last look at the prepped outbound message and | |
7033 be prompted for confirmation | |
7034 | |
7035 **** does smart filling of address headers | |
7036 | |
7037 **** can generate a MESSAGE-ID: line and a DATE: line; the date can be | |
7038 the time the message was written or the time it is being sent; this | |
7039 can make FCC copies more closely resemble copies that recipients get | |
7040 | |
7041 **** you can specify an arbitrary function for actually transmitting | |
7042 the message; included in feedmail are interfaces for /bin/[r]mail, | |
7043 /usr/lib/sendmail, and elisp smtpmail; it's easy to write a new | |
7044 function for something else (10-20 lines of elisp) | |
7045 | |
7046 ** Dired changes | |
7047 | |
7048 *** The Dired function dired-do-toggle, which toggles marked and unmarked | |
7049 files, is now bound to "t" instead of "T". | |
7050 | |
7051 *** dired-at-point has been added to ffap.el. It allows one to easily | |
7052 run Dired on the directory name at point. | |
7053 | |
7054 *** Dired has a new command: %g. It searches the contents of | |
7055 files in the directory and marks each file that contains a match | |
7056 for a specified regexp. | |
7057 | |
7058 ** VC Changes | |
7059 | |
7060 *** New option vc-ignore-vc-files lets you turn off version control | |
7061 conveniently. | |
7062 | |
7063 *** VC Dired has been completely rewritten. It is now much | |
7064 faster, especially for CVS, and works very similar to ordinary | |
7065 Dired. | |
7066 | |
7067 VC Dired is invoked by typing C-x v d and entering the name of the | |
7068 directory to display. By default, VC Dired gives you a recursive | |
7069 listing of all files at or below the given directory which are | |
7070 currently locked (for CVS, all files not up-to-date are shown). | |
7071 | |
7072 You can change the listing format by setting vc-dired-recurse to nil, | |
7073 then it shows only the given directory, and you may also set | |
7074 vc-dired-terse-display to nil, then it shows all files under version | |
7075 control plus the names of any subdirectories, so that you can type `i' | |
7076 on such lines to insert them manually, as in ordinary Dired. | |
7077 | |
7078 All Dired commands operate normally in VC Dired, except for `v', which | |
7079 is redefined as the version control prefix. That means you may type | |
7080 `v l', `v =' etc. to invoke `vc-print-log', `vc-diff' and the like on | |
7081 the file named in the current Dired buffer line. `v v' invokes | |
7082 `vc-next-action' on this file, or on all files currently marked. | |
7083 | |
7084 The new command `v t' (vc-dired-toggle-terse-mode) allows you to | |
7085 toggle between terse display (only locked files) and full display (all | |
7086 VC files plus subdirectories). There is also a special command, | |
7087 `* l', to mark all files currently locked. | |
7088 | |
7089 Giving a prefix argument to C-x v d now does the same thing as in | |
7090 ordinary Dired: it allows you to supply additional options for the ls | |
7091 command in the minibuffer, to fine-tune VC Dired's output. | |
7092 | |
7093 *** Under CVS, if you merge changes from the repository into a working | |
7094 file, and CVS detects conflicts, VC now offers to start an ediff | |
7095 session to resolve them. | |
7096 | |
7097 Alternatively, you can use the new command `vc-resolve-conflicts' to | |
7098 resolve conflicts in a file at any time. It works in any buffer that | |
7099 contains conflict markers as generated by rcsmerge (which is what CVS | |
7100 uses as well). | |
7101 | |
7102 *** You can now transfer changes between branches, using the new | |
7103 command vc-merge (C-x v m). It is implemented for RCS and CVS. When | |
7104 you invoke it in a buffer under version-control, you can specify | |
7105 either an entire branch or a pair of versions, and the changes on that | |
7106 branch or between the two versions are merged into the working file. | |
7107 If this results in any conflicts, they may be resolved interactively, | |
7108 using ediff. | |
7109 | |
7110 ** Changes in Font Lock | |
7111 | |
7112 *** The face and variable previously known as font-lock-reference-face | |
7113 are now called font-lock-constant-face to better reflect their typical | |
7114 use for highlighting constants and labels. (Its face properties are | |
7115 unchanged.) The variable font-lock-reference-face remains for now for | |
7116 compatibility reasons, but its value is font-lock-constant-face. | |
7117 | |
7118 ** Frame name display changes | |
7119 | |
7120 *** The command set-frame-name lets you set the name of the current | |
7121 frame. You can use the new command select-frame-by-name to select and | |
7122 raise a frame; this is mostly useful on character-only terminals, or | |
7123 when many frames are invisible or iconified. | |
7124 | |
7125 *** On character-only terminal (not a window system), changing the | |
7126 frame name is now reflected on the mode line and in the Buffers/Frames | |
7127 menu. | |
7128 | |
7129 ** Comint (subshell) changes | |
7130 | |
7131 *** In Comint modes, the commands to kill, stop or interrupt a | |
7132 subjob now also kill pending input. This is for compatibility | |
7133 with ordinary shells, where the signal characters do this. | |
7134 | |
7135 *** There are new commands in Comint mode. | |
7136 | |
7137 C-c C-x fetches the "next" line from the input history; | |
7138 that is, the line after the last line you got. | |
7139 You can use this command to fetch successive lines, one by one. | |
7140 | |
7141 C-c SPC accumulates lines of input. More precisely, it arranges to | |
7142 send the current line together with the following line, when you send | |
7143 the following line. | |
7144 | |
7145 C-c C-a if repeated twice consecutively now moves to the process mark, | |
7146 which separates the pending input from the subprocess output and the | |
7147 previously sent input. | |
7148 | |
7149 C-c M-r now runs comint-previous-matching-input-from-input; | |
7150 it searches for a previous command, using the current pending input | |
7151 as the search string. | |
7152 | |
7153 *** New option compilation-scroll-output can be set to scroll | |
7154 automatically in compilation-mode windows. | |
7155 | |
7156 ** C mode changes | |
7157 | |
7158 *** Multiline macros are now handled, both as they affect indentation, | |
7159 and as recognized syntax. New syntactic symbol cpp-macro-cont is | |
7160 assigned to second and subsequent lines of a multiline macro | |
7161 definition. | |
7162 | |
7163 *** A new style "user" which captures all non-hook-ified | |
7164 (i.e. top-level) .emacs file variable settings and customizations. | |
7165 Style "cc-mode" is an alias for "user" and is deprecated. "gnu" | |
7166 style is still the default however. | |
7167 | |
7168 *** "java" style now conforms to Sun's JDK coding style. | |
7169 | |
7170 *** There are new commands c-beginning-of-defun, c-end-of-defun which | |
7171 are alternatives which you could bind to C-M-a and C-M-e if you prefer | |
7172 them. They do not have key bindings by default. | |
7173 | |
7174 *** New and improved implementations of M-a (c-beginning-of-statement) | |
7175 and M-e (c-end-of-statement). | |
7176 | |
7177 *** C++ namespace blocks are supported, with new syntactic symbols | |
7178 namespace-open, namespace-close, and innamespace. | |
7179 | |
7180 *** File local variable settings of c-file-style and c-file-offsets | |
7181 makes the style variables local to that buffer only. | |
7182 | |
7183 *** New indentation functions c-lineup-close-paren, | |
7184 c-indent-one-line-block, c-lineup-dont-change. | |
7185 | |
7186 *** Improvements (hopefully!) to the way CC Mode is loaded. You | |
7187 should now be able to do a (require 'cc-mode) to get the entire | |
7188 package loaded properly for customization in your .emacs file. A new | |
7189 variable c-initialize-on-load controls this and is t by default. | |
7190 | |
7191 ** Changes to hippie-expand. | |
7192 | |
7193 *** New customization variable `hippie-expand-dabbrev-skip-space'. If | |
7194 non-nil, trailing spaces may be included in the abbreviation to search for, | |
7195 which then gives the same behavior as the original `dabbrev-expand'. | |
7196 | |
7197 *** New customization variable `hippie-expand-dabbrev-as-symbol'. If | |
7198 non-nil, characters of syntax '_' is considered part of the word when | |
7199 expanding dynamically. | |
7200 | |
7201 *** New customization variable `hippie-expand-no-restriction'. If | |
7202 non-nil, narrowed buffers are widened before they are searched. | |
7203 | |
7204 *** New customization variable `hippie-expand-only-buffers'. If | |
7205 non-empty, buffers searched are restricted to the types specified in | |
7206 this list. Useful for example when constructing new special-purpose | |
7207 expansion functions with `make-hippie-expand-function'. | |
7208 | |
7209 *** Text properties of the expansion are no longer copied. | |
7210 | |
7211 ** Changes in BibTeX mode. | |
7212 | |
7213 *** Any titleword matching a regexp in the new variable | |
7214 bibtex-autokey-titleword-ignore (case sensitive) is ignored during | |
7215 automatic key generation. This replaces variable | |
7216 bibtex-autokey-titleword-first-ignore, which only checked for matches | |
7217 against the first word in the title. | |
7218 | |
7219 *** Autokey generation now uses all words from the title, not just | |
7220 capitalized words. To avoid conflicts with existing customizations, | |
7221 bibtex-autokey-titleword-ignore is set up such that words starting with | |
7222 lowerkey characters will still be ignored. Thus, if you want to use | |
7223 lowercase words from the title, you will have to overwrite the | |
7224 bibtex-autokey-titleword-ignore standard setting. | |
7225 | |
7226 *** Case conversion of names and title words for automatic key | |
7227 generation is more flexible. Variable bibtex-autokey-preserve-case is | |
7228 replaced by bibtex-autokey-titleword-case-convert and | |
7229 bibtex-autokey-name-case-convert. | |
7230 | |
7231 ** Changes in vcursor.el. | |
7232 | |
7233 *** Support for character terminals is available: there is a new keymap | |
7234 and the vcursor will appear as an arrow between buffer text. A | |
7235 variable `vcursor-interpret-input' allows input from the vcursor to be | |
7236 entered exactly as if typed. Numerous functions, including | |
7237 `vcursor-compare-windows', have been rewritten to improve consistency | |
7238 in the selection of windows and corresponding keymaps. | |
7239 | |
7240 *** vcursor options can now be altered with M-x customize under the | |
7241 Editing group once the package is loaded. | |
7242 | |
7243 *** Loading vcursor now does not define keys by default, as this is | |
7244 generally a bad side effect. Use M-x customize to set | |
35680 | 7245 vcursor-key-bindings to t to restore the old behavior. |
30922 | 7246 |
7247 *** vcursor-auto-disable can be `copy', which turns off copying from the | |
7248 vcursor, but doesn't disable it, after any non-vcursor command. | |
7249 | |
7250 ** Ispell changes. | |
7251 | |
7252 *** You can now spell check comments and strings in the current | |
7253 buffer with M-x ispell-comments-and-strings. Comments and strings | |
7254 are identified by syntax tables in effect. | |
7255 | |
7256 *** Generic region skipping implemented. | |
7257 A single buffer can be broken into a number of regions where text will | |
7258 and will not be checked. The definitions of the regions can be user | |
7259 defined. New applications and improvements made available by this | |
7260 include: | |
7261 | |
7262 o URLs are automatically skipped | |
7263 o EMail message checking is vastly improved. | |
7264 | |
7265 *** Ispell can highlight the erroneous word even on non-window terminals. | |
7266 | |
7267 ** Changes to RefTeX mode | |
7268 | |
7269 RefTeX has been updated in order to make it more usable with very | |
7270 large projects (like a several volume math book). The parser has been | |
7271 re-written from scratch. To get maximum speed from RefTeX, check the | |
7272 section `Optimizations' in the manual. | |
7273 | |
7274 *** New recursive parser. | |
7275 | |
7276 The old version of RefTeX created a single large buffer containing the | |
7277 entire multifile document in order to parse the document. The new | |
7278 recursive parser scans the individual files. | |
7279 | |
7280 *** Parsing only part of a document. | |
7281 | |
7282 Reparsing of changed document parts can now be made faster by enabling | |
7283 partial scans. To use this feature, read the documentation string of | |
7284 the variable `reftex-enable-partial-scans' and set the variable to t. | |
7285 | |
7286 (setq reftex-enable-partial-scans t) | |
7287 | |
7288 *** Storing parsing information in a file. | |
7289 | |
7290 This can improve startup times considerably. To turn it on, use | |
7291 | |
7292 (setq reftex-save-parse-info t) | |
7293 | |
7294 *** Using multiple selection buffers | |
7295 | |
7296 If the creation of label selection buffers is too slow (this happens | |
7297 for large documents), you can reuse these buffers by setting | |
7298 | |
7299 (setq reftex-use-multiple-selection-buffers t) | |
7300 | |
7301 *** References to external documents. | |
7302 | |
7303 The LaTeX package `xr' allows to cross-reference labels in external | |
7304 documents. RefTeX can provide information about the external | |
7305 documents as well. To use this feature, set up the \externaldocument | |
7306 macros required by the `xr' package and rescan the document with | |
7307 RefTeX. The external labels can then be accessed with the `x' key in | |
7308 the selection buffer provided by `reftex-reference' (bound to `C-c )'). | |
7309 The `x' key also works in the table of contents buffer. | |
7310 | |
7311 *** Many more labeled LaTeX environments are recognized by default. | |
7312 | |
35680 | 7313 The built-in command list now covers all the standard LaTeX commands, |
30922 | 7314 and all of the major packages included in the LaTeX distribution. |
7315 | |
7316 Also, RefTeX now understands the \appendix macro and changes | |
7317 the enumeration of sections in the *toc* buffer accordingly. | |
7318 | |
7319 *** Mouse support for selection and *toc* buffers | |
7320 | |
7321 The mouse can now be used to select items in the selection and *toc* | |
7322 buffers. See also the new option `reftex-highlight-selection'. | |
7323 | |
7324 *** New keymaps for selection and table of contents modes. | |
7325 | |
7326 The selection processes for labels and citation keys, and the table of | |
7327 contents buffer now have their own keymaps: `reftex-select-label-map', | |
7328 `reftex-select-bib-map', `reftex-toc-map'. The selection processes | |
7329 have a number of new keys predefined. In particular, TAB lets you | |
7330 enter a label with completion. Check the on-the-fly help (press `?' | |
7331 at the selection prompt) or read the Info documentation to find out | |
7332 more. | |
7333 | |
7334 *** Support for the varioref package | |
7335 | |
7336 The `v' key in the label selection buffer toggles \ref versus \vref. | |
7337 | |
7338 *** New hooks | |
7339 | |
7340 Three new hooks can be used to redefine the way labels, references, | |
7341 and citations are created. These hooks are | |
7342 `reftex-format-label-function', `reftex-format-ref-function', | |
7343 `reftex-format-cite-function'. | |
7344 | |
7345 *** Citations outside LaTeX | |
7346 | |
7347 The command `reftex-citation' may also be used outside LaTeX (e.g. in | |
7348 a mail buffer). See the Info documentation for details. | |
7349 | |
7350 *** Short context is no longer fontified. | |
7351 | |
7352 The short context in the label menu no longer copies the | |
7353 fontification from the text in the buffer. If you prefer it to be | |
7354 fontified, use | |
7355 | |
7356 (setq reftex-refontify-context t) | |
7357 | |
7358 ** file-cache-minibuffer-complete now accepts a prefix argument. | |
7359 With a prefix argument, it does not try to do completion of | |
7360 the file name within its directory; it only checks for other | |
7361 directories that contain the same file name. | |
7362 | |
7363 Thus, given the file name Makefile, and assuming that a file | |
7364 Makefile.in exists in the same directory, ordinary | |
7365 file-cache-minibuffer-complete will try to complete Makefile to | |
7366 Makefile.in and will therefore never look for other directories that | |
7367 have Makefile. A prefix argument tells it not to look for longer | |
7368 names such as Makefile.in, so that instead it will look for other | |
7369 directories--just as if the name were already complete in its present | |
7370 directory. | |
7371 | |
7372 ** New modes and packages | |
7373 | |
7374 *** There is a new alternative major mode for Perl, Cperl mode. | |
7375 It has many more features than Perl mode, and some people prefer | |
7376 it, but some do not. | |
7377 | |
7378 *** There is a new major mode, M-x vhdl-mode, for editing files of VHDL | |
7379 code. | |
7380 | |
7381 *** M-x which-function-mode enables a minor mode that displays the | |
7382 current function name continuously in the mode line, as you move | |
7383 around in a buffer. | |
7384 | |
7385 Which Function mode is effective in major modes which support Imenu. | |
7386 | |
7387 *** Gametree is a major mode for editing game analysis trees. The author | |
7388 uses it for keeping notes about his postal Chess games, but it should | |
7389 be helpful for other two-player games as well, as long as they have an | |
7390 established system of notation similar to Chess. | |
7391 | |
7392 *** The new minor mode checkdoc-minor-mode provides Emacs Lisp | |
7393 documentation string checking for style and spelling. The style | |
7394 guidelines are found in the Emacs Lisp programming manual. | |
7395 | |
7396 *** The net-utils package makes some common networking features | |
7397 available in Emacs. Some of these functions are wrappers around | |
7398 system utilities (ping, nslookup, etc); others are implementations of | |
7399 simple protocols (finger, whois) in Emacs Lisp. There are also | |
7400 functions to make simple connections to TCP/IP ports for debugging and | |
7401 the like. | |
7402 | |
7403 *** highlight-changes-mode is a minor mode that uses colors to | |
7404 identify recently changed parts of the buffer text. | |
7405 | |
7406 *** The new package `midnight' lets you specify things to be done | |
7407 within Emacs at midnight--by default, kill buffers that you have not | |
7408 used in a considerable time. To use this feature, customize | |
7409 the user option `midnight-mode' to t. | |
7410 | |
7411 *** The file generic-x.el defines a number of simple major modes. | |
7412 | |
7413 apache-generic-mode: For Apache and NCSA httpd configuration files | |
7414 samba-generic-mode: Samba configuration files | |
7415 fvwm-generic-mode: For fvwm initialization files | |
7416 x-resource-generic-mode: For X resource files | |
7417 hosts-generic-mode: For hosts files (.rhosts, /etc/hosts, etc) | |
7418 mailagent-rules-generic-mode: For mailagent .rules files | |
7419 javascript-generic-mode: For JavaScript files | |
7420 vrml-generic-mode: For VRML files | |
7421 java-manifest-generic-mode: For Java MANIFEST files | |
7422 java-properties-generic-mode: For Java property files | |
7423 mailrc-generic-mode: For .mailrc files | |
7424 | |
7425 Platform-specific modes: | |
7426 | |
7427 prototype-generic-mode: For Solaris/Sys V prototype files | |
7428 pkginfo-generic-mode: For Solaris/Sys V pkginfo files | |
7429 alias-generic-mode: For C shell alias files | |
7430 inf-generic-mode: For MS-Windows INF files | |
7431 ini-generic-mode: For MS-Windows INI files | |
7432 reg-generic-mode: For MS-Windows Registry files | |
7433 bat-generic-mode: For MS-Windows BAT scripts | |
7434 rc-generic-mode: For MS-Windows Resource files | |
7435 rul-generic-mode: For InstallShield scripts | |
35577
db5649648a65
Replace formfeeds removed on 2001/01/22.
Dave Love <fx@gnu.org>
parents:
35567
diff
changeset
|
7436 |
30922 | 7437 * Lisp changes in Emacs 20.3 since the Emacs Lisp Manual was published |
7438 | |
7439 ** If you want a Lisp file to be read in unibyte mode, | |
7440 use -*-unibyte: t;-*- on its first line. | |
7441 That will force Emacs to read that file in unibyte mode. | |
7442 Otherwise, the file will be loaded and byte-compiled in multibyte mode. | |
7443 | |
7444 Thus, each lisp file is read in a consistent way regardless of whether | |
7445 you started Emacs with --unibyte, so that a Lisp program gives | |
7446 consistent results regardless of how Emacs was started. | |
7447 | |
7448 ** The new function assoc-default is useful for searching an alist, | |
7449 and using a default value if the key is not found there. You can | |
7450 specify a comparison predicate, so this function is useful for | |
7451 searching comparing a string against an alist of regular expressions. | |
7452 | |
7453 ** The functions unibyte-char-to-multibyte and | |
7454 multibyte-char-to-unibyte convert between unibyte and multibyte | |
7455 character codes, in a way that is appropriate for the current language | |
7456 environment. | |
7457 | |
7458 ** The functions read-event, read-char and read-char-exclusive now | |
7459 take two optional arguments. PROMPT, if non-nil, specifies a prompt | |
7460 string. SUPPRESS-INPUT-METHOD, if non-nil, says to disable the | |
7461 current input method for reading this one event. | |
7462 | |
7463 ** Two new variables print-escape-nonascii and print-escape-multibyte | |
7464 now control whether to output certain characters as | |
7465 backslash-sequences. print-escape-nonascii applies to single-byte | |
7466 non-ASCII characters; print-escape-multibyte applies to multibyte | |
7467 characters. Both of these variables are used only when printing | |
7468 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
|
7469 |
30922 | 7470 * Lisp changes in Emacs 20.3 before the Emacs Lisp Manual was published |
7471 | |
7472 ** Compiled Emacs Lisp files made with the modified "MBSK" version | |
7473 of Emacs 20.2 do not work in Emacs 20.3. | |
7474 | |
7475 ** Buffer positions are now measured in characters, as they were | |
7476 in Emacs 19 and before. This means that (forward-char 1) | |
7477 always increases point by 1. | |
7478 | |
7479 The function chars-in-region now just subtracts its arguments. It is | |
7480 considered obsolete. The function char-boundary-p has been deleted. | |
7481 | |
7482 See below for additional changes relating to multibyte characters. | |
7483 | |
7484 ** defcustom, defface and defgroup now accept the keyword `:version'. | |
7485 Use this to specify in which version of Emacs a certain variable's | |
7486 default value changed. For example, | |
7487 | |
7488 (defcustom foo-max 34 "*Maximum number of foo's allowed." | |
7489 :type 'integer | |
7490 :group 'foo | |
7491 :version "20.3") | |
7492 | |
7493 (defgroup foo-group nil "The foo group." | |
7494 :version "20.3") | |
7495 | |
7496 If an entire new group is added or the variables in it have the | |
7497 default values changed, then just add a `:version' to that group. It | |
7498 is recommended that new packages added to the distribution contain a | |
7499 `:version' in the top level group. | |
7500 | |
7501 This information is used to control the customize-changed-options command. | |
7502 | |
7503 ** It is now an error to change the value of a symbol whose name | |
7504 starts with a colon--if it is interned in the standard obarray. | |
7505 | |
7506 However, setting such a symbol to its proper value, which is that | |
7507 symbol itself, is not an error. This is for the sake of programs that | |
7508 support previous Emacs versions by explicitly setting these variables | |
7509 to themselves. | |
7510 | |
7511 If you set the variable keyword-symbols-constant-flag to nil, | |
7512 this error is suppressed, and you can set these symbols to any | |
7513 values whatever. | |
7514 | |
7515 ** There is a new debugger command, R. | |
7516 It evaluates an expression like e, but saves the result | |
7517 in the buffer *Debugger-record*. | |
7518 | |
7519 ** Frame-local variables. | |
7520 | |
7521 You can now make a variable local to various frames. To do this, call | |
7522 the function make-variable-frame-local; this enables frames to have | |
7523 local bindings for that variable. | |
7524 | |
7525 These frame-local bindings are actually frame parameters: you create a | |
7526 frame-local binding in a specific frame by calling | |
7527 modify-frame-parameters and specifying the variable name as the | |
7528 parameter name. | |
7529 | |
7530 Buffer-local bindings take precedence over frame-local bindings. | |
7531 Thus, if the current buffer has a buffer-local binding, that binding is | |
7532 active; otherwise, if the selected frame has a frame-local binding, | |
7533 that binding is active; otherwise, the default binding is active. | |
7534 | |
7535 It would not be hard to implement window-local bindings, but it is not | |
7536 clear that this would be very useful; windows tend to come and go in a | |
7537 very transitory fashion, so that trying to produce any specific effect | |
7538 through a window-local binding would not be very robust. | |
7539 | |
7540 ** `sregexq' and `sregex' are two new functions for constructing | |
7541 "symbolic regular expressions." These are Lisp expressions that, when | |
7542 evaluated, yield conventional string-based regexps. The symbolic form | |
7543 makes it easier to construct, read, and maintain complex patterns. | |
7544 See the documentation in sregex.el. | |
7545 | |
7546 ** parse-partial-sexp's return value has an additional element which | |
7547 is used to pass information along if you pass it to another call to | |
7548 parse-partial-sexp, starting its scan where the first call ended. | |
7549 The contents of this field are not yet finalized. | |
7550 | |
7551 ** eval-region now accepts a fourth optional argument READ-FUNCTION. | |
7552 If it is non-nil, that function is used instead of `read'. | |
7553 | |
7554 ** unload-feature by default removes the feature's functions from | |
7555 known hooks to avoid trouble, but a package providing FEATURE can | |
7556 define a hook FEATURE-unload-hook to be run by unload-feature instead. | |
7557 | |
7558 ** read-from-minibuffer no longer returns the argument DEFAULT-VALUE | |
7559 when the user enters empty input. It now returns the null string, as | |
7560 it did in Emacs 19. The default value is made available in the | |
7561 history via M-n, but it is not applied here as a default. | |
7562 | |
7563 The other, more specialized minibuffer-reading functions continue to | |
7564 return the default value (not the null string) when the user enters | |
7565 empty input. | |
7566 | |
7567 ** The new variable read-buffer-function controls which routine to use | |
7568 for selecting buffers. For example, if you set this variable to | |
7569 `iswitchb-read-buffer', iswitchb will be used to read buffer names. | |
7570 Other functions can also be used if they accept the same arguments as | |
7571 `read-buffer' and return the selected buffer name as a string. | |
7572 | |
7573 ** The new function read-passwd reads a password from the terminal, | |
7574 echoing a period for each character typed. It takes three arguments: | |
7575 a prompt string, a flag which says "read it twice to make sure", and a | |
7576 default password to use if the user enters nothing. | |
7577 | |
7578 ** The variable fill-nobreak-predicate gives major modes a way to | |
7579 specify not to break a line at certain places. Its value is a | |
7580 function which is called with no arguments, with point located at the | |
7581 place where a break is being considered. If the function returns | |
7582 non-nil, then the line won't be broken there. | |
7583 | |
7584 ** window-end now takes an optional second argument, UPDATE. | |
7585 If this is non-nil, then the function always returns an accurate | |
7586 up-to-date value for the buffer position corresponding to the | |
7587 end of the window, even if this requires computation. | |
7588 | |
7589 ** other-buffer now takes an optional argument FRAME | |
7590 which specifies which frame's buffer list to use. | |
7591 If it is nil, that means use the selected frame's buffer list. | |
7592 | |
7593 ** The new variable buffer-display-time, always local in every buffer, | |
7594 holds the value of (current-time) as of the last time that a window | |
7595 was directed to display this buffer. | |
7596 | |
7597 ** It is now meaningful to compare two window-configuration objects | |
7598 with `equal'. Two window-configuration objects are equal if they | |
7599 describe equivalent arrangements of windows, in the same frame--in | |
7600 other words, if they would give the same results if passed to | |
7601 set-window-configuration. | |
7602 | |
7603 ** compare-window-configurations is a new function that compares two | |
7604 window configurations loosely. It ignores differences in saved buffer | |
7605 positions and scrolling, and considers only the structure and sizes of | |
7606 windows and the choice of buffers to display. | |
7607 | |
7608 ** The variable minor-mode-overriding-map-alist allows major modes to | |
7609 override the key bindings of a minor mode. The elements of this alist | |
7610 look like the elements of minor-mode-map-alist: (VARIABLE . KEYMAP). | |
7611 | |
7612 If the VARIABLE in an element of minor-mode-overriding-map-alist has a | |
7613 non-nil value, the paired KEYMAP is active, and totally overrides the | |
7614 map (if any) specified for the same variable in minor-mode-map-alist. | |
7615 | |
7616 minor-mode-overriding-map-alist is automatically local in all buffers, | |
7617 and it is meant to be set by major modes. | |
7618 | |
7619 ** The function match-string-no-properties is like match-string | |
7620 except that it discards all text properties from the result. | |
7621 | |
7622 ** The function load-average now accepts an optional argument | |
7623 USE-FLOATS. If it is non-nil, the load average values are returned as | |
7624 floating point numbers, rather than as integers to be divided by 100. | |
7625 | |
7626 ** The new variable temporary-file-directory specifies the directory | |
7627 to use for creating temporary files. The default value is determined | |
7628 in a reasonable way for your operating system; on GNU and Unix systems | |
7629 it is based on the TMP and TMPDIR environment variables. | |
7630 | |
7631 ** Menu changes | |
7632 | |
7633 *** easymenu.el now uses the new menu item format and supports the | |
7634 keywords :visible and :filter. The existing keyword :keys is now | |
7635 better supported. | |
7636 | |
7637 The variable `easy-menu-precalculate-equivalent-keybindings' controls | |
7638 a new feature which calculates keyboard equivalents for the menu when | |
7639 you define the menu. The default is t. If you rarely use menus, you | |
7640 can set the variable to nil to disable this precalculation feature; | |
7641 then the calculation is done only if you use the menu bar. | |
7642 | |
7643 *** A new format for menu items is supported. | |
7644 | |
7645 In a keymap, a key binding that has the format | |
7646 (STRING . REAL-BINDING) or (STRING HELP-STRING . REAL-BINDING) | |
7647 defines a menu item. Now a menu item definition may also be a list that | |
7648 starts with the symbol `menu-item'. | |
7649 | |
7650 The format is: | |
7651 (menu-item ITEM-NAME) or | |
7652 (menu-item ITEM-NAME REAL-BINDING . ITEM-PROPERTY-LIST) | |
7653 where ITEM-NAME is an expression which evaluates to the menu item | |
7654 string, and ITEM-PROPERTY-LIST has the form of a property list. | |
7655 The supported properties include | |
7656 | |
7657 :enable FORM Evaluate FORM to determine whether the | |
7658 item is enabled. | |
7659 :visible FORM Evaluate FORM to determine whether the | |
7660 item should appear in the menu. | |
7661 :filter FILTER-FN | |
7662 FILTER-FN is a function of one argument, | |
7663 which will be REAL-BINDING. | |
7664 It should return a binding to use instead. | |
7665 :keys DESCRIPTION | |
7666 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
|
7667 binding for REAL-BINDING. DESCRIPTION is expanded with |
30922 | 7668 `substitute-command-keys' before it is used. |
7669 :key-sequence KEY-SEQUENCE | |
7670 KEY-SEQUENCE is a key-sequence for an equivalent | |
7671 keyboard binding. | |
7672 :key-sequence nil | |
7673 This means that the command normally has no | |
7674 keyboard equivalent. | |
7675 :help HELP HELP is the extra help string (not currently used). | |
7676 :button (TYPE . SELECTED) | |
7677 TYPE is :toggle or :radio. | |
7678 SELECTED is a form, to be evaluated, and its | |
7679 value says whether this button is currently selected. | |
7680 | |
7681 Buttons are at the moment only simulated by prefixes in the menu. | |
7682 Eventually ordinary X-buttons may be supported. | |
7683 | |
7684 (menu-item ITEM-NAME) defines unselectable item. | |
7685 | |
7686 ** New event types | |
7687 | |
7688 *** The new event type `mouse-wheel' is generated by a wheel on a | |
7689 mouse (such as the MS Intellimouse). The event contains a delta that | |
7690 corresponds to the amount and direction that the wheel is rotated, | |
7691 which is typically used to implement a scroll or zoom. The format is: | |
7692 | |
7693 (mouse-wheel POSITION DELTA) | |
7694 | |
7695 where POSITION is a list describing the position of the event in the | |
7696 same format as a mouse-click event, and DELTA is a signed number | |
7697 indicating the number of increments by which the wheel was rotated. A | |
7698 negative DELTA indicates that the wheel was rotated backwards, towards | |
7699 the user, and a positive DELTA indicates that the wheel was rotated | |
7700 forward, away from the user. | |
7701 | |
7702 As of now, this event type is generated only on MS Windows. | |
7703 | |
7704 *** The new event type `drag-n-drop' is generated when a group of | |
7705 files is selected in an application outside of Emacs, and then dragged | |
7706 and dropped onto an Emacs frame. The event contains a list of | |
7707 filenames that were dragged and dropped, which are then typically | |
7708 loaded into Emacs. The format is: | |
7709 | |
7710 (drag-n-drop POSITION FILES) | |
7711 | |
7712 where POSITION is a list describing the position of the event in the | |
7713 same format as a mouse-click event, and FILES is the list of filenames | |
7714 that were dragged and dropped. | |
7715 | |
7716 As of now, this event type is generated only on MS Windows. | |
7717 | |
7718 ** Changes relating to multibyte characters. | |
7719 | |
7720 *** The variable enable-multibyte-characters is now read-only; | |
7721 any attempt to set it directly signals an error. The only way | |
7722 to change this value in an existing buffer is with set-buffer-multibyte. | |
7723 | |
7724 *** In a string constant, `\ ' now stands for "nothing at all". You | |
7725 can use it to terminate a hex escape which is followed by a character | |
7726 that could otherwise be read as part of the hex escape. | |
7727 | |
7728 *** String indices are now measured in characters, as they were | |
7729 in Emacs 19 and before. | |
7730 | |
7731 The function chars-in-string has been deleted. | |
7732 The function concat-chars has been renamed to `string'. | |
7733 | |
7734 *** The function set-buffer-multibyte sets the flag in the current | |
7735 buffer that says whether the buffer uses multibyte representation or | |
7736 unibyte representation. If the argument is nil, it selects unibyte | |
7737 representation. Otherwise it selects multibyte representation. | |
7738 | |
7739 This function does not change the contents of the buffer, viewed | |
7740 as a sequence of bytes. However, it does change the contents | |
7741 viewed as characters; a sequence of two bytes which is treated as | |
7742 one character when the buffer uses multibyte representation | |
7743 will count as two characters using unibyte representation. | |
7744 | |
7745 This function sets enable-multibyte-characters to record which | |
7746 representation is in use. It also adjusts various data in the buffer | |
7747 (including its markers, overlays and text properties) so that they are | |
7748 consistent with the new representation. | |
7749 | |
7750 *** string-make-multibyte takes a string and converts it to multibyte | |
7751 representation. Most of the time, you don't need to care | |
7752 about the representation, because Emacs converts when necessary; | |
7753 however, it makes a difference when you compare strings. | |
7754 | |
7755 The conversion of non-ASCII characters works by adding the value of | |
7756 nonascii-insert-offset to each character, or by translating them | |
7757 using the table nonascii-translation-table. | |
7758 | |
7759 *** string-make-unibyte takes a string and converts it to unibyte | |
7760 representation. Most of the time, you don't need to care about the | |
7761 representation, but it makes a difference when you compare strings. | |
7762 | |
7763 The conversion from multibyte to unibyte representation | |
7764 loses information; the only time Emacs performs it automatically | |
7765 is when inserting a multibyte string into a unibyte buffer. | |
7766 | |
7767 *** string-as-multibyte takes a string, and returns another string | |
7768 which contains the same bytes, but treats them as multibyte. | |
7769 | |
7770 *** string-as-unibyte takes a string, and returns another string | |
7771 which contains the same bytes, but treats them as unibyte. | |
7772 | |
7773 *** The new function compare-strings lets you compare | |
7774 portions of two strings. Unibyte strings are converted to multibyte, | |
7775 so that a unibyte string can match a multibyte string. | |
7776 You can specify whether to ignore case or not. | |
7777 | |
7778 *** assoc-ignore-case now uses compare-strings so that | |
7779 it can treat unibyte and multibyte strings as equal. | |
7780 | |
7781 *** Regular expression operations and buffer string searches now | |
7782 convert the search pattern to multibyte or unibyte to accord with the | |
7783 buffer or string being searched. | |
7784 | |
7785 One consequence is that you cannot always use \200-\377 inside of | |
7786 [...] to match all non-ASCII characters. This does still work when | |
7787 searching or matching a unibyte buffer or string, but not when | |
7788 searching or matching a multibyte string. Unfortunately, there is no | |
7789 obvious choice of syntax to use within [...] for that job. But, what | |
7790 you want is just to match all non-ASCII characters, the regular | |
7791 expression [^\0-\177] works for it. | |
7792 | |
7793 *** Structure of coding system changed. | |
7794 | |
7795 All coding systems (including aliases and subsidiaries) are named | |
7796 by symbols; the symbol's `coding-system' property is a vector | |
7797 which defines the coding system. Aliases share the same vector | |
7798 as the principal name, so that altering the contents of this | |
7799 vector affects the principal name and its aliases. You can define | |
7800 your own alias name of a coding system by the function | |
7801 define-coding-system-alias. | |
7802 | |
7803 The coding system definition includes a property list of its own. Use | |
7804 the new functions `coding-system-get' and `coding-system-put' to | |
7805 access such coding system properties as post-read-conversion, | |
7806 pre-write-conversion, character-translation-table-for-decode, | |
7807 character-translation-table-for-encode, mime-charset, and | |
7808 safe-charsets. For instance, (coding-system-get 'iso-latin-1 | |
7809 'mime-charset) gives the corresponding MIME-charset parameter | |
7810 `iso-8859-1'. | |
7811 | |
7812 Among the coding system properties listed above, safe-charsets is new. | |
7813 The value of this property is a list of character sets which this | |
7814 coding system can correctly encode and decode. For instance: | |
7815 (coding-system-get 'iso-latin-1 'safe-charsets) => (ascii latin-iso8859-1) | |
7816 | |
7817 Here, "correctly encode" means that the encoded character sets can | |
7818 also be handled safely by systems other than Emacs as far as they | |
7819 are capable of that coding system. Though, Emacs itself can encode | |
7820 the other character sets and read it back correctly. | |
7821 | |
7822 *** The new function select-safe-coding-system can be used to find a | |
7823 proper coding system for encoding the specified region or string. | |
7824 This function requires a user interaction. | |
7825 | |
7826 *** The new functions find-coding-systems-region and | |
7827 find-coding-systems-string are helper functions used by | |
7828 select-safe-coding-system. They return a list of all proper coding | |
7829 systems to encode a text in some region or string. If you don't want | |
7830 a user interaction, use one of these functions instead of | |
7831 select-safe-coding-system. | |
7832 | |
7833 *** The explicit encoding and decoding functions, such as | |
7834 decode-coding-region and encode-coding-string, now set | |
7835 last-coding-system-used to reflect the actual way encoding or decoding | |
7836 was done. | |
7837 | |
7838 *** The new function detect-coding-with-language-environment can be | |
7839 used to detect a coding system of text according to priorities of | |
7840 coding systems used by some specific language environment. | |
7841 | |
7842 *** The functions detect-coding-region and detect-coding-string always | |
7843 return a list if the arg HIGHEST is nil. Thus, if only ASCII | |
7844 characters are found, they now return a list of single element | |
7845 `undecided' or its subsidiaries. | |
7846 | |
7847 *** The new functions coding-system-change-eol-conversion and | |
7848 coding-system-change-text-conversion can be used to get a different | |
7849 coding system than what specified only in how end-of-line or text is | |
7850 converted. | |
7851 | |
7852 *** The new function set-selection-coding-system can be used to set a | |
7853 coding system for communicating with other X clients. | |
7854 | |
7855 *** The function `map-char-table' now passes as argument only valid | |
7856 character codes, plus generic characters that stand for entire | |
7857 character sets or entire subrows of a character set. In other words, | |
7858 each time `map-char-table' calls its FUNCTION argument, the key value | |
7859 either will be a valid individual character code, or will stand for a | |
7860 range of characters. | |
7861 | |
7862 *** The new function `char-valid-p' can be used for checking whether a | |
7863 Lisp object is a valid character code or not. | |
7864 | |
7865 *** The new function `charset-after' returns a charset of a character | |
7866 in the current buffer at position POS. | |
7867 | |
7868 *** Input methods are now implemented using the variable | |
7869 input-method-function. If this is non-nil, its value should be a | |
7870 function; then, whenever Emacs reads an input event that is a printing | |
7871 character with no modifier bits, it calls that function, passing the | |
7872 event as an argument. Often this function will read more input, first | |
7873 binding input-method-function to nil. | |
7874 | |
7875 The return value should be a list of the events resulting from input | |
7876 method processing. These events will be processed sequentially as | |
7877 input, before resorting to unread-command-events. Events returned by | |
7878 the input method function are not passed to the input method function, | |
7879 not even if they are printing characters with no modifier bits. | |
7880 | |
7881 The input method function is not called when reading the second and | |
7882 subsequent events of a key sequence. | |
7883 | |
7884 *** You can customize any language environment by using | |
7885 set-language-environment-hook and exit-language-environment-hook. | |
7886 | |
7887 The hook `exit-language-environment-hook' should be used to undo | |
7888 customizations that you made with set-language-environment-hook. For | |
7889 instance, if you set up a special key binding for a specific language | |
7890 environment by set-language-environment-hook, you should set up | |
7891 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
|
7892 |
30922 | 7893 * Changes in Emacs 20.1 |
7894 | |
7895 ** Emacs has a new facility for customization of its many user | |
7896 options. It is called M-x customize. With this facility you can look | |
7897 at the many user options in an organized way; they are grouped into a | |
7898 tree structure. | |
7899 | |
7900 M-x customize also knows what sorts of values are legitimate for each | |
7901 user option and ensures that you don't use invalid values. | |
7902 | |
7903 With M-x customize, you can set options either for the present Emacs | |
7904 session or permanently. (Permanent settings are stored automatically | |
7905 in your .emacs file.) | |
7906 | |
7907 ** Scroll bars are now on the left side of the window. | |
7908 You can change this with M-x customize-option scroll-bar-mode. | |
7909 | |
7910 ** The mode line no longer includes the string `Emacs'. | |
7911 This makes more space in the mode line for other information. | |
7912 | |
7913 ** When you select a region with the mouse, it is highlighted | |
7914 immediately afterward. At that time, if you type the DELETE key, it | |
7915 kills the region. | |
7916 | |
7917 The BACKSPACE key, and the ASCII character DEL, do not do this; they | |
7918 delete the character before point, as usual. | |
7919 | |
7920 ** In an incremental search the whole current match is highlighted | |
7921 on terminals which support this. (You can disable this feature | |
7922 by setting search-highlight to nil.) | |
7923 | |
7924 ** In the minibuffer, in some cases, you can now use M-n to | |
7925 insert the default value into the minibuffer as text. In effect, | |
7926 the default value (if the minibuffer routines know it) is tacked | |
7927 onto the history "in the future". (The more normal use of the | |
7928 history list is to use M-p to insert minibuffer input used in the | |
7929 past.) | |
7930 | |
7931 ** In Text mode, now only blank lines separate paragraphs. | |
7932 This makes it possible to get the full benefit of Adaptive Fill mode | |
7933 in Text mode, and other modes derived from it (such as Mail mode). | |
7934 TAB in Text mode now runs the command indent-relative; this | |
7935 makes a practical difference only when you use indented paragraphs. | |
7936 | |
7937 As a result, the old Indented Text mode is now identical to Text mode, | |
7938 and is an alias for it. | |
7939 | |
7940 If you want spaces at the beginning of a line to start a paragraph, | |
7941 use the new mode, Paragraph Indent Text mode. | |
7942 | |
7943 ** Scrolling changes | |
7944 | |
7945 *** Scroll commands to scroll a whole screen now preserve the screen | |
7946 position of the cursor, if scroll-preserve-screen-position is non-nil. | |
7947 | |
7948 In this mode, if you scroll several screens back and forth, finishing | |
7949 on the same screen where you started, the cursor goes back to the line | |
7950 where it started. | |
7951 | |
7952 *** If you set scroll-conservatively to a small number, then when you | |
7953 move point a short distance off the screen, Emacs will scroll the | |
7954 screen just far enough to bring point back on screen, provided that | |
7955 does not exceed `scroll-conservatively' lines. | |
7956 | |
7957 *** The new variable scroll-margin says how close point can come to the | |
7958 top or bottom of a window. It is a number of screen lines; if point | |
7959 comes within that many lines of the top or bottom of the window, Emacs | |
7960 recenters the window. | |
7961 | |
7962 ** International character set support (MULE) | |
7963 | |
7964 Emacs now supports a wide variety of international character sets, | |
7965 including European variants of the Latin alphabet, as well as Chinese, | |
7966 Devanagari (Hindi and Marathi), Ethiopian, Greek, IPA, Japanese, | |
7967 Korean, Lao, Russian, Thai, Tibetan, and Vietnamese scripts. These | |
7968 features have been merged from the modified version of Emacs known as | |
7969 MULE (for "MULti-lingual Enhancement to GNU Emacs") | |
7970 | |
7971 Users of these scripts have established many more-or-less standard | |
7972 coding systems for storing files. Emacs uses a single multibyte | |
7973 character encoding within Emacs buffers; it can translate from a wide | |
7974 variety of coding systems when reading a file and can translate back | |
7975 into any of these coding systems when saving a file. | |
7976 | |
7977 Keyboards, even in the countries where these character sets are used, | |
7978 generally don't have keys for all the characters in them. So Emacs | |
7979 supports various "input methods", typically one for each script or | |
7980 language, to make it possible to type them. | |
7981 | |
7982 The Emacs internal multibyte encoding represents a non-ASCII | |
7983 character as a sequence of bytes in the range 0200 through 0377. | |
7984 | |
7985 The new prefix key C-x RET is used for commands that pertain | |
7986 to multibyte characters, coding systems, and input methods. | |
7987 | |
7988 You can disable multibyte character support as follows: | |
7989 | |
7990 (setq-default enable-multibyte-characters nil) | |
7991 | |
7992 Calling the function standard-display-european turns off multibyte | |
7993 characters, unless you specify a non-nil value for the second | |
7994 argument, AUTO. This provides compatibility for people who are | |
7995 already using standard-display-european to continue using unibyte | |
7996 characters for their work until they want to change. | |
7997 | |
7998 *** Input methods | |
7999 | |
8000 An input method is a kind of character conversion which is designed | |
8001 specifically for interactive input. In Emacs, typically each language | |
8002 has its own input method (though sometimes several languages which use | |
8003 the same characters can share one input method). Some languages | |
8004 support several input methods. | |
8005 | |
8006 The simplest kind of input method works by mapping ASCII letters into | |
8007 another alphabet. This is how the Greek and Russian input methods | |
8008 work. | |
8009 | |
8010 A more powerful technique is composition: converting sequences of | |
8011 characters into one letter. Many European input methods use | |
8012 composition to produce a single non-ASCII letter from a sequence which | |
8013 consists of a letter followed by diacritics. For example, a' is one | |
8014 sequence of two characters that might be converted into a single | |
8015 letter. | |
8016 | |
8017 The input methods for syllabic scripts typically use mapping followed | |
8018 by conversion. The input methods for Thai and Korean work this way. | |
8019 First, letters are mapped into symbols for particular sounds or tone | |
8020 marks; then, sequences of these which make up a whole syllable are | |
8021 mapped into one syllable sign--most often a "composite character". | |
8022 | |
8023 None of these methods works very well for Chinese and Japanese, so | |
8024 they are handled specially. First you input a whole word using | |
8025 phonetic spelling; then, after the word is in the buffer, Emacs | |
8026 converts it into one or more characters using a large dictionary. | |
8027 | |
8028 Since there is more than one way to represent a phonetically spelled | |
8029 word using Chinese characters, Emacs can only guess which one to use; | |
8030 typically these input methods give you a way to say "guess again" if | |
8031 the first guess is wrong. | |
8032 | |
8033 *** The command C-x RET m (toggle-enable-multibyte-characters) | |
8034 turns multibyte character support on or off for the current buffer. | |
8035 | |
8036 If multibyte character support is turned off in a buffer, then each | |
8037 byte is a single character, even codes 0200 through 0377--exactly as | |
8038 they did in Emacs 19.34. This includes the features for support for | |
8039 the European characters, ISO Latin-1 and ISO Latin-2. | |
8040 | |
8041 However, there is no need to turn off multibyte character support to | |
8042 use ISO Latin-1 or ISO Latin-2; the Emacs multibyte character set | |
8043 includes all the characters in these character sets, and Emacs can | |
8044 translate automatically to and from either one. | |
8045 | |
8046 *** Visiting a file in unibyte mode. | |
8047 | |
8048 Turning off multibyte character support in the buffer after visiting a | |
8049 file with multibyte code conversion will display the multibyte | |
8050 sequences already in the buffer, byte by byte. This is probably not | |
8051 what you want. | |
8052 | |
8053 If you want to edit a file of unibyte characters (Latin-1, for | |
8054 example), you can do it by specifying `no-conversion' as the coding | |
8055 system when reading the file. This coding system also turns off | |
8056 multibyte characters in that buffer. | |
8057 | |
8058 If you turn off multibyte character support entirely, this turns off | |
8059 character conversion as well. | |
8060 | |
8061 *** Displaying international characters on X Windows. | |
8062 | |
8063 A font for X typically displays just one alphabet or script. | |
8064 Therefore, displaying the entire range of characters Emacs supports | |
8065 requires using many fonts. | |
8066 | |
8067 Therefore, Emacs now supports "fontsets". Each fontset is a | |
8068 collection of fonts, each assigned to a range of character codes. | |
8069 | |
8070 A fontset has a name, like a font. Individual fonts are defined by | |
8071 the X server; fontsets are defined within Emacs itself. But once you | |
8072 have defined a fontset, you can use it in a face or a frame just as | |
8073 you would use a font. | |
8074 | |
8075 If a fontset specifies no font for a certain character, or if it | |
8076 specifies a font that does not exist on your system, then it cannot | |
8077 display that character. It will display an empty box instead. | |
8078 | |
8079 The fontset height and width are determined by the ASCII characters | |
8080 (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
|
8081 characters). |
30922 | 8082 |
8083 *** Defining fontsets. | |
8084 | |
8085 Emacs does not use any fontset by default. Its default font is still | |
8086 chosen as in previous versions. You can tell Emacs to use a fontset | |
8087 with the `-fn' option or the `Font' X resource. | |
8088 | |
8089 Emacs creates a standard fontset automatically according to the value | |
8090 of standard-fontset-spec. This fontset's short name is | |
8091 `fontset-standard'. Bold, italic, and bold-italic variants of the | |
8092 standard fontset are created automatically. | |
8093 | |
8094 If you specify a default ASCII font with the `Font' resource or `-fn' | |
8095 argument, a fontset is generated from it. This works by replacing the | |
8096 FOUNDARY, FAMILY, ADD_STYLE, and AVERAGE_WIDTH fields of the font name | |
8097 with `*' then using this to specify a fontset. This fontset's short | |
8098 name is `fontset-startup'. | |
8099 | |
8100 Emacs checks resources of the form Fontset-N where N is 0, 1, 2... | |
8101 The resource value should have this form: | |
8102 FONTSET-NAME, [CHARSET-NAME:FONT-NAME]... | |
8103 FONTSET-NAME should have the form of a standard X font name, except: | |
8104 * most fields should be just the wild card "*". | |
8105 * the CHARSET_REGISTRY field should be "fontset" | |
8106 * the CHARSET_ENCODING field can be any nickname of the fontset. | |
8107 The construct CHARSET-NAME:FONT-NAME can be repeated any number | |
8108 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
|
8109 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
|
8110 should specify an actual font to use for that character set. |
30922 | 8111 |
8112 Each of these fontsets has an alias which is made from the | |
8113 last two font name fields, CHARSET_REGISTRY and CHARSET_ENCODING. | |
8114 You can refer to the fontset by that alias or by its full name. | |
8115 | |
8116 For any character sets that you don't mention, Emacs tries to choose a | |
8117 font by substituting into FONTSET-NAME. For instance, with the | |
8118 following resource, | |
8119 Emacs*Fontset-0: -*-fixed-medium-r-normal-*-24-*-*-*-*-*-fontset-24 | |
8120 the font for ASCII is generated as below: | |
8121 -*-fixed-medium-r-normal-*-24-*-ISO8859-1 | |
8122 Here is the substitution rule: | |
8123 Change CHARSET_REGISTRY and CHARSET_ENCODING to that of the charset | |
8124 defined in the variable x-charset-registries. For instance, ASCII has | |
8125 the entry (ascii . "ISO8859-1") in this variable. Then, reduce | |
8126 sequences of wild cards -*-...-*- with a single wildcard -*-. | |
8127 (This is to prevent use of auto-scaled fonts.) | |
8128 | |
8129 The function which processes the fontset resource value to create the | |
8130 fontset is called create-fontset-from-fontset-spec. You can also call | |
8131 that function explicitly to create a fontset. | |
8132 | |
8133 With the X resource Emacs.Font, you can specify a fontset name just | |
8134 like an actual font name. But be careful not to specify a fontset | |
8135 name in a wildcard resource like Emacs*Font--that tries to specify the | |
8136 fontset for other purposes including menus, and they cannot handle | |
8137 fontsets. | |
8138 | |
8139 *** The command M-x set-language-environment sets certain global Emacs | |
8140 defaults for a particular choice of language. | |
8141 | |
8142 Selecting a language environment typically specifies a default input | |
8143 method and which coding systems to recognize automatically when | |
8144 visiting files. However, it does not try to reread files you have | |
8145 already visited; the text in those buffers is not affected. The | |
8146 language environment may also specify a default choice of coding | |
8147 system for new files that you create. | |
8148 | |
8149 It makes no difference which buffer is current when you use | |
8150 set-language-environment, because these defaults apply globally to the | |
8151 whole Emacs session. | |
8152 | |
8153 For example, M-x set-language-environment RET Latin-1 RET | |
8154 chooses the Latin-1 character set. In the .emacs file, you can do this | |
8155 with (set-language-environment "Latin-1"). | |
8156 | |
8157 *** The command C-x RET f (set-buffer-file-coding-system) | |
8158 specifies the file coding system for the current buffer. This | |
8159 specifies what sort of character code translation to do when saving | |
8160 the file. As an argument, you must specify the name of one of the | |
8161 coding systems that Emacs supports. | |
8162 | |
8163 *** The command C-x RET c (universal-coding-system-argument) | |
8164 lets you specify a coding system when you read or write a file. | |
8165 This command uses the minibuffer to read a coding system name. | |
8166 After you exit the minibuffer, the specified coding system | |
8167 is used for *the immediately following command*. | |
8168 | |
8169 So if the immediately following command is a command to read or | |
8170 write a file, it uses the specified coding system for that file. | |
8171 | |
8172 If the immediately following command does not use the coding system, | |
8173 then C-x RET c ultimately has no effect. | |
8174 | |
8175 For example, C-x RET c iso-8859-1 RET C-x C-f temp RET | |
8176 visits the file `temp' treating it as ISO Latin-1. | |
8177 | |
8178 *** You can specify the coding system for a file using the -*- | |
8179 construct. Include `coding: CODINGSYSTEM;' inside the -*-...-*- | |
8180 to specify use of coding system CODINGSYSTEM. You can also | |
8181 specify the coding system in a local variable list at the end | |
8182 of the file. | |
8183 | |
8184 *** The command C-x RET t (set-terminal-coding-system) specifies | |
8185 the coding system for terminal output. If you specify a character | |
8186 code for terminal output, all characters output to the terminal are | |
8187 translated into that character code. | |
8188 | |
8189 This feature is useful for certain character-only terminals built in | |
8190 various countries to support the languages of those countries. | |
8191 | |
8192 By default, output to the terminal is not translated at all. | |
8193 | |
8194 *** The command C-x RET k (set-keyboard-coding-system) specifies | |
8195 the coding system for keyboard input. | |
8196 | |
8197 Character code translation of keyboard input is useful for terminals | |
8198 with keys that send non-ASCII graphic characters--for example, | |
8199 some terminals designed for ISO Latin-1 or subsets of it. | |
8200 | |
8201 By default, keyboard input is not translated at all. | |
8202 | |
8203 Character code translation of keyboard input is similar to using an | |
8204 input method, in that both define sequences of keyboard input that | |
8205 translate into single characters. However, input methods are designed | |
8206 to be convenient for interactive use, while the code translations are | |
8207 designed to work with terminals. | |
8208 | |
8209 *** The command C-x RET p (set-buffer-process-coding-system) | |
8210 specifies the coding system for input and output to a subprocess. | |
8211 This command applies to the current buffer; normally, each subprocess | |
8212 has its own buffer, and thus you can use this command to specify | |
8213 translation to and from a particular subprocess by giving the command | |
8214 in the corresponding buffer. | |
8215 | |
8216 By default, process input and output are not translated at all. | |
8217 | |
8218 *** The variable file-name-coding-system specifies the coding system | |
8219 to use for encoding file names before operating on them. | |
8220 It is also used for decoding file names obtained from the system. | |
8221 | |
8222 *** The command C-\ (toggle-input-method) activates or deactivates | |
8223 an input method. If no input method has been selected before, the | |
8224 command prompts for you to specify the language and input method you | |
8225 want to use. | |
8226 | |
8227 C-u C-\ (select-input-method) lets you switch to a different input | |
8228 method. C-h C-\ (or C-h I) describes the current input method. | |
8229 | |
8230 *** Some input methods remap the keyboard to emulate various keyboard | |
8231 layouts commonly used for particular scripts. How to do this | |
8232 remapping properly depends on your actual keyboard layout. To specify | |
8233 which layout your keyboard has, use M-x quail-set-keyboard-layout. | |
8234 | |
8235 *** The command C-h C (describe-coding-system) displays | |
8236 the coding systems currently selected for various purposes, plus | |
8237 related information. | |
8238 | |
8239 *** The command C-h h (view-hello-file) displays a file called | |
8240 HELLO, which has examples of text in many languages, using various | |
8241 scripts. | |
8242 | |
8243 *** The command C-h L (describe-language-support) displays | |
8244 information about the support for a particular language. | |
8245 You specify the language as an argument. | |
8246 | |
8247 *** The mode line now contains a letter or character that identifies | |
8248 the coding system used in the visited file. It normally follows the | |
8249 first dash. | |
8250 | |
8251 A dash indicates the default state of affairs: no code conversion | |
8252 (except CRLF => newline if appropriate). `=' means no conversion | |
8253 whatsoever. The ISO 8859 coding systems are represented by digits | |
8254 1 through 9. Other coding systems are represented by letters: | |
8255 | |
8256 A alternativnyj (Russian) | |
8257 B big5 (Chinese) | |
8258 C cn-gb-2312 (Chinese) | |
8259 C iso-2022-cn (Chinese) | |
8260 D in-is13194-devanagari (Indian languages) | |
8261 E euc-japan (Japanese) | |
8262 I iso-2022-cjk or iso-2022-ss2 (Chinese, Japanese, Korean) | |
8263 J junet (iso-2022-7) or old-jis (iso-2022-jp-1978-irv) (Japanese) | |
8264 K euc-korea (Korean) | |
8265 R koi8 (Russian) | |
8266 Q tibetan | |
8267 S shift_jis (Japanese) | |
8268 T lao | |
8269 T tis620 (Thai) | |
8270 V viscii or vscii (Vietnamese) | |
8271 i iso-2022-lock (Chinese, Japanese, Korean) | |
8272 k iso-2022-kr (Korean) | |
8273 v viqr (Vietnamese) | |
8274 z hz (Chinese) | |
8275 | |
8276 When you are using a character-only terminal (not a window system), | |
8277 two additional characters appear in between the dash and the file | |
8278 coding system. These two characters describe the coding system for | |
8279 keyboard input, and the coding system for terminal output. | |
8280 | |
8281 *** The new variable rmail-file-coding-system specifies the code | |
8282 conversion to use for RMAIL files. The default value is nil. | |
8283 | |
8284 When you read mail with Rmail, each message is decoded automatically | |
8285 into Emacs' internal format. This has nothing to do with | |
8286 rmail-file-coding-system. That variable controls reading and writing | |
8287 Rmail files themselves. | |
8288 | |
8289 *** The new variable sendmail-coding-system specifies the code | |
8290 conversion for outgoing mail. The default value is nil. | |
8291 | |
8292 Actually, there are three different ways of specifying the coding system | |
8293 for sending mail: | |
8294 | |
8295 - If you use C-x RET f in the mail buffer, that takes priority. | |
8296 - Otherwise, if you set sendmail-coding-system non-nil, that specifies it. | |
8297 - Otherwise, the default coding system for new files is used, | |
8298 if that is non-nil. That comes from your language environment. | |
8299 - Otherwise, Latin-1 is used. | |
8300 | |
8301 *** The command C-h t (help-with-tutorial) accepts a prefix argument | |
8302 to specify the language for the tutorial file. Currently, English, | |
8303 Japanese, Korean and Thai are supported. We welcome additional | |
8304 translations. | |
8305 | |
8306 ** An easy new way to visit a file with no code or format conversion | |
8307 of any kind: Use M-x find-file-literally. There is also a command | |
8308 insert-file-literally which inserts a file into the current buffer | |
8309 without any conversion. | |
8310 | |
8311 ** C-q's handling of octal character codes is changed. | |
8312 You can now specify any number of octal digits. | |
8313 RET terminates the digits and is discarded; | |
8314 any other non-digit terminates the digits and is then used as input. | |
8315 | |
8316 ** There are new commands for looking up Info documentation for | |
8317 functions, variables and file names used in your programs. | |
8318 | |
8319 Type M-x info-lookup-symbol to look up a symbol in the buffer at point. | |
8320 Type M-x info-lookup-file to look up a file in the buffer at point. | |
8321 | |
8322 Precisely which Info files are used to look it up depends on the major | |
8323 mode. For example, in C mode, the GNU libc manual is used. | |
8324 | |
8325 ** M-TAB in most programming language modes now runs the command | |
8326 complete-symbol. This command performs completion on the symbol name | |
8327 in the buffer before point. | |
8328 | |
8329 With a numeric argument, it performs completion based on the set of | |
8330 symbols documented in the Info files for the programming language that | |
8331 you are using. | |
8332 | |
8333 With no argument, it does completion based on the current tags tables, | |
8334 just like the old binding of M-TAB (complete-tag). | |
8335 | |
8336 ** File locking works with NFS now. | |
8337 | |
8338 The lock file for FILENAME is now a symbolic link named .#FILENAME, | |
8339 in the same directory as FILENAME. | |
8340 | |
8341 This means that collision detection between two different machines now | |
8342 works reasonably well; it also means that no file server or directory | |
8343 can become a bottleneck. | |
8344 | |
8345 The new method does have drawbacks. It means that collision detection | |
8346 does not operate when you edit a file in a directory where you cannot | |
8347 create new files. Collision detection also doesn't operate when the | |
8348 file server does not support symbolic links. But these conditions are | |
8349 rare, and the ability to have collision detection while using NFS is | |
8350 so useful that the change is worth while. | |
8351 | |
8352 When Emacs or a system crashes, this may leave behind lock files which | |
8353 are stale. So you may occasionally get warnings about spurious | |
8354 collisions. When you determine that the collision is spurious, just | |
8355 tell Emacs to go ahead anyway. | |
8356 | |
8357 ** If you wish to use Show Paren mode to display matching parentheses, | |
8358 it is no longer sufficient to load paren.el. Instead you must call | |
8359 show-paren-mode. | |
8360 | |
8361 ** If you wish to use Delete Selection mode to replace a highlighted | |
8362 selection when you insert new text, it is no longer sufficient to load | |
8363 delsel.el. Instead you must call the function delete-selection-mode. | |
8364 | |
8365 ** If you wish to use Partial Completion mode to complete partial words | |
8366 within symbols or filenames, it is no longer sufficient to load | |
8367 complete.el. Instead you must call the function partial-completion-mode. | |
8368 | |
8369 ** If you wish to use uniquify to rename buffers for you, | |
8370 it is no longer sufficient to load uniquify.el. You must also | |
8371 set uniquify-buffer-name-style to one of the non-nil legitimate values. | |
8372 | |
8373 ** Changes in View mode. | |
8374 | |
8375 *** Several new commands are available in View mode. | |
8376 Do H in view mode for a list of commands. | |
8377 | |
8378 *** There are two new commands for entering View mode: | |
8379 view-file-other-frame and view-buffer-other-frame. | |
8380 | |
8381 *** Exiting View mode does a better job of restoring windows to their | |
8382 previous state. | |
8383 | |
8384 *** New customization variable view-scroll-auto-exit. If non-nil, | |
8385 scrolling past end of buffer makes view mode exit. | |
8386 | |
8387 *** New customization variable view-exits-all-viewing-windows. If | |
8388 non-nil, view-mode will at exit restore all windows viewing buffer, | |
8389 not just the selected window. | |
8390 | |
8391 *** New customization variable view-read-only. If non-nil, visiting a | |
8392 read-only file automatically enters View mode, and toggle-read-only | |
8393 turns View mode on or off. | |
8394 | |
8395 *** New customization variable view-remove-frame-by-deleting controls | |
8396 how to remove a not needed frame at view mode exit. If non-nil, | |
8397 delete the frame, if nil make an icon of it. | |
8398 | |
8399 ** C-x v l, the command to print a file's version control log, | |
8400 now positions point at the entry for the file's current branch version. | |
8401 | |
8402 ** C-x v =, the command to compare a file with the last checked-in version, | |
8403 has a new feature. If the file is currently not locked, so that it is | |
8404 presumably identical to the last checked-in version, the command now asks | |
8405 which version to compare with. | |
8406 | |
8407 ** When using hideshow.el, incremental search can temporarily show hidden | |
8408 blocks if a match is inside the block. | |
8409 | |
8410 The block is hidden again if the search is continued and the next match | |
8411 is outside the block. By customizing the variable | |
8412 isearch-hide-immediately you can choose to hide all the temporarily | |
8413 shown blocks only when exiting from incremental search. | |
8414 | |
8415 By customizing the variable hs-isearch-open you can choose what kind | |
8416 of blocks to temporarily show during isearch: comment blocks, code | |
8417 blocks, all of them or none. | |
8418 | |
8419 ** The new command C-x 4 0 (kill-buffer-and-window) kills the | |
8420 current buffer and deletes the selected window. It asks for | |
8421 confirmation first. | |
8422 | |
8423 ** C-x C-w, which saves the buffer into a specified file name, | |
8424 now changes the major mode according to that file name. | |
8425 However, the mode will not be changed if | |
8426 (1) a local variables list or the `-*-' line specifies a major mode, or | |
8427 (2) the current major mode is a "special" mode, | |
8428 not suitable for ordinary files, or | |
8429 (3) the new file name does not particularly specify any mode. | |
8430 | |
8431 This applies to M-x set-visited-file-name as well. | |
8432 | |
8433 However, if you set change-major-mode-with-file-name to nil, then | |
8434 these commands do not change the major mode. | |
8435 | |
8436 ** M-x occur changes. | |
8437 | |
8438 *** If the argument to M-x occur contains upper case letters, | |
8439 it performs a case-sensitive search. | |
8440 | |
8441 *** In the *Occur* buffer made by M-x occur, | |
8442 if you type g or M-x revert-buffer, this repeats the search | |
8443 using the same regular expression and the same buffer as before. | |
8444 | |
8445 ** In Transient Mark mode, the region in any one buffer is highlighted | |
8446 in just one window at a time. At first, it is highlighted in the | |
8447 window where you set the mark. The buffer's highlighting remains in | |
8448 that window unless you select to another window which shows the same | |
8449 buffer--then the highlighting moves to that window. | |
8450 | |
8451 ** The feature to suggest key bindings when you use M-x now operates | |
8452 after the command finishes. The message suggesting key bindings | |
8453 appears temporarily in the echo area. The previous echo area contents | |
8454 come back after a few seconds, in case they contain useful information. | |
8455 | |
8456 ** Each frame now independently records the order for recently | |
8457 selected buffers, so that the default for C-x b is now based on the | |
8458 buffers recently selected in the selected frame. | |
8459 | |
8460 ** Outline mode changes. | |
8461 | |
8462 *** Outline mode now uses overlays (this is the former noutline.el). | |
8463 | |
8464 *** Incremental searches skip over invisible text in Outline mode. | |
8465 | |
8466 ** When a minibuffer window is active but not the selected window, if | |
8467 you try to use the minibuffer, you used to get a nested minibuffer. | |
8468 Now, this not only gives an error, it also cancels the minibuffer that | |
8469 was already active. | |
8470 | |
8471 The motive for this change is so that beginning users do not | |
8472 unknowingly move away from minibuffers, leaving them active, and then | |
8473 get confused by it. | |
8474 | |
8475 If you want to be able to have recursive minibuffers, you must | |
8476 set enable-recursive-minibuffers to non-nil. | |
8477 | |
8478 ** Changes in dynamic abbrevs. | |
8479 | |
8480 *** Expanding dynamic abbrevs with M-/ is now smarter about case | |
8481 conversion. If the expansion has mixed case not counting the first | |
8482 character, and the abbreviation matches the beginning of the expansion | |
8483 including case, then the expansion is copied verbatim. | |
8484 | |
8485 The expansion is also copied verbatim if the abbreviation itself has | |
8486 mixed case. And using SPC M-/ to copy an additional word always | |
8487 copies it verbatim except when the previous copied word is all caps. | |
8488 | |
8489 *** The values of `dabbrev-case-replace' and `dabbrev-case-fold-search' | |
8490 are no longer Lisp expressions. They have simply three possible | |
8491 values. | |
8492 | |
8493 `dabbrev-case-replace' has these three values: nil (don't preserve | |
8494 case), t (do), or `case-replace' (do like M-x query-replace). | |
8495 `dabbrev-case-fold-search' has these three values: nil (don't ignore | |
8496 case), t (do), or `case-fold-search' (do like search). | |
8497 | |
8498 ** Minibuffer history lists are truncated automatically now to a | |
8499 certain length. The variable history-length specifies how long they | |
8500 can be. The default value is 30. | |
8501 | |
8502 ** Changes in Mail mode. | |
8503 | |
8504 *** The key C-x m no longer runs the `mail' command directly. | |
8505 Instead, it runs the command `compose-mail', which invokes the mail | |
8506 composition mechanism you have selected with the variable | |
8507 `mail-user-agent'. The default choice of user agent is | |
8508 `sendmail-user-agent', which gives behavior compatible with the old | |
8509 behavior. | |
8510 | |
8511 C-x 4 m now runs compose-mail-other-window, and C-x 5 m runs | |
8512 compose-mail-other-frame. | |
8513 | |
8514 *** While composing a reply to a mail message, from Rmail, you can use | |
8515 the command C-c C-r to cite just the region from the message you are | |
8516 replying to. This copies the text which is the selected region in the | |
8517 buffer that shows the original message. | |
8518 | |
8519 *** The command C-c C-i inserts a file at the end of the message, | |
8520 with separator lines around the contents. | |
8521 | |
8522 *** The command M-x expand-mail-aliases expands all mail aliases | |
8523 in suitable mail headers. Emacs automatically extracts mail alias | |
8524 definitions from your mail alias file (e.g., ~/.mailrc). You do not | |
8525 need to expand mail aliases yourself before sending mail. | |
8526 | |
8527 *** New features in the mail-complete command. | |
8528 | |
8529 **** The mail-complete command now inserts the user's full name, | |
8530 for local users or if that is known. The variable mail-complete-style | |
8531 controls the style to use, and whether to do this at all. | |
8532 Its values are like those of mail-from-style. | |
8533 | |
8534 **** The variable mail-passwd-command lets you specify a shell command | |
8535 to run to fetch a set of password-entries that add to the ones in | |
8536 /etc/passwd. | |
8537 | |
8538 **** The variable mail-passwd-file now specifies a list of files to read | |
8539 to get the list of user ids. By default, one file is used: | |
8540 /etc/passwd. | |
8541 | |
8542 ** You can "quote" a file name to inhibit special significance of | |
8543 special syntax, by adding `/:' to the beginning. Thus, if you have a | |
8544 directory named `/foo:', you can prevent it from being treated as a | |
8545 reference to a remote host named `foo' by writing it as `/:/foo:'. | |
8546 | |
8547 Emacs uses this new construct automatically when necessary, such as | |
8548 when you start it with a working directory whose name might otherwise | |
8549 be taken to be magic. | |
8550 | |
8551 ** There is a new command M-x grep-find which uses find to select | |
8552 files to search through, and grep to scan them. The output is | |
8553 available in a Compile mode buffer, as with M-x grep. | |
8554 | |
8555 M-x grep now uses the -e option if the grep program supports that. | |
8556 (-e prevents problems if the search pattern starts with a dash.) | |
8557 | |
8558 ** In Dired, the & command now flags for deletion the files whose names | |
8559 suggest they are probably not needed in the long run. | |
8560 | |
8561 In Dired, * is now a prefix key for mark-related commands. | |
8562 | |
8563 new key dired.el binding old key | |
8564 ------- ---------------- ------- | |
8565 * c dired-change-marks c | |
8566 * m dired-mark m | |
8567 * * dired-mark-executables * (binding deleted) | |
8568 * / dired-mark-directories / (binding deleted) | |
8569 * @ dired-mark-symlinks @ (binding deleted) | |
8570 * u dired-unmark u | |
8571 * DEL dired-unmark-backward DEL | |
40526
b466f4f946a7
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40493
diff
changeset
|
8572 * ? dired-unmark-all-files C-M-? |
30922 | 8573 * ! dired-unmark-all-marks |
8574 * % dired-mark-files-regexp % m | |
8575 * C-n dired-next-marked-file M-} | |
8576 * C-p dired-prev-marked-file M-{ | |
8577 | |
8578 ** Rmail changes. | |
8579 | |
8580 *** When Rmail cannot convert your incoming mail into Babyl format, it | |
8581 saves the new mail in the file RMAILOSE.n, where n is an integer | |
8582 chosen to make a unique name. This way, Rmail will not keep crashing | |
8583 each time you run it. | |
8584 | |
8585 *** In Rmail, the variable rmail-summary-line-count-flag now controls | |
8586 whether to include the line count in the summary. Non-nil means yes. | |
8587 | |
8588 *** In Rmail summary buffers, d and C-d (the commands to delete | |
8589 messages) now take repeat counts as arguments. A negative argument | |
8590 means to move in the opposite direction. | |
8591 | |
8592 *** In Rmail, the t command now takes an optional argument which lets | |
8593 you specify whether to show the message headers in full or pruned. | |
8594 | |
8595 *** In Rmail, the new command w (rmail-output-body-to-file) writes | |
8596 just the body of the current message into a file, without the headers. | |
8597 It takes the file name from the message subject, by default, but you | |
8598 can edit that file name in the minibuffer before it is actually used | |
8599 for output. | |
8600 | |
8601 ** Gnus changes. | |
8602 | |
8603 *** nntp.el has been totally rewritten in an asynchronous fashion. | |
8604 | |
8605 *** Article prefetching functionality has been moved up into | |
8606 Gnus. | |
8607 | |
8608 *** Scoring can now be performed with logical operators like | |
8609 `and', `or', `not', and parent redirection. | |
8610 | |
8611 *** Article washing status can be displayed in the | |
8612 article mode line. | |
8613 | |
8614 *** gnus.el has been split into many smaller files. | |
8615 | |
8616 *** Suppression of duplicate articles based on Message-ID. | |
8617 | |
8618 (setq gnus-suppress-duplicates t) | |
8619 | |
8620 *** New variables for specifying what score and adapt files | |
8621 are to be considered home score and adapt files. See | |
8622 `gnus-home-score-file' and `gnus-home-adapt-files'. | |
8623 | |
8624 *** Groups can inherit group parameters from parent topics. | |
8625 | |
8626 *** Article editing has been revamped and is now usable. | |
8627 | |
8628 *** Signatures can be recognized in more intelligent fashions. | |
8629 See `gnus-signature-separator' and `gnus-signature-limit'. | |
8630 | |
8631 *** Summary pick mode has been made to look more nn-like. | |
8632 Line numbers are displayed and the `.' command can be | |
8633 used to pick articles. | |
8634 | |
8635 *** Commands for moving the .newsrc.eld from one server to | |
8636 another have been added. | |
8637 | |
8638 `M-x gnus-change-server' | |
8639 | |
8640 *** A way to specify that "uninteresting" fields be suppressed when | |
8641 generating lines in buffers. | |
8642 | |
8643 *** 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
|
8644 `C-M-_'. |
30922 | 8645 |
8646 *** Scoring can be done on words using the new score type `w'. | |
8647 | |
8648 *** Adaptive scoring can be done on a Subject word-by-word basis: | |
8649 | |
8650 (setq gnus-use-adaptive-scoring '(word)) | |
8651 | |
8652 *** Scores can be decayed. | |
8653 | |
8654 (setq gnus-decay-scores t) | |
8655 | |
8656 *** Scoring can be performed using a regexp on the Date header. The | |
8657 Date is normalized to compact ISO 8601 format first. | |
8658 | |
8659 *** A new command has been added to remove all data on articles from | |
8660 the native server. | |
8661 | |
8662 `M-x gnus-group-clear-data-on-native-groups' | |
8663 | |
8664 *** A new command for reading collections of documents | |
40526
b466f4f946a7
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40493
diff
changeset
|
8665 (nndoc with nnvirtual on top) has been added -- `C-M-d'. |
30922 | 8666 |
8667 *** Process mark sets can be pushed and popped. | |
8668 | |
8669 *** A new mail-to-news backend makes it possible to post | |
8670 even when the NNTP server doesn't allow posting. | |
8671 | |
8672 *** A new backend for reading searches from Web search engines | |
8673 (DejaNews, Alta Vista, InReference) has been added. | |
8674 | |
8675 Use the `G w' command in the group buffer to create such | |
8676 a group. | |
8677 | |
8678 *** Groups inside topics can now be sorted using the standard | |
8679 sorting functions, and each topic can be sorted independently. | |
8680 | |
8681 See the commands under the `T S' submap. | |
8682 | |
8683 *** Subsets of the groups can be sorted independently. | |
8684 | |
8685 See the commands under the `G P' submap. | |
8686 | |
8687 *** Cached articles can be pulled into the groups. | |
8688 | |
8689 Use the `Y c' command. | |
8690 | |
8691 *** Score files are now applied in a more reliable order. | |
8692 | |
8693 *** Reports on where mail messages end up can be generated. | |
8694 | |
8695 `M-x nnmail-split-history' | |
8696 | |
8697 *** More hooks and functions have been added to remove junk | |
8698 from incoming mail before saving the mail. | |
8699 | |
8700 See `nnmail-prepare-incoming-header-hook'. | |
8701 | |
8702 *** The nnml mail backend now understands compressed article files. | |
8703 | |
8704 *** To enable Gnus to read/post multi-lingual articles, you must execute | |
8705 the following code, for instance, in your .emacs. | |
8706 | |
8707 (add-hook 'gnus-startup-hook 'gnus-mule-initialize) | |
8708 | |
8709 Then, when you start Gnus, it will decode non-ASCII text automatically | |
8710 and show appropriate characters. (Note: if you are using gnus-mime | |
8711 from the SEMI package, formerly known as TM, you should NOT add this | |
8712 hook to gnus-startup-hook; gnus-mime has its own method of handling | |
8713 this issue.) | |
8714 | |
8715 Since it is impossible to distinguish all coding systems | |
8716 automatically, you may need to specify a choice of coding system for a | |
8717 particular news group. This can be done by: | |
8718 | |
8719 (gnus-mule-add-group NEWSGROUP 'CODING-SYSTEM) | |
8720 | |
8721 Here NEWSGROUP should be a string which names a newsgroup or a tree | |
8722 of newsgroups. If NEWSGROUP is "XXX.YYY", all news groups under | |
8723 "XXX.YYY" (including "XXX.YYY.ZZZ") will use the specified coding | |
8724 system. CODING-SYSTEM specifies which coding system to use (for both | |
8725 for reading and posting). | |
8726 | |
8727 CODING-SYSTEM can also be a cons cell of the form | |
8728 (READ-CODING-SYSTEM . POST-CODING-SYSTEM) | |
8729 Then READ-CODING-SYSTEM is used when you read messages from the | |
8730 newsgroups, while POST-CODING-SYSTEM is used when you post messages | |
8731 there. | |
8732 | |
8733 Emacs knows the right coding systems for certain newsgroups by | |
8734 default. Here are some of these default settings: | |
8735 | |
8736 (gnus-mule-add-group "fj" 'iso-2022-7) | |
8737 (gnus-mule-add-group "alt.chinese.text" 'hz-gb-2312) | |
8738 (gnus-mule-add-group "alt.hk" 'hz-gb-2312) | |
8739 (gnus-mule-add-group "alt.chinese.text.big5" 'cn-big5) | |
8740 (gnus-mule-add-group "soc.culture.vietnamese" '(nil . viqr)) | |
8741 | |
8742 When you reply by mail to an article, these settings are ignored; | |
8743 the mail is encoded according to sendmail-coding-system, as usual. | |
8744 | |
8745 ** CC mode changes. | |
8746 | |
8747 *** If you edit primarily one style of C (or C++, Objective-C, Java) | |
8748 code, you may want to make the CC Mode style variables have global | |
8749 values so that you can set them directly in your .emacs file. To do | |
8750 this, set c-style-variables-are-local-p to nil in your .emacs file. | |
8751 Note that this only takes effect if you do it *before* cc-mode.el is | |
8752 loaded. | |
8753 | |
8754 If you typically edit more than one style of C (or C++, Objective-C, | |
8755 Java) code in a single Emacs session, you may want to make the CC Mode | |
8756 style variables have buffer local values. By default, all buffers | |
8757 share the same style variable settings; to make them buffer local, set | |
8758 c-style-variables-are-local-p to t in your .emacs file. Note that you | |
8759 must do this *before* CC Mode is loaded. | |
8760 | |
8761 *** The new variable c-indentation-style holds the C style name | |
8762 of the current buffer. | |
8763 | |
8764 *** The variable c-block-comments-indent-p has been deleted, because | |
8765 it is no longer necessary. C mode now handles all the supported styles | |
8766 of block comments, with no need to say which one you will use. | |
8767 | |
8768 *** There is a new indentation style "python", which specifies the C | |
8769 style that the Python developers like. | |
8770 | |
8771 *** There is a new c-cleanup-list option: brace-elseif-brace. | |
8772 This says to put ...} else if (...) {... on one line, | |
8773 just as brace-else-brace says to put ...} else {... on one line. | |
8774 | |
8775 ** VC Changes [new] | |
8776 | |
36908
365eecf7e7d7
Added a note about new support for the Baha'i calendar.
John Wiegley <johnw@newartisans.com>
parents:
36885
diff
changeset
|
8777 *** In vc-retrieve-snapshot (C-x v r), if you don't specify a snapshot |
30922 | 8778 name, it retrieves the *latest* versions of all files in the current |
8779 directory and its subdirectories (aside from files already locked). | |
8780 | |
8781 This feature is useful if your RCS directory is a link to a common | |
8782 master directory, and you want to pick up changes made by other | |
8783 developers. | |
8784 | |
8785 You can do the same thing for an individual file by typing C-u C-x C-q | |
8786 RET in a buffer visiting that file. | |
8787 | |
8788 *** VC can now handle files under CVS that are being "watched" by | |
8789 other developers. Such files are made read-only by CVS. To get a | |
8790 writable copy, type C-x C-q in a buffer visiting such a file. VC then | |
8791 calls "cvs edit", which notifies the other developers of it. | |
8792 | |
8793 *** vc-version-diff (C-u C-x v =) now suggests reasonable defaults for | |
8794 version numbers, based on the current state of the file. | |
8795 | |
8796 ** Calendar changes. | |
8797 | |
36908
365eecf7e7d7
Added a note about new support for the Baha'i calendar.
John Wiegley <johnw@newartisans.com>
parents:
36885
diff
changeset
|
8798 *** 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
|
8799 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
|
8800 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
|
8801 following/previous years. |
365eecf7e7d7
Added a note about new support for the Baha'i calendar.
John Wiegley <johnw@newartisans.com>
parents:
36885
diff
changeset
|
8802 |
365eecf7e7d7
Added a note about new support for the Baha'i calendar.
John Wiegley <johnw@newartisans.com>
parents:
36885
diff
changeset
|
8803 *** 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
|
8804 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
|
8805 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
|
8806 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
|
8807 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
|
8808 supposed attribute of God. |
30922 | 8809 |
8810 ** ps-print changes | |
8811 | |
37289 | 8812 There are some new user variables and subgroups for customizing the page |
8813 layout. | |
8814 | |
8815 *** Headers & Footers (subgroup) | |
8816 | |
8817 Some printer systems print a header page and force the first page to | |
8818 be printed on the back of the header page when using duplex. If your | |
8819 printer system has this behavior, set variable | |
8820 `ps-banner-page-when-duplexing' to t. | |
8821 | |
8822 If variable `ps-banner-page-when-duplexing' is non-nil, it prints a | |
8823 blank page as the very first printed page. So, it behaves as if the | |
37375 | 8824 very first character of buffer (or region) were a form feed ^L (\014). |
37289 | 8825 |
8826 The variable `ps-spool-config' specifies who is responsible for | |
8827 setting duplex mode and page size. Valid values are: | |
8828 | |
8829 lpr-switches duplex and page size are configured by `ps-lpr-switches'. | |
8830 Don't forget to set `ps-lpr-switches' to select duplex | |
8831 printing for your printer. | |
8832 | |
8833 setpagedevice duplex and page size are configured by ps-print using the | |
8834 setpagedevice PostScript operator. | |
8835 | |
8836 nil duplex and page size are configured by ps-print *not* using | |
8837 the setpagedevice PostScript operator. | |
8838 | |
8839 The variable `ps-spool-tumble' specifies how the page images on | |
8840 opposite sides of a sheet are oriented with respect to each other. If | |
8841 `ps-spool-tumble' is nil, ps-print produces output suitable for | |
8842 bindings on the left or right. If `ps-spool-tumble' is non-nil, | |
8843 ps-print produces output suitable for bindings at the top or bottom. | |
8844 This variable takes effect only if `ps-spool-duplex' is non-nil. | |
8845 The default value is nil. | |
8846 | |
8847 The variable `ps-header-frame-alist' specifies a header frame | |
8848 properties alist. Valid frame properties are: | |
8849 | |
8850 fore-color Specify the foreground frame color. | |
8851 Value should be a float number between 0.0 (black | |
8852 color) and 1.0 (white color), or a string which is a | |
8853 color name, or a list of 3 float numbers which | |
8854 correspond to the Red Green Blue color scale, each | |
8855 float number between 0.0 (dark color) and 1.0 (bright | |
8856 color). The default is 0 ("black"). | |
8857 | |
8858 back-color Specify the background frame color (similar to fore-color). | |
8859 The default is 0.9 ("gray90"). | |
8860 | |
8861 shadow-color Specify the shadow color (similar to fore-color). | |
8862 The default is 0 ("black"). | |
8863 | |
8864 border-color Specify the border color (similar to fore-color). | |
8865 The default is 0 ("black"). | |
8866 | |
8867 border-width Specify the border width. | |
8868 The default is 0.4. | |
8869 | |
8870 Any other property is ignored. | |
8871 | |
8872 Don't change this alist directly; instead use Custom, or the | |
8873 `ps-value', `ps-get', `ps-put' and `ps-del' functions (see there for | |
8874 documentation). | |
8875 | |
8876 Ps-print can also print footers. The footer variables are: | |
8877 `ps-print-footer', `ps-footer-offset', `ps-print-footer-frame', | |
8878 `ps-footer-font-family', `ps-footer-font-size', `ps-footer-line-pad', | |
8879 `ps-footer-lines', `ps-left-footer', `ps-right-footer' and | |
8880 `ps-footer-frame-alist'. These variables are similar to those | |
8881 controlling headers. | |
8882 | |
8883 *** Color management (subgroup) | |
8884 | |
8885 If `ps-print-color-p' is non-nil, the buffer's text will be printed in | |
8886 color. | |
8887 | |
8888 *** Face Management (subgroup) | |
8889 | |
8890 If you need to print without worrying about face background colors, | |
8891 set the variable `ps-use-face-background' which specifies if face | |
8892 background should be used. Valid values are: | |
8893 | |
8894 t always use face background color. | |
8895 nil never use face background color. | |
8896 (face...) list of faces whose background color will be used. | |
8897 | |
8898 *** N-up printing (subgroup) | |
8899 | |
8900 The variable `ps-n-up-printing' specifies the number of pages per | |
8901 sheet of paper. | |
8902 | |
8903 The variable `ps-n-up-margin' specifies the margin in points (pt) | |
8904 between the sheet border and the n-up printing. | |
8905 | |
8906 If variable `ps-n-up-border-p' is non-nil, a border is drawn around | |
8907 each page. | |
8908 | |
8909 The variable `ps-n-up-filling' specifies how the page matrix is filled | |
8910 on each sheet of paper. Following are the valid values for | |
8911 `ps-n-up-filling' with a filling example using a 3x4 page matrix: | |
8912 | |
8913 `left-top' 1 2 3 4 `left-bottom' 9 10 11 12 | |
8914 5 6 7 8 5 6 7 8 | |
8915 9 10 11 12 1 2 3 4 | |
8916 | |
8917 `right-top' 4 3 2 1 `right-bottom' 12 11 10 9 | |
8918 8 7 6 5 8 7 6 5 | |
8919 12 11 10 9 4 3 2 1 | |
8920 | |
8921 `top-left' 1 4 7 10 `bottom-left' 3 6 9 12 | |
8922 2 5 8 11 2 5 8 11 | |
8923 3 6 9 12 1 4 7 10 | |
8924 | |
8925 `top-right' 10 7 4 1 `bottom-right' 12 9 6 3 | |
8926 11 8 5 2 11 8 5 2 | |
8927 12 9 6 3 10 7 4 1 | |
8928 | |
8929 Any other value is treated as `left-top'. | |
8930 | |
8931 *** Zebra stripes (subgroup) | |
8932 | |
8933 The variable `ps-zebra-color' controls the zebra stripes grayscale or | |
8934 RGB color. | |
8935 | |
8936 The variable `ps-zebra-stripe-follow' specifies how zebra stripes | |
8937 continue on next page. Visually, valid values are (the character `+' | |
8938 to the right of each column indicates that a line is printed): | |
8939 | |
8940 `nil' `follow' `full' `full-follow' | |
8941 Current Page -------- ----------- --------- ---------------- | |
8942 1 XXXXX + 1 XXXXXXXX + 1 XXXXXX + 1 XXXXXXXXXXXXX + | |
8943 2 XXXXX + 2 XXXXXXXX + 2 XXXXXX + 2 XXXXXXXXXXXXX + | |
8944 3 XXXXX + 3 XXXXXXXX + 3 XXXXXX + 3 XXXXXXXXXXXXX + | |
8945 4 + 4 + 4 + 4 + | |
8946 5 + 5 + 5 + 5 + | |
8947 6 + 6 + 6 + 6 + | |
8948 7 XXXXX + 7 XXXXXXXX + 7 XXXXXX + 7 XXXXXXXXXXXXX + | |
8949 8 XXXXX + 8 XXXXXXXX + 8 XXXXXX + 8 XXXXXXXXXXXXX + | |
8950 9 XXXXX + 9 XXXXXXXX + 9 XXXXXX + 9 XXXXXXXXXXXXX + | |
8951 10 + 10 + | |
8952 11 + 11 + | |
8953 -------- ----------- --------- ---------------- | |
8954 Next Page -------- ----------- --------- ---------------- | |
8955 12 XXXXX + 12 + 10 XXXXXX + 10 + | |
8956 13 XXXXX + 13 XXXXXXXX + 11 XXXXXX + 11 + | |
8957 14 XXXXX + 14 XXXXXXXX + 12 XXXXXX + 12 + | |
8958 15 + 15 XXXXXXXX + 13 + 13 XXXXXXXXXXXXX + | |
8959 16 + 16 + 14 + 14 XXXXXXXXXXXXX + | |
8960 17 + 17 + 15 + 15 XXXXXXXXXXXXX + | |
8961 18 XXXXX + 18 + 16 XXXXXX + 16 + | |
8962 19 XXXXX + 19 XXXXXXXX + 17 XXXXXX + 17 + | |
8963 20 XXXXX + 20 XXXXXXXX + 18 XXXXXX + 18 + | |
8964 21 + 21 XXXXXXXX + | |
8965 22 + 22 + | |
8966 -------- ----------- --------- ---------------- | |
8967 | |
8968 Any other value is treated as `nil'. | |
8969 | |
8970 | |
8971 *** Printer management (subgroup) | |
8972 | |
8973 The variable `ps-printer-name-option' determines the option used by | |
8974 some utilities to indicate the printer name; it's used only when | |
8975 `ps-printer-name' is a non-empty string. If you're using the lpr | |
8976 utility to print, for example, `ps-printer-name-option' should be set | |
8977 to "-P". | |
8978 | |
8979 The variable `ps-manual-feed' indicates if the printer requires manual | |
8980 paper feeding. If it's nil, automatic feeding takes place. If it's | |
8981 non-nil, manual feeding takes place. | |
8982 | |
8983 The variable `ps-end-with-control-d' specifies whether C-d (\x04) | |
8984 should be inserted at end of the generated PostScript. Non-nil means | |
8985 do so. | |
8986 | |
8987 *** Page settings (subgroup) | |
8988 | |
8989 If variable `ps-warn-paper-type' is nil, it's *not* treated as an | |
8990 error if the PostScript printer doesn't have a paper with the size | |
8991 indicated by `ps-paper-type'; the default paper size will be used | |
8992 instead. If `ps-warn-paper-type' is non-nil, an error is signaled if | |
8993 the PostScript printer doesn't support a paper with the size indicated | |
8994 by `ps-paper-type'. This is used when `ps-spool-config' is set to | |
8995 `setpagedevice'. | |
8996 | |
8997 The variable `ps-print-upside-down' determines the orientation for | |
8998 printing pages: nil means `normal' printing, non-nil means | |
8999 `upside-down' printing (that is, the page is rotated by 180 degrees). | |
9000 | |
9001 The variable `ps-selected-pages' specifies which pages to print. If | |
9002 it's nil, all pages are printed. If it's a list, list elements may be | |
9003 integers specifying a single page to print, or cons cells (FROM . TO) | |
9004 specifying to print from page FROM to TO. Invalid list elements, that | |
9005 is integers smaller than one, or elements whose FROM is greater than | |
9006 its TO, are ignored. | |
9007 | |
9008 The variable `ps-even-or-odd-pages' specifies how to print even/odd | |
9009 pages. Valid values are: | |
9010 | |
9011 nil print all pages. | |
9012 | |
9013 `even-page' print only even pages. | |
9014 | |
9015 `odd-page' print only odd pages. | |
9016 | |
9017 `even-sheet' print only even sheets. | |
9018 That is, if `ps-n-up-printing' is 1, it behaves like | |
9019 `even-page', but for values greater than 1, it'll | |
9020 print only the even sheet of paper. | |
9021 | |
9022 `odd-sheet' print only odd sheets. | |
9023 That is, if `ps-n-up-printing' is 1, it behaves like | |
9024 `odd-page'; but for values greater than 1, it'll print | |
9025 only the odd sheet of paper. | |
9026 | |
9027 Any other value is treated as nil. | |
9028 | |
9029 If you set `ps-selected-pages' (see there for documentation), pages | |
9030 are filtered by `ps-selected-pages', and then by | |
9031 `ps-even-or-odd-pages'. For example, if we have: | |
9032 | |
9033 (setq ps-selected-pages '(1 4 (6 . 10) (12 . 16) 20)) | |
9034 | |
9035 and we combine this with `ps-even-or-odd-pages' and | |
9036 `ps-n-up-printing', we get: | |
9037 | |
9038 `ps-n-up-printing' = 1: | |
9039 `ps-even-or-odd-pages' PAGES PRINTED | |
9040 nil 1, 4, 6, 7, 8, 9, 10, 12, 13, 14, 15, 16, 20 | |
9041 even-page 4, 6, 8, 10, 12, 14, 16, 20 | |
9042 odd-page 1, 7, 9, 13, 15 | |
9043 even-sheet 4, 6, 8, 10, 12, 14, 16, 20 | |
9044 odd-sheet 1, 7, 9, 13, 15 | |
9045 | |
9046 `ps-n-up-printing' = 2: | |
9047 `ps-even-or-odd-pages' PAGES PRINTED | |
9048 nil 1/4, 6/7, 8/9, 10/12, 13/14, 15/16, 20 | |
9049 even-page 4/6, 8/10, 12/14, 16/20 | |
9050 odd-page 1/7, 9/13, 15 | |
9051 even-sheet 6/7, 10/12, 15/16 | |
9052 odd-sheet 1/4, 8/9, 13/14, 20 | |
9053 | |
9054 *** Miscellany (subgroup) | |
9055 | |
9056 The variable `ps-error-handler-message' specifies where error handler | |
9057 messages should be sent. | |
9058 | |
9059 It is also possible to add a user-defined PostScript prologue code in | |
9060 front of all generated prologue code by setting the variable | |
9061 `ps-user-defined-prologue'. | |
9062 | |
9063 The variable `ps-line-number-font' specifies the font for line numbers. | |
9064 | |
9065 The variable `ps-line-number-font-size' specifies the font size in | |
9066 points for line numbers. | |
9067 | |
9068 The variable `ps-line-number-color' specifies the color for line | |
9069 numbers. See `ps-zebra-color' for documentation. | |
9070 | |
9071 The variable `ps-line-number-step' specifies the interval in which | |
9072 line numbers are printed. For example, if `ps-line-number-step' is set | |
9073 to 2, the printing will look like: | |
9074 | |
9075 1 one line | |
9076 one line | |
9077 3 one line | |
9078 one line | |
9079 5 one line | |
9080 one line | |
9081 ... | |
9082 | |
9083 Valid values are: | |
9084 | |
9085 integer an integer specifying the interval in which line numbers are | |
9086 printed. If it's smaller than or equal to zero, 1 | |
9087 is used. | |
9088 | |
9089 `zebra' specifies that only the line number of the first line in a | |
9090 zebra stripe is to be printed. | |
9091 | |
9092 Any other value is treated as `zebra'. | |
9093 | |
9094 The variable `ps-line-number-start' specifies the starting point in | |
9095 the interval given by `ps-line-number-step'. For example, if | |
9096 `ps-line-number-step' is set to 3, and `ps-line-number-start' is set to | |
9097 3, the output will look like: | |
9098 | |
9099 one line | |
9100 one line | |
9101 3 one line | |
9102 one line | |
9103 one line | |
9104 6 one line | |
9105 one line | |
9106 one line | |
9107 9 one line | |
9108 one line | |
9109 ... | |
9110 | |
9111 The variable `ps-postscript-code-directory' specifies the directory | |
9112 where the PostScript prologue file used by ps-print is found. | |
9113 | |
9114 The variable `ps-line-spacing' determines the line spacing in points, | |
9115 for ordinary text, when generating PostScript (similar to | |
9116 `ps-font-size'). | |
9117 | |
9118 The variable `ps-paragraph-spacing' determines the paragraph spacing, | |
9119 in points, for ordinary text, when generating PostScript (similar to | |
9120 `ps-font-size'). | |
9121 | |
9122 The variable `ps-paragraph-regexp' specifies the paragraph delimiter. | |
9123 | |
9124 The variable `ps-begin-cut-regexp' and `ps-end-cut-regexp' specify the | |
9125 start and end of a region to cut out when printing. | |
30922 | 9126 |
9127 ** hideshow changes. | |
9128 | |
9129 *** now supports hiding of blocks of single line comments (like // for | |
9130 C++, ; for lisp). | |
9131 | |
9132 *** Support for java-mode added. | |
9133 | |
9134 *** When doing `hs-hide-all' it is now possible to also hide the comments | |
9135 in the file if `hs-hide-comments-when-hiding-all' is set. | |
9136 | |
35862
9604ca6b3728
More typos from Juanma Barranquero <lektu@uol.com.br>.
Eli Zaretskii <eliz@gnu.org>
parents:
35847
diff
changeset
|
9137 *** The new function `hs-hide-initial-comment' hides the comments at |
30922 | 9138 the beginning of the files. Finally those huge RCS logs don't stay in your |
9139 way! This is run by default when entering the `hs-minor-mode'. | |
9140 | |
9141 *** Now uses overlays instead of `selective-display', so is more | |
9142 robust and a lot faster. | |
9143 | |
9144 *** A block beginning can span multiple lines. | |
9145 | |
9146 *** The new variable `hs-show-hidden-short-form' if t, directs hideshow | |
9147 to show only the beginning of a block when it is hidden. See the | |
9148 documentation for more details. | |
9149 | |
9150 ** Changes in Enriched mode. | |
9151 | |
9152 *** When you visit a file in enriched-mode, Emacs will make sure it is | |
9153 filled to the current fill-column. This behavior is now independent | |
9154 of the size of the window. When you save the file, the fill-column in | |
9155 use is stored as well, so that the whole buffer need not be refilled | |
9156 the next time unless the fill-column is different. | |
9157 | |
9158 *** use-hard-newlines is now a minor mode. When it is enabled, Emacs | |
9159 distinguishes between hard and soft newlines, and treats hard newlines | |
9160 as paragraph boundaries. Otherwise all newlines inserted are marked | |
9161 as soft, and paragraph boundaries are determined solely from the text. | |
9162 | |
9163 ** Font Lock mode | |
9164 | |
9165 *** Custom support | |
9166 | |
9167 The variables font-lock-face-attributes, font-lock-display-type and | |
9168 font-lock-background-mode are now obsolete; the recommended way to specify the | |
9169 faces to use for Font Lock mode is with M-x customize-group on the new custom | |
9170 group font-lock-highlighting-faces. If you set font-lock-face-attributes in | |
9171 your ~/.emacs file, Font Lock mode will respect its value. However, you should | |
9172 consider converting from setting that variable to using M-x customize. | |
9173 | |
9174 You can still use X resources to specify Font Lock face appearances. | |
9175 | |
9176 *** Maximum decoration | |
9177 | |
9178 Fontification now uses the maximum level of decoration supported by | |
9179 default. Previously, fontification used a mode-specific default level | |
9180 of decoration, which is typically the minimum level of decoration | |
9181 supported. You can set font-lock-maximum-decoration to nil | |
9182 to get the old behavior. | |
9183 | |
9184 *** New support | |
9185 | |
9186 Support is now provided for Java, Objective-C, AWK and SIMULA modes. | |
9187 | |
9188 Note that Font Lock mode can be turned on without knowing exactly what modes | |
9189 support Font Lock mode, via the command global-font-lock-mode. | |
9190 | |
9191 *** Configurable support | |
9192 | |
9193 Support for C, C++, Objective-C and Java can be more easily configured for | |
9194 additional types and classes via the new variables c-font-lock-extra-types, | |
9195 c++-font-lock-extra-types, objc-font-lock-extra-types and, you guessed it, | |
9196 java-font-lock-extra-types. These value of each of these variables should be a | |
9197 list of regexps matching the extra type names. For example, the default value | |
9198 of c-font-lock-extra-types is ("\\sw+_t") which means fontification follows the | |
9199 convention that C type names end in _t. This results in slower fontification. | |
9200 | |
9201 Of course, you can change the variables that specify fontification in whatever | |
9202 way you wish, typically by adding regexps. However, these new variables make | |
9203 it easier to make specific and common changes for the fontification of types. | |
9204 | |
9205 *** Adding highlighting patterns to existing support | |
9206 | |
9207 You can use the new function font-lock-add-keywords to add your own | |
9208 highlighting patterns, such as for project-local or user-specific constructs, | |
9209 for any mode. | |
9210 | |
9211 For example, to highlight `FIXME:' words in C comments, put: | |
9212 | |
9213 (font-lock-add-keywords 'c-mode '(("\\<FIXME:" 0 font-lock-warning-face t))) | |
9214 | |
9215 in your ~/.emacs. | |
9216 | |
9217 *** New faces | |
9218 | |
9219 Font Lock now defines two new faces, font-lock-builtin-face and | |
9220 font-lock-warning-face. These are intended to highlight builtin keywords, | |
9221 distinct from a language's normal keywords, and objects that should be brought | |
9222 to user attention, respectively. Various modes now use these new faces. | |
9223 | |
9224 *** Changes to fast-lock support mode | |
9225 | |
9226 The fast-lock package, one of the two Font Lock support modes, can now process | |
9227 cache files silently. You can use the new variable fast-lock-verbose, in the | |
9228 same way as font-lock-verbose, to control this feature. | |
9229 | |
9230 *** Changes to lazy-lock support mode | |
9231 | |
9232 The lazy-lock package, one of the two Font Lock support modes, can now fontify | |
9233 according to the true syntactic context relative to other lines. You can use | |
9234 the new variable lazy-lock-defer-contextually to control this feature. If | |
9235 non-nil, changes to the buffer will cause subsequent lines in the buffer to be | |
9236 refontified after lazy-lock-defer-time seconds of idle time. If nil, then only | |
9237 the modified lines will be refontified; this is the same as the previous Lazy | |
9238 Lock mode behaviour and the behaviour of Font Lock mode. | |
9239 | |
9240 This feature is useful in modes where strings or comments can span lines. | |
9241 For example, if a string or comment terminating character is deleted, then if | |
9242 this feature is enabled subsequent lines in the buffer will be correctly | |
9243 refontified to reflect their new syntactic context. Previously, only the line | |
9244 containing the deleted character would be refontified and you would have to use | |
9245 the command M-g M-g (font-lock-fontify-block) to refontify some lines. | |
9246 | |
9247 As a consequence of this new feature, two other variables have changed: | |
9248 | |
9249 Variable `lazy-lock-defer-driven' is renamed `lazy-lock-defer-on-scrolling'. | |
9250 Variable `lazy-lock-defer-time' can now only be a time, i.e., a number. | |
9251 Buffer modes for which on-the-fly deferral applies can be specified via the | |
9252 new variable `lazy-lock-defer-on-the-fly'. | |
9253 | |
9254 If you set these variables in your ~/.emacs, then you may have to change those | |
9255 settings. | |
9256 | |
9257 ** Ada mode changes. | |
9258 | |
9259 *** There is now better support for using find-file.el with Ada mode. | |
9260 If you switch between spec and body, the cursor stays in the same | |
9261 procedure (modulo overloading). If a spec has no body file yet, but | |
9262 you try to switch to its body file, Ada mode now generates procedure | |
9263 stubs. | |
9264 | |
9265 *** There are two new commands: | |
9266 - `ada-make-local' : invokes gnatmake on the current buffer | |
9267 - `ada-check-syntax' : check syntax of current buffer. | |
9268 | |
9269 The user options `ada-compiler-make', `ada-make-options', | |
9270 `ada-language-version', `ada-compiler-syntax-check', and | |
9271 `ada-compile-options' are used within these commands. | |
9272 | |
9273 *** Ada mode can now work with Outline minor mode. The outline level | |
9274 is calculated from the indenting, not from syntactic constructs. | |
9275 Outlining does not work if your code is not correctly indented. | |
9276 | |
9277 *** The new function `ada-gnat-style' converts the buffer to the style of | |
9278 formatting used in GNAT. It places two blanks after a comment start, | |
9279 places one blank between a word end and an opening '(', and puts one | |
9280 space between a comma and the beginning of a word. | |
9281 | |
9282 ** Scheme mode changes. | |
9283 | |
9284 *** Scheme mode indentation now uses many of the facilities of Lisp | |
9285 mode; therefore, the variables to customize it are the variables used | |
9286 for Lisp mode which have names starting with `lisp-'. The variables | |
9287 with names starting with `scheme-' which used to do this no longer | |
9288 have any effect. | |
9289 | |
9290 If you want to use different indentation for Scheme and Lisp, this is | |
9291 still possible, but now you must do it by adding a hook to | |
9292 scheme-mode-hook, which could work by setting the `lisp-' indentation | |
9293 variables as buffer-local variables. | |
9294 | |
9295 *** DSSSL mode is a variant of Scheme mode, for editing DSSSL scripts. | |
9296 Use M-x dsssl-mode. | |
9297 | |
9298 ** Changes to the emacsclient program | |
9299 | |
9300 *** If a socket can't be found, and environment variables LOGNAME or | |
9301 USER are set, emacsclient now looks for a socket based on the UID | |
9302 associated with the name. That is an emacsclient running as root | |
9303 can connect to an Emacs server started by a non-root user. | |
9304 | |
9305 *** The emacsclient program now accepts an option --no-wait which tells | |
9306 it to return immediately without waiting for you to "finish" the | |
9307 buffer in Emacs. | |
9308 | |
9309 *** The new option --alternate-editor allows to specify an editor to | |
9310 use if Emacs is not running. The environment variable | |
9311 ALTERNATE_EDITOR can be used for the same effect; the command line | |
9312 option takes precedence. | |
9313 | |
9314 ** M-x eldoc-mode enables a minor mode in which the echo area | |
9315 constantly shows the parameter list for function being called at point | |
9316 (in Emacs Lisp and Lisp Interaction modes only). | |
9317 | |
9318 ** C-x n d now runs the new command narrow-to-defun, | |
9319 which narrows the accessible parts of the buffer to just | |
9320 the current defun. | |
9321 | |
9322 ** Emacs now handles the `--' argument in the standard way; all | |
9323 following arguments are treated as ordinary file names. | |
9324 | |
9325 ** On MSDOS and Windows, the bookmark file is now called _emacs.bmk, | |
9326 and the saved desktop file is now called _emacs.desktop (truncated if | |
9327 necessary). | |
9328 | |
9329 ** When you kill a buffer that visits a file, | |
9330 if there are any registers that save positions in the file, | |
9331 these register values no longer become completely useless. | |
9332 If you try to go to such a register with C-x j, then you are | |
9333 asked whether to visit the file again. If you say yes, | |
9334 it visits the file and then goes to the same position. | |
9335 | |
9336 ** When you visit a file that changes frequently outside Emacs--for | |
9337 example, a log of output from a process that continues to run--it may | |
9338 be useful for Emacs to revert the file without querying you whenever | |
9339 you visit the file afresh with C-x C-f. | |
9340 | |
9341 You can request this behavior for certain files by setting the | |
9342 variable revert-without-query to a list of regular expressions. If a | |
9343 file's name matches any of these regular expressions, find-file and | |
9344 revert-buffer revert the buffer without asking for permission--but | |
9345 only if you have not edited the buffer text yourself. | |
9346 | |
9347 ** set-default-font has been renamed to set-frame-font | |
9348 since it applies only to the current frame. | |
9349 | |
9350 ** In TeX mode, you can use the variable tex-main-file to specify the | |
9351 file for tex-file to run TeX on. (By default, tex-main-file is nil, | |
9352 and tex-file runs TeX on the current visited file.) | |
9353 | |
9354 This is useful when you are editing a document that consists of | |
9355 multiple files. In each of the included files, you can set up a local | |
9356 variable list which specifies the top-level file of your document for | |
9357 tex-main-file. Then tex-file will run TeX on the whole document | |
9358 instead of just the file you are editing. | |
9359 | |
9360 ** RefTeX mode | |
9361 | |
9362 RefTeX mode is a new minor mode with special support for \label, \ref | |
9363 and \cite macros in LaTeX documents. RefTeX distinguishes labels of | |
9364 different environments (equation, figure, ...) and has full support for | |
9365 multifile documents. To use it, select a buffer with a LaTeX document and | |
9366 turn the mode on with M-x reftex-mode. Here are the main user commands: | |
9367 | |
9368 C-c ( reftex-label | |
9369 Creates a label semi-automatically. RefTeX is context sensitive and | |
9370 knows which kind of label is needed. | |
9371 | |
9372 C-c ) reftex-reference | |
9373 Offers in a menu all labels in the document, along with context of the | |
9374 label definition. The selected label is referenced as \ref{LABEL}. | |
9375 | |
9376 C-c [ reftex-citation | |
9377 Prompts for a regular expression and displays a list of matching BibTeX | |
9378 database entries. The selected entry is cited with a \cite{KEY} macro. | |
9379 | |
9380 C-c & reftex-view-crossref | |
9381 Views the cross reference of a \ref or \cite command near point. | |
9382 | |
9383 C-c = reftex-toc | |
9384 Shows a table of contents of the (multifile) document. From there you | |
9385 can quickly jump to every section. | |
9386 | |
9387 Under X, RefTeX installs a "Ref" menu in the menu bar, with additional | |
9388 commands. Press `?' to get help when a prompt mentions this feature. | |
9389 Full documentation and customization examples are in the file | |
9390 reftex.el. You can use the finder to view the file documentation: | |
9391 C-h p --> tex --> reftex.el | |
9392 | |
9393 ** Changes in BibTeX mode. | |
9394 | |
9395 *** Info documentation is now available. | |
9396 | |
9397 *** Don't allow parentheses in string constants anymore. This confused | |
9398 both the BibTeX program and Emacs BibTeX mode. | |
9399 | |
9400 *** Renamed variable bibtex-mode-user-optional-fields to | |
9401 bibtex-user-optional-fields. | |
9402 | |
9403 *** Removed variable bibtex-include-OPTannote | |
9404 (use bibtex-user-optional-fields instead). | |
9405 | |
9406 *** New interactive functions to copy and kill fields and complete | |
9407 entries to the BibTeX kill ring, from where they can be yanked back by | |
9408 appropriate functions. | |
9409 | |
9410 *** New interactive functions for repositioning and marking of | |
40526
b466f4f946a7
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40493
diff
changeset
|
9411 entries. They are bound by default to C-M-l and C-M-h. |
30922 | 9412 |
9413 *** New hook bibtex-clean-entry-hook. It is called after entry has | |
9414 been cleaned. | |
9415 | |
9416 *** New variable bibtex-field-delimiters, which replaces variables | |
9417 bibtex-field-{left|right}-delimiter. | |
9418 | |
9419 *** New variable bibtex-entry-delimiters to determine how entries | |
9420 shall be delimited. | |
9421 | |
9422 *** Allow preinitialization of fields. See documentation of | |
9423 bibtex-user-optional-fields, bibtex-entry-field-alist, and | |
9424 bibtex-include-OPTkey for details. | |
9425 | |
9426 *** Book and InBook entries require either an author or an editor | |
9427 field. This is now supported by bibtex.el. Alternative fields are | |
9428 prefixed with `ALT'. | |
9429 | |
9430 *** New variable bibtex-entry-format, which replaces variable | |
9431 bibtex-clean-entry-zap-empty-opts and allows specification of many | |
9432 formatting options performed on cleaning an entry (see variable | |
9433 documentation). | |
9434 | |
9435 *** Even more control on how automatic keys are generated. See | |
9436 documentation of bibtex-generate-autokey for details. Transcriptions | |
9437 for foreign languages other than German are now handled, too. | |
9438 | |
9439 *** New boolean user option bibtex-comma-after-last-field to decide if | |
9440 comma should be inserted at end of last field. | |
9441 | |
9442 *** New boolean user option bibtex-align-at-equal-sign to determine if | |
9443 alignment should be made at left side of field contents or at equal | |
9444 signs. New user options to control entry layout (e.g. indentation). | |
9445 | |
9446 *** New function bibtex-fill-entry to realign entries. | |
9447 | |
9448 *** New function bibtex-reformat to reformat region or buffer. | |
9449 | |
9450 *** New function bibtex-convert-alien to convert a BibTeX database | |
9451 from alien sources. | |
9452 | |
9453 *** New function bibtex-complete-key (similar to bibtex-complete-string) | |
9454 to complete prefix to a key defined in buffer. Mainly useful in | |
9455 crossref entries. | |
9456 | |
9457 *** New function bibtex-count-entries to count entries in buffer or | |
9458 region. | |
9459 | |
9460 *** Added support for imenu. | |
9461 | |
9462 *** The function `bibtex-validate' now checks current region instead | |
9463 of buffer if mark is active. Now it shows all errors of buffer in a | |
9464 `compilation mode' buffer. You can use the normal commands (e.g. | |
9465 `next-error') for compilation modes to jump to errors. | |
9466 | |
9467 *** New variable `bibtex-string-file-path' to determine where the files | |
9468 from `bibtex-string-files' are searched. | |
9469 | |
9470 ** Iso Accents mode now supports Latin-3 as an alternative. | |
9471 | |
9472 ** The command next-error now opens blocks hidden by hideshow. | |
9473 | |
9474 ** The function using-unix-filesystems has been replaced by the | |
9475 functions add-untranslated-filesystem and remove-untranslated-filesystem. | |
9476 Each of these functions takes the name of a drive letter or directory | |
9477 as an argument. | |
9478 | |
9479 When a filesystem is added as untranslated, all files on it are read | |
9480 and written in binary mode (no cr/lf translation is performed). | |
9481 | |
9482 ** browse-url changes | |
9483 | |
9484 *** New methods for: Grail (browse-url-generic), MMM (browse-url-mmm), | |
9485 Lynx in a separate xterm (browse-url-lynx-xterm) or in an Emacs window | |
9486 (browse-url-lynx-emacs), remote W3 (browse-url-w3-gnudoit), generic | |
9487 non-remote-controlled browsers (browse-url-generic) and associated | |
9488 customization variables. | |
9489 | |
9490 *** New commands `browse-url-of-region' and `browse-url'. | |
9491 | |
9492 *** URLs marked up with <URL:...> (RFC1738) work if broken across | |
9493 lines. Browsing methods can be associated with URL regexps | |
9494 (e.g. mailto: URLs) via `browse-url-browser-function'. | |
9495 | |
9496 ** Changes in Ediff | |
9497 | |
9498 *** Clicking Mouse-2 on a brief command description in Ediff control panel | |
9499 pops up the Info file for this command. | |
9500 | |
9501 *** There is now a variable, ediff-autostore-merges, which controls whether | |
9502 the result of a merge is saved in a file. By default, this is done only when | |
9503 merge is done from a session group (eg, when merging files in two different | |
9504 directories). | |
9505 | |
9506 *** Since Emacs 19.31 (this hasn't been announced before), Ediff can compare | |
9507 and merge groups of files residing in different directories, or revisions of | |
9508 files in the same directory. | |
9509 | |
9510 *** Since Emacs 19.31, Ediff can apply multi-file patches interactively. | |
9511 The patches must be in the context format or GNU unified format. (The bug | |
9512 related to the GNU format has now been fixed.) | |
9513 | |
9514 ** Changes in Viper | |
9515 | |
9516 *** The startup file is now .viper instead of .vip | |
9517 *** All variable/function names have been changed to start with viper- | |
9518 instead of vip-. | |
9519 *** C-\ now simulates the meta-key in all Viper states. | |
9520 *** C-z in Insert state now escapes to Vi for the duration of the next | |
9521 Viper command. In Vi and Insert states, C-z behaves as before. | |
9522 *** C-c \ escapes to Vi for one command if Viper is in Insert or Emacs states. | |
9523 *** _ is no longer the meta-key in Vi state. | |
9524 *** The variable viper-insert-state-cursor-color can be used to change cursor | |
9525 color when Viper is in insert state. | |
9526 *** If search lands the cursor near the top or the bottom of the window, | |
9527 Viper pulls the window up or down to expose more context. The variable | |
9528 viper-adjust-window-after-search controls this behavior. | |
9529 | |
9530 ** Etags changes. | |
9531 | |
9532 *** In C, C++, Objective C and Java, Etags tags global variables by | |
9533 default. The resulting tags files are inflated by 30% on average. | |
9534 Use --no-globals to turn this feature off. Etags can also tag | |
9535 variables which are members of structure-like constructs, but it does | |
9536 not by default. Use --members to turn this feature on. | |
9537 | |
9538 *** C++ member functions are now recognized as tags. | |
9539 | |
9540 *** Java is tagged like C++. In addition, "extends" and "implements" | |
9541 constructs are tagged. Files are recognised by the extension .java. | |
9542 | |
9543 *** Etags can now handle programs written in Postscript. Files are | |
9544 recognised by the extensions .ps and .pdb (Postscript with C syntax). | |
9545 In Postscript, tags are lines that start with a slash. | |
9546 | |
9547 *** Etags now handles Objective C and Objective C++ code. The usual C and | |
9548 C++ tags are recognized in these languages; in addition, etags | |
9549 recognizes special Objective C syntax for classes, class categories, | |
9550 methods and protocols. | |
9551 | |
9552 *** Etags also handles Cobol. Files are recognised by the extension | |
9553 .cobol. The tagged lines are those containing a word that begins in | |
9554 column 8 and ends in a full stop, i.e. anything that could be a | |
9555 paragraph name. | |
9556 | |
9557 *** Regexps in Etags now support intervals, as in ed or grep. The syntax of | |
9558 an interval is \{M,N\}, and it means to match the preceding expression | |
9559 at least M times and as many as N times. | |
9560 | |
9561 ** The format for specifying a custom format for time-stamp to insert | |
9562 in files has changed slightly. | |
9563 | |
9564 With the new enhancements to the functionality of format-time-string, | |
9565 time-stamp-format will change to be eventually compatible with it. | |
9566 This conversion is being done in two steps to maintain compatibility | |
9567 with old time-stamp-format values. | |
9568 | |
9569 In the new scheme, alternate case is signified by the number-sign | |
9570 (`#') modifier, rather than changing the case of the format character. | |
9571 This feature is as yet incompletely implemented for compatibility | |
9572 reasons. | |
9573 | |
9574 In the old time-stamp-format, all numeric fields defaulted to their | |
9575 natural width. (With format-time-string, each format has a | |
9576 fixed-width default.) In this version, you can specify the colon | |
9577 (`:') modifier to a numeric conversion to mean "give me the historical | |
9578 time-stamp-format width default." Do not use colon if you are | |
9579 specifying an explicit width, as in "%02d". | |
9580 | |
9581 Numbers are no longer truncated to the requested width, except in the | |
9582 case of "%02y", which continues to give a two-digit year. Digit | |
9583 truncation probably wasn't being used for anything else anyway. | |
9584 | |
9585 The new formats will work with old versions of Emacs. New formats are | |
9586 being recommended now to allow time-stamp-format to change in the | |
9587 future to be compatible with format-time-string. The new forms being | |
9588 recommended now will continue to work then. | |
9589 | |
9590 See the documentation string for the variable time-stamp-format for | |
9591 details. | |
9592 | |
9593 ** There are some additional major modes: | |
9594 | |
9595 dcl-mode, for editing VMS DCL files. | |
9596 m4-mode, for editing files of m4 input. | |
9597 meta-mode, for editing MetaFont and MetaPost source files. | |
9598 | |
9599 ** In Shell mode, the command shell-copy-environment-variable lets you | |
9600 copy the value of a specified environment variable from the subshell | |
9601 into Emacs. | |
9602 | |
9603 ** New Lisp packages include: | |
9604 | |
9605 *** battery.el displays battery status for laptops. | |
9606 | |
9607 *** M-x bruce (named after Lenny Bruce) is a program that might | |
9608 be used for adding some indecent words to your email. | |
9609 | |
9610 *** M-x crisp-mode enables an emulation for the CRiSP editor. | |
9611 | |
9612 *** M-x dirtrack arranges for better tracking of directory changes | |
9613 in shell buffers. | |
9614 | |
9615 *** The new library elint.el provides for linting of Emacs Lisp code. | |
9616 See the documentation for `elint-initialize', `elint-current-buffer' | |
9617 and `elint-defun'. | |
9618 | |
9619 *** M-x expand-add-abbrevs defines a special kind of abbrev which is | |
9620 meant for programming constructs. These abbrevs expand like ordinary | |
9621 ones, when you type SPC, but only at the end of a line and not within | |
9622 strings or comments. | |
9623 | |
9624 These abbrevs can act as templates: you can define places within an | |
9625 abbrev for insertion of additional text. Once you expand the abbrev, | |
9626 you can then use C-x a p and C-x a n to move back and forth to these | |
9627 insertion points. Thus you can conveniently insert additional text | |
9628 at these points. | |
9629 | |
9630 *** filecache.el remembers the location of files so that you | |
9631 can visit them by short forms of their names. | |
9632 | |
9633 *** find-func.el lets you find the definition of the user-loaded | |
9634 Emacs Lisp function at point. | |
9635 | |
9636 *** M-x handwrite converts text to a "handwritten" picture. | |
9637 | |
9638 *** M-x iswitchb-buffer is a command for switching to a buffer, much like | |
9639 switch-buffer, but it reads the argument in a more helpful way. | |
9640 | |
9641 *** M-x landmark implements a neural network for landmark learning. | |
9642 | |
9643 *** M-x locate provides a convenient interface to the `locate' program. | |
9644 | |
9645 *** M4 mode is a new mode for editing files of m4 input. | |
9646 | |
9647 *** mantemp.el creates C++ manual template instantiations | |
9648 from the GCC error messages which indicate which instantiations are needed. | |
9649 | |
9650 *** mouse-copy.el provides a one-click copy and move feature. | |
9651 You can drag a region with M-mouse-1, and it is automatically | |
9652 inserted at point. M-Shift-mouse-1 deletes the text from its | |
9653 original place after inserting the copy. | |
9654 | |
9655 *** mouse-drag.el lets you do scrolling by dragging Mouse-2 | |
9656 on the buffer. | |
9657 | |
9658 You click the mouse and move; that distance either translates into the | |
9659 velocity to scroll (with mouse-drag-throw) or the distance to scroll | |
9660 (with mouse-drag-drag). Horizontal scrolling is enabled when needed. | |
9661 | |
9662 Enable mouse-drag with: | |
9663 (global-set-key [down-mouse-2] 'mouse-drag-throw) | |
9664 -or- | |
9665 (global-set-key [down-mouse-2] 'mouse-drag-drag) | |
9666 | |
9667 *** mspools.el is useful for determining which mail folders have | |
9668 mail waiting to be read in them. It works with procmail. | |
9669 | |
9670 *** Octave mode is a major mode for editing files of input for Octave. | |
9671 It comes with a facility for communicating with an Octave subprocess. | |
9672 | |
9673 *** ogonek | |
9674 | |
9675 The ogonek package provides functions for changing the coding of | |
9676 Polish diacritic characters in buffers. Codings known from various | |
9677 platforms are supported such as ISO8859-2, Mazovia, IBM Latin2, and | |
9678 TeX. For example, you can change the coding from Mazovia to | |
9679 ISO8859-2. Another example is a change of coding from ISO8859-2 to | |
9680 prefix notation (in which `/a' stands for the aogonek character, for | |
9681 instance) and vice versa. | |
9682 | |
9683 To use this package load it using | |
9684 M-x load-library [enter] ogonek | |
9685 Then, you may get an explanation by calling one of | |
9686 M-x ogonek-jak -- in Polish | |
9687 M-x ogonek-how -- in English | |
9688 The info specifies the commands and variables provided as well as the | |
9689 ways of customization in `.emacs'. | |
9690 | |
9691 *** Interface to ph. | |
9692 | |
9693 Emacs provides a client interface to CCSO Nameservers (ph/qi) | |
9694 | |
9695 The CCSO nameserver is used in many universities to provide directory | |
9696 services about people. ph.el provides a convenient Emacs interface to | |
9697 these servers. | |
9698 | |
9699 *** uce.el is useful for replying to unsolicited commercial email. | |
9700 | |
9701 *** vcursor.el implements a "virtual cursor" feature. | |
9702 You can move the virtual cursor with special commands | |
9703 while the real cursor does not move. | |
9704 | |
9705 *** webjump.el is a "hot list" package which you can set up | |
9706 for visiting your favorite web sites. | |
9707 | |
9708 *** M-x winner-mode is a minor mode which saves window configurations, | |
9709 so you can move back to other configurations that you have recently used. | |
9710 | |
9711 ** movemail change | |
9712 | |
9713 Movemail no longer needs to be installed setuid root in order for POP | |
9714 mail retrieval to function properly. This is because it no longer | |
9715 supports the RPOP (reserved-port POP) protocol; instead, it uses the | |
9716 user's POP password to authenticate to the mail server. | |
9717 | |
9718 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
|
9719 |
30922 | 9720 * Emacs 20.1 changes for MS-DOS and MS-Windows. |
9721 | |
9722 ** Changes in handling MS-DOS/MS-Windows text files. | |
9723 | |
9724 Emacs handles three different conventions for representing | |
9725 end-of-line: CRLF for MSDOS, LF for Unix and GNU, and CR (used on the | |
9726 Macintosh). Emacs determines which convention is used in a specific | |
9727 file based on the contents of that file (except for certain special | |
9728 file names), and when it saves the file, it uses the same convention. | |
9729 | |
9730 To save the file and change the end-of-line convention, you can use | |
9731 C-x RET f (set-buffer-file-coding-system) to specify a different | |
9732 coding system for the buffer. Then, when you save the file, the newly | |
9733 specified coding system will take effect. For example, to save with | |
9734 LF, specify undecided-unix (or some other ...-unix coding system); to | |
9735 save with CRLF, specify undecided-dos. | |
35577
db5649648a65
Replace formfeeds removed on 2001/01/22.
Dave Love <fx@gnu.org>
parents:
35567
diff
changeset
|
9736 |
30922 | 9737 * Lisp Changes in Emacs 20.1 |
9738 | |
9739 ** Byte-compiled files made with Emacs 20 will, in general, work in | |
9740 Emacs 19 as well, as long as the source code runs in Emacs 19. And | |
9741 vice versa: byte-compiled files made with Emacs 19 should also run in | |
9742 Emacs 20, as long as the program itself works in Emacs 20. | |
9743 | |
9744 ** Windows-specific functions and variables have been renamed | |
9745 to start with w32- instead of win32-. | |
9746 | |
9747 In hacker language, calling something a "win" is a form of praise. We | |
9748 don't want to praise a non-free Microsoft system, so we don't call it | |
9749 "win". | |
9750 | |
9751 ** Basic Lisp changes | |
9752 | |
9753 *** A symbol whose name starts with a colon now automatically | |
9754 evaluates to itself. Therefore such a symbol can be used as a constant. | |
9755 | |
9756 *** The defined purpose of `defconst' has been changed. It should now | |
9757 be used only for values that should not be changed whether by a program | |
9758 or by the user. | |
9759 | |
9760 The actual behavior of defconst has not been changed. | |
9761 | |
9762 *** There are new macros `when' and `unless' | |
9763 | |
9764 (when CONDITION BODY...) is short for (if CONDITION (progn BODY...)) | |
9765 (unless CONDITION BODY...) is short for (if CONDITION nil BODY...) | |
9766 | |
9767 *** Emacs now defines functions caar, cadr, cdar and cddr with their | |
9768 usual Lisp meanings. For example, caar returns the car of the car of | |
9769 its argument. | |
9770 | |
9771 *** equal, when comparing strings, now ignores their text properties. | |
9772 | |
9773 *** The new function `functionp' tests whether an object is a function. | |
9774 | |
9775 *** arrayp now returns t for char-tables and bool-vectors. | |
9776 | |
9777 *** Certain primitives which use characters (as integers) now get an | |
9778 error if the integer is not a valid character code. These primitives | |
9779 include insert-char, char-to-string, and the %c construct in the | |
9780 `format' function. | |
9781 | |
9782 *** The `require' function now insists on adding a suffix, either .el | |
9783 or .elc, to the file name. Thus, (require 'foo) will not use a file | |
9784 whose name is just foo. It insists on foo.el or foo.elc. | |
9785 | |
9786 *** The `autoload' function, when the file name does not contain | |
9787 either a directory name or the suffix .el or .elc, insists on | |
9788 adding one of these suffixes. | |
9789 | |
9790 *** string-to-number now takes an optional second argument BASE | |
9791 which specifies the base to use when converting an integer. | |
9792 If BASE is omitted, base 10 is used. | |
9793 | |
9794 We have not implemented other radices for floating point numbers, | |
9795 because that would be much more work and does not seem useful. | |
9796 | |
9797 *** substring now handles vectors as well as strings. | |
9798 | |
9799 *** The Common Lisp function eql is no longer defined normally. | |
9800 You must load the `cl' library to define it. | |
9801 | |
9802 *** The new macro `with-current-buffer' lets you evaluate an expression | |
9803 conveniently with a different current buffer. It looks like this: | |
9804 | |
9805 (with-current-buffer BUFFER BODY-FORMS...) | |
9806 | |
9807 BUFFER is the expression that says which buffer to use. | |
9808 BODY-FORMS say what to do in that buffer. | |
9809 | |
9810 *** The new primitive `save-current-buffer' saves and restores the | |
9811 choice of current buffer, like `save-excursion', but without saving or | |
9812 restoring the value of point or the mark. `with-current-buffer' | |
9813 works using `save-current-buffer'. | |
9814 | |
9815 *** The new macro `with-temp-file' lets you do some work in a new buffer and | |
9816 write the output to a specified file. Like `progn', it returns the value | |
9817 of the last form. | |
9818 | |
9819 *** The new macro `with-temp-buffer' lets you do some work in a new buffer, | |
9820 which is discarded after use. Like `progn', it returns the value of the | |
9821 last form. If you wish to return the buffer contents, use (buffer-string) | |
9822 as the last form. | |
9823 | |
9824 *** The new function split-string takes a string, splits it at certain | |
9825 characters, and returns a list of the substrings in between the | |
9826 matches. | |
9827 | |
9828 For example, (split-string "foo bar lose" " +") returns ("foo" "bar" "lose"). | |
9829 | |
9830 *** The new macro with-output-to-string executes some Lisp expressions | |
9831 with standard-output set up so that all output feeds into a string. | |
9832 Then it returns that string. | |
9833 | |
9834 For example, if the current buffer name is `foo', | |
9835 | |
9836 (with-output-to-string | |
9837 (princ "The buffer is ") | |
9838 (princ (buffer-name))) | |
9839 | |
9840 returns "The buffer is foo". | |
9841 | |
9842 ** Non-ASCII characters are now supported, if enable-multibyte-characters | |
9843 is non-nil. | |
9844 | |
9845 These characters have character codes above 256. When inserted in the | |
9846 buffer or stored in a string, they are represented as multibyte | |
9847 characters that occupy several buffer positions each. | |
9848 | |
9849 *** When enable-multibyte-characters is non-nil, a single character in | |
9850 a buffer or string can be two or more bytes (as many as four). | |
9851 | |
9852 Buffers and strings are still made up of unibyte elements; | |
9853 character positions and string indices are always measured in bytes. | |
9854 Therefore, moving forward one character can increase the buffer | |
9855 position by 2, 3 or 4. The function forward-char moves by whole | |
9856 characters, and therefore is no longer equivalent to | |
9857 (lambda (n) (goto-char (+ (point) n))). | |
9858 | |
9859 ASCII characters (codes 0 through 127) are still single bytes, always. | |
9860 Sequences of byte values 128 through 255 are used to represent | |
9861 non-ASCII characters. These sequences are called "multibyte | |
9862 characters". | |
9863 | |
9864 The first byte of a multibyte character is always in the range 128 | |
9865 through 159 (octal 0200 through 0237). These values are called | |
9866 "leading codes". The second and subsequent bytes are always in the | |
9867 range 160 through 255 (octal 0240 through 0377). The first byte, the | |
9868 leading code, determines how many bytes long the sequence is. | |
9869 | |
9870 *** The function forward-char moves over characters, and therefore | |
9871 (forward-char 1) may increase point by more than 1 if it moves over a | |
9872 multibyte character. Likewise, delete-char always deletes a | |
9873 character, which may be more than one buffer position. | |
9874 | |
9875 This means that some Lisp programs, which assume that a character is | |
9876 always one buffer position, need to be changed. | |
9877 | |
9878 However, all ASCII characters are always one buffer position. | |
9879 | |
9880 *** The regexp [\200-\377] no longer matches all non-ASCII characters, | |
9881 because when enable-multibyte-characters is non-nil, these characters | |
9882 have codes that are not in the range octal 200 to octal 377. However, | |
9883 the regexp [^\000-\177] does match all non-ASCII characters, | |
9884 guaranteed. | |
9885 | |
9886 *** The function char-boundary-p returns non-nil if position POS is | |
9887 between two characters in the buffer (not in the middle of a | |
9888 character). | |
9889 | |
9890 When the value is non-nil, it says what kind of character follows POS: | |
9891 | |
9892 0 if POS is at an ASCII character or at the end of range, | |
9893 1 if POS is before a 2-byte length multi-byte form, | |
9894 2 if POS is at a head of 3-byte length multi-byte form, | |
9895 3 if POS is at a head of 4-byte length multi-byte form, | |
9896 4 if POS is at a head of multi-byte form of a composite character. | |
9897 | |
9898 *** The function char-bytes returns how many bytes the character CHAR uses. | |
9899 | |
9900 *** Strings can contain multibyte characters. The function | |
9901 `length' returns the string length counting bytes, which may be | |
9902 more than the number of characters. | |
9903 | |
9904 You can include a multibyte character in a string constant by writing | |
9905 it literally. You can also represent it with a hex escape, | |
9906 \xNNNNNNN..., using as many digits as necessary. Any character which | |
9907 is not a valid hex digit terminates this construct. If you want to | |
9908 follow it with a character that is a hex digit, write backslash and | |
9909 newline in between; that will terminate the hex escape. | |
9910 | |
9911 *** The function concat-chars takes arguments which are characters | |
9912 and returns a string containing those characters. | |
9913 | |
9914 *** The function sref access a multibyte character in a string. | |
9915 (sref STRING INDX) returns the character in STRING at INDEX. INDEX | |
9916 counts from zero. If INDEX is at a position in the middle of a | |
9917 character, sref signals an error. | |
9918 | |
9919 *** The function chars-in-string returns the number of characters | |
9920 in a string. This is less than the length of the string, if the | |
9921 string contains multibyte characters (the length counts bytes). | |
9922 | |
9923 *** The function chars-in-region returns the number of characters | |
9924 in a region from BEG to END. This is less than (- END BEG) if the | |
9925 region contains multibyte characters (the length counts bytes). | |
9926 | |
9927 *** The function string-to-list converts a string to a list of | |
9928 the characters in it. string-to-vector converts a string | |
9929 to a vector of the characters in it. | |
9930 | |
9931 *** The function store-substring alters part of the contents | |
9932 of a string. You call it as follows: | |
9933 | |
9934 (store-substring STRING IDX OBJ) | |
9935 | |
9936 This says to alter STRING, by storing OBJ starting at index IDX in | |
9937 STRING. OBJ may be either a character or a (smaller) string. | |
9938 This function really does alter the contents of STRING. | |
9939 Since it is impossible to change the length of an existing string, | |
9940 it is an error if OBJ doesn't fit within STRING's actual length. | |
9941 | |
9942 *** char-width returns the width (in columns) of the character CHAR, | |
9943 if it were displayed in the current buffer and the selected window. | |
9944 | |
9945 *** string-width returns the width (in columns) of the text in STRING, | |
9946 if it were displayed in the current buffer and the selected window. | |
9947 | |
9948 *** truncate-string-to-width shortens a string, if necessary, | |
9949 to fit within a certain number of columns. (Of course, it does | |
9950 not alter the string that you give it; it returns a new string | |
9951 which contains all or just part of the existing string.) | |
9952 | |
9953 (truncate-string-to-width STR END-COLUMN &optional START-COLUMN PADDING) | |
9954 | |
9955 This returns the part of STR up to column END-COLUMN. | |
9956 | |
9957 The optional argument START-COLUMN specifies the starting column. | |
9958 If this is non-nil, then the first START-COLUMN columns of the string | |
9959 are not included in the resulting value. | |
9960 | |
9961 The optional argument PADDING, if non-nil, is a padding character to be added | |
9962 at the beginning and end the resulting string, to extend it to exactly | |
9963 WIDTH columns. If PADDING is nil, that means do not pad; then, if STRING | |
9964 is narrower than WIDTH, the value is equal to STRING. | |
9965 | |
9966 If PADDING and START-COLUMN are both non-nil, and if there is no clean | |
9967 place in STRING that corresponds to START-COLUMN (because one | |
9968 character extends across that column), then the padding character | |
9969 PADDING is added one or more times at the beginning of the result | |
9970 string, so that its columns line up as if it really did start at | |
9971 column START-COLUMN. | |
9972 | |
9973 *** When the functions in the list after-change-functions are called, | |
9974 the third argument is the number of bytes in the pre-change text, not | |
9975 necessarily the number of characters. It is, in effect, the | |
9976 difference in buffer position between the beginning and the end of the | |
9977 changed text, before the change. | |
9978 | |
9979 *** The characters Emacs uses are classified in various character | |
9980 sets, each of which has a name which is a symbol. In general there is | |
9981 one character set for each script, not for each language. | |
9982 | |
9983 **** The function charsetp tests whether an object is a character set name. | |
9984 | |
9985 **** The variable charset-list holds a list of character set names. | |
9986 | |
9987 **** char-charset, given a character code, returns the name of the character | |
9988 set that the character belongs to. (The value is a symbol.) | |
9989 | |
9990 **** split-char, given a character code, returns a list containing the | |
9991 name of the character set, followed by one or two byte-values | |
9992 which identify the character within that character set. | |
9993 | |
9994 **** make-char, given a character set name and one or two subsequent | |
9995 byte-values, constructs a character code. This is roughly the | |
9996 opposite of split-char. | |
9997 | |
9998 **** find-charset-region returns a list of the character sets | |
9999 of all the characters between BEG and END. | |
10000 | |
10001 **** find-charset-string returns a list of the character sets | |
10002 of all the characters in a string. | |
10003 | |
10004 *** Here are the Lisp facilities for working with coding systems | |
10005 and specifying coding systems. | |
10006 | |
10007 **** The function coding-system-list returns a list of all coding | |
10008 system names (symbols). With optional argument t, it returns a list | |
10009 of all distinct base coding systems, not including variants. | |
10010 (Variant coding systems are those like latin-1-dos, latin-1-unix | |
10011 and latin-1-mac which specify the end-of-line conversion as well | |
10012 as what to do about code conversion.) | |
10013 | |
10014 **** coding-system-p tests a symbol to see if it is a coding system | |
10015 name. It returns t if so, nil if not. | |
10016 | |
10017 **** file-coding-system-alist specifies which coding systems to use | |
10018 for certain file names. It works like network-coding-system-alist, | |
10019 except that the PATTERN is matched against the file name. | |
10020 | |
10021 Each element has the format (PATTERN . VAL), where PATTERN determines | |
10022 which file names the element applies to. PATTERN should be a regexp | |
10023 to match against a file name. | |
10024 | |
10025 VAL is a coding system, a cons cell containing two coding systems, or | |
10026 a function symbol. If VAL is a coding system, it is used for both | |
10027 decoding what received from the network stream and encoding what sent | |
10028 to the network stream. If VAL is a cons cell containing two coding | |
10029 systems, the car specifies the coding system for decoding, and the cdr | |
10030 specifies the coding system for encoding. | |
10031 | |
10032 If VAL is a function symbol, the function must return a coding system | |
10033 or a cons cell containing two coding systems, which is used as above. | |
10034 | |
10035 **** The variable network-coding-system-alist specifies | |
10036 the coding system to use for network sockets. | |
10037 | |
10038 Each element has the format (PATTERN . VAL), where PATTERN determines | |
10039 which network sockets the element applies to. PATTERN should be | |
10040 either a port number or a regular expression matching some network | |
10041 service names. | |
10042 | |
10043 VAL is a coding system, a cons cell containing two coding systems, or | |
10044 a function symbol. If VAL is a coding system, it is used for both | |
10045 decoding what received from the network stream and encoding what sent | |
10046 to the network stream. If VAL is a cons cell containing two coding | |
10047 systems, the car specifies the coding system for decoding, and the cdr | |
10048 specifies the coding system for encoding. | |
10049 | |
10050 If VAL is a function symbol, the function must return a coding system | |
10051 or a cons cell containing two coding systems, which is used as above. | |
10052 | |
10053 **** process-coding-system-alist specifies which coding systems to use | |
10054 for certain subprocess. It works like network-coding-system-alist, | |
10055 except that the PATTERN is matched against the program name used to | |
10056 start the subprocess. | |
10057 | |
10058 **** The variable default-process-coding-system specifies the coding | |
10059 systems to use for subprocess (and net connection) input and output, | |
10060 when nothing else specifies what to do. The value is a cons cell | |
10061 (OUTPUT-CODING . INPUT-CODING). OUTPUT-CODING applies to output | |
10062 to the subprocess, and INPUT-CODING applies to input from it. | |
10063 | |
10064 **** The variable coding-system-for-write, if non-nil, specifies the | |
10065 coding system to use for writing a file, or for output to a synchronous | |
10066 subprocess. | |
10067 | |
10068 It also applies to any asynchronous subprocess or network connection, | |
10069 but in a different way: the value of coding-system-for-write when you | |
10070 start the subprocess or connection affects that subprocess or | |
10071 connection permanently or until overridden. | |
10072 | |
10073 The variable coding-system-for-write takes precedence over | |
10074 file-coding-system-alist, process-coding-system-alist and | |
10075 network-coding-system-alist, and all other methods of specifying a | |
10076 coding system for output. But most of the time this variable is nil. | |
10077 It exists so that Lisp programs can bind it to a specific coding | |
10078 system for one operation at a time. | |
10079 | |
10080 **** coding-system-for-read applies similarly to input from | |
10081 files, subprocesses or network connections. | |
10082 | |
10083 **** The function process-coding-system tells you what | |
10084 coding systems(s) an existing subprocess is using. | |
10085 The value is a cons cell, | |
10086 (DECODING-CODING-SYSTEM . ENCODING-CODING-SYSTEM) | |
10087 where DECODING-CODING-SYSTEM is used for decoding output from | |
10088 the subprocess, and ENCODING-CODING-SYSTEM is used for encoding | |
10089 input to the subprocess. | |
10090 | |
10091 **** The function set-process-coding-system can be used to | |
10092 change the coding systems in use for an existing subprocess. | |
10093 | |
10094 ** Emacs has a new facility to help users manage the many | |
10095 customization options. To make a Lisp program work with this facility, | |
10096 you need to use the new macros defgroup and defcustom. | |
10097 | |
10098 You use defcustom instead of defvar, for defining a user option | |
10099 variable. The difference is that you specify two additional pieces of | |
10100 information (usually): the "type" which says what values are | |
10101 legitimate, and the "group" which specifies the hierarchy for | |
10102 customization. | |
10103 | |
10104 Thus, instead of writing | |
10105 | |
10106 (defvar foo-blurgoze nil | |
10107 "*Non-nil means that foo will act very blurgozely.") | |
10108 | |
10109 you would now write this: | |
10110 | |
10111 (defcustom foo-blurgoze nil | |
10112 "*Non-nil means that foo will act very blurgozely." | |
10113 :type 'boolean | |
10114 :group foo) | |
10115 | |
10116 The type `boolean' means that this variable has only | |
10117 two meaningful states: nil and non-nil. Other type values | |
10118 describe other possibilities; see the manual for Custom | |
10119 for a description of them. | |
10120 | |
10121 The "group" argument is used to specify a group which the option | |
10122 should belong to. You define a new group like this: | |
10123 | |
10124 (defgroup ispell nil | |
10125 "Spell checking using Ispell." | |
10126 :group 'processes) | |
10127 | |
10128 The "group" argument in defgroup specifies the parent group. The root | |
10129 group is called `emacs'; it should not contain any variables itself, | |
10130 but only other groups. The immediate subgroups of `emacs' correspond | |
10131 to the keywords used by C-h p. Under these subgroups come | |
10132 second-level subgroups that belong to individual packages. | |
10133 | |
10134 Each Emacs package should have its own set of groups. A simple | |
10135 package should have just one group; a more complex package should | |
10136 have a hierarchy of its own groups. The sole or root group of a | |
10137 package should be a subgroup of one or more of the "keyword" | |
10138 first-level subgroups. | |
10139 | |
10140 ** New `widget' library for inserting UI components in buffers. | |
10141 | |
10142 This library, used by the new custom library, is documented in a | |
10143 separate manual that accompanies Emacs. | |
10144 | |
10145 ** easy-mmode | |
10146 | |
10147 The easy-mmode package provides macros and functions that make | |
10148 developing minor modes easier. Roughly, the programmer has to code | |
10149 only the functionality of the minor mode. All the rest--toggles, | |
10150 predicate, and documentation--can be done in one call to the macro | |
10151 `easy-mmode-define-minor-mode' (see the documentation). See also | |
10152 `easy-mmode-define-keymap'. | |
10153 | |
10154 ** Text property changes | |
10155 | |
10156 *** The `intangible' property now works on overlays as well as on a | |
10157 text property. | |
10158 | |
10159 *** The new functions next-char-property-change and | |
10160 previous-char-property-change scan through the buffer looking for a | |
10161 place where either a text property or an overlay might change. The | |
10162 functions take two arguments, POSITION and LIMIT. POSITION is the | |
10163 starting position for the scan. LIMIT says where to stop the scan. | |
10164 | |
10165 If no property change is found before LIMIT, the value is LIMIT. If | |
10166 LIMIT is nil, scan goes to the beginning or end of the accessible part | |
10167 of the buffer. If no property change is found, the value is the | |
10168 position of the beginning or end of the buffer. | |
10169 | |
10170 *** In the `local-map' text property or overlay property, the property | |
10171 value can now be a symbol whose function definition is a keymap. This | |
10172 is an alternative to using the keymap itself. | |
10173 | |
10174 ** Changes in invisibility features | |
10175 | |
10176 *** Isearch can now temporarily show parts of the buffer which are | |
10177 hidden by an overlay with a invisible property, when the search match | |
10178 is inside that portion of the buffer. To enable this the overlay | |
10179 should have a isearch-open-invisible property which is a function that | |
10180 would be called having the overlay as an argument, the function should | |
10181 make the overlay visible. | |
10182 | |
10183 During incremental search the overlays are shown by modifying the | |
10184 invisible and intangible properties, if beside this more actions are | |
10185 needed the overlay should have a isearch-open-invisible-temporary | |
10186 which is a function. The function is called with 2 arguments: one is | |
10187 the overlay and the second is nil when it should show the overlay and | |
10188 t when it should hide it. | |
10189 | |
10190 *** add-to-invisibility-spec, remove-from-invisibility-spec | |
10191 | |
10192 Modes that use overlays to hide portions of a buffer should set the | |
10193 invisible property of the overlay to the mode's name (or another symbol) | |
10194 and modify the `buffer-invisibility-spec' to include that symbol. | |
10195 Use `add-to-invisibility-spec' and `remove-from-invisibility-spec' to | |
10196 manipulate the `buffer-invisibility-spec'. | |
10197 Here is an example of how to do this: | |
10198 | |
10199 ;; If we want to display an ellipsis: | |
10200 (add-to-invisibility-spec '(my-symbol . t)) | |
10201 ;; If you don't want ellipsis: | |
10202 (add-to-invisibility-spec 'my-symbol) | |
10203 | |
10204 ... | |
10205 (overlay-put (make-overlay beginning end) 'invisible 'my-symbol) | |
10206 | |
10207 ... | |
10208 ;; When done with the overlays: | |
10209 (remove-from-invisibility-spec '(my-symbol . t)) | |
10210 ;; Or respectively: | |
10211 (remove-from-invisibility-spec 'my-symbol) | |
10212 | |
10213 ** Changes in syntax parsing. | |
10214 | |
10215 *** The syntax-directed buffer-scan functions (such as | |
10216 `parse-partial-sexp', `forward-word' and similar functions) can now | |
10217 obey syntax information specified by text properties, if the variable | |
10218 `parse-sexp-lookup-properties' is non-nil. | |
10219 | |
10220 If the value of `parse-sexp-lookup-properties' is nil, the behavior | |
10221 is as before: the syntax-table of the current buffer is always | |
10222 used to determine the syntax of the character at the position. | |
10223 | |
10224 When `parse-sexp-lookup-properties' is non-nil, the syntax of a | |
10225 character in the buffer is calculated thus: | |
10226 | |
10227 a) if the `syntax-table' text-property of that character | |
10228 is a cons, this cons becomes the syntax-type; | |
10229 | |
10230 Valid values of `syntax-table' text-property are: nil, a valid | |
10231 syntax-table, and a valid syntax-table element, i.e., | |
10232 a cons cell of the form (SYNTAX-CODE . MATCHING-CHAR). | |
10233 | |
10234 b) if the character's `syntax-table' text-property | |
10235 is a syntax table, this syntax table is used | |
10236 (instead of the syntax-table of the current buffer) to | |
10237 determine the syntax type of the character. | |
10238 | |
10239 c) otherwise the syntax-type is determined by the syntax-table | |
10240 of the current buffer. | |
10241 | |
10242 *** The meaning of \s in regular expressions is also affected by the | |
10243 value of `parse-sexp-lookup-properties'. The details are the same as | |
10244 for the syntax-directed buffer-scan functions. | |
10245 | |
10246 *** There are two new syntax-codes, `!' and `|' (numeric values 14 | |
10247 and 15). A character with a code `!' starts a comment which is ended | |
10248 only by another character with the same code (unless quoted). A | |
10249 character with a code `|' starts a string which is ended only by | |
10250 another character with the same code (unless quoted). | |
10251 | |
10252 These codes are mainly meant for use as values of the `syntax-table' | |
10253 text property. | |
10254 | |
10255 *** The function `parse-partial-sexp' has new semantics for the sixth | |
10256 arg COMMENTSTOP. If it is `syntax-table', parse stops after the start | |
10257 of a comment or a string, or after end of a comment or a string. | |
10258 | |
10259 *** The state-list which the return value from `parse-partial-sexp' | |
10260 (and can also be used as an argument) now has an optional ninth | |
10261 element: the character address of the start of last comment or string; | |
10262 nil if none. The fourth and eighth elements have special values if the | |
10263 string/comment is started by a "!" or "|" syntax-code. | |
10264 | |
10265 *** Since new features of `parse-partial-sexp' allow a complete | |
10266 syntactic parsing, `font-lock' no longer supports | |
10267 `font-lock-comment-start-regexp'. | |
10268 | |
10269 ** Changes in face features | |
10270 | |
10271 *** The face functions are now unconditionally defined in Emacs, even | |
10272 if it does not support displaying on a device that supports faces. | |
10273 | |
10274 *** The function face-documentation returns the documentation string | |
10275 of a face (or nil if it doesn't have one). | |
10276 | |
10277 *** The function face-bold-p returns t if a face should be bold. | |
10278 set-face-bold-p sets that flag. | |
10279 | |
10280 *** The function face-italic-p returns t if a face should be italic. | |
10281 set-face-italic-p sets that flag. | |
10282 | |
10283 *** You can now specify foreground and background colors for text | |
10284 by adding elements of the form (foreground-color . COLOR-NAME) | |
10285 and (background-color . COLOR-NAME) to the list of faces in | |
10286 the `face' property (either the character's text property or an | |
10287 overlay property). | |
10288 | |
10289 This means that you no longer need to create named faces to use | |
10290 arbitrary colors in a Lisp package. | |
10291 | |
10292 ** Changes in file-handling functions | |
10293 | |
10294 *** File-access primitive functions no longer discard an extra redundant | |
10295 directory name from the beginning of the file name. In other words, | |
10296 they no longer do anything special with // or /~. That conversion | |
10297 is now done only in substitute-in-file-name. | |
10298 | |
10299 This makes it possible for a Lisp program to open a file whose name | |
10300 begins with ~. | |
10301 | |
10302 *** If copy-file is unable to set the date of the output file, | |
10303 it now signals an error with the condition file-date-error. | |
10304 | |
10305 *** The inode number returned by file-attributes may be an integer (if | |
10306 the number fits in a Lisp integer) or a list of integers. | |
10307 | |
10308 *** insert-file-contents can now read from a special file, | |
10309 as long as the arguments VISIT and REPLACE are nil. | |
10310 | |
10311 *** The RAWFILE arg to find-file-noselect, if non-nil, now suppresses | |
10312 character code conversion as well as other things. | |
10313 | |
10314 Meanwhile, this feature does work with remote file names | |
10315 (formerly it did not). | |
10316 | |
10317 *** Lisp packages which create temporary files should use the TMPDIR | |
10318 environment variable to decide which directory to put them in. | |
10319 | |
10320 *** interpreter-mode-alist elements now specify regexps | |
10321 instead of constant strings. | |
10322 | |
10323 *** expand-file-name no longer treats `//' or `/~' specially. It used | |
10324 to delete all the text of a file name up through the first slash of | |
10325 any `//' or `/~' sequence. Now it passes them straight through. | |
10326 | |
10327 substitute-in-file-name continues to treat those sequences specially, | |
10328 in the same way as before. | |
10329 | |
10330 *** The variable `format-alist' is more general now. | |
10331 The FROM-FN and TO-FN in a format definition can now be strings | |
10332 which specify shell commands to use as filters to perform conversion. | |
10333 | |
10334 *** The new function access-file tries to open a file, and signals an | |
10335 error if that fails. If the open succeeds, access-file does nothing | |
10336 else, and returns nil. | |
10337 | |
10338 *** The function insert-directory now signals an error if the specified | |
10339 directory cannot be listed. | |
10340 | |
10341 ** Changes in minibuffer input | |
10342 | |
10343 *** The functions read-buffer, read-variable, read-command, read-string | |
10344 read-file-name, read-from-minibuffer and completing-read now take an | |
10345 additional argument which specifies the default value. If this | |
10346 argument is non-nil, it should be a string; that string is used in two | |
10347 ways: | |
10348 | |
10349 It is returned if the user enters empty input. | |
10350 It is available through the history command M-n. | |
10351 | |
10352 *** The functions read-string, read-from-minibuffer, | |
10353 read-no-blanks-input and completing-read now take an additional | |
10354 argument INHERIT-INPUT-METHOD. If this is non-nil, then the | |
10355 minibuffer inherits the current input method and the setting of | |
10356 enable-multibyte-characters from the previously current buffer. | |
10357 | |
10358 In an interactive spec, you can use M instead of s to read an | |
10359 argument in this way. | |
10360 | |
10361 *** All minibuffer input functions discard text properties | |
10362 from the text you enter in the minibuffer, unless the variable | |
10363 minibuffer-allow-text-properties is non-nil. | |
10364 | |
10365 ** Echo area features | |
10366 | |
10367 *** Clearing the echo area now runs the normal hook | |
10368 echo-area-clear-hook. Note that the echo area can be used while the | |
10369 minibuffer is active; in that case, the minibuffer is still active | |
10370 after the echo area is cleared. | |
10371 | |
10372 *** The function current-message returns the message currently displayed | |
10373 in the echo area, or nil if there is none. | |
10374 | |
10375 ** Keyboard input features | |
10376 | |
10377 *** tty-erase-char is a new variable that reports which character was | |
10378 set up as the terminal's erase character when time Emacs was started. | |
10379 | |
10380 *** num-nonmacro-input-events is the total number of input events | |
10381 received so far from the terminal. It does not count those generated | |
10382 by keyboard macros. | |
10383 | |
10384 ** Frame-related changes | |
10385 | |
10386 *** make-frame runs the normal hook before-make-frame-hook just before | |
10387 creating a frame, and just after creating a frame it runs the abnormal | |
10388 hook after-make-frame-functions with the new frame as arg. | |
10389 | |
10390 *** The new hook window-configuration-change-hook is now run every time | |
10391 the window configuration has changed. The frame whose configuration | |
10392 has changed is the selected frame when the hook is run. | |
10393 | |
10394 *** Each frame now independently records the order for recently | |
10395 selected buffers, in its buffer-list frame parameter, so that the | |
10396 value of other-buffer is now based on the buffers recently displayed | |
10397 in the selected frame. | |
10398 | |
10399 *** The value of the frame parameter vertical-scroll-bars | |
10400 is now `left', `right' or nil. A non-nil value specifies | |
10401 which side of the window to put the scroll bars on. | |
10402 | |
10403 ** X Windows features | |
10404 | |
10405 *** You can examine X resources for other applications by binding | |
10406 x-resource-class around a call to x-get-resource. The usual value of | |
10407 x-resource-class is "Emacs", which is the correct value for Emacs. | |
10408 | |
10409 *** In menus, checkboxes and radio buttons now actually work. | |
10410 The menu displays the current status of the box or button. | |
10411 | |
10412 *** The function x-list-fonts now takes an optional fourth argument | |
10413 MAXIMUM which sets a limit on how many matching fonts to return. | |
10414 A smaller value of MAXIMUM makes the function faster. | |
10415 | |
10416 If the only question is whether *any* font matches the pattern, | |
10417 it is good to supply 1 for this argument. | |
10418 | |
10419 ** Subprocess features | |
10420 | |
10421 *** A reminder: it is no longer necessary for subprocess filter | |
10422 functions and sentinels to do save-match-data, because Emacs does this | |
10423 automatically. | |
10424 | |
10425 *** The new function shell-command-to-string executes a shell command | |
10426 and returns the output from the command as a string. | |
10427 | |
10428 *** The new function process-contact returns t for a child process, | |
10429 and (HOSTNAME SERVICE) for a net connection. | |
10430 | |
10431 ** An error in running pre-command-hook or post-command-hook | |
10432 does clear the variable to nil. The documentation was wrong before. | |
10433 | |
10434 ** In define-key-after, if AFTER is t, the new binding now always goes | |
10435 at the end of the keymap. If the keymap is a menu, this means it | |
10436 goes after the other menu items. | |
10437 | |
10438 ** If you have a program that makes several changes in the same area | |
10439 of the buffer, you can use the macro combine-after-change-calls | |
10440 around that Lisp code to make it faster when after-change hooks | |
10441 are in use. | |
10442 | |
10443 The macro arranges to call the after-change functions just once for a | |
10444 series of several changes--if that seems safe. | |
10445 | |
10446 Don't alter the variables after-change-functions and | |
10447 after-change-function within the body of a combine-after-change-calls | |
10448 form. | |
10449 | |
10450 ** If you define an abbrev (with define-abbrev) whose EXPANSION | |
10451 is not a string, then the abbrev does not expand in the usual sense, | |
10452 but its hook is still run. | |
10453 | |
10454 ** Normally, the Lisp debugger is not used (even if you have enabled it) | |
10455 for errors that are handled by condition-case. | |
10456 | |
10457 If you set debug-on-signal to a non-nil value, then the debugger is called | |
10458 regardless of whether there is a handler for the condition. This is | |
10459 useful for debugging problems that happen inside of a condition-case. | |
10460 | |
10461 This mode of operation seems to be unreliable in other ways. Errors that | |
10462 are normal and ought to be handled, perhaps in timers or process | |
10463 filters, will instead invoke the debugger. So don't say you weren't | |
10464 warned. | |
10465 | |
10466 ** The new variable ring-bell-function lets you specify your own | |
10467 way for Emacs to "ring the bell". | |
10468 | |
10469 ** If run-at-time's TIME argument is t, the action is repeated at | |
10470 integral multiples of REPEAT from the epoch; this is useful for | |
10471 functions like display-time. | |
10472 | |
10473 ** You can use the function locate-library to find the precise file | |
10474 name of a Lisp library. This isn't new, but wasn't documented before. | |
10475 | |
10476 ** Commands for entering view mode have new optional arguments that | |
10477 can be used from Lisp. Low-level entrance to and exit from view mode | |
10478 is done by functions view-mode-enter and view-mode-exit. | |
10479 | |
10480 ** batch-byte-compile-file now makes Emacs return a nonzero status code | |
10481 if there is an error in compilation. | |
10482 | |
10483 ** pop-to-buffer, switch-to-buffer-other-window and | |
10484 switch-to-buffer-other-frame now accept an additional optional | |
10485 argument NORECORD, much like switch-to-buffer. If it is non-nil, | |
10486 they don't put the buffer at the front of the buffer list. | |
10487 | |
10488 ** If your .emacs file leaves the *scratch* buffer non-empty, | |
10489 Emacs does not display the startup message, so as to avoid changing | |
10490 the *scratch* buffer. | |
10491 | |
10492 ** The new function regexp-opt returns an efficient regexp to match a string. | |
10493 The arguments are STRINGS and (optionally) PAREN. This function can be used | |
10494 where regexp matching or searching is intensively used and speed is important, | |
10495 e.g., in Font Lock mode. | |
10496 | |
10497 ** The variable buffer-display-count is local to each buffer, | |
10498 and is incremented each time the buffer is displayed in a window. | |
10499 It starts at 0 when the buffer is created. | |
10500 | |
10501 ** The new function compose-mail starts composing a mail message | |
10502 using the user's chosen mail composition agent (specified with the | |
10503 variable mail-user-agent). It has variants compose-mail-other-window | |
10504 and compose-mail-other-frame. | |
10505 | |
10506 ** The `user-full-name' function now takes an optional parameter which | |
10507 can either be a number (the UID) or a string (the login name). The | |
10508 full name of the specified user will be returned. | |
10509 | |
10510 ** Lisp packages that load files of customizations, or any other sort | |
10511 of user profile, should obey the variable init-file-user in deciding | |
10512 where to find it. They should load the profile of the user name found | |
10513 in that variable. If init-file-user is nil, meaning that the -q | |
10514 option was used, then Lisp packages should not load the customization | |
10515 files at all. | |
10516 | |
10517 ** format-time-string now allows you to specify the field width | |
10518 and type of padding. This works as in printf: you write the field | |
10519 width as digits in the middle of a %-construct. If you start | |
10520 the field width with 0, it means to pad with zeros. | |
10521 | |
10522 For example, %S normally specifies the number of seconds since the | |
10523 minute; %03S means to pad this with zeros to 3 positions, %_3S to pad | |
10524 with spaces to 3 positions. Plain %3S pads with zeros, because that | |
10525 is how %S normally pads to two positions. | |
10526 | |
10527 ** thing-at-point now supports a new kind of "thing": url. | |
10528 | |
10529 ** imenu.el changes. | |
10530 | |
10531 You can now specify a function to be run when selecting an | |
10532 item from menu created by imenu. | |
10533 | |
10534 An example of using this feature: if we define imenu items for the | |
10535 #include directives in a C file, we can open the included file when we | |
10536 select one of those items. | |
35577
db5649648a65
Replace formfeeds removed on 2001/01/22.
Dave Love <fx@gnu.org>
parents:
35567
diff
changeset
|
10537 |
30922 | 10538 * For older news, see the file ONEWS |
25853 | 10539 |
10540 ---------------------------------------------------------------------- | |
10541 Copyright information: | |
10542 | |
35326
f30feeecf1c1
backward-delete-char-untabify-method
Dave Love <fx@gnu.org>
parents:
35297
diff
changeset
|
10543 Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc. |
25853 | 10544 |
10545 Permission is granted to anyone to make or distribute verbatim copies | |
10546 of this document as received, in any medium, provided that the | |
10547 copyright notice and this permission notice are preserved, | |
10548 thus giving the recipient permission to redistribute in turn. | |
10549 | |
10550 Permission is granted to distribute modified versions | |
10551 of this document, or of portions of it, | |
10552 under the above conditions, provided also that they | |
10553 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
|
10554 |
25853 | 10555 Local variables: |
10556 mode: outline | |
10557 paragraph-separate: "[ ]*$" | |
10558 end: |