Mercurial > emacs
annotate etc/NEWS @ 41058:3532d3226828
(Define Images): Fix the documentation of defimage. Suggested by
Kim F. Storm.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Wed, 14 Nov 2001 19:31:18 +0000 |
parents | ff0394a304bd |
children | 418fff19f92e |
rev | line source |
---|---|
36821 | 1 GNU Emacs NEWS -- history of user-visible changes. 2001-03-15 |
35326
f30feeecf1c1
backward-delete-char-untabify-method
Dave Love <fx@gnu.org>
parents:
35297
diff
changeset
|
2 Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc. |
25853 | 3 See the end for copying conditions. |
4 | |
5 Please send Emacs bug reports to bug-gnu-emacs@gnu.org. | |
30922 | 6 For older news, see the file ONEWS |
25853 | 7 |
40916
4a749a84888c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40889
diff
changeset
|
8 Temporary note: +++ indicates that the appropriate manual |
4a749a84888c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40889
diff
changeset
|
9 has already been updated. --- means no change in the manuals |
4a749a84888c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40889
diff
changeset
|
10 is called for. |
35577
db5649648a65
Replace formfeeds removed on 2001/01/22.
Dave Love <fx@gnu.org>
parents:
35567
diff
changeset
|
11 |
40729
650fb912b343
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40686
diff
changeset
|
12 * Changes in Emacs 21.3 |
650fb912b343
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40686
diff
changeset
|
13 |
40916
4a749a84888c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40889
diff
changeset
|
14 +++ |
4a749a84888c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40889
diff
changeset
|
15 ** Emacs now reads the standard abbrevs file ~/.abbrev_defs |
4a749a84888c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40889
diff
changeset
|
16 automatically at startup, if it exists. And it always offers to save |
4a749a84888c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40889
diff
changeset
|
17 abbrevs (if you have changed them) when if offers to save modified |
4a749a84888c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40889
diff
changeset
|
18 buffers. |
4a749a84888c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40889
diff
changeset
|
19 |
40729
650fb912b343
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40686
diff
changeset
|
20 ** 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
|
21 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
|
22 appears in. |
39552 | 23 |
40686
b6d0ce452871
Document the changes in the default values of tooltip-delay and
Eli Zaretskii <eliz@gnu.org>
parents:
40637
diff
changeset
|
24 ** 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
|
25 were changed. |
b6d0ce452871
Document the changes in the default values of tooltip-delay and
Eli Zaretskii <eliz@gnu.org>
parents:
40637
diff
changeset
|
26 |
40614
ac10bd51a000
Change of normal-erase-is-backspace-mode on terminals.
Gerd Moellmann <gerd@gnu.org>
parents:
40575
diff
changeset
|
27 ** 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
|
28 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
|
29 |
40493
94818b20da05
Document the change in list-buffers-noselect wrt buffers visiting files
Eli Zaretskii <eliz@gnu.org>
parents:
40487
diff
changeset
|
30 +++ |
40575
4ce7861c6181
Mention --no-window-system changes in the NEWS.
Pavel Janík <Pavel@Janik.cz>
parents:
40526
diff
changeset
|
31 ** 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
|
32 --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
|
33 |
40526
b466f4f946a7
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40493
diff
changeset
|
34 ** `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
|
35 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
|
36 |
40526
b466f4f946a7
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40493
diff
changeset
|
37 ** You can now customize fill-nobreak-predicate to control where |
b466f4f946a7
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40493
diff
changeset
|
38 filling can break lines. We provide two sample predicates, |
b466f4f946a7
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40493
diff
changeset
|
39 fill-single-word-nobreak-p and fill-french-nobreak-p. |
b466f4f946a7
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40493
diff
changeset
|
40 |
b466f4f946a7
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40493
diff
changeset
|
41 ** In Texinfo mode, when Font-Lock is enabled, updating one of the |
b466f4f946a7
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40493
diff
changeset
|
42 `foo's in `@foo ... @end foo' updates the other one on the fly. |
40487
8c17e2ae6bf5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
40378
diff
changeset
|
43 |
40316
ddce8f484e75
New user option `add-log-always-start-new-record'.
Sam Steingold <sds@gnu.org>
parents:
40296
diff
changeset
|
44 ** 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
|
45 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
|
46 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
|
47 |
40378
344e63612d00
renamed `html-xhtml' to `sgml-xml'
Sam Steingold <sds@gnu.org>
parents:
40316
diff
changeset
|
48 ** New user option `sgml-xml'. |
344e63612d00
renamed `html-xhtml' to `sgml-xml'
Sam Steingold <sds@gnu.org>
parents:
40316
diff
changeset
|
49 When this option is enabled, SGML tags are inserted in XML style, |
40215 | 50 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
|
51 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
|
52 from the file name or buffer contents. |
40215 | 53 |
39975 | 54 ** When the *scratch* buffer is recreated, its mode is set from |
55 initial-major-mode, which normally is lisp-interaction-mode, | |
40215 | 56 instead of using default-major-mode. |
39975 | 57 |
39771 | 58 ** Byte compiler warning and error messages have been brought more |
59 in line with the output of other GNU tools. | |
60 | |
40487
8c17e2ae6bf5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
40378
diff
changeset
|
61 ** 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
|
62 |
e8c0b3b54fc7
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39738
diff
changeset
|
63 ** perl-mode has a new variable `perl-indent-continued-arguments'. |
e8c0b3b54fc7
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39738
diff
changeset
|
64 |
39849
10b9480202e8
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39784
diff
changeset
|
65 ** `special-display-buffer-names' and `special-display-regexps' now |
10b9480202e8
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39784
diff
changeset
|
66 understand two new boolean pseudo-frame-parameters `same-frame' and |
10b9480202e8
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39784
diff
changeset
|
67 `same-window'. |
10b9480202e8
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39784
diff
changeset
|
68 |
39552 | 69 ** When pure storage overflows while dumping, Emacs now prints how |
70 much pure storage it will approximately need. | |
71 | |
72 ** M-x setenv now expands environment variables of the form `$foo' and | |
73 `${foo}' in the specified new value of the environment variable. To | |
74 include a `$' in the value, use `$$'. | |
75 | |
39881
9c1b9334eb73
Mark last change as documented in the manual.
Eli Zaretskii <eliz@gnu.org>
parents:
39879
diff
changeset
|
76 +++ |
39879
fba70cf81a87
Document the significance of the trailing slash in elements of
Eli Zaretskii <eliz@gnu.org>
parents:
39849
diff
changeset
|
77 ** 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
|
78 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
|
79 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
|
80 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
|
81 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
|
82 candidate is a directory. |
fba70cf81a87
Document the significance of the trailing slash in elements of
Eli Zaretskii <eliz@gnu.org>
parents:
39849
diff
changeset
|
83 |
39552 | 84 ** New user option `inhibit-startup-buffer-menu'. |
85 When loading many files, for instance with `emacs *', Emacs normally | |
86 displays a buffer menu. This option turns the buffer menu off. | |
87 | |
88 ** Rmail now displays 5-digit message ids in its summary buffer. | |
89 | |
39601 | 90 ** When using M-x revert-buffer in a compilation buffer to rerun a |
91 compilation, it is now made sure that the compilation buffer is reused | |
92 in case it has been renamed. | |
93 | |
40963
ff6a29bbaf7e
Add note about system caret on MS Windows.
Jason Rumney <jasonr@gnu.org>
parents:
40916
diff
changeset
|
94 ** 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
|
95 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
|
96 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
|
97 |
39738 | 98 ** New modes and packages |
99 | |
40847 | 100 +++ |
101 *** Calc is now part of the Emacs distribution. | |
102 | |
103 Calc is an advanced desk calculator and mathematical tool written in | |
104 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
|
105 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
|
106 available in `etc/calccard.tex' and `etc/calccard.ps'. |
40847 | 107 |
40889
c410bf71eef7
Mention the addition of the ELisp reference.
Eli Zaretskii <eliz@gnu.org>
parents:
40865
diff
changeset
|
108 +++ |
c410bf71eef7
Mention the addition of the ELisp reference.
Eli Zaretskii <eliz@gnu.org>
parents:
40865
diff
changeset
|
109 *** 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
|
110 |
c410bf71eef7
Mention the addition of the ELisp reference.
Eli Zaretskii <eliz@gnu.org>
parents:
40865
diff
changeset
|
111 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
|
112 Emacs build procedure and installed together with the Emacs User |
c410bf71eef7
Mention the addition of the ELisp reference.
Eli Zaretskii <eliz@gnu.org>
parents:
40865
diff
changeset
|
113 Manual. |
c410bf71eef7
Mention the addition of the ELisp reference.
Eli Zaretskii <eliz@gnu.org>
parents:
40865
diff
changeset
|
114 |
39738 | 115 *** The ruler-mode.el library provides a minor mode for displaying an |
116 "active" ruler in the header line. You can use the mouse to visually | |
117 change the `fill-column', `window-margins' and `tab-stop-list' | |
118 settings. | |
119 | |
39784 | 120 *** master-mode.el implements a minor mode for scrolling a slave |
121 buffer without leaving your current buffer, the master buffer. | |
122 | |
123 It can be used by sql.el, for example: the SQL buffer is the master | |
124 and its SQLi buffer is the slave. This allows you to scroll the SQLi | |
125 buffer containing the output from the SQL buffer containing the | |
126 commands. | |
127 | |
128 This is how to use sql.el and master.el together: the variable | |
129 sql-buffer contains the slave buffer. It is a local variable in the | |
130 SQL buffer. | |
131 | |
132 (add-hook 'sql-mode-hook | |
133 (function (lambda () | |
134 (master-mode t) | |
135 (master-set-slave sql-buffer)))) | |
136 (add-hook 'sql-set-sqli-hook | |
137 (function (lambda () | |
138 (master-set-slave sql-buffer)))) | |
139 | |
39552 | 140 |
40729
650fb912b343
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40686
diff
changeset
|
141 * Lisp Changes in Emacs 21.3 |
650fb912b343
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40686
diff
changeset
|
142 |
40973
5959d9cfe456
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40963
diff
changeset
|
143 ** 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
|
144 property, `clone-indirect-buffer' signals an error if you use |
5959d9cfe456
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40963
diff
changeset
|
145 it in that buffer. |
5959d9cfe456
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40963
diff
changeset
|
146 |
5959d9cfe456
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40963
diff
changeset
|
147 ** If you set `query-replace-skip-read-only' non-nil, |
5959d9cfe456
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40963
diff
changeset
|
148 `query-replace' and related functions simply ignore |
5959d9cfe456
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40963
diff
changeset
|
149 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
|
150 |
5959d9cfe456
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40963
diff
changeset
|
151 ** In `replace-match', the replacement replacement text no longer |
5959d9cfe456
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40963
diff
changeset
|
152 inherits properties from surrounding text. |
5959d9cfe456
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40963
diff
changeset
|
153 |
40729
650fb912b343
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40686
diff
changeset
|
154 ** New function `buffer-local-value'. |
650fb912b343
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40686
diff
changeset
|
155 |
650fb912b343
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40686
diff
changeset
|
156 - Function: buffer-local-value variable buffer |
650fb912b343
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40686
diff
changeset
|
157 |
650fb912b343
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40686
diff
changeset
|
158 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
|
159 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
|
160 buffer BUFFER, it returns the default value of VARIABLE instead. |
39552 | 161 |
40973
5959d9cfe456
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40963
diff
changeset
|
162 ** 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
|
163 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
|
164 used in Indented Text mode. |
40487
8c17e2ae6bf5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
40378
diff
changeset
|
165 |
8c17e2ae6bf5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
40378
diff
changeset
|
166 ** 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
|
167 that are kept identical by transparently propagating changes from one |
8c17e2ae6bf5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
40378
diff
changeset
|
168 clone to the other. |
8c17e2ae6bf5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
40378
diff
changeset
|
169 |
8c17e2ae6bf5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
40378
diff
changeset
|
170 ** font-lock can manage arbitrary text-properties beside `face'. |
8c17e2ae6bf5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
40378
diff
changeset
|
171 *** the FACENAME returned in font-lock-keywords can be a list |
8c17e2ae6bf5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
40378
diff
changeset
|
172 of the form (face FACE PROP1 VAL1 PROP@ VAL2 ...) so you can set |
8c17e2ae6bf5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
40378
diff
changeset
|
173 other properties than `face'. |
8c17e2ae6bf5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
40378
diff
changeset
|
174 *** 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
|
175 properties are automatically cleaned up by font-lock. |
8c17e2ae6bf5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
40378
diff
changeset
|
176 |
8c17e2ae6bf5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
40378
diff
changeset
|
177 ** 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
|
178 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
|
179 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
|
180 |
8c17e2ae6bf5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
40378
diff
changeset
|
181 ** `provide' and `featurep' now accept an optional second argument |
8c17e2ae6bf5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
40378
diff
changeset
|
182 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
|
183 and run any code associated with the provided feature. |
8c17e2ae6bf5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
40378
diff
changeset
|
184 |
40295 | 185 ** The variable `compilation-parse-errors-filename-function' can |
186 be used to transform filenames found in compilation output. | |
187 | |
40190
9ba78bf11cf1
Document changes in file-name-sans-extension and file-name-extension.
Eli Zaretskii <eliz@gnu.org>
parents:
39975
diff
changeset
|
188 +++ |
9ba78bf11cf1
Document changes in file-name-sans-extension and file-name-extension.
Eli Zaretskii <eliz@gnu.org>
parents:
39975
diff
changeset
|
189 ** 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
|
190 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
|
191 `.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
|
192 |
39778 | 193 ** Functions `user-uid' and `user-real-uid' now return floats if the |
194 user UID doesn't fit in a Lisp integer. Function `user-full-name' | |
195 accepts a float as UID parameter. | |
196 | |
39765
e8c0b3b54fc7
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39738
diff
changeset
|
197 ** `define-key-after' now accepts keys longer than 1. |
e8c0b3b54fc7
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39738
diff
changeset
|
198 |
40296 | 199 ** `define-derived-mode' now accepts nil as the parent. |
39765
e8c0b3b54fc7
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39738
diff
changeset
|
200 |
e8c0b3b54fc7
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39738
diff
changeset
|
201 ** 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
|
202 |
39849
10b9480202e8
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39784
diff
changeset
|
203 ** New functions `keymap-prompt' and `current-active-maps'. |
10b9480202e8
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39784
diff
changeset
|
204 |
10b9480202e8
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39784
diff
changeset
|
205 ** New function `describe-buffer-bindings'. |
10b9480202e8
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39784
diff
changeset
|
206 |
10b9480202e8
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39784
diff
changeset
|
207 ** New vars `exec-suffixes' and `load-suffixes' used when |
10b9480202e8
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39784
diff
changeset
|
208 searching for an executable resp. an elisp file. |
10b9480202e8
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39784
diff
changeset
|
209 |
39552 | 210 ** Variable aliases have been implemented |
211 | |
212 - Macro: defvaralias ALIAS-VAR BASE-VAR | |
213 | |
214 This defines the symbol ALIAS-VAR as a variable alias for symbol | |
215 BASE-VAR. This means that retrieving the value of ALIAS-VAR returns | |
216 the value of BASE-VAR, and changing the value of ALIAS-VAR changes the | |
217 value of BASE-VAR. | |
218 | |
219 - Function: indirect-variable VARIABLE | |
220 | |
221 This function returns the variable at the end of the chain of aliases | |
222 of VARIABLE. If VARIABLE is not a symbol, or if VARIABLE is not | |
223 defined as an alias, the function returns VARIABLE. | |
224 | |
225 It might be noteworthy that variables aliases work for all kinds of | |
226 variables, including buffer-local and frame-local variables. | |
227 | |
228 ** Functions from `post-gc-hook' are run at the end of garbage | |
229 collection. The hook is run with GC inhibited, so use it with care. | |
230 | |
39604 | 231 ** If the second argument to `copy-file' is the name of a directory, |
39605 | 232 the file is copied to that directory instead of signaling an error. |
39604 | 233 |
39647 | 234 ** The variables most-positive-fixnum and most-negative-fixnum |
235 have been moved from the CL package to the core. | |
236 | |
39765
e8c0b3b54fc7
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39738
diff
changeset
|
237 ** New packages: |
e8c0b3b54fc7
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39738
diff
changeset
|
238 |
e8c0b3b54fc7
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39738
diff
changeset
|
239 *** 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
|
240 current syntactic context (as returned by parse-partial-sexp). |
e8c0b3b54fc7
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
39738
diff
changeset
|
241 |
39552 | 242 |
25995 | 243 * Installation Changes in Emacs 21.1 |
244 | |
36039 | 245 See the INSTALL file for information on installing extra libraries and |
246 fonts to take advantage of the new graphical features and extra | |
247 charsets in this release. | |
248 | |
30576 | 249 ** Support for GNU/Linux on IA64 machines has been added. |
250 | |
31007 | 251 ** Support for LynxOS has been added. |
252 | |
28166 | 253 ** 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
|
254 images and toolkit scrollbars. Use the --help option in `configure' |
cb2595f03c92
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
29949
diff
changeset
|
255 to list them. |
29696 | 256 |
30467
26afdae5ea13
--disable-largefile, 64-bit solaris
Dave Love <fx@gnu.org>
parents:
30445
diff
changeset
|
257 ** You can build a 64-bit Emacs for SPARC/Solaris systems which |
32182 | 258 support 64-bit executables and also on Irix 6.5. This increases the |
33484 | 259 maximum buffer size. See etc/MACHINES for instructions. Changes to |
260 build on other 64-bit systems should be straightforward modulo any | |
261 necessary changes to unexec. | |
30576 | 262 |
38900
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
263 ** 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
|
264 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
|
265 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
266 ** 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
|
267 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
|
268 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
269 ** `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
|
270 the --without-pop configure option, should that be necessary. |
32428 | 271 |
32865
34e286ed22a5
Say that Emacs can now be built on the Macintosh.
Andrew Choi <akochoi@shaw.ca>
parents:
32845
diff
changeset
|
272 ** This version can be built for the Macintosh, but does not implement |
32966 | 273 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
|
274 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
|
275 "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
|
276 description of aspects specific to the Mac. |
32428 | 277 |
38900
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
278 ** 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
|
279 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
|
280 |
35577
db5649648a65
Replace formfeeds removed on 2001/01/22.
Dave Love <fx@gnu.org>
parents:
35567
diff
changeset
|
281 |
28166 | 282 * Changes in Emacs 21.1 |
283 | |
36821 | 284 ** Emacs has a new redisplay engine. |
285 | |
286 The new redisplay handles characters of variable width and height. | |
287 Italic text can be used without redisplay problems. Fonts containing | |
288 oversized characters, i.e. characters larger than the logical height | |
289 of a font can be used. Images of various formats can be displayed in | |
290 the text. | |
291 | |
292 ** Emacs has a new face implementation. | |
293 | |
294 The new faces no longer fundamentally use X font names to specify the | |
295 font. Instead, each face has several independent attributes--family, | |
296 height, width, weight and slant--that it may or may not specify. | |
297 These attributes can be merged from various faces, and then together | |
298 specify a font. | |
299 | |
300 Faces are supported on terminals that can display color or fonts. | |
301 These terminal capabilities are auto-detected. Details can be found | |
302 under Lisp changes, below. | |
303 | |
304 ** Emacs can display faces on TTY frames. | |
305 | |
306 Emacs automatically detects terminals that are able to display colors. | |
307 Faces with a weight greater than normal are displayed extra-bright, if | |
308 the terminal supports it. Faces with a weight less than normal and | |
309 italic faces are displayed dimmed, if the terminal supports it. | |
310 Underlined faces are displayed underlined if possible. Other face | |
311 attributes such as `overline', `strike-through', and `box' are ignored | |
312 on terminals. | |
313 | |
314 The command-line options `-fg COLOR', `-bg COLOR', and `-rv' are now | |
315 supported on character terminals. | |
316 | |
38900
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
317 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
|
318 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
|
319 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
|
320 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
|
321 |
36821 | 322 ** New default font is Courier 12pt under X. |
323 | |
38900
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
324 ** Sound support |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
325 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
326 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
|
327 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
|
328 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
|
329 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
|
330 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
|
331 |
36821 | 332 ** Emacs now resizes mini-windows if appropriate. |
333 | |
334 If a message is longer than one line, or minibuffer contents are | |
335 longer than one line, Emacs can resize the minibuffer window unless it | |
336 is on a frame of its own. You can control resizing and the maximum | |
337 minibuffer window size by setting the following variables: | |
338 | |
339 - User option: max-mini-window-height | |
340 | |
341 Maximum height for resizing mini-windows. If a float, it specifies a | |
342 fraction of the mini-window frame's height. If an integer, it | |
343 specifies a number of lines. | |
344 | |
345 Default is 0.25. | |
346 | |
347 - User option: resize-mini-windows | |
348 | |
349 How to resize mini-windows. If nil, don't resize. If t, always | |
350 resize to fit the size of the text. If `grow-only', let mini-windows | |
351 grow only, until they become empty, at which point they are shrunk | |
352 again. | |
353 | |
354 Default is `grow-only'. | |
355 | |
356 ** LessTif support. | |
357 | |
358 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
|
359 <http://www.lesstif.org>). You will need version 0.92.26, or later. |
36821 | 360 |
361 ** LessTif/Motif file selection dialog. | |
362 | |
363 When Emacs is configured to use LessTif or Motif, reading a file name | |
364 from a menu will pop up a file selection dialog if `use-dialog-box' is | |
365 non-nil. | |
366 | |
39485
5e20b8bbcc45
Document the support for file selection dialog on MS-Windows.
Eli Zaretskii <eliz@gnu.org>
parents:
39441
diff
changeset
|
367 ** 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
|
368 |
5e20b8bbcc45
Document the support for file selection dialog on MS-Windows.
Eli Zaretskii <eliz@gnu.org>
parents:
39441
diff
changeset
|
369 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
|
370 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
|
371 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
|
372 |
36821 | 373 ** Toolkit scroll bars. |
374 | |
375 Emacs now uses toolkit scroll bars if available. When configured for | |
376 LessTif/Motif, it will use that toolkit's scroll bar. Otherwise, when | |
377 configured for Lucid and Athena widgets, it will use the Xaw3d scroll | |
378 bar if Xaw3d is available. You can turn off the use of toolkit scroll | |
379 bars by specifying `--with-toolkit-scroll-bars=no' when configuring | |
380 Emacs. | |
381 | |
382 When you encounter problems with the Xaw3d scroll bar, watch out how | |
383 Xaw3d is compiled on your system. If the Makefile generated from | |
384 Xaw3d's Imakefile contains a `-DNARROWPROTO' compiler option, and your | |
385 Emacs system configuration file `s/your-system.h' does not contain a | |
386 define for NARROWPROTO, you might consider adding it. Take | |
387 `s/freebsd.h' as an example. | |
388 | |
389 Alternatively, if you don't have access to the Xaw3d source code, take | |
390 a look at your system's imake configuration file, for example in the | |
391 directory `/usr/X11R6/lib/X11/config' (paths are different on | |
392 different systems). You will find files `*.cf' there. If your | |
393 system's cf-file contains a line like `#define NeedWidePrototypes NO', | |
394 add a `#define NARROWPROTO' to your Emacs system configuration file. | |
395 | |
396 The reason for this is that one Xaw3d function uses `double' or | |
397 `float' function parameters depending on the setting of NARROWPROTO. | |
398 This is not a problem when Imakefiles are used because each system's | |
37156 | 399 imake configuration file contains the necessary information. Since |
36821 | 400 Emacs doesn't use imake, this has do be done manually. |
401 | |
402 ** Tool bar support. | |
403 | |
404 Emacs supports a tool bar at the top of a frame under X. For details | |
405 of how to define a tool bar, see the page describing Lisp-level | |
406 changes. Tool-bar global minor mode controls whether or not it is | |
407 displayed and is on by default. The appearance of the bar is improved | |
408 if Emacs has been built with XPM image support. Otherwise monochrome | |
409 icons will be used. | |
410 | |
411 To make the tool bar more useful, we need contributions of extra icons | |
412 for specific modes (with copyright assignments). Contributions would | |
36885 | 413 also be useful to touch up some of the PBM icons manually. |
36821 | 414 |
415 ** Tooltips. | |
416 | |
417 Tooltips are small X windows displaying a help string at the current | |
418 mouse position. The Lisp package `tooltip' implements them. You can | |
419 turn them off via the user option `tooltip-mode'. | |
420 | |
421 Tooltips also provides support for GUD debugging. If activated, | |
422 variable values can be displayed in tooltips by pointing at them with | |
423 the mouse in source buffers. You can customize various aspects of the | |
424 tooltip display in the group `tooltip'. | |
425 | |
38900
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
426 ** Automatic Hscrolling |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
427 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
428 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
|
429 `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
|
430 customized. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
431 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
432 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
|
433 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
|
434 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
|
435 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
|
436 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
|
437 |
36821 | 438 ** When using a windowing terminal, each Emacs window now has a cursor |
439 of its own. By default, when a window is selected, the cursor is | |
440 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
|
441 `cursor-in-non-selected-windows' controls how to display the |
36821 | 442 cursor in non-selected windows. If nil, no cursor is shown, if |
36885 | 443 non-nil a hollow box cursor is shown. |
36821 | 444 |
445 ** Fringes to the left and right of windows are used to display | |
446 truncation marks, continuation marks, overlay arrows and alike. The | |
447 foreground, background, and stipple of these areas can be changed by | |
448 customizing face `fringe'. | |
449 | |
450 ** The mode line under X is now drawn with shadows by default. | |
451 You can change its appearance by modifying the face `mode-line'. | |
452 In particular, setting the `:box' attribute to nil turns off the 3D | |
453 appearance of the mode line. (The 3D appearance makes the mode line | |
454 occupy more space, and thus might cause the first or the last line of | |
455 the window to be partially obscured.) | |
456 | |
457 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
|
458 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
|
459 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
|
460 ignored, and mode-lines to be drawn using the default text face. |
36821 | 461 |
462 ** Mouse-sensitive mode line. | |
463 | |
36848
87bf5cef20c7
Mode line is mouse-sensitive on all systems which have a mouse.
Eli Zaretskii <eliz@gnu.org>
parents:
36821
diff
changeset
|
464 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
|
465 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
|
466 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
|
467 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
|
468 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
|
469 have enabled one. |
36821 | 470 |
471 Currently, the following actions have been defined: | |
472 | |
40916
4a749a84888c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40889
diff
changeset
|
473 - 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
|
474 |
4a749a84888c
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40889
diff
changeset
|
475 - Mouse-3 on the buffer-name goes to the previous buffer. |
36821 | 476 |
477 - Mouse-2 on the read-only or modified status in the mode line (`%' or | |
478 `*') toggles the status. | |
479 | |
480 - Mouse-3 on the mode name displays a minor-mode menu. | |
481 | |
482 ** Hourglass pointer | |
483 | |
484 Emacs can optionally display an hourglass pointer under X. You can | |
485 turn the display on or off by customizing group `cursor'. | |
486 | |
487 ** Blinking cursor | |
488 | |
489 M-x blink-cursor-mode toggles a blinking cursor under X and on | |
490 terminals having terminal capabilities `vi', `vs', and `ve'. Blinking | |
491 and related parameters like frequency and delay can be customized in | |
492 the group `cursor'. | |
493 | |
494 ** New font-lock support mode `jit-lock-mode'. | |
495 | |
496 This support mode is roughly equivalent to `lazy-lock' but is | |
497 generally faster. It supports stealth and deferred fontification. | |
498 See the documentation of the function `jit-lock-mode' for more | |
499 details. | |
500 | |
501 Font-lock uses jit-lock-mode as default support mode, so you don't | |
502 have to do anything to activate it. | |
503 | |
38900
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
504 ** 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
|
505 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
506 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
|
507 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
|
508 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
509 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
|
510 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
|
511 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
|
512 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
|
513 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
|
514 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
|
515 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
|
516 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
|
517 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
518 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
|
519 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
|
520 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
|
521 `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
|
522 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
|
523 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
|
524 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
525 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
|
526 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
|
527 |
36821 | 528 ** The default for user-option `next-line-add-newlines' has been |
529 changed to nil, i.e. C-n will no longer add newlines at the end of a | |
530 buffer by default. | |
531 | |
532 ** The <home> and <end> keys now move to the beginning or end of the | |
533 current line, respectively. C-<home> and C-<end> move to the | |
534 beginning and end of the buffer. | |
535 | |
536 ** Emacs now checks for recursive loads of Lisp files. If the | |
537 recursion depth exceeds `recursive-load-depth-limit', an error is | |
538 signaled. | |
539 | |
540 ** When an error is signaled during the loading of the user's init | |
541 file, Emacs now pops up the *Messages* buffer. | |
542 | |
543 ** Emacs now refuses to load compiled Lisp files which weren't | |
544 compiled with Emacs. Set `load-dangerous-libraries' to t to change | |
545 this behavior. | |
546 | |
38900
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
547 The reason for this change is an incompatible change in XEmacs's byte |
36821 | 548 compiler. Files compiled with XEmacs can contain byte codes that let |
549 Emacs dump core. | |
550 | |
551 ** Toggle buttons and radio buttons in menus. | |
552 | |
553 When compiled with LessTif (or Motif) support, Emacs uses toolkit | |
554 widgets for radio and toggle buttons in menus. When configured for | |
555 Lucid, Emacs draws radio buttons and toggle buttons similar to Motif. | |
556 | |
557 ** The menu bar configuration has changed. The new configuration is | |
558 more CUA-compliant. The most significant change is that Options is | |
559 now a separate menu-bar item, with Mule and Customize as its submenus. | |
560 | |
561 ** Item Save Options on the Options menu allows saving options set | |
562 using that menu. | |
563 | |
564 ** Highlighting of trailing whitespace. | |
565 | |
566 When `show-trailing-whitespace' is non-nil, Emacs displays trailing | |
567 whitespace in the face `trailing-whitespace'. Trailing whitespace is | |
568 defined as spaces or tabs at the end of a line. To avoid busy | |
569 highlighting when entering new text, trailing whitespace is not | |
570 displayed if point is at the end of the line containing the | |
571 whitespace. | |
572 | |
573 ** C-x 5 1 runs the new command delete-other-frames which deletes | |
574 all frames except the selected one. | |
575 | |
576 ** The new user-option `confirm-kill-emacs' can be customized to | |
577 let Emacs ask for confirmation before exiting. | |
578 | |
579 ** The header line in an Info buffer is now displayed as an emacs | |
580 header-line (which is like a mode-line, but at the top of the window), | |
581 so that it remains visible even when the buffer has been scrolled. | |
582 This behavior may be disabled by customizing the option | |
583 `Info-use-header-line'. | |
584 | |
585 ** Polish, Czech, German, and French translations of Emacs' reference card | |
586 have been added. They are named `pl-refcard.tex', `cs-refcard.tex', | |
587 `de-refcard.tex' and `fr-refcard.tex'. Postscript files are included. | |
588 | |
589 ** An `Emacs Survival Guide', etc/survival.tex, is available. | |
590 | |
591 ** A reference card for Dired has been added. Its name is | |
592 `dired-ref.tex'. A French translation is available in | |
593 `fr-drdref.tex'. | |
594 | |
595 ** C-down-mouse-3 is bound differently. Now if the menu bar is not | |
596 displayed it pops up a menu containing the items which would be on the | |
597 menu bar. If the menu bar is displayed, it pops up the major mode | |
598 menu or the Edit menu if there is no major mode menu. | |
599 | |
38900
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
600 ** 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
|
601 |
38107 | 602 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
|
603 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
|
604 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
|
605 `~/.emacs' init file or to modify it from any Lisp program in general. |
36821 | 606 |
607 ** C-u C-x = provides detailed information about the character at | |
608 point in a pop-up window. | |
609 | |
610 ** Emacs can now support 'wheeled' mice (such as the MS IntelliMouse) | |
611 under XFree86. To enable this, use the `mouse-wheel-mode' command, or | |
612 customize the variable `mouse-wheel-mode'. | |
613 | |
614 The variables `mouse-wheel-follow-mouse' and `mouse-wheel-scroll-amount' | |
615 determine where and by how much buffers are scrolled. | |
616 | |
617 ** Emacs' auto-save list files are now by default stored in a | |
618 sub-directory `.emacs.d/auto-save-list/' of the user's home directory. | |
619 (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
|
620 You can customize `auto-save-list-file-prefix' to change this location. |
36821 | 621 |
622 ** The function `getenv' is now callable interactively. | |
623 | |
34271 | 624 ** The new user-option `even-window-heights' can be set to nil |
625 to prevent `display-buffer' from evening out window heights. | |
626 | |
33796
10ffa5b56f53
mention `delete-trailing-whitespace'
Sam Steingold <sds@gnu.org>
parents:
33720
diff
changeset
|
627 ** The new command M-x delete-trailing-whitespace RET will delete the |
33990 | 628 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
|
629 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
|
630 |
33559 | 631 ** When visiting a file with M-x find-file-literally, no newlines will |
35937 | 632 be added to the end of the buffer even if `require-final-newline' is |
633 non-nil. | |
33559 | 634 |
31728 | 635 ** The new user-option `find-file-suppress-same-file-warnings' can be |
636 set to suppress warnings ``X and Y are the same file'' when visiting a | |
637 file that is already visited under a different name. | |
638 | |
31807 | 639 ** The new user-option `electric-help-shrink-window' can be set to |
640 nil to prevent adjusting the help window size to the buffer size. | |
641 | |
31728 | 642 ** New command M-x describe-character-set reads a character set name |
32280 | 643 and displays information about that. |
31248 | 644 |
30693 | 645 ** The new variable `auto-mode-interpreter-regexp' contains a regular |
646 expression matching interpreters, for file mode determination. | |
647 | |
648 This regular expression is matched against the first line of a file to | |
649 determine the file's mode in `set-auto-mode' when Emacs can't deduce a | |
650 mode from the file's name. If it matches, the file is assumed to be | |
651 interpreted by the interpreter matched by the second group of the | |
652 regular expression. The mode is then determined as the mode | |
653 associated with that interpreter in `interpreter-mode-alist'. | |
654 | |
29532
9609bc6529ac
executable-make-buffer-file-executable-if-script-p
Dave Love <fx@gnu.org>
parents:
29509
diff
changeset
|
655 ** New function executable-make-buffer-file-executable-if-script-p is |
31007 | 656 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
|
657 |
29509 | 658 ** The most preferred coding-system is now used to save a buffer if |
659 buffer-file-coding-system is `undecided' and it is safe for the buffer | |
660 contents. (The most preferred is set by set-language-environment or | |
661 by M-x prefer-coding-system.) Thus if you visit an ASCII file and | |
662 insert a non-ASCII character from your current language environment, | |
663 the file will be saved silently with the appropriate coding. | |
664 Previously you would be prompted for a safe coding system. | |
665 | |
38900
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
666 ** 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
|
667 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
|
668 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
669 ** 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
|
670 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
|
671 |
30296 | 672 ** New variable `inhibit-iso-escape-detection' determines if Emacs' |
673 coding system detection algorithm should pay attention to ISO2022's | |
674 escape sequences. If this variable is non-nil, the algorithm ignores | |
675 such escape sequences. The default value is nil, and it is | |
676 recommended not to change it except for the special case that you | |
30357 | 677 always want to read any escape code verbatim. If you just want to |
30296 | 678 read a specific file without decoding escape codes, use C-x RET c |
30357 | 679 (`universal-coding-system-argument'). For instance, C-x RET c latin-1 |
680 RET C-x C-f filename RET. | |
30205 | 681 |
29506 | 682 ** Variable `default-korean-keyboard' is initialized properly from the |
683 environment variable `HANGUL_KEYBOARD_TYPE'. | |
684 | |
685 ** New command M-x list-charset-chars reads a character set name and | |
686 displays all characters in that character set. | |
687 | |
688 ** M-x set-terminal-coding-system (C-x RET t) now allows CCL-based | |
689 coding systems such as cpXXX and cyrillic-koi8. | |
690 | |
38900
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
691 ** 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
|
692 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
|
693 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
|
694 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
695 ** 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
|
696 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
|
697 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
|
698 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
|
699 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
|
700 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
|
701 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
|
702 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
703 ** 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
|
704 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
|
705 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
|
706 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
707 ** 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
|
708 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
|
709 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
|
710 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
711 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
|
712 --- ------- ----------- |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
713 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
|
714 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
|
715 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
|
716 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
717 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
|
718 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
|
719 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
|
720 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
721 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
|
722 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
|
723 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
|
724 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
|
725 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
|
726 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
|
727 |
39885
91b2bb6856b0
List the new input methods introduced with Emacs 21.1.
Eli Zaretskii <eliz@gnu.org>
parents:
39881
diff
changeset
|
728 ** 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
|
729 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
|
730 "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
|
731 package. |
91b2bb6856b0
List the new input methods introduced with Emacs 21.1.
Eli Zaretskii <eliz@gnu.org>
parents:
39881
diff
changeset
|
732 |
38900
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
733 ** 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
|
734 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
|
735 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
|
736 "=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
|
737 "`", 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
|
738 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
739 ** 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
|
740 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
|
741 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
|
742 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
|
743 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
|
744 on. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
745 |
29218
e956cc90f6c0
newcomment and the change of binding for M-;
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29162
diff
changeset
|
746 ** 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
|
747 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
|
748 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
|
749 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
|
750 |
28799 | 751 ** New user options `display-time-mail-face' and |
752 `display-time-use-mail-icon' control the appearance of mode-line mail | |
753 indicator used by the display-time package. On a suitable display the | |
754 indicator can be an icon and is mouse-sensitive. | |
755 | |
28695 | 756 ** On window-systems, additional space can be put between text lines |
757 on the display using several methods | |
758 | |
759 - By setting frame parameter `line-spacing' to PIXELS. PIXELS must be | |
760 a positive integer, and specifies that PIXELS number of pixels should | |
761 be put below text lines on the affected frame or frames. | |
762 | |
763 - By setting X resource `lineSpacing', class `LineSpacing'. This is | |
33838 | 764 equivalent to specifying the frame parameter. |
28695 | 765 |
28870 | 766 - By specifying `--line-spacing=N' or `-lsp N' on the command line. |
28695 | 767 |
768 - By setting buffer-local variable `line-spacing'. The meaning is | |
769 the same, but applies to the a particular buffer only. | |
770 | |
29752 | 771 ** The new command `clone-indirect-buffer' can be used to create |
28660 | 772 an indirect buffer that is a twin copy of the current buffer. The |
29752 | 773 command `clone-indirect-buffer-other-window', bound to C-x 4 c, |
28660 | 774 does the same but displays the indirect buffer in another window. |
28626 | 775 |
28525
05658544eaff
backup-directory-alist, make-backup-file-name-function.
Dave Love <fx@gnu.org>
parents:
28506
diff
changeset
|
776 ** New user options `backup-directory-alist' and |
28757 | 777 `make-backup-file-name-function' control the placement of backups, |
778 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
|
779 |
28396 | 780 ** New commands iso-iso2sgml and iso-sgml2iso convert between Latin-1 |
781 characters and the corresponding SGML (HTML) entities. | |
782 | |
28159 | 783 ** New X resources recognized |
27994 | 784 |
28140 | 785 *** The X resource `synchronous', class `Synchronous', specifies |
786 whether Emacs should run in synchronous mode. Synchronous mode | |
787 is useful for debugging X problems. | |
788 | |
789 Example: | |
790 | |
28159 | 791 emacs.synchronous: true |
28140 | 792 |
27994 | 793 *** The X resource `visualClass, class `VisualClass', specifies the |
794 visual Emacs should use. The resource's value should be a string of | |
27995 | 795 the form `CLASS-DEPTH', where CLASS is the name of the visual class, |
796 and DEPTH is the requested color depth as a decimal number. Valid | |
797 visual class names are | |
27994 | 798 |
799 TrueColor | |
800 PseudoColor | |
801 DirectColor | |
802 StaticColor | |
803 GrayScale | |
804 StaticGray | |
805 | |
806 Visual class names specified as X resource are case-insensitive, i.e. | |
807 `pseudocolor', `Pseudocolor' and `PseudoColor' all have the same | |
808 meaning. | |
809 | |
27995 | 810 The program `xdpyinfo' can be used to list the visual classes |
811 supported on your display, and which depths they have. If | |
812 `visualClass' is not specified, Emacs uses the display's default | |
813 visual. | |
814 | |
815 Example: | |
816 | |
28159 | 817 emacs.visualClass: TrueColor-8 |
27994 | 818 |
819 *** The X resource `privateColormap', class `PrivateColormap', | |
820 specifies that Emacs should use a private colormap if it is using the | |
821 default visual, and that visual is of class PseudoColor. Recognized | |
822 resource values are `true' or `on'. | |
823 | |
27995 | 824 Example: |
825 | |
28159 | 826 emacs.privateColormap: true |
27995 | 827 |
25853 | 828 ** Faces and frame parameters. |
829 | |
830 There are four new faces `scroll-bar', `border', `cursor' and `mouse'. | |
831 Setting the frame parameters `scroll-bar-foreground' and | |
832 `scroll-bar-background' sets foreground and background color of face | |
833 `scroll-bar' and vice versa. Setting frame parameter `border-color' | |
834 sets the background color of face `border' and vice versa. Likewise | |
835 for frame parameters `cursor-color' and face `cursor', and frame | |
836 parameter `mouse-color' and face `mouse'. | |
837 | |
838 Changing frame parameter `font' sets font-related attributes of the | |
839 `default' face and vice versa. Setting frame parameters | |
26264 | 840 `foreground-color' or `background-color' sets the colors of the |
25853 | 841 `default' face and vice versa. |
842 | |
25951 | 843 ** New face `menu'. |
844 | |
845 The face `menu' can be used to change colors and font of Emacs' menus. | |
846 | |
25853 | 847 ** New frame parameter `screen-gamma' for gamma correction. |
848 | |
849 The new frame parameter `screen-gamma' specifies gamma-correction for | |
850 colors. Its value may be nil, the default, in which case no gamma | |
851 correction occurs, or a number > 0, usually a float, that specifies | |
852 the screen gamma of a frame's display. | |
853 | |
854 PC monitors usually have a screen gamma of 2.2. smaller values result | |
855 in darker colors. You might want to try a screen gamma of 1.5 for LCD | |
856 color displays. The viewing gamma Emacs uses is 0.4545. (1/2.2). | |
857 | |
858 The X resource name of this parameter is `screenGamma', class | |
859 `ScreenGamma'. | |
860 | |
861 ** Tabs and variable-width text. | |
862 | |
863 Tabs are now displayed with stretch properties; the width of a tab is | |
864 defined as a multiple of the normal character width of a frame, and is | |
865 independent of the fonts used in the text where the tab appears. | |
866 Thus, tabs can be used to line up text in different fonts. | |
867 | |
868 ** Enhancements of the Lucid menu bar | |
869 | |
870 *** The Lucid menu bar now supports the resource "margin". | |
871 | |
872 emacs.pane.menubar.margin: 5 | |
873 | |
28677
950ff4674e17
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
28660
diff
changeset
|
874 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
|
875 LessTif/Motif one. |
950ff4674e17
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
28660
diff
changeset
|
876 |
950ff4674e17
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
28660
diff
changeset
|
877 *** 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
|
878 LessTif and Motif. |
25853 | 879 |
880 ** A block cursor can be drawn as wide as the glyph under it under X. | |
881 | |
882 As an example: if a block cursor is over a tab character, it will be | |
883 drawn as wide as that tab on the display. To do this, set | |
884 `x-stretch-cursor' to a non-nil value. | |
885 | |
886 ** 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
|
887 bitmap (this is similar to the tilde displayed by vi and Less). |
25853 | 888 |
889 This behavior is activated by setting the buffer-local variable | |
890 `indicate-empty-lines' to a non-nil value. The default value of this | |
891 variable is found in `default-indicate-empty-lines'. | |
892 | |
893 ** There is a new "aggressive" scrolling method. | |
894 | |
895 When scrolling up because point is above the window start, if the | |
33624 | 896 value of the buffer-local variable `scroll-up-aggressively' is a |
25853 | 897 number, Emacs chooses a new window start so that point ends up that |
31124 | 898 fraction of the window's height from the top of the window. |
25853 | 899 |
900 When scrolling down because point is below the window end, if the | |
35680 | 901 value of the buffer-local variable `scroll-down-aggressively' is a |
25853 | 902 number, Emacs chooses a new window start so that point ends up that |
31124 | 903 fraction of the window's height from the bottom of the window. |
25853 | 904 |
38900
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
905 ** 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
|
906 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
|
907 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
|
908 buffers. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
909 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
910 ** 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
|
911 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
912 ** 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
|
913 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
|
914 `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
|
915 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
916 ** 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
|
917 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
|
918 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
|
919 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
|
920 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
|
921 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
|
922 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
923 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
|
924 |
25853 | 925 ** The rectangle commands now avoid inserting undesirable spaces, |
926 notably at the end of lines. | |
927 | |
928 All these functions have been rewritten to avoid inserting unwanted | |
929 spaces, and an optional prefix now allows them to behave the old way. | |
930 | |
37446
1b121f2746a8
Change entries for string-rectangle and alike.
Gerd Moellmann <gerd@gnu.org>
parents:
37388
diff
changeset
|
931 ** 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
|
932 |
1b121f2746a8
Change entries for string-rectangle and alike.
Gerd Moellmann <gerd@gnu.org>
parents:
37388
diff
changeset
|
933 ** 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
|
934 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
|
935 |
25853 | 936 ** The new command M-x query-replace-regexp-eval acts like |
937 query-replace-regexp, but takes a Lisp expression which is evaluated | |
938 after each match to get the replacement text. | |
939 | |
29972 | 940 ** M-x query-replace recognizes a new command `e' (or `E') that lets |
941 you edit the replacement string. | |
28805 | 942 |
38925
d5d4948816a7
Label all user-level changes with either +++ or ---.
Eli Zaretskii <eliz@gnu.org>
parents:
38900
diff
changeset
|
943 ** 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
|
944 (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
|
945 in the text, analogous to lisp-complete-symbol. |
28805 | 946 |
38900
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
947 ** 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
|
948 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
949 ** 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
|
950 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
|
951 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
952 ** 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
|
953 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
|
954 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
|
955 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
|
956 |
38925
d5d4948816a7
Label all user-level changes with either +++ or ---.
Eli Zaretskii <eliz@gnu.org>
parents:
38900
diff
changeset
|
957 -- |
38900
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
958 ** 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
|
959 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
|
960 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
961 ** 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
|
962 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
|
963 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
|
964 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
|
965 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
966 ** 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
|
967 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
|
968 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
969 ** 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
|
970 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
|
971 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
|
972 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
|
973 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
|
974 of Emacs. |
29676 | 975 |
25853 | 976 ** Customize changes |
977 | |
978 *** Customize now supports comments about customized items. Use the | |
36885 | 979 `State' menu to add comments, or give a prefix argument to |
980 M-x customize-set-variable or M-x customize-set-value. Note that | |
981 customization comments will cause the customizations to fail in | |
982 earlier versions of Emacs. | |
25853 | 983 |
984 *** The new option `custom-buffer-done-function' says whether to kill | |
985 Custom buffers when you've done with them or just bury them (the | |
986 default). | |
987 | |
37901
9447d0447996
Document that customizations from "emacs -q" cannot be saved.
Eli Zaretskii <eliz@gnu.org>
parents:
37805
diff
changeset
|
988 *** 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
|
989 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
|
990 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
|
991 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
|
992 file. |
9447d0447996
Document that customizations from "emacs -q" cannot be saved.
Eli Zaretskii <eliz@gnu.org>
parents:
37805
diff
changeset
|
993 |
25853 | 994 ** New features in evaluation commands |
995 | |
30056 | 996 *** The commands to evaluate Lisp expressions, such as C-M-x in Lisp |
25853 | 997 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
|
998 print-level, print-length, and debug-on-error based on the new |
25853 | 999 customizable variables eval-expression-print-level, |
1000 eval-expression-print-length, and eval-expression-debug-on-error. | |
1001 | |
38562
5a192d819ce2
Mention the effect of eval-expression-print-length and
Eli Zaretskii <eliz@gnu.org>
parents:
38527
diff
changeset
|
1002 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
|
1003 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
|
1004 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
|
1005 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
|
1006 printed). |
5a192d819ce2
Mention the effect of eval-expression-print-length and
Eli Zaretskii <eliz@gnu.org>
parents:
38527
diff
changeset
|
1007 |
38590 | 1008 <RET> or <mouse-2> on the printed text toggles between an abbreviated |
1009 printed representation and an unabbreviated one. | |
38573 | 1010 |
38562
5a192d819ce2
Mention the effect of eval-expression-print-length and
Eli Zaretskii <eliz@gnu.org>
parents:
38527
diff
changeset
|
1011 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
|
1012 during evaluation produces a backtrace. |
5a192d819ce2
Mention the effect of eval-expression-print-length and
Eli Zaretskii <eliz@gnu.org>
parents:
38527
diff
changeset
|
1013 |
40526
b466f4f946a7
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40493
diff
changeset
|
1014 *** The function `eval-defun' (C-M-x) now loads Edebug and instruments |
30056 | 1015 code when called with a prefix argument. |
1016 | |
26820 | 1017 ** CC mode changes. |
1018 | |
1019 Note: This release contains changes that might not be compatible with | |
1020 current user setups (although it's believed that these | |
1021 incompatibilities will only show in very uncommon circumstances). | |
1022 However, since the impact is uncertain, these changes may be rolled | |
1023 back depending on user feedback. Therefore there's no forward | |
1024 compatibility guarantee wrt the new features introduced in this | |
1025 release. | |
1026 | |
37009 | 1027 *** The hardcoded switch to "java" style in Java mode is gone. |
1028 CC Mode used to automatically set the style to "java" when Java mode | |
1029 is entered. This has now been removed since it caused too much | |
1030 confusion. | |
1031 | |
1032 However, to keep backward compatibility to a certain extent, the | |
1033 default value for c-default-style now specifies the "java" style for | |
1034 java-mode, but "gnu" for all other modes (as before). So you won't | |
1035 notice the change if you haven't touched that variable. | |
1036 | |
1037 *** New cleanups, space-before-funcall and compact-empty-funcall. | |
1038 Two new cleanups have been added to c-cleanup-list: | |
1039 | |
1040 space-before-funcall causes a space to be inserted before the opening | |
1041 parenthesis of a function call, which gives the style "foo (bar)". | |
1042 | |
1043 compact-empty-funcall causes any space before a function call opening | |
1044 parenthesis to be removed if there are no arguments to the function. | |
1045 It's typically useful together with space-before-funcall to get the | |
1046 style "foo (bar)" and "foo()". | |
1047 | |
1048 *** Some keywords now automatically trigger reindentation. | |
1049 Keywords like "else", "while", "catch" and "finally" have been made | |
1050 "electric" to make them reindent automatically when they continue an | |
1051 earlier statement. An example: | |
1052 | |
1053 for (i = 0; i < 17; i++) | |
1054 if (a[i]) | |
1055 res += a[i]->offset; | |
1056 else | |
1057 | |
1058 Here, the "else" should be indented like the preceding "if", since it | |
1059 continues that statement. CC Mode will automatically reindent it after | |
1060 the "else" has been typed in full, since it's not until then it's | |
1061 possible to decide whether it's a new statement or a continuation of | |
1062 the preceding "if". | |
1063 | |
1064 CC Mode uses Abbrev mode to achieve this, which is therefore turned on | |
1065 by default. | |
1066 | |
1067 *** M-a and M-e now moves by sentence in multiline strings. | |
1068 Previously these two keys only moved by sentence in comments, which | |
1069 meant that sentence movement didn't work in strings containing | |
1070 documentation or other natural language text. | |
1071 | |
1072 The reason it's only activated in multiline strings (i.e. strings that | |
1073 contain a newline, even when escaped by a '\') is to avoid stopping in | |
1074 the short strings that often reside inside statements. Multiline | |
1075 strings almost always contain text in a natural language, as opposed | |
1076 to other strings that typically contain format specifications, | |
1077 commands, etc. Also, it's not that bothersome that M-a and M-e misses | |
1078 sentences in single line strings, since they're short anyway. | |
1079 | |
1080 *** Support for autodoc comments in Pike mode. | |
1081 Autodoc comments for Pike are used to extract documentation from the | |
1082 source, like Javadoc in Java. Pike mode now recognize this markup in | |
1083 comment prefixes and paragraph starts. | |
1084 | |
1085 *** The comment prefix regexps on c-comment-prefix may be mode specific. | |
1086 When c-comment-prefix is an association list, it specifies the comment | |
1087 line prefix on a per-mode basis, like c-default-style does. This | |
1088 change came about to support the special autodoc comment prefix in | |
1089 Pike mode only. | |
1090 | |
1091 *** Better handling of syntactic errors. | |
1092 The recovery after unbalanced parens earlier in the buffer has been | |
1093 improved; CC Mode now reports them by dinging and giving a message | |
1094 stating the offending line, but still recovers and indent the | |
1095 following lines in a sane way (most of the time). An "else" with no | |
1096 matching "if" is handled similarly. If an error is discovered while | |
1097 indenting a region, the whole region is still indented and the error | |
1098 is reported afterwards. | |
1099 | |
1100 *** Lineup functions may now return absolute columns. | |
1101 A lineup function can give an absolute column to indent the line to by | |
1102 returning a vector with the desired column as the first element. | |
1103 | |
1104 *** More robust and warning-free byte compilation. | |
1105 Although this is strictly not a user visible change (well, depending | |
1106 on the view of a user), it's still worth mentioning that CC Mode now | |
1107 can be compiled in the standard ways without causing trouble. Some | |
1108 code have also been moved between the subpackages to enhance the | |
1109 modularity somewhat. Thanks to Martin Buchholz for doing the | |
1110 groundwork. | |
1111 | |
30412 | 1112 *** c-style-variables-are-local-p now defaults to t. |
1113 This is an incompatible change that has been made to make the behavior | |
1114 of the style system wrt global variable settings less confusing for | |
1115 non-advanced users. If you know what this variable does you might | |
1116 want to set it to nil in your .emacs, otherwise you probably don't | |
1117 have to bother. | |
1118 | |
1119 Defaulting c-style-variables-are-local-p to t avoids the confusing | |
1120 situation that occurs when a user sets some style variables globally | |
30445 | 1121 and edits both a Java and a non-Java file in the same Emacs session. |
30412 | 1122 If the style variables aren't buffer local in this case, loading of |
1123 the second file will cause the default style (either "gnu" or "java" | |
1124 by default) to override the global settings made by the user. | |
1125 | |
26820 | 1126 *** New initialization procedure for the style system. |
1127 When the initial style for a buffer is determined by CC Mode (from the | |
1128 variable c-default-style), the global values of style variables now | |
1129 take precedence over the values specified by the chosen style. This | |
1130 is different than the old behavior: previously, the style-specific | |
1131 settings would override the global settings. This change makes it | |
1132 possible to do simple configuration in the intuitive way with | |
1133 Customize or with setq lines in one's .emacs file. | |
1134 | |
1135 By default, the global value of every style variable is the new | |
1136 special symbol set-from-style, which causes the value to be taken from | |
1137 the style system. This means that in effect, only an explicit setting | |
1138 of a style variable will cause the "overriding" behavior described | |
1139 above. | |
1140 | |
1141 Also note that global settings override style-specific settings *only* | |
1142 when the initial style of a buffer is chosen by a CC Mode major mode | |
1143 function. When a style is chosen in other ways --- for example, by a | |
1144 call like (c-set-style "gnu") in a hook, or via M-x c-set-style --- | |
1145 then the style-specific values take precedence over any global style | |
1146 values. In Lisp terms, global values override style-specific values | |
1147 only when the new second argument to c-set-style is non-nil; see the | |
1148 function documentation for more info. | |
1149 | |
1150 The purpose of these changes is to make it easier for users, | |
1151 especially novice users, to do simple customizations with Customize or | |
1152 with setq in their .emacs files. On the other hand, the new system is | |
1153 intended to be compatible with advanced users' customizations as well, | |
1154 such as those that choose styles in hooks or whatnot. This new system | |
1155 is believed to be almost entirely compatible with current | |
1156 configurations, in spite of the changed precedence between style and | |
1157 global variable settings when a buffer's default style is set. | |
1158 | |
1159 (Thanks to Eric Eide for clarifying this explanation a bit.) | |
1160 | |
1161 **** c-offsets-alist is now a customizable variable. | |
1162 This became possible as a result of the new initialization behavior. | |
1163 | |
1164 This variable is treated slightly differently from the other style | |
1165 variables; instead of using the symbol set-from-style, it will be | |
1166 completed with the syntactic symbols it doesn't already contain when | |
1167 the style is first initialized. This means it now defaults to the | |
1168 empty list to make all syntactic elements get their values from the | |
1169 style system. | |
1170 | |
1171 **** Compatibility variable to restore the old behavior. | |
1172 In case your configuration doesn't work with this change, you can set | |
1173 c-old-style-variable-behavior to non-nil to get the old behavior back | |
1174 as far as possible. | |
1175 | |
1176 *** Improvements to line breaking and text filling. | |
1177 CC Mode now handles this more intelligently and seamlessly wrt the | |
1178 surrounding code, especially inside comments. For details see the new | |
1179 chapter about this in the manual. | |
1180 | |
1181 **** New variable to recognize comment line prefix decorations. | |
1182 The variable c-comment-prefix-regexp has been added to properly | |
1183 recognize the line prefix in both block and line comments. It's | |
1184 primarily used to initialize the various paragraph recognition and | |
1185 adaptive filling variables that the text handling functions uses. | |
1186 | |
1187 **** New variable c-block-comment-prefix. | |
1188 This is a generalization of the now obsolete variable | |
1189 c-comment-continuation-stars to handle arbitrary strings. | |
1190 | |
1191 **** CC Mode now uses adaptive fill mode. | |
1192 This to make it adapt better to the paragraph style inside comments. | |
1193 | |
1194 It's also possible to use other adaptive filling packages inside CC | |
1195 Mode, notably Kyle E. Jones' Filladapt mode (http://wonderworks.com/). | |
1196 A new convenience function c-setup-filladapt sets up Filladapt for use | |
1197 inside CC Mode. | |
1198 | |
1199 Note though that the 2.12 version of Filladapt lacks a feature that | |
1200 causes it to work suboptimally when c-comment-prefix-regexp can match | |
1201 the empty string (which it commonly does). A patch for that is | |
1202 available from the CC Mode web site (http://www.python.org/emacs/ | |
1203 cc-mode/). | |
1204 | |
38894
681dc47ffb61
Document the removal of c-hanging-comment-starter-p and
Eli Zaretskii <eliz@gnu.org>
parents:
38832
diff
changeset
|
1205 **** 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
|
1206 `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
|
1207 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
|
1208 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
|
1209 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
|
1210 |
26820 | 1211 **** It's now possible to selectively turn off auto filling. |
1212 The variable c-ignore-auto-fill is used to ignore auto fill mode in | |
1213 specific contexts, e.g. in preprocessor directives and in string | |
1214 literals. | |
1215 | |
1216 **** New context sensitive line break function c-context-line-break. | |
1217 It works like newline-and-indent in normal code, and adapts the line | |
1218 prefix according to the comment style when used inside comments. If | |
1219 you're normally using newline-and-indent, you might want to switch to | |
1220 this function. | |
1221 | |
1222 *** Fixes to IDL mode. | |
1223 It now does a better job in recognizing only the constructs relevant | |
1224 to IDL. E.g. it no longer matches "class" as the beginning of a | |
1225 struct block, but it does match the CORBA 2.3 "valuetype" keyword. | |
1226 Thanks to Eric Eide. | |
1227 | |
1228 *** Improvements to the Whitesmith style. | |
1229 It now keeps the style consistently on all levels and both when | |
1230 opening braces hangs and when they don't. | |
1231 | |
1232 **** New lineup function c-lineup-whitesmith-in-block. | |
1233 | |
1234 *** New lineup functions c-lineup-template-args and c-indent-multi-line-block. | |
1235 See their docstrings for details. c-lineup-template-args does a | |
1236 better job of tracking the brackets used as parens in C++ templates, | |
1237 and is used by default to line up continued template arguments. | |
1238 | |
1239 *** c-lineup-comment now preserves alignment with a comment on the | |
1240 previous line. It used to instead preserve comments that started in | |
1241 the column specified by comment-column. | |
1242 | |
1243 *** c-lineup-C-comments handles "free form" text comments. | |
1244 In comments with a long delimiter line at the start, the indentation | |
1245 is kept unchanged for lines that start with an empty comment line | |
1246 prefix. This is intended for the type of large block comments that | |
1247 contain documentation with its own formatting. In these you normally | |
1248 don't want CC Mode to change the indentation. | |
1249 | |
1250 *** The `c' syntactic symbol is now relative to the comment start | |
1251 instead of the previous line, to make integers usable as lineup | |
1252 arguments. | |
1253 | |
1254 *** All lineup functions have gotten docstrings. | |
1255 | |
1256 *** More preprocessor directive movement functions. | |
1257 c-down-conditional does the reverse of c-up-conditional. | |
1258 c-up-conditional-with-else and c-down-conditional-with-else are | |
1259 variants of these that also stops at "#else" lines (suggested by Don | |
1260 Provan). | |
1261 | |
1262 *** Minor improvements to many movement functions in tricky situations. | |
1263 | |
38900
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1264 ** Dired changes |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1265 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1266 *** 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
|
1267 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
|
1268 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
|
1269 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1270 *** 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
|
1271 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
|
1272 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
|
1273 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1274 *** 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
|
1275 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
|
1276 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
|
1277 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1278 *** 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
|
1279 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
|
1280 directory. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1281 |
38989
6dcbf4154ff0
Change key for dired-show-file-type to `y'.
Gerd Moellmann <gerd@gnu.org>
parents:
38938
diff
changeset
|
1282 *** 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
|
1283 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
|
1284 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
|
1285 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
|
1286 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
|
1287 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1288 *** 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
|
1289 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
|
1290 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1291 *** 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
|
1292 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
|
1293 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
|
1294 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
|
1295 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1296 ** Gnus changes. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1297 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1298 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
|
1299 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
|
1300 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
|
1301 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1302 *** 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
|
1303 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
|
1304 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1305 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
|
1306 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1307 (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
|
1308 (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
|
1309 (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
|
1310 (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
|
1311 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1312 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
|
1313 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1314 (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
|
1315 '((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
|
1316 :suffix ".in"))) |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1317 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1318 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
|
1319 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
|
1320 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1321 *** 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
|
1322 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
|
1323 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
|
1324 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
|
1325 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1326 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
|
1327 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
|
1328 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
|
1329 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1330 *** 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
|
1331 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
|
1332 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
|
1333 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
|
1334 |
38925
d5d4948816a7
Label all user-level changes with either +++ or ---.
Eli Zaretskii <eliz@gnu.org>
parents:
38900
diff
changeset
|
1335 *** 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
|
1336 Gnus facilities. |
d5d4948816a7
Label all user-level changes with either +++ or ---.
Eli Zaretskii <eliz@gnu.org>
parents:
38900
diff
changeset
|
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 *** 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
|
1339 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
|
1340 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1341 *** 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
|
1342 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
|
1343 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1344 *** `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
|
1345 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
|
1346 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1347 *** 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
|
1348 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
|
1349 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1350 *** 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
|
1351 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
|
1352 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
|
1353 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1354 *** 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
|
1355 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1356 *** 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
|
1357 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1358 ** 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
|
1359 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1360 *** 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
|
1361 macros |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1362 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1363 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
|
1364 ------------------------- |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1365 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
|
1366 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
|
1367 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
|
1368 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
|
1369 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
|
1370 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
|
1371 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
|
1372 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1373 *** 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
|
1374 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1375 ** 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
|
1376 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1377 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
|
1378 `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
|
1379 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
|
1380 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1381 ** 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
|
1382 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1383 *** 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
|
1384 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
|
1385 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
|
1386 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
|
1387 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
|
1388 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1389 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
|
1390 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
|
1391 this way. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1392 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1393 ** 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
|
1394 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
|
1395 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1396 ** 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
|
1397 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1398 *** 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
|
1399 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
|
1400 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
|
1401 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1402 ** 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
|
1403 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
|
1404 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1405 ** 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
|
1406 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1407 *** 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
|
1408 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1409 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
|
1410 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
|
1411 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
|
1412 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
|
1413 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1414 *** 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
|
1415 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
|
1416 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
|
1417 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
|
1418 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1419 *** 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
|
1420 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
|
1421 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
|
1422 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1423 *** 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
|
1424 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1425 *** 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
|
1426 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
|
1427 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
|
1428 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
|
1429 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1430 *** The 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
|
1431 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
|
1432 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1433 ** 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
|
1434 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1435 *** 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
|
1436 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
|
1437 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
|
1438 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1439 **** 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
|
1440 current buffer. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1441 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1442 *** 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
|
1443 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
|
1444 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1445 *** 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
|
1446 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
|
1447 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
|
1448 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
|
1449 `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
|
1450 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
|
1451 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1452 *** 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
|
1453 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1454 ** 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
|
1455 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1456 *** 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
|
1457 `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
|
1458 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1459 ** 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
|
1460 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1461 *** The 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
|
1462 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
|
1463 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1464 *** 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
|
1465 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
|
1466 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1467 *** `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
|
1468 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
|
1469 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1470 *** 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
|
1471 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
|
1472 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1473 ** 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
|
1474 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1475 *** The `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
|
1476 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
|
1477 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
|
1478 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
|
1479 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1480 ** 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
|
1481 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1482 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
|
1483 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
|
1484 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1485 *** 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
|
1486 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
|
1487 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
|
1488 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
|
1489 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
|
1490 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
|
1491 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1492 *** 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
|
1493 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
|
1494 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
|
1495 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
|
1496 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
|
1497 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
|
1498 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
|
1499 `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
|
1500 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1501 *** 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
|
1502 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
|
1503 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1504 *** 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
|
1505 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
|
1506 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
|
1507 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1508 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
|
1509 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
|
1510 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
|
1511 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1512 *** 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
|
1513 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
|
1514 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
|
1515 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1516 *** 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
|
1517 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
|
1518 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
|
1519 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1520 *** 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
|
1521 (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
|
1522 compatibility. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1523 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1524 *** 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
|
1525 ring (history). |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1526 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1527 *** The new 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
|
1528 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
|
1529 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
|
1530 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1531 ** 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
|
1532 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1533 *** 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
|
1534 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
|
1535 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
|
1536 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
|
1537 `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
|
1538 as correspondent. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1539 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1540 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
|
1541 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
|
1542 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
|
1543 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1544 *** 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
|
1545 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
|
1546 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
|
1547 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
|
1548 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
|
1549 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1550 *** 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
|
1551 like `j'. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1552 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1553 *** 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
|
1554 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
|
1555 digest message. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1556 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1557 *** 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
|
1558 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
|
1559 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1560 *** The 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
|
1561 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
|
1562 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
|
1563 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1564 ** 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
|
1565 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
|
1566 |
38925
d5d4948816a7
Label all user-level changes with either +++ or ---.
Eli Zaretskii <eliz@gnu.org>
parents:
38900
diff
changeset
|
1567 ** 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
|
1568 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
|
1569 |
39300
8b178b9f2ee1
Document that rmail-output-to-rmail-file now writes in emacs-mule.
Eli Zaretskii <eliz@gnu.org>
parents:
39270
diff
changeset
|
1570 ** 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
|
1571 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
|
1572 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
|
1573 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
|
1574 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
|
1575 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
|
1576 |
8b178b9f2ee1
Document that rmail-output-to-rmail-file now writes in emacs-mule.
Eli Zaretskii <eliz@gnu.org>
parents:
39270
diff
changeset
|
1577 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
|
1578 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
|
1579 `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
|
1580 |
38900
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1581 ** 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
|
1582 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1583 *** 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
|
1584 `latex-mode'. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1585 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1586 *** 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
|
1587 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1588 *** 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
|
1589 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1590 *** 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
|
1591 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1592 ** Changes 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
|
1593 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1594 *** 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
|
1595 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
|
1596 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
|
1597 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
|
1598 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
|
1599 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
|
1600 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1601 *** 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
|
1602 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
|
1603 `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
|
1604 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1605 *** 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
|
1606 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
|
1607 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1608 *** 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
|
1609 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
|
1610 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
|
1611 been cited. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1612 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1613 ** 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
|
1614 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
|
1615 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
|
1616 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
|
1617 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1618 ** 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
|
1619 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
|
1620 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1621 *** 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
|
1622 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
|
1623 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
|
1624 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
|
1625 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1626 *** 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
|
1627 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
|
1628 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
|
1629 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
|
1630 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
|
1631 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
|
1632 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1633 ** 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
|
1634 file names. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1635 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1636 ** Ispell changes |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1637 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1638 *** 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
|
1639 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
|
1640 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
|
1641 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1642 *** 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
|
1643 added. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1644 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1645 *** 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
|
1646 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
|
1647 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1648 *** 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
|
1649 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1650 *** 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
|
1651 cases. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1652 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1653 *** 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
|
1654 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
|
1655 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1656 *** 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
|
1657 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
|
1658 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
1659 *** 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
|
1660 |
28506 | 1661 ** Makefile mode changes |
1662 | |
1663 *** The mode now uses the abbrev table `makefile-mode-abbrev-table'. | |
1664 | |
30483
05fc373ff5b8
mention `float-time' and the remote file modtime check
Sam Steingold <sds@gnu.org>
parents:
30482
diff
changeset
|
1665 *** Conditionals and include statements are now highlighted when |
28506 | 1666 Fontlock mode is active. |
1667 | |
26407 | 1668 ** Isearch changes |
1669 | |
30477 | 1670 *** Isearch now puts a call to `isearch-resume' in the command history, |
1671 so that searches can be resumed. | |
1672 | |
40526
b466f4f946a7
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40493
diff
changeset
|
1673 *** In Isearch mode, C-M-s and C-M-r are now bound like C-s and C-r, |
28506 | 1674 respectively, i.e. you can repeat a regexp isearch with the same keys |
1675 that started the search. | |
1676 | |
26407 | 1677 *** In Isearch mode, mouse-2 in the echo area now yanks the current |
25853 | 1678 selection into the search string rather than giving an error. |
1679 | |
26407 | 1680 *** There is a new lazy highlighting feature in incremental search. |
1681 | |
26417 | 1682 Lazy highlighting is switched on/off by customizing variable |
26407 | 1683 `isearch-lazy-highlight'. When active, all matches for the current |
1684 search string are highlighted. The current match is highlighted as | |
1685 before using face `isearch' or `region'. All other matches are | |
1686 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
|
1687 `secondary-selection'. |
26407 | 1688 |
1689 The extra highlighting makes it easier to anticipate where the cursor | |
1690 will end up each time you press C-s or C-r to repeat a pending search. | |
1691 Highlighting of these additional matches happens in a deferred fashion | |
1692 using "idle timers," so the cycles needed do not rob isearch of its | |
1693 usual snappy response. | |
1694 | |
1695 If `isearch-lazy-highlight-cleanup' is set to t, highlights for | |
1696 matches are automatically cleared when you end the search. If it is | |
1697 set to nil, you can remove the highlights manually with `M-x | |
1698 isearch-lazy-highlight-cleanup'. | |
1699 | |
31388 | 1700 ** VC Changes |
1701 | |
1702 VC has been overhauled internally. It is now modular, making it | |
1703 easier to plug-in arbitrary version control backends. (See Lisp | |
1704 Changes for details on the new structure.) As a result, the mechanism | |
1705 to enable and disable support for particular version systems has | |
1706 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
|
1707 `vc-handled-backends'. Its value is a list of symbols that identify |
31388 | 1708 version systems; the default is '(RCS CVS SCCS). When finding a file, |
1709 each of the backends in that list is tried in order to see whether the | |
1710 file is registered in that backend. | |
1711 | |
1712 When registering a new file, VC first tries each of the listed | |
1713 backends to see if any of them considers itself "responsible" for the | |
1714 directory of the file (e.g. because a corresponding subdirectory for | |
1715 master files exists). If none of the backends is responsible, then | |
1716 the first backend in the list that could register the file is chosen. | |
1717 As a consequence, the variable `vc-default-back-end' is now obsolete. | |
1718 | |
1719 The old variable `vc-master-templates' is also obsolete, although VC | |
1720 still supports it for backward compatibility. To define templates for | |
1721 RCS or SCCS, you should rather use the new variables | |
1722 vc-{rcs,sccs}-master-templates. (There is no such feature under CVS | |
1723 where it doesn't make sense.) | |
1724 | |
1725 The variables `vc-ignore-vc-files' and `vc-handle-cvs' are also | |
1726 obsolete now, you must set `vc-handled-backends' to nil or exclude | |
1727 `CVS' from the list, respectively, to achieve their effect now. | |
1728 | |
1729 *** General Changes | |
1730 | |
1731 The variable `vc-checkout-carefully' is obsolete: the corresponding | |
1732 checks are always done now. | |
1733 | |
31858
269d69b69fe4
Update hideshow.el section.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
31827
diff
changeset
|
1734 VC Dired buffers are now kept up-to-date during all version control |
31388 | 1735 operations. |
1736 | |
33111
bbf383648e4d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
33020
diff
changeset
|
1737 `vc-diff' output is now displayed in `diff-mode'. |
bbf383648e4d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
33020
diff
changeset
|
1738 `vc-print-log' uses `log-view-mode'. |
bbf383648e4d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
33020
diff
changeset
|
1739 `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
|
1740 |
33541 | 1741 The command C-x v m (vc-merge) now accepts an empty argument as the |
1742 first revision number. This means that any recent changes on the | |
1743 current branch should be picked up from the repository and merged into | |
1744 the working file (``merge news''). | |
1745 | |
1746 The commands C-x v s (vc-create-snapshot) and C-x v r | |
1747 (vc-retrieve-snapshot) now ask for a directory name from which to work | |
1748 downwards. | |
1749 | |
1750 *** Multiple Backends | |
1751 | |
1752 VC now lets you register files in more than one backend. This is | |
1753 useful, for example, if you are working with a slow remote CVS | |
1754 repository. You can then use RCS for local editing, and occasionally | |
1755 commit your changes back to CVS, or pick up changes from CVS into your | |
1756 local RCS archives. | |
1757 | |
1758 To make this work, the ``more local'' backend (RCS in our example) | |
1759 should come first in `vc-handled-backends', and the ``more remote'' | |
1760 backend (CVS) should come later. (The default value of | |
1761 `vc-handled-backends' already has it that way.) | |
1762 | |
36275
44540d398934
Some corrections to the VC news.
André Spiegel <spiegel@gnu.org>
parents:
36259
diff
changeset
|
1763 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
|
1764 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
|
1765 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
|
1766 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
|
1767 current revision number from the more remote backend. |
33541 | 1768 |
1769 If a file is registered in multiple backends, you can switch to | |
1770 another one using C-x v b (vc-switch-backend). This does not change | |
1771 any files, it only changes VC's perspective on the file. Use this to | |
1772 pick up changes from CVS while working under RCS locally. | |
1773 | |
1774 After you are done with your local RCS editing, you can commit your | |
1775 changes back to CVS using C-u C-x v v CVS RET. In this case, the | |
1776 local RCS archive is removed after the commit, and the log entry | |
1777 buffer is initialized to contain the entire RCS change log of the file. | |
1778 | |
31388 | 1779 *** Changes for CVS |
1780 | |
1781 There is a new user option, `vc-cvs-stay-local'. If it is `t' (the | |
1782 default), then VC avoids network queries for files registered in | |
1783 remote repositories. The state of such files is then only determined | |
1784 by heuristics and past information. `vc-cvs-stay-local' can also be a | |
1785 regexp to match against repository hostnames; only files from hosts | |
1786 that match it are treated locally. If the variable is nil, then VC | |
1787 queries the repository just as often as it does for local files. | |
1788 | |
33541 | 1789 If `vc-cvs-stay-local' is on, then VC also makes local backups of |
1790 repository versions. This means that ordinary diffs (C-x v =) and | |
1791 revert operations (C-x v u) can be done completely locally, without | |
1792 any repository interactions at all. The name of a local version | |
1793 backup of FILE is FILE.~REV.~, where REV is the repository version | |
1794 number. This format is similar to that used by C-x v ~ | |
1795 (vc-version-other-window), except for the trailing dot. As a matter | |
1796 of fact, the two features can each use the files created by the other, | |
1797 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
|
1798 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
|
1799 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
|
1800 name.) |
33541 | 1801 |
31388 | 1802 If `vc-cvs-stay-local' is on, and there have been changes in the |
1803 repository, VC notifies you about it when you actually try to commit. | |
1804 If you want to check for updates from the repository without trying to | |
33541 | 1805 commit, you can either use C-x v m RET to perform an update on the |
31388 | 1806 current file, or you can use C-x v r RET to get an update for an |
1807 entire directory tree. | |
1808 | |
1809 The new user option `vc-cvs-use-edit' indicates whether VC should call | |
1810 "cvs edit" to make files writeable; it defaults to `t'. (This option | |
1811 is only meaningful if the CVSREAD variable is set, or if files are | |
1812 "watched" by other developers.) | |
1813 | |
33541 | 1814 The commands C-x v s (vc-create-snapshot) and C-x v r |
1815 (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
|
1816 an empty snapshot name to the latter, that performs a `cvs update', |
33541 | 1817 starting at the given directory. |
1818 | |
31388 | 1819 *** Lisp Changes in VC |
1820 | |
1821 VC has been restructured internally to make it modular. You can now | |
1822 add support for arbitrary version control backends by writing a | |
1823 library that provides a certain set of backend-specific functions, and | |
1824 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
|
1825 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
|
1826 provides a number of functions vc-sys-... (see commentary at the top |
31388 | 1827 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
|
1828 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
|
1829 `SYS' to the list `vc-handled-backends'. |
31388 | 1830 |
36525
cb77fd8249b6
Change the `***' for the EDT entry to `**'.
Gerd Moellmann <gerd@gnu.org>
parents:
36470
diff
changeset
|
1831 ** The customizable EDT emulation package now supports the EDT |
35163 | 1832 SUBS command and EDT scroll margins. It also works with more |
1833 terminal/keyboard configurations and it now works under XEmacs. | |
1834 See etc/edt-user.doc for more information. | |
1835 | |
25853 | 1836 ** New modes and packages |
1837 | |
34394
d6a4dd5cd345
Entry for `minibuffer-electric-default-mode'.
Miles Bader <miles@gnu.org>
parents:
34389
diff
changeset
|
1838 *** 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
|
1839 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
|
1840 the default is not applicable. |
d6a4dd5cd345
Entry for `minibuffer-electric-default-mode'.
Miles Bader <miles@gnu.org>
parents:
34389
diff
changeset
|
1841 |
33618 | 1842 *** Artist is an Emacs lisp package that allows you to draw lines, |
1843 rectangles and ellipses by using your mouse and/or keyboard. The | |
1844 shapes are made up with the ascii characters |, -, / and \. | |
1845 | |
1846 Features are: | |
1847 | |
1848 - Intersecting: When a `|' intersects with a `-', a `+' is | |
1849 drawn, like this: | \ / | |
33796
10ffa5b56f53
mention `delete-trailing-whitespace'
Sam Steingold <sds@gnu.org>
parents:
33720
diff
changeset
|
1850 --+-- X |
33618 | 1851 | / \ |
1852 | |
1853 - Rubber-banding: When drawing lines you can interactively see the | |
1854 result while holding the mouse button down and moving the mouse. If | |
1855 your machine is not fast enough (a 386 is a bit too slow, but a | |
1856 pentium is well enough), you can turn this feature off. You will | |
1857 then see 1's and 2's which mark the 1st and 2nd endpoint of the line | |
1858 you are drawing. | |
1859 | |
1860 - Arrows: After having drawn a (straight) line or a (straight) | |
1861 poly-line, you can set arrows on the line-ends by typing < or >. | |
1862 | |
1863 - Flood-filling: You can fill any area with a certain character by | |
1864 flood-filling. | |
1865 | |
1866 - Cut copy and paste: You can cut, copy and paste rectangular | |
1867 regions. Artist also interfaces with the rect package (this can be | |
1868 turned off if it causes you any trouble) so anything you cut in | |
1869 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
|
1870 |
33618 | 1871 - Drawing with keys: Everything you can do with the mouse, you can |
1872 also do without the mouse. | |
1873 | |
1874 - Aspect-ratio: You can set the variable artist-aspect-ratio to | |
1875 reflect the height-width ratio for the font you are using. Squares | |
1876 and circles are then drawn square/round. Note, that once your | |
1877 ascii-file is shown with font with a different height-width ratio, | |
1878 the squares won't be square and the circles won't be round. | |
1879 | |
1880 - Drawing operations: The following drawing operations are implemented: | |
1881 | |
1882 lines straight-lines | |
1883 rectangles squares | |
1884 poly-lines straight poly-lines | |
1885 ellipses circles | |
1886 text (see-thru) text (overwrite) | |
1887 spray-can setting size for spraying | |
1888 vaporize line vaporize lines | |
1889 erase characters erase rectangles | |
1890 | |
1891 Straight lines are lines that go horizontally, vertically or | |
1892 diagonally. Plain lines go in any direction. The operations in | |
1893 the right column are accessed by holding down the shift key while | |
1894 drawing. | |
1895 | |
1896 It is possible to vaporize (erase) entire lines and connected lines | |
1897 (rectangles for example) as long as the lines being vaporized are | |
1898 straight and connected at their endpoints. Vaporizing is inspired | |
1899 by the drawrect package by Jari Aalto <jari.aalto@poboxes.com>. | |
1900 | |
1901 - Picture mode compatibility: Artist is picture mode compatible (this | |
1902 can be turned off). | |
1903 | |
32448
4925b241a9ac
Added a note about Eshell.
John Wiegley <johnw@newartisans.com>
parents:
32428
diff
changeset
|
1904 *** 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
|
1905 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
|
1906 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
|
1907 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
|
1908 history lists, aliases, extended globbing, smart scrolling, etc. It |
4925b241a9ac
Added a note about Eshell.
John Wiegley <johnw@newartisans.com>
parents:
32428
diff
changeset
|
1909 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
|
1910 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
|
1911 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
|
1912 all within the scope of your Emacs process. |
4925b241a9ac
Added a note about Eshell.
John Wiegley <johnw@newartisans.com>
parents:
32428
diff
changeset
|
1913 |
30781 | 1914 *** The new package timeclock.el is a mode is for keeping track of time |
1915 intervals. You can use it for whatever purpose you like, but the | |
1916 typical scenario is to keep track of how much time you spend working | |
1917 on certain projects. | |
1918 | |
35927 | 1919 *** The new package hi-lock.el provides commands to highlight matches |
1920 of interactively entered regexps. For example, | |
30789 | 1921 |
1922 M-x highlight-regexp RET clearly RET RET | |
30565 | 1923 |
1924 will highlight all occurrences of `clearly' using a yellow background | |
1925 face. New occurrences of `clearly' will be highlighted as they are | |
1926 typed. `M-x unhighlight-regexp RET' will remove the highlighting. | |
1927 Any existing face can be used for highlighting and a set of | |
1928 appropriate faces is provided. The regexps can be written into the | |
1929 current buffer in a form that will be recognized the next time the | |
35927 | 1930 corresponding file is read. There are commands to highlight matches |
1931 to phrases and to highlight entire lines containing a match. | |
30565 | 1932 |
30789 | 1933 *** The new package zone.el plays games with Emacs' display when |
30565 | 1934 Emacs is idle. |
1935 | |
38099 | 1936 *** The new package tildify.el allows to add hard spaces or other text |
1937 fragments in accordance with the current major mode. | |
1938 | |
30319 | 1939 *** The new package xml.el provides a simple but generic XML |
1940 parser. It doesn't parse the DTDs however. | |
1941 | |
29218
e956cc90f6c0
newcomment and the change of binding for M-;
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29162
diff
changeset
|
1942 *** 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
|
1943 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
|
1944 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
|
1945 `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
|
1946 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
|
1947 |
28879 | 1948 *** The Ebrowse package implements a C++ class browser and tags |
1949 facilities tailored for use with C++. It is documented in a | |
1950 separate Texinfo file. | |
1951 | |
31007 | 1952 *** The PCL-CVS package available by either running M-x cvs-examine or |
1953 by visiting a CVS administrative directory (with a prefix argument) | |
1954 provides an alternative interface to VC-dired for CVS. It comes with | |
1955 `log-view-mode' to view RCS and SCCS logs and `log-edit-mode' used to | |
35680 | 1956 enter check-in log messages. |
31007 | 1957 |
28834 | 1958 *** The new package called `woman' allows to browse Unix man pages |
1959 without invoking external programs. | |
1960 | |
1961 The command `M-x woman' formats manual pages entirely in Emacs Lisp | |
1962 and then displays them, like `M-x manual-entry' does. Unlike | |
1963 `manual-entry', `woman' does not invoke any external programs, so it | |
1964 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
|
1965 Groff or `troff' commands are not readily available. |
28834 | 1966 |
1967 The command `M-x woman-find-file' asks for the file name of a man | |
1968 page, then formats and displays it like `M-x woman' does. | |
1969 | |
28098 | 1970 *** The new command M-x re-builder offers a convenient interface for |
1971 authoring regular expressions with immediate visual feedback. | |
1972 | |
1973 The buffer from which the command was called becomes the target for | |
1974 the regexp editor popping up in a separate window. Matching text in | |
1975 the target buffer is immediately color marked during the editing. | |
1976 Each sub-expression of the regexp will show up in a different face so | |
1977 even complex regexps can be edited and verified on target data in a | |
1978 single step. | |
1979 | |
1980 On displays not supporting faces the matches instead blink like | |
1981 matching parens to make them stand out. On such a setup you will | |
1982 probably also want to use the sub-expression mode when the regexp | |
1983 contains such to get feedback about their respective limits. | |
1984 | |
27644 | 1985 *** glasses-mode is a minor mode that makes |
1986 unreadableIdentifiersLikeThis readable. It works as glasses, without | |
1987 actually modifying content of a buffer. | |
1988 | |
27498 | 1989 *** The package ebnf2ps translates an EBNF to a syntactic chart in |
1990 PostScript. | |
1991 | |
1992 Currently accepts ad-hoc EBNF, ISO EBNF and Bison/Yacc. | |
1993 | |
1994 The ad-hoc default EBNF syntax has the following elements: | |
1995 | |
1996 ; comment (until end of line) | |
1997 A non-terminal | |
1998 "C" terminal | |
1999 ?C? special | |
2000 $A default non-terminal | |
2001 $"C" default terminal | |
2002 $?C? default special | |
2003 A = B. production (A is the header and B the body) | |
2004 C D sequence (C occurs before D) | |
2005 C | D alternative (C or D occurs) | |
2006 A - B exception (A excluding B, B without any non-terminal) | |
2007 n * A repetition (A repeats n (integer) times) | |
2008 (C) group (expression C is grouped together) | |
2009 [C] optional (C may or not occurs) | |
2010 C+ one or more occurrences of C | |
2011 {C}+ one or more occurrences of C | |
2012 {C}* zero or more occurrences of C | |
2013 {C} zero or more occurrences of C | |
2014 C / D equivalent to: C {D C}* | |
2015 {C || D}+ equivalent to: C {D C}* | |
2016 {C || D}* equivalent to: [C {D C}*] | |
2017 {C || D} equivalent to: [C {D C}*] | |
2018 | |
2019 Please, see ebnf2ps documentation for EBNF syntax and how to use it. | |
2020 | |
27328 | 2021 *** The package align.el will align columns within a region, using M-x |
2022 align. Its mode-specific rules, based on regular expressions, | |
2023 determine where the columns should be split. In C and C++, for | |
2024 example, it will align variable names in declaration lists, or the | |
2025 equal signs of assignments. | |
2026 | |
27266
8ce11c7a7fcb
read-mail-command, outline mode changes, change-log-merge,
Dave Love <fx@gnu.org>
parents:
27200
diff
changeset
|
2027 *** `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
|
2028 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
|
2029 |
27016 | 2030 *** bs.el is a new package for buffer selection similar to |
2031 list-buffers or electric-buffer-list. Use M-x bs-show to display a | |
36885 | 2032 buffer menu with this package. See the Custom group `bs'. |
27016 | 2033 |
29696 | 2034 *** find-lisp.el is a package emulating the Unix find command in Lisp. |
2035 | |
27733 | 2036 *** calculator.el is a small calculator package that is intended to |
2037 replace desktop calculators such as xcalc and calc.exe. Actually, it | |
2038 is not too small - it has more features than most desktop calculators, | |
2039 and can be customized easily to get many more functions. It should | |
2040 not be confused with "calc" which is a much bigger mathematical tool | |
2041 which answers different needs. | |
2042 | |
26964
2939daf50656
Font-lock changes by Anders Lindgren.
Gerd Moellmann <gerd@gnu.org>
parents:
26933
diff
changeset
|
2043 *** 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
|
2044 suspicious C and C++ constructions. Currently, assignments inside |
2939daf50656
Font-lock changes by Anders Lindgren.
Gerd Moellmann <gerd@gnu.org>
parents:
26933
diff
changeset
|
2045 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
|
2046 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
|
2047 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
|
2048 to be enabled. |
2939daf50656
Font-lock changes by Anders Lindgren.
Gerd Moellmann <gerd@gnu.org>
parents:
26933
diff
changeset
|
2049 |
27094
6500fd0a7d8e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27092
diff
changeset
|
2050 *** 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
|
2051 containing diff3-style conflict markers, such as generated by RCS. |
6500fd0a7d8e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27092
diff
changeset
|
2052 |
25853 | 2053 *** 5x5.el is a simple puzzle game. |
2054 | |
38938 | 2055 *** hl-line.el provides `hl-line-mode', a minor mode to highlight the |
2056 current line in the current buffer. It also provides | |
2057 `global-hl-line-mode' to provide the same behaviour in all buffers. | |
25853 | 2058 |
2059 *** ansi-color.el translates ANSI terminal escapes into text-properties. | |
2060 | |
35578 | 2061 Please note: if `ansi-color-for-comint-mode' and |
31936 | 2062 `global-font-lock-mode' are non-nil, loading ansi-color.el will |
2063 disable font-lock and add `ansi-color-apply' to | |
2064 `comint-preoutput-filter-functions' for all shell-mode buffers. This | |
2065 displays the output of "ls --color=yes" using the correct foreground | |
2066 and background colors. | |
2067 | |
25853 | 2068 *** delphi.el provides a major mode for editing the Delphi (Object |
2069 Pascal) language. | |
2070 | |
2071 *** quickurl.el provides a simple method of inserting a URL based on | |
2072 the text at point. | |
2073 | |
2074 *** sql.el provides an interface to SQL data bases. | |
2075 | |
25862 | 2076 *** fortune.el uses the fortune program to create mail/news signatures. |
2077 | |
35163 | 2078 *** whitespace.el is a package for warning about and cleaning bogus |
2079 whitespace in a file. | |
25853 | 2080 |
25992 | 2081 *** PostScript mode (ps-mode) is a new major mode for editing PostScript |
2082 files. It offers: interaction with a PostScript interpreter, including | |
2083 (very basic) error handling; fontification, easily customizable for | |
2084 interpreter messages; auto-indentation; insertion of EPSF templates and | |
2085 often used code snippets; viewing of BoundingBox; commenting out / | |
2086 uncommenting regions; conversion of 8bit characters to PostScript octal | |
2087 codes. All functionality is accessible through a menu. | |
2088 | |
2089 *** delim-col helps to prettify columns in a text region or rectangle. | |
2090 | |
2091 Here is an example of columns: | |
2092 | |
2093 horse apple bus | |
2094 dog pineapple car EXTRA | |
2095 porcupine strawberry airplane | |
2096 | |
2097 Doing the following settings: | |
2098 | |
2099 (setq delimit-columns-str-before "[ ") | |
2100 (setq delimit-columns-str-after " ]") | |
2101 (setq delimit-columns-str-separator ", ") | |
2102 (setq delimit-columns-separator "\t") | |
2103 | |
2104 | |
2105 Selecting the lines above and typing: | |
2106 | |
2107 M-x delimit-columns-region | |
2108 | |
2109 It results: | |
2110 | |
2111 [ horse , apple , bus , ] | |
2112 [ dog , pineapple , car , EXTRA ] | |
2113 [ porcupine, strawberry, airplane, ] | |
2114 | |
2115 delim-col has the following options: | |
2116 | |
2117 delimit-columns-str-before Specify a string to be inserted | |
2118 before all columns. | |
2119 | |
2120 delimit-columns-str-separator Specify a string to be inserted | |
2121 between each column. | |
2122 | |
2123 delimit-columns-str-after Specify a string to be inserted | |
2124 after all columns. | |
2125 | |
2126 delimit-columns-separator Specify a regexp which separates | |
2127 each column. | |
2128 | |
2129 delim-col has the following commands: | |
2130 | |
2131 delimit-columns-region Prettify all columns in a text region. | |
2132 delimit-columns-rectangle Prettify all columns in a text rectangle. | |
2133 | |
36885 | 2134 *** Recentf mode maintains a menu for visiting files that were |
2135 operated on recently. User option recentf-menu-filter specifies a | |
2136 menu filter function to change the menu appearance. For example, the | |
2137 recent file list can be displayed: | |
30319 | 2138 |
2139 - organized by major modes, directories or user defined rules. | |
35680 | 2140 - sorted by file paths, file names, ascending or descending. |
2141 - showing paths relative to the current default-directory | |
30319 | 2142 |
2143 The `recentf-filter-changer' menu filter function allows to | |
2144 dynamically change the menu appearance. | |
26030
c5e8559a53cb
Add description of recentf.
Gerd Moellmann <gerd@gnu.org>
parents:
26016
diff
changeset
|
2145 |
26149 | 2146 *** elide-head.el provides a mechanism for eliding boilerplate header |
2147 text. | |
2148 | |
26924 | 2149 *** footnote.el provides `footnote-mode', a minor mode supporting use |
26786 | 2150 of footnotes. It is intended for use with Message mode, but isn't |
2151 specific to Message mode. | |
2152 | |
26924 | 2153 *** diff-mode.el provides `diff-mode', a major mode for |
2154 viewing/editing context diffs (patches). It is selected for files | |
2155 with extension `.diff', `.diffs', `.patch' and `.rej'. | |
2156 | |
27714
22a581e00fe4
Mention some new packages, extra configure options.
Dave Love <fx@gnu.org>
parents:
27693
diff
changeset
|
2157 *** 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
|
2158 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
|
2159 protocols. It has a separate manual. |
22a581e00fe4
Mention some new packages, extra configure options.
Dave Love <fx@gnu.org>
parents:
27693
diff
changeset
|
2160 |
28132 | 2161 *** autoconf.el provides a major mode for editing configure.in files |
2162 for Autoconf, selected automatically. | |
2163 | |
28710 | 2164 *** 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
|
2165 |
30483
05fc373ff5b8
mention `float-time' and the remote file modtime check
Sam Steingold <sds@gnu.org>
parents:
30482
diff
changeset
|
2166 *** crm.el provides a facility to read multiple strings from the |
28710 | 2167 minibuffer with completion. |
27714
22a581e00fe4
Mention some new packages, extra configure options.
Dave Love <fx@gnu.org>
parents:
27693
diff
changeset
|
2168 |
28883 | 2169 *** todo-mode.el provides management of TODO lists and integration |
2170 with the diary features. | |
2171 | |
28912 | 2172 *** autoarg.el provides a feature reported from Twenex Emacs whereby |
2173 numeric keys supply prefix args rather than self inserting. | |
2174 | |
29814 | 2175 *** The function `turn-off-auto-fill' unconditionally turns off Auto |
2176 Fill mode. | |
2177 | |
33020 | 2178 *** pcomplete.el is a library that provides programmable completion |
2179 facilities for Emacs, similar to what zsh and tcsh offer. The main | |
2180 difference is that completion functions are written in Lisp, meaning | |
2181 they can be profiled, debugged, etc. | |
32465 | 2182 |
38379 | 2183 *** antlr-mode is a new major mode for editing ANTLR grammar files. |
2184 It is automatically turned on for files whose names have the extension | |
2185 `.g'. | |
2186 | |
38900
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2187 ** 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
|
2188 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2189 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
|
2190 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
|
2191 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
|
2192 numeric base. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2193 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2194 ** 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
|
2195 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2196 *** 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
|
2197 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
|
2198 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
|
2199 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2200 *** 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
|
2201 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
|
2202 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2203 *** 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
|
2204 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
|
2205 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2206 ** 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
|
2207 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
|
2208 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2209 ** 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
|
2210 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
|
2211 `(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
|
2212 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2213 ** 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
|
2214 group. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2215 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2216 ** 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
|
2217 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
|
2218 are recognized: |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2219 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2220 `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
|
2221 `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
|
2222 `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
|
2223 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
|
2224 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2225 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
|
2226 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2227 [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
|
2228 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2229 ** 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
|
2230 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
|
2231 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2232 ** 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
|
2233 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
|
2234 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
|
2235 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
|
2236 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2237 ** 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
|
2238 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
|
2239 `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
|
2240 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2241 ** `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
|
2242 `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
|
2243 `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
|
2244 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2245 ** 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
|
2246 `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
|
2247 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2248 ** 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
|
2249 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
|
2250 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2251 ** `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
|
2252 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
|
2253 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2254 ** 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
|
2255 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
|
2256 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
|
2257 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
|
2258 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
|
2259 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
|
2260 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2261 ** 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
|
2262 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
|
2263 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2264 ** 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
|
2265 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2266 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
|
2267 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
|
2268 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2269 ** 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
|
2270 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2271 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
|
2272 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
|
2273 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
|
2274 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2275 ** Etags changes. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2276 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2277 *** 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
|
2278 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2279 *** 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
|
2280 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
|
2281 {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
|
2282 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
|
2283 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
|
2284 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2285 *** 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
|
2286 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
|
2287 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2288 *** 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
|
2289 "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
|
2290 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2291 *** 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
|
2292 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
|
2293 `template' keywords. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2294 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2295 *** 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
|
2296 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
|
2297 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2298 *** 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
|
2299 types. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2300 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2301 *** 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
|
2302 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2303 *** 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
|
2304 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2305 *** 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
|
2306 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
|
2307 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2308 *** 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
|
2309 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2310 *** 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
|
2311 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
|
2312 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2313 *** 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
|
2314 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2315 *** .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
|
2316 for PSWrap. |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2317 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2318 ** 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
|
2319 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2320 *** 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
|
2321 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
|
2322 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
|
2323 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2324 *** 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
|
2325 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
|
2326 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2327 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
|
2328 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
|
2329 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
|
2330 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
|
2331 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2332 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
|
2333 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2334 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
|
2335 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
|
2336 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2337 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
|
2338 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2339 '(("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
|
2340 ("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
|
2341 ("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
|
2342 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2343 *** 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
|
2344 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
|
2345 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2346 *** 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
|
2347 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
|
2348 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2349 *** 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
|
2350 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
|
2351 /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
|
2352 "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
|
2353 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
|
2354 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2355 *** 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
|
2356 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
|
2357 (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
|
2358 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2359 *** 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
|
2360 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
|
2361 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
|
2362 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2363 ** 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
|
2364 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
|
2365 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
|
2366 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2367 ** 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
|
2368 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2369 ** 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
|
2370 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2371 ** 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
|
2372 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
|
2373 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
|
2374 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2375 ** 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
|
2376 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
|
2377 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
|
2378 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
|
2379 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2380 ** 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
|
2381 |
a3e94a8271e0
Reshuffle user-level changes to bring more important ones closer to the
Eli Zaretskii <eliz@gnu.org>
parents:
38894
diff
changeset
|
2382 ** 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
|
2383 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
|
2384 |
33290 | 2385 ** Refill minor mode provides preliminary support for keeping |
2386 paragraphs filled as you modify them. | |
2387 | |
38605
f99d2e5ee830
Add description of double-click-fuzz.
Gerd Moellmann <gerd@gnu.org>
parents:
38590
diff
changeset
|
2388 ** 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
|
2389 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
|
2390 is measured in pixels. |
f99d2e5ee830
Add description of double-click-fuzz.
Gerd Moellmann <gerd@gnu.org>
parents:
38590
diff
changeset
|
2391 |
33290 | 2392 ** The new global minor mode `auto-image-file-mode' allows image files |
2393 to be visited as images. | |
2394 | |
39270
daf37eb76fde
grep-command and grep-find-command user options.
Gerd Moellmann <gerd@gnu.org>
parents:
39255
diff
changeset
|
2395 ** 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
|
2396 were added to compile.el. |
daf37eb76fde
grep-command and grep-find-command user options.
Gerd Moellmann <gerd@gnu.org>
parents:
39255
diff
changeset
|
2397 |
25853 | 2398 ** Withdrawn packages |
2399 | |
2400 *** mldrag.el has been removed. mouse.el provides the same | |
2401 functionality with aliases for the mldrag functions. | |
26133 | 2402 |
27369 | 2403 *** eval-reg.el has been obsoleted by changes to edebug.el and removed. |
2404 | |
2405 *** ph.el has been obsoleted by EUDC and removed. | |
29102 | 2406 |
35577
db5649648a65
Replace formfeeds removed on 2001/01/22.
Dave Love <fx@gnu.org>
parents:
35567
diff
changeset
|
2407 |
33991 | 2408 * Incompatible Lisp changes |
2409 | |
2410 There are a few Lisp changes which are not backwards-compatible and | |
2411 may require changes to existing code. Here is a list for reference. | |
35421 | 2412 See the sections below for details. |
33991 | 2413 |
35297
e268b7b500f0
Changes for makefile support in etags.
Francesco Potortì <pot@gnu.org>
parents:
35278
diff
changeset
|
2414 ** 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
|
2415 `(format "%s" foo)' no longer works to copy and remove properties. |
35421 | 2416 Use `copy-sequence' and `set-text-properties'. |
33991 | 2417 |
2418 ** Since the `keymap' text property now has significance, some code | |
2419 which uses both `local-map' and `keymap' properties (for portability) | |
2420 may, for instance, give rise to duplicate menus when the keymaps from | |
2421 these properties are active. | |
2422 | |
34029 | 2423 ** The change in the treatment of non-ASCII characters in search |
33991 | 2424 ranges may affect some code. |
34017 | 2425 |
2426 ** A non-nil value for the LOCAL arg of add-hook makes the hook | |
2427 buffer-local even if `make-local-hook' hasn't been called, which might | |
2428 make a difference to some code. | |
2429 | |
34029 | 2430 ** The new treatment of the minibuffer prompt might affect code which |
2431 operates on the minibuffer. | |
2432 | |
34087
4fcc3c4e9b0f
Explain why `no-conversion' is no longer appropriate for reading
Eli Zaretskii <eliz@gnu.org>
parents:
34060
diff
changeset
|
2433 ** 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
|
2434 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
|
2435 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
|
2436 (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
|
2437 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
|
2438 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
|
2439 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
|
2440 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
|
2441 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
|
2442 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
|
2443 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
|
2444 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
|
2445 |
4fcc3c4e9b0f
Explain why `no-conversion' is no longer appropriate for reading
Eli Zaretskii <eliz@gnu.org>
parents:
34060
diff
changeset
|
2446 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
|
2447 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
|
2448 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
|
2449 |
34617 | 2450 ** 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
|
2451 `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
|
2452 `before-change-functions' and `after-change-functions' instead. |
34617 | 2453 |
2454 ** Code that uses `concat' with integer args now gets an error, as | |
2455 long promised. | |
2456 | |
38649
021a0445b5f6
Mention the change in base64-decode-string whereby the result is
Eli Zaretskii <eliz@gnu.org>
parents:
38605
diff
changeset
|
2457 ** 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
|
2458 string. |
021a0445b5f6
Mention the change in base64-decode-string whereby the result is
Eli Zaretskii <eliz@gnu.org>
parents:
38605
diff
changeset
|
2459 |
36244 | 2460 ** Not a Lisp incompatibility as such but, with the introduction of |
2461 extra private charsets, there is now only one slot free for a new | |
2462 dimension-2 private charset. User code which tries to add more than | |
2463 one extra will fail unless you rebuild Emacs with some standard | |
2464 charset(s) removed; that is probably inadvisable because it changes | |
2465 the emacs-mule encoding. Also, files stored in the emacs-mule | |
36470 | 2466 encoding using Emacs 20 with additional private charsets defined will |
2467 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
|
2468 |
37077
8b914cd4ae0c
Fix the wording about directory-sep-char deprecation.
Eli Zaretskii <eliz@gnu.org>
parents:
37064
diff
changeset
|
2469 ** 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
|
2470 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
|
2471 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
|
2472 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
|
2473 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
|
2474 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
|
2475 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
|
2476 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
|
2477 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
|
2478 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
|
2479 |
35577
db5649648a65
Replace formfeeds removed on 2001/01/22.
Dave Love <fx@gnu.org>
parents:
35567
diff
changeset
|
2480 |
29102 | 2481 * Lisp changes made after edition 2.6 of the Emacs Lisp Manual, |
2482 (Display-related features are described in a page of their own below.) | |
2483 | |
39089 | 2484 ** Function assq-delete-all replaces function assoc-delete-all. |
2485 | |
40215 | 2486 ** The new function amimate-string, from lisp/play/animate.el |
38527 | 2487 allows the animated display of strings. |
2488 | |
37061 | 2489 ** The new function `interactive-form' can be used to obtain the |
2490 interactive form of a function. | |
2491 | |
36885 | 2492 ** The keyword :set-after in defcustom allows to specify dependencies |
2493 between custom options. Example: | |
2494 | |
2495 (defcustom default-input-method nil | |
2496 "*Default input method for multilingual text (a string). | |
2497 This is the input method activated automatically by the command | |
2498 `toggle-input-method' (\\[toggle-input-method])." | |
2499 :group 'mule | |
2500 :type '(choice (const nil) string) | |
2501 :set-after '(current-language-environment)) | |
2502 | |
2503 This specifies that default-input-method should be set after | |
2504 current-language-environment even if default-input-method appears | |
2505 first in a custom-set-variables statement. | |
2506 | |
35862
9604ca6b3728
More typos from Juanma Barranquero <lektu@uol.com.br>.
Eli Zaretskii <eliz@gnu.org>
parents:
35847
diff
changeset
|
2507 ** The new hook `kbd-macro-termination-hook' is run at the end of |
35125 | 2508 function execute-kbd-macro. Functions on this hook are called with no |
2509 args. The hook is run independent of how the macro was terminated | |
2510 (signal or normal termination). | |
2511 | |
35090 | 2512 ** Functions `butlast' and `nbutlast' for removing trailing elements |
2513 from a list are now available without requiring the CL package. | |
2514 | |
34271 | 2515 ** The new user-option `even-window-heights' can be set to nil |
2516 to prevent `display-buffer' from evening out window heights. | |
2517 | |
33373 | 2518 ** The user-option `face-font-registry-alternatives' specifies |
2519 alternative font registry names to try when looking for a font. | |
2520 | |
34054 | 2521 ** Function `md5' calculates the MD5 "message digest"/"checksum". |
33364 | 2522 |
32913 | 2523 ** Function `delete-frame' runs `delete-frame-hook' before actually |
2524 deleting the frame. The hook is called with one arg, the frame | |
2525 being deleted. | |
2526 | |
32845
e92097fd9144
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32751
diff
changeset
|
2527 ** `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
|
2528 |
32466 | 2529 ** The treatment of non-ASCII characters in search ranges has changed. |
32465 | 2530 If a range in a regular expression or the arg of |
2531 skip-chars-forward/backward starts with a unibyte character C and ends | |
2532 with a multibyte character C2, the range is divided into two: one is | |
2533 C..?\377, the other is C1..C2, where C1 is the first character of C2's | |
2534 charset. | |
2535 | |
32259
cae38860a9ee
Add entry for `display-message-or-buffer'.
Miles Bader <miles@gnu.org>
parents:
32257
diff
changeset
|
2536 ** 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
|
2537 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
|
2538 message. |
cae38860a9ee
Add entry for `display-message-or-buffer'.
Miles Bader <miles@gnu.org>
parents:
32257
diff
changeset
|
2539 |
32050
2a3bcf8d9877
Add entries for `auto-image-file-mode' and `with-auto-compression-mode'.
Miles Bader <miles@gnu.org>
parents:
32037
diff
changeset
|
2540 ** 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
|
2541 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
|
2542 |
31636 | 2543 ** In image specifications, `:heuristic-mask' has been replaced |
2544 with the more general `:mask' property. | |
2545 | |
35364 | 2546 ** Image specifications accept more `:conversion's. |
31728 | 2547 |
31561 | 2548 ** A `?' can be used in a symbol name without escaping it with a |
2549 backslash. | |
2550 | |
31007 | 2551 ** Reading from the mini-buffer now reads from standard input if Emacs |
2552 is running in batch mode. For example, | |
2553 | |
2554 (message "%s" (read t)) | |
2555 | |
2556 will read a Lisp expression from standard input and print the result | |
2557 to standard output. | |
2558 | |
2559 ** The argument of `down-list', `backward-up-list', `up-list', | |
2560 `kill-sexp', `backward-kill-sexp' and `mark-sexp' is now optional. | |
2561 | |
30564 | 2562 ** If `display-buffer-reuse-frames' is set, function `display-buffer' |
2563 will raise frames displaying a buffer, instead of creating a new | |
2564 frame or window. | |
2565 | |
30516 | 2566 ** Two new functions for removing elements from lists/sequences |
2567 were added | |
2568 | |
2569 - Function: remove ELT SEQ | |
2570 | |
35680 | 2571 Return a copy of SEQ with all occurrences of ELT removed. SEQ must be |
30516 | 2572 a list, vector, or string. The comparison is done with `equal'. |
2573 | |
2574 - Function: remq ELT LIST | |
2575 | |
35680 | 2576 Return a copy of LIST with all occurrences of ELT removed. The |
30516 | 2577 comparison is done with `eq'. |
2578 | |
2579 ** The function `delete' now also works with vectors and strings. | |
30511 | 2580 |
30502 | 2581 ** 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
|
2582 has been changed: WEAK can now have new values `key-or-value' and |
39441 | 2583 `key-and-value', in addition the `nil', `key', `value', and `t'. |
30502 | 2584 |
30357 | 2585 ** Function `aset' stores any multibyte character in any string |
2586 without signaling "Attempt to change char length of a string". It may | |
2587 convert a unibyte string to multibyte if necessary. | |
2588 | |
30219 | 2589 ** The value of the `help-echo' text property is called as a function |
2590 or evaluated, if it is not a string already, to obtain a help string. | |
30203 | 2591 |
30158
84d54b049d67
make-obsolete, plist-member changes
Dave Love <fx@gnu.org>
parents:
30155
diff
changeset
|
2592 ** 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
|
2593 function was declared obsolete. |
84d54b049d67
make-obsolete, plist-member changes
Dave Love <fx@gnu.org>
parents:
30155
diff
changeset
|
2594 |
30483
05fc373ff5b8
mention `float-time' and the remote file modtime check
Sam Steingold <sds@gnu.org>
parents:
30482
diff
changeset
|
2595 ** 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
|
2596 retained as an alias). |
84d54b049d67
make-obsolete, plist-member changes
Dave Love <fx@gnu.org>
parents:
30155
diff
changeset
|
2597 |
30068
fd80ab818a0c
Fix various typos.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30056
diff
changeset
|
2598 ** Easy-menu's :filter now works as in XEmacs. |
fd80ab818a0c
Fix various typos.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30056
diff
changeset
|
2599 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
|
2600 is automatically converted to Emacs' form. |
fd80ab818a0c
Fix various typos.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30056
diff
changeset
|
2601 |
30038 | 2602 ** The new function `window-list' has been defined |
2603 | |
33620 | 2604 - Function: window-list &optional FRAME WINDOW MINIBUF |
2605 | |
2606 Return a list of windows on FRAME, starting with WINDOW. FRAME nil or | |
2607 omitted means use the selected frame. WINDOW nil or omitted means use | |
2608 the selected window. MINIBUF t means include the minibuffer window, | |
2609 even if it isn't active. MINIBUF nil or omitted means include the | |
2610 minibuffer window only if it's active. MINIBUF neither nil nor t | |
2611 means never include the minibuffer window. | |
30038 | 2612 |
39179
d0b29a3ee609
some-window -> get-window-with-predicate.
Gerd Moellmann <gerd@gnu.org>
parents:
39089
diff
changeset
|
2613 ** 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
|
2614 |
d0b29a3ee609
some-window -> get-window-with-predicate.
Gerd Moellmann <gerd@gnu.org>
parents:
39089
diff
changeset
|
2615 - Function: get-window-with-predicate PREDICATE &optional MINIBUF ALL-FRAMES DEFAULT |
30006 | 2616 |
2617 Return a window satisfying PREDICATE. | |
2618 | |
2619 This function cycles through all visible windows using `walk-windows', | |
2620 calling PREDICATE on each one. PREDICATE is called with a window as | |
2621 argument. The first window for which PREDICATE returns a non-nil | |
2622 value is returned. If no window satisfies PREDICATE, DEFAULT is | |
2623 returned. | |
2624 | |
2625 Optional second arg MINIBUF t means count the minibuffer window even | |
2626 if not active. MINIBUF nil or omitted means count the minibuffer iff | |
2627 it is active. MINIBUF neither t nor nil means not to count the | |
2628 minibuffer even if it is active. | |
2629 | |
2630 Several frames may share a single minibuffer; if the minibuffer | |
2631 counts, all windows on all frames that share that minibuffer count | |
2632 too. Therefore, if you are using a separate minibuffer frame | |
2633 and the minibuffer is active and MINIBUF says it counts, | |
2634 `walk-windows' includes the windows in the frame from which you | |
2635 entered the minibuffer, as well as the minibuffer window. | |
2636 | |
2637 ALL-FRAMES is the optional third argument. | |
2638 ALL-FRAMES nil or omitted means cycle within the frames as specified above. | |
2639 ALL-FRAMES = `visible' means include windows on all visible frames. | |
2640 ALL-FRAMES = 0 means include windows on all visible and iconified frames. | |
2641 ALL-FRAMES = t means include windows on all frames including invisible frames. | |
2642 If ALL-FRAMES is a frame, it means include windows on that frame. | |
2643 Anything else means restrict to the selected frame. | |
2644 | |
30564 | 2645 ** The function `single-key-description' now encloses function key and |
2646 event names in angle brackets. When called with a second optional | |
2647 argument non-nil, angle brackets won't be printed. | |
29657 | 2648 |
29637 | 2649 ** If the variable `message-truncate-lines' is bound to t around a |
2650 call to `message', the echo area will not be resized to display that | |
30290 | 2651 message; it will be truncated instead, as it was done in 20.x. |
2652 Default value is nil. | |
29637 | 2653 |
30483
05fc373ff5b8
mention `float-time' and the remote file modtime check
Sam Steingold <sds@gnu.org>
parents:
30482
diff
changeset
|
2654 ** The user option `line-number-display-limit' can now be set to nil, |
29633 | 2655 meaning no limit. |
2656 | |
38126
64a45ba0553f
Document line-number-display-limit-width.
Eli Zaretskii <eliz@gnu.org>
parents:
38107
diff
changeset
|
2657 ** 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
|
2658 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
|
2659 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
|
2660 |
30483
05fc373ff5b8
mention `float-time' and the remote file modtime check
Sam Steingold <sds@gnu.org>
parents:
30482
diff
changeset
|
2661 ** `select-safe-coding-system' now also checks the most preferred |
29509 | 2662 coding-system if buffer-file-coding-system is `undecided' and |
2663 DEFAULT-CODING-SYSTEM is not specified, | |
2664 | |
34001 | 2665 ** The function `subr-arity' provides information about the argument |
2666 list of a primitive. | |
29238 | 2667 |
33111
bbf383648e4d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
33020
diff
changeset
|
2668 ** `where-is-internal' now also accepts a list of keymaps. |
bbf383648e4d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
33020
diff
changeset
|
2669 |
29286 | 2670 ** The text property `keymap' specifies a key map which overrides the |
2671 buffer's local map and the map specified by the `local-map' property. | |
2672 This is probably what most current uses of `local-map' want, rather | |
2673 than replacing the local map. | |
2674 | |
35250 | 2675 ** The obsolete variables `before-change-function' and |
2676 `after-change-function' are no longer acted upon and have been | |
2677 removed. Use `before-change-functions' and `after-change-functions' | |
2678 instead. | |
29498 | 2679 |
2680 ** The function `apropos-mode' runs the hook `apropos-mode-hook'. | |
2681 | |
33111
bbf383648e4d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
33020
diff
changeset
|
2682 ** `concat' no longer accepts individual integer arguments, |
bbf383648e4d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
33020
diff
changeset
|
2683 as promised long ago. |
30339
70d759570f7a
C-down-mouse-3. Move concat change.
Dave Love <fx@gnu.org>
parents:
30319
diff
changeset
|
2684 |
30483
05fc373ff5b8
mention `float-time' and the remote file modtime check
Sam Steingold <sds@gnu.org>
parents:
30482
diff
changeset
|
2685 ** 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
|
2686 |
1d5371e8a974
Add entry for auto-coding-regexp-alist.
Gerd Moellmann <gerd@gnu.org>
parents:
37446
diff
changeset
|
2687 ** 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
|
2688 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
|
2689 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
|
2690 |
35577
db5649648a65
Replace formfeeds removed on 2001/01/22.
Dave Love <fx@gnu.org>
parents:
35567
diff
changeset
|
2691 |
25853 | 2692 * Lisp changes in Emacs 21.1 (see following page for display-related features) |
2693 | |
2694 Note that +++ before an item means the Lisp manual has been updated. | |
2695 --- means that I have decided it does not need to be in the Lisp manual. | |
2696 When you add a new item, please add it without either +++ or --- | |
2697 so I will know I still need to look at it -- rms. | |
2698 | |
39517 | 2699 ** The new package rx.el provides an alternative sexp notation for |
2700 regular expressions. | |
2701 | |
2702 - Function: rx-to-string SEXP | |
2703 | |
2704 Translate SEXP into a regular expression in string notation. | |
2705 | |
2706 - Macro: rx SEXP | |
2707 | |
2708 Translate SEXP into a regular expression in string notation. | |
2709 | |
2710 The following are valid subforms of regular expressions in sexp | |
2711 notation. | |
2712 | |
2713 STRING | |
2714 matches string STRING literally. | |
2715 | |
2716 CHAR | |
2717 matches character CHAR literally. | |
2718 | |
2719 `not-newline' | |
2720 matches any character except a newline. | |
2721 . | |
2722 `anything' | |
2723 matches any character | |
2724 | |
2725 `(any SET)' | |
2726 matches any character in SET. SET may be a character or string. | |
2727 Ranges of characters can be specified as `A-Z' in strings. | |
2728 | |
40215 | 2729 '(in SET)' |
39517 | 2730 like `any'. |
2731 | |
2732 `(not (any SET))' | |
2733 matches any character not in SET | |
2734 | |
2735 `line-start' | |
2736 matches the empty string, but only at the beginning of a line | |
2737 in the text being matched | |
2738 | |
2739 `line-end' | |
2740 is similar to `line-start' but matches only at the end of a line | |
2741 | |
2742 `string-start' | |
2743 matches the empty string, but only at the beginning of the | |
2744 string being matched against. | |
2745 | |
2746 `string-end' | |
2747 matches the empty string, but only at the end of the | |
2748 string being matched against. | |
2749 | |
2750 `buffer-start' | |
2751 matches the empty string, but only at the beginning of the | |
2752 buffer being matched against. | |
2753 | |
2754 `buffer-end' | |
2755 matches the empty string, but only at the end of the | |
2756 buffer being matched against. | |
2757 | |
2758 `point' | |
2759 matches the empty string, but only at point. | |
2760 | |
2761 `word-start' | |
2762 matches the empty string, but only at the beginning or end of a | |
2763 word. | |
2764 | |
2765 `word-end' | |
2766 matches the empty string, but only at the end of a word. | |
2767 | |
2768 `word-boundary' | |
2769 matches the empty string, but only at the beginning or end of a | |
2770 word. | |
2771 | |
2772 `(not word-boundary)' | |
2773 matches the empty string, but not at the beginning or end of a | |
2774 word. | |
2775 | |
2776 `digit' | |
2777 matches 0 through 9. | |
2778 | |
2779 `control' | |
2780 matches ASCII control characters. | |
2781 | |
2782 `hex-digit' | |
2783 matches 0 through 9, a through f and A through F. | |
2784 | |
2785 `blank' | |
2786 matches space and tab only. | |
2787 | |
2788 `graphic' | |
2789 matches graphic characters--everything except ASCII control chars, | |
2790 space, and DEL. | |
2791 | |
2792 `printing' | |
2793 matches printing characters--everything except ASCII control chars | |
2794 and DEL. | |
2795 | |
2796 `alphanumeric' | |
2797 matches letters and digits. (But at present, for multibyte characters, | |
2798 it matches anything that has word syntax.) | |
2799 | |
2800 `letter' | |
2801 matches letters. (But at present, for multibyte characters, | |
2802 it matches anything that has word syntax.) | |
2803 | |
2804 `ascii' | |
2805 matches ASCII (unibyte) characters. | |
2806 | |
2807 `nonascii' | |
2808 matches non-ASCII (multibyte) characters. | |
2809 | |
2810 `lower' | |
2811 matches anything lower-case. | |
2812 | |
2813 `upper' | |
2814 matches anything upper-case. | |
2815 | |
2816 `punctuation' | |
2817 matches punctuation. (But at present, for multibyte characters, | |
2818 it matches anything that has non-word syntax.) | |
2819 | |
2820 `space' | |
2821 matches anything that has whitespace syntax. | |
2822 | |
2823 `word' | |
2824 matches anything that has word syntax. | |
2825 | |
2826 `(syntax SYNTAX)' | |
2827 matches a character with syntax SYNTAX. SYNTAX must be one | |
2828 of the following symbols. | |
2829 | |
2830 `whitespace' (\\s- in string notation) | |
2831 `punctuation' (\\s.) | |
2832 `word' (\\sw) | |
2833 `symbol' (\\s_) | |
2834 `open-parenthesis' (\\s() | |
2835 `close-parenthesis' (\\s)) | |
2836 `expression-prefix' (\\s') | |
2837 `string-quote' (\\s\") | |
2838 `paired-delimiter' (\\s$) | |
2839 `escape' (\\s\\) | |
2840 `character-quote' (\\s/) | |
2841 `comment-start' (\\s<) | |
2842 `comment-end' (\\s>) | |
2843 | |
2844 `(not (syntax SYNTAX))' | |
2845 matches a character that has not syntax SYNTAX. | |
2846 | |
2847 `(category CATEGORY)' | |
2848 matches a character with category CATEGORY. CATEGORY must be | |
2849 either a character to use for C, or one of the following symbols. | |
2850 | |
2851 `consonant' (\\c0 in string notation) | |
2852 `base-vowel' (\\c1) | |
2853 `upper-diacritical-mark' (\\c2) | |
2854 `lower-diacritical-mark' (\\c3) | |
2855 `tone-mark' (\\c4) | |
2856 `symbol' (\\c5) | |
2857 `digit' (\\c6) | |
2858 `vowel-modifying-diacritical-mark' (\\c7) | |
2859 `vowel-sign' (\\c8) | |
2860 `semivowel-lower' (\\c9) | |
2861 `not-at-end-of-line' (\\c<) | |
2862 `not-at-beginning-of-line' (\\c>) | |
2863 `alpha-numeric-two-byte' (\\cA) | |
2864 `chinse-two-byte' (\\cC) | |
2865 `greek-two-byte' (\\cG) | |
2866 `japanese-hiragana-two-byte' (\\cH) | |
2867 `indian-tow-byte' (\\cI) | |
2868 `japanese-katakana-two-byte' (\\cK) | |
2869 `korean-hangul-two-byte' (\\cN) | |
2870 `cyrillic-two-byte' (\\cY) | |
2871 `ascii' (\\ca) | |
2872 `arabic' (\\cb) | |
2873 `chinese' (\\cc) | |
2874 `ethiopic' (\\ce) | |
2875 `greek' (\\cg) | |
2876 `korean' (\\ch) | |
2877 `indian' (\\ci) | |
2878 `japanese' (\\cj) | |
2879 `japanese-katakana' (\\ck) | |
2880 `latin' (\\cl) | |
2881 `lao' (\\co) | |
2882 `tibetan' (\\cq) | |
2883 `japanese-roman' (\\cr) | |
2884 `thai' (\\ct) | |
2885 `vietnamese' (\\cv) | |
2886 `hebrew' (\\cw) | |
2887 `cyrillic' (\\cy) | |
2888 `can-break' (\\c|) | |
2889 | |
2890 `(not (category CATEGORY))' | |
2891 matches a character that has not category CATEGORY. | |
2892 | |
2893 `(and SEXP1 SEXP2 ...)' | |
2894 matches what SEXP1 matches, followed by what SEXP2 matches, etc. | |
2895 | |
2896 `(submatch SEXP1 SEXP2 ...)' | |
2897 like `and', but makes the match accessible with `match-end', | |
2898 `match-beginning', and `match-string'. | |
2899 | |
2900 `(group SEXP1 SEXP2 ...)' | |
2901 another name for `submatch'. | |
2902 | |
2903 `(or SEXP1 SEXP2 ...)' | |
2904 matches anything that matches SEXP1 or SEXP2, etc. If all | |
2905 args are strings, use `regexp-opt' to optimize the resulting | |
2906 regular expression. | |
2907 | |
2908 `(minimal-match SEXP)' | |
2909 produce a non-greedy regexp for SEXP. Normally, regexps matching | |
2910 zero or more occurrances of something are \"greedy\" in that they | |
2911 match as much as they can, as long as the overall regexp can | |
2912 still match. A non-greedy regexp matches as little as possible. | |
2913 | |
2914 `(maximal-match SEXP)' | |
2915 produce a greedy regexp for SEXP. This is the default. | |
2916 | |
2917 `(zero-or-more SEXP)' | |
2918 matches zero or more occurrences of what SEXP matches. | |
2919 | |
2920 `(0+ SEXP)' | |
2921 like `zero-or-more'. | |
2922 | |
2923 `(* SEXP)' | |
2924 like `zero-or-more', but always produces a greedy regexp. | |
2925 | |
2926 `(*? SEXP)' | |
2927 like `zero-or-more', but always produces a non-greedy regexp. | |
2928 | |
2929 `(one-or-more SEXP)' | |
2930 matches one or more occurrences of A. | |
40215 | 2931 |
39517 | 2932 `(1+ SEXP)' |
2933 like `one-or-more'. | |
2934 | |
2935 `(+ SEXP)' | |
2936 like `one-or-more', but always produces a greedy regexp. | |
2937 | |
2938 `(+? SEXP)' | |
2939 like `one-or-more', but always produces a non-greedy regexp. | |
2940 | |
2941 `(zero-or-one SEXP)' | |
2942 matches zero or one occurrences of A. | |
40215 | 2943 |
39517 | 2944 `(optional SEXP)' |
2945 like `zero-or-one'. | |
2946 | |
2947 `(? SEXP)' | |
2948 like `zero-or-one', but always produces a greedy regexp. | |
2949 | |
2950 `(?? SEXP)' | |
2951 like `zero-or-one', but always produces a non-greedy regexp. | |
2952 | |
2953 `(repeat N SEXP)' | |
2954 matches N occurrences of what SEXP matches. | |
2955 | |
2956 `(repeat N M SEXP)' | |
2957 matches N to M occurrences of what SEXP matches. | |
2958 | |
2959 `(eval FORM)' | |
2960 evaluate FORM and insert result. If result is a string, | |
2961 `regexp-quote' it. | |
2962 | |
2963 `(regexp REGEXP)' | |
2964 include REGEXP in string notation in the result. | |
2965 | |
36811 | 2966 *** The features `md5' and `overlay' are now provided by default. |
2967 | |
30933
3a89352a7dab
Document save-restriction fix.
Miles Bader <miles@gnu.org>
parents:
30930
diff
changeset
|
2968 *** 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
|
2969 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
|
2970 the original restriction. Previously, doing this would cause the saved |
3a89352a7dab
Document save-restriction fix.
Miles Bader <miles@gnu.org>
parents:
30930
diff
changeset
|
2971 restriction to be restored incorrectly. |
3a89352a7dab
Document save-restriction fix.
Miles Bader <miles@gnu.org>
parents:
30930
diff
changeset
|
2972 |
29506 | 2973 *** The functions `find-charset-region' and `find-charset-string' include |
2974 `eight-bit-control' and/or `eight-bit-graphic' in the returned list | |
36470 | 2975 when they find 8-bit characters. Previously, they included `ascii' in a |
29506 | 2976 multibyte buffer and `unknown' in a unibyte buffer. |
2977 | |
39255 | 2978 *** 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
|
2979 `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
|
2980 if it contains a character from the `eight-bit-control' character set. |
29506 | 2981 |
2982 *** The handling of multibyte sequences in a multibyte buffer is | |
2983 changed. Previously, a byte sequence matching the pattern | |
2984 [\200-\237][\240-\377]+ was interpreted as a single character | |
2985 regardless of the length of the trailing bytes [\240-\377]+. Thus, if | |
2986 the sequence was longer than what the leading byte indicated, the | |
2987 extra trailing bytes were ignored by Lisp functions. Now such extra | |
2988 bytes are independent 8-bit characters belonging to the charset | |
2989 eight-bit-graphic. | |
2990 | |
2991 ** Fontsets are now implemented using char-tables. | |
2992 | |
35847
83b8f5ad1f97
Several typos fixed. From Juanma Barranquero <lektu@uol.com.br>.
Eli Zaretskii <eliz@gnu.org>
parents:
35784
diff
changeset
|
2993 A fontset can now be specified for each independent character, for |
29506 | 2994 a group of characters or for a character set rather than just for a |
2995 character set as previously. | |
2996 | |
2997 *** The arguments of the function `set-fontset-font' are changed. | |
2998 They are NAME, CHARACTER, FONTNAME, and optional FRAME. The function | |
2999 modifies fontset NAME to use FONTNAME for CHARACTER. | |
3000 | |
3001 CHARACTER may be a cons (FROM . TO), where FROM and TO are non-generic | |
3002 characters. In that case FONTNAME is used for all characters in the | |
3003 range FROM and TO (inclusive). CHARACTER may be a charset. In that | |
3004 case FONTNAME is used for all character in the charset. | |
3005 | |
3006 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
|
3007 name of a font and REGISTRY is a registry name of a font. |
29506 | 3008 |
3009 *** Variable x-charset-registry has been deleted. The default charset | |
3010 registries of character sets are set in the default fontset | |
3011 "fontset-default". | |
3012 | |
3013 *** The function `create-fontset-from-fontset-spec' ignores the second | |
3014 argument STYLE-VARIANT. It never creates style-variant fontsets. | |
3015 | |
3016 ** The method of composing characters is changed. Now character | |
3017 composition is done by a special text property `composition' in | |
3018 buffers and strings. | |
3019 | |
3020 *** Charset composition is deleted. Emacs never creates a `composite | |
3021 character' which is an independent character with a unique character | |
3022 code. Thus the following functions handling `composite characters' | |
3023 have been deleted: composite-char-component, | |
3024 composite-char-component-count, composite-char-composition-rule, | |
3025 composite-char-composition-rule and decompose-composite-char delete. | |
3026 The variables leading-code-composition and min-composite-char have | |
3027 also been deleted. | |
3028 | |
3029 *** Three more glyph reference points are added. They can be used to | |
3030 specify a composition rule. See the documentation of the variable | |
3031 `reference-point-alist' for more detail. | |
3032 | |
3033 *** The function `compose-region' takes new arguments COMPONENTS and | |
3034 MODIFICATION-FUNC. With COMPONENTS, you can specify not only a | |
3035 composition rule but also characters to be composed. Such characters | |
3036 may differ between buffer and string text. | |
3037 | |
3038 *** The function `compose-string' takes new arguments START, END, | |
3039 COMPONENTS, and MODIFICATION-FUNC. | |
3040 | |
3041 *** The function `compose-string' puts text property `composition' | |
3042 directly on the argument STRING instead of returning a new string. | |
3043 Likewise, the function `decompose-string' just removes text property | |
3044 `composition' from STRING. | |
3045 | |
3046 *** The new function `find-composition' returns information about | |
3047 a composition at a specified position in a buffer or a string. | |
3048 | |
3049 *** The function `decompose-composite-char' is now labeled as | |
3050 obsolete. | |
3051 | |
36039 | 3052 ** The new coding system `mac-roman' is primarily intended for use on |
3053 the Macintosh but may be used generally for Macintosh-encoded text. | |
3054 | |
33290 | 3055 ** The new character sets `mule-unicode-0100-24ff', |
35937 | 3056 `mule-unicode-2500-33ff', and `mule-unicode-e000-ffff' have been |
3057 introduced for Unicode characters in the range U+0100..U+24FF, | |
3058 U+2500..U+33FF, U+E000..U+FFFF respectively. | |
3059 | |
38012
3bf93c45de95
Mention that mule-unicode-* charsets aren't unified with the others.
Eli Zaretskii <eliz@gnu.org>
parents:
37948
diff
changeset
|
3060 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
|
3061 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
|
3062 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
|
3063 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
|
3064 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
|
3065 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
|
3066 |
3bf93c45de95
Mention that mule-unicode-* charsets aren't unified with the others.
Eli Zaretskii <eliz@gnu.org>
parents:
37948
diff
changeset
|
3067 ** 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
|
3068 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
|
3069 details, please see the documentation string of this coding system. |
35557 | 3070 |
29506 | 3071 ** The new character sets `japanese-jisx0213-1' and |
35937 | 3072 `japanese-jisx0213-2' have been introduced for the new Japanese |
3073 standard JIS X 0213 Plane 1 and Plane 2. | |
3074 | |
3075 ** The new character sets `latin-iso8859-14' and `latin-iso8859-15' | |
3076 have been introduced. | |
29506 | 3077 |
3078 ** The new character sets `eight-bit-control' and `eight-bit-graphic' | |
35937 | 3079 have been introduced for 8-bit characters in the ranges 0x80..0x9F and |
36470 | 3080 0xA0..0xFF respectively. Note that the multibyte representation of |
3081 eight-bit-control is never exposed; this leads to an exception in the | |
3082 emacs-mule coding system, which encodes everything else to the | |
36885 | 3083 buffer/string internal representation. Note that to search for |
3084 eight-bit-graphic characters in a multibyte buffer, the search string | |
3085 must be multibyte, otherwise such characters will be converted to | |
3086 their multibyte equivalent. | |
29506 | 3087 |
28847 | 3088 ** If the APPEND argument of `write-region' is an integer, it seeks to |
3089 that offset in the file before writing. | |
3090 | |
30068
fd80ab818a0c
Fix various typos.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30056
diff
changeset
|
3091 ** 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
|
3092 compatibility with XEmacs (and is used internally by define-minor-mode). |
28724 | 3093 |
28710 | 3094 ** The function `shell-command' now sets the default directory of the |
3095 `*Shell Command Output*' buffer to the default directory of the buffer | |
3096 from which the command was issued. | |
3097 | |
3098 ** The functions `query-replace', `query-replace-regexp', | |
3099 `query-replace-regexp-eval' `map-query-replace-regexp', | |
3100 `replace-string', `replace-regexp', and `perform-replace' take two | |
3101 additional optional arguments START and END that specify the region to | |
3102 operate on. | |
3103 | |
28658 | 3104 ** The new function `count-screen-lines' is a more flexible alternative |
3105 to `window-buffer-height'. | |
3106 | |
3107 - Function: count-screen-lines &optional BEG END COUNT-FINAL-NEWLINE WINDOW | |
3108 | |
3109 Return the number of screen lines in the region between BEG and END. | |
3110 The number of screen lines may be different from the number of actual | |
3111 lines, due to line breaking, display table, etc. | |
3112 | |
3113 Optional arguments BEG and END default to `point-min' and `point-max' | |
3114 respectively. | |
3115 | |
35680 | 3116 If region ends with a newline, ignore it unless optional third argument |
28658 | 3117 COUNT-FINAL-NEWLINE is non-nil. |
3118 | |
3119 The optional fourth argument WINDOW specifies the window used for | |
3120 obtaining parameters such as width, horizontal scrolling, and so | |
3121 on. The default is to use the selected window's parameters. | |
3122 | |
3123 Like `vertical-motion', `count-screen-lines' always uses the current | |
3124 buffer, regardless of which buffer is displayed in WINDOW. This makes | |
3125 possible to use `count-screen-lines' in any buffer, whether or not it | |
3126 is currently displayed in some window. | |
3127 | |
28556 | 3128 ** The new function `mapc' is like `mapcar' but doesn't collect the |
3129 argument function's results. | |
3130 | |
28496 | 3131 ** 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
|
3132 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
|
3133 `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
|
3134 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
|
3135 sequence). |
28496 | 3136 |
28492 | 3137 ** The function sendmail-user-agent-compose now recognizes a `body' |
31859 | 3138 header in the list of headers passed to it. |
28492 | 3139 |
3140 ** The new function member-ignore-case works like `member', but | |
3141 ignores differences in case and text representation. | |
3142 | |
3143 ** The buffer-local variable cursor-type can be used to specify the | |
28323 | 3144 cursor to use in windows displaying a buffer. Values are interpreted |
3145 as follows: | |
3146 | |
3147 t use the cursor specified for the frame (default) | |
3148 nil don't display a cursor | |
3149 `bar' display a bar cursor with default width | |
3150 (bar . WIDTH) display a bar cursor with width WIDTH | |
3151 others display a box cursor. | |
3152 | |
28303 | 3153 ** The variable open-paren-in-column-0-is-defun-start controls whether |
3154 an open parenthesis in column 0 is considered to be the start of a | |
3155 defun. If set, the default, it is considered a defun start. If not | |
3156 set, an open parenthesis in column 0 has no special meaning. | |
3157 | |
28194 | 3158 ** 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
|
3159 specifications in string form as accepted by `modify-syntax-entry' to |
28194 | 3160 the cons-cell form that is used for the values of the `syntax-table' |
3161 text property, and in `font-lock-syntactic-keywords'. | |
3162 | |
3163 Example: | |
3164 | |
3165 (string-to-syntax "()") | |
3166 => (4 . 41) | |
3167 | |
28166 | 3168 ** Emacs' reader supports CL read syntax for integers in bases |
3169 other than 10. | |
3170 | |
3171 *** `#BINTEGER' or `#bINTEGER' reads INTEGER in binary (radix 2). | |
3172 INTEGER optionally contains a sign. | |
3173 | |
30483
05fc373ff5b8
mention `float-time' and the remote file modtime check
Sam Steingold <sds@gnu.org>
parents:
30482
diff
changeset
|
3174 #b1111 |
28166 | 3175 => 15 |
30483
05fc373ff5b8
mention `float-time' and the remote file modtime check
Sam Steingold <sds@gnu.org>
parents:
30482
diff
changeset
|
3176 #b-1111 |
28166 | 3177 => -15 |
3178 | |
3179 *** `#OINTEGER' or `#oINTEGER' reads INTEGER in octal (radix 8). | |
3180 | |
30483
05fc373ff5b8
mention `float-time' and the remote file modtime check
Sam Steingold <sds@gnu.org>
parents:
30482
diff
changeset
|
3181 #o666 |
28166 | 3182 => 438 |
3183 | |
3184 *** `#XINTEGER' or `#xINTEGER' reads INTEGER in hexadecimal (radix 16). | |
3185 | |
30483
05fc373ff5b8
mention `float-time' and the remote file modtime check
Sam Steingold <sds@gnu.org>
parents:
30482
diff
changeset
|
3186 #xbeef |
28166 | 3187 => 48815 |
3188 | |
3189 *** `#RADIXrINTEGER' reads INTEGER in radix RADIX, 2 <= RADIX <= 36. | |
3190 | |
30483
05fc373ff5b8
mention `float-time' and the remote file modtime check
Sam Steingold <sds@gnu.org>
parents:
30482
diff
changeset
|
3191 #2R-111 |
28166 | 3192 => -7 |
30483
05fc373ff5b8
mention `float-time' and the remote file modtime check
Sam Steingold <sds@gnu.org>
parents:
30482
diff
changeset
|
3193 #25rah |
28166 | 3194 => 267 |
3195 | |
28335 | 3196 ** The function `documentation-property' now evaluates the value of |
30068
fd80ab818a0c
Fix various typos.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30056
diff
changeset
|
3197 the given property to obtain a string if it doesn't refer to etc/DOC |
28037 | 3198 and isn't a string. |
3199 | |
28335 | 3200 ** If called for a symbol, the function `documentation' now looks for |
3201 a `function-documentation' property of that symbol. If it has a non-nil | |
3202 value, the documentation is taken from that value. If the value is | |
3203 not a string, it is evaluated to obtain a string. | |
3204 | |
27881
f54471f7b913
replace-regexps-in-string, mouse-position-function, define-key-after change
Dave Love <fx@gnu.org>
parents:
27847
diff
changeset
|
3205 ** 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
|
3206 |
28149 | 3207 ** 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
|
3208 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
|
3209 |
f54471f7b913
replace-regexps-in-string, mouse-position-function, define-key-after change
Dave Love <fx@gnu.org>
parents:
27847
diff
changeset
|
3210 ** `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
|
3211 `mouse-position-function'. |
f54471f7b913
replace-regexps-in-string, mouse-position-function, define-key-after change
Dave Love <fx@gnu.org>
parents:
27847
diff
changeset
|
3212 |
27827 | 3213 ** The function string-to-number now returns a float for numbers |
3214 that don't fit into a Lisp integer. | |
3215 | |
27820 | 3216 ** The variable keyword-symbols-constants-flag has been removed. |
3217 Keywords are now always considered constants. | |
3218 | |
27770 | 3219 ** The new function `delete-and-extract-region' deletes text and |
3220 returns it. | |
3221 | |
27276 | 3222 ** The function `clear-this-command-keys' now also clears the vector |
3223 returned by function `recent-keys'. | |
3224 | |
27385
f7b7fdb0f3f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27381
diff
changeset
|
3225 ** Variables `beginning-of-defun-function' and `end-of-defun-function' |
f7b7fdb0f3f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27381
diff
changeset
|
3226 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
|
3227 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
|
3228 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
|
3229 mode. |
f7b7fdb0f3f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27381
diff
changeset
|
3230 |
27094
6500fd0a7d8e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27092
diff
changeset
|
3231 ** 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
|
3232 and is renamed `define-minor-mode'. |
6500fd0a7d8e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27092
diff
changeset
|
3233 |
27385
f7b7fdb0f3f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27381
diff
changeset
|
3234 ** 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
|
3235 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
|
3236 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
|
3237 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
|
3238 been performed." |
f7b7fdb0f3f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27381
diff
changeset
|
3239 |
f7b7fdb0f3f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27381
diff
changeset
|
3240 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
|
3241 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
|
3242 hook function returns non-nil meaning expansion has been done, |
f7b7fdb0f3f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27381
diff
changeset
|
3243 then the self-inserting character is not inserted. |
f7b7fdb0f3f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27381
diff
changeset
|
3244 |
26737 | 3245 ** The function `intern-soft' now accepts a symbol as first argument. |
3246 In this case, that exact symbol is looked up in the specified obarray, | |
3247 and the function's value is nil if it is not found. | |
3248 | |
26467 | 3249 ** The new macro `with-syntax-table' can be used to evaluate forms |
3250 with the syntax table of the current buffer temporarily set to a | |
3251 specified table. | |
3252 | |
3253 (with-syntax-table TABLE &rest BODY) | |
3254 | |
3255 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
|
3256 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
|
3257 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
|
3258 what BODY returns. |
26467 | 3259 |
27693
d8bedafef8d5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27644
diff
changeset
|
3260 ** 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
|
3261 Perl's shy-groups \(?:...\) and non-greedy *? +? and ?? operators. |
35680 | 3262 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
|
3263 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
|
3264 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
|
3265 |
26397
17d6fe2e2d0f
Removal of buffer argument of file-local-copy.
Gerd Moellmann <gerd@gnu.org>
parents:
26360
diff
changeset
|
3266 ** 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
|
3267 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
|
3268 |
26360
5370b1c171ef
Change in file-locked-p argument.
Gerd Moellmann <gerd@gnu.org>
parents:
26359
diff
changeset
|
3269 ** 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
|
3270 instead of being optional. |
5370b1c171ef
Change in file-locked-p argument.
Gerd Moellmann <gerd@gnu.org>
parents:
26359
diff
changeset
|
3271 |
26277
32e16b70ae15
New built-in error `text-read-only'.
Gerd Moellmann <gerd@gnu.org>
parents:
26271
diff
changeset
|
3272 ** 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
|
3273 modify read-only text. |
32e16b70ae15
New built-in error `text-read-only'.
Gerd Moellmann <gerd@gnu.org>
parents:
26271
diff
changeset
|
3274 |
26140
068f7ad41d40
Describe new functions and variables for locales.
Paul Eggert <eggert@twinsun.com>
parents:
26133
diff
changeset
|
3275 ** New functions and variables for locales. |
068f7ad41d40
Describe new functions and variables for locales.
Paul Eggert <eggert@twinsun.com>
parents:
26133
diff
changeset
|
3276 |
068f7ad41d40
Describe new functions and variables for locales.
Paul Eggert <eggert@twinsun.com>
parents:
26133
diff
changeset
|
3277 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
|
3278 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
|
3279 time functions like strftime. The new variables |
4df5920724de
Rename messages-locale to system-messages-locale
Paul Eggert <eggert@twinsun.com>
parents:
26467
diff
changeset
|
3280 `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
|
3281 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
|
3282 |
068f7ad41d40
Describe new functions and variables for locales.
Paul Eggert <eggert@twinsun.com>
parents:
26133
diff
changeset
|
3283 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
|
3284 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
|
3285 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
|
3286 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
|
3287 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
|
3288 `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
|
3289 `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
|
3290 |
26107
5bdae485eb03
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
26096
diff
changeset
|
3291 ** syntax tables now understand nested comments. |
5bdae485eb03
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
26096
diff
changeset
|
3292 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
|
3293 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
|
3294 start sequences. |
5bdae485eb03
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
26096
diff
changeset
|
3295 |
25910
918acea58309
Add section for change of pixmap-spec-p to bitmap-spec-p.
Gerd Moellmann <gerd@gnu.org>
parents:
25862
diff
changeset
|
3296 ** 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
|
3297 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
|
3298 |
25853 | 3299 ** New function `propertize' |
3300 | |
3301 The new function `propertize' can be used to conveniently construct | |
3302 strings with text properties. | |
3303 | |
3304 - Function: propertize STRING &rest PROPERTIES | |
3305 | |
3306 Value is a copy of STRING with text properties assigned as specified | |
3307 by PROPERTIES. PROPERTIES is a sequence of pairs PROPERTY VALUE, with | |
3308 PROPERTY being the name of a text property and VALUE being the | |
3309 specified value of that property. Example: | |
3310 | |
3311 (propertize "foo" 'face 'bold 'read-only t) | |
3312 | |
3313 ** push and pop macros. | |
3314 | |
27385
f7b7fdb0f3f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27381
diff
changeset
|
3315 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
|
3316 are now defined in Emacs Lisp. These macros allow only symbols |
25853 | 3317 as the place that holds the list to be changed. |
3318 | |
3319 (push NEWELT LISTNAME) add NEWELT to the front of LISTNAME's value. | |
3320 (pop LISTNAME) return first elt of LISTNAME, and remove it | |
3321 (thus altering the value of LISTNAME). | |
3322 | |
27385
f7b7fdb0f3f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27381
diff
changeset
|
3323 ** New dolist and dotimes macros. |
f7b7fdb0f3f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27381
diff
changeset
|
3324 |
27387
d0a7127b33e5
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27385
diff
changeset
|
3325 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
|
3326 are now defined in Emacs Lisp. |
27385
f7b7fdb0f3f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27381
diff
changeset
|
3327 |
f7b7fdb0f3f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27381
diff
changeset
|
3328 (dolist (VAR LIST [RESULT]) BODY...) |
f7b7fdb0f3f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27381
diff
changeset
|
3329 Execute body once for each element of LIST, |
f7b7fdb0f3f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27381
diff
changeset
|
3330 using the variable VAR to hold the current element. |
f7b7fdb0f3f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27381
diff
changeset
|
3331 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
|
3332 |
f7b7fdb0f3f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27381
diff
changeset
|
3333 (dotimes (VAR COUNT [RESULT]) BODY...) |
f7b7fdb0f3f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27381
diff
changeset
|
3334 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
|
3335 inclusive, to COUNT, exclusive. |
f7b7fdb0f3f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27381
diff
changeset
|
3336 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
|
3337 |
34166 | 3338 ** Regular expressions now support Posix character classes such as |
3339 [:alpha:], [:space:] and so on. These must be used within a character | |
3340 class--for instance, [-[:digit:].+] matches digits or a period | |
3341 or a sign. | |
25853 | 3342 |
3343 [:digit:] matches 0 through 9 | |
3344 [:cntrl:] matches ASCII control characters | |
3345 [:xdigit:] matches 0 through 9, a through f and A through F. | |
3346 [:blank:] matches space and tab only | |
3347 [:graph:] matches graphic characters--everything except ASCII control chars, | |
3348 space, and DEL. | |
3349 [:print:] matches printing characters--everything except ASCII control chars | |
3350 and DEL. | |
3351 [:alnum:] matches letters and digits. | |
3352 (But at present, for multibyte characters, | |
3353 it matches anything that has word syntax.) | |
3354 [:alpha:] matches letters. | |
3355 (But at present, for multibyte characters, | |
3356 it matches anything that has word syntax.) | |
3357 [:ascii:] matches ASCII (unibyte) characters. | |
3358 [:nonascii:] matches non-ASCII (multibyte) characters. | |
3359 [:lower:] matches anything lower-case. | |
3360 [:punct:] matches punctuation. | |
3361 (But at present, for multibyte characters, | |
3362 it matches anything that has non-word syntax.) | |
3363 [:space:] matches anything that has whitespace syntax. | |
3364 [:upper:] matches anything upper-case. | |
3365 [:word:] matches anything that has word syntax. | |
3366 | |
3367 ** Emacs now has built-in hash tables. | |
3368 | |
3369 The following functions are defined for hash tables: | |
3370 | |
3371 - Function: make-hash-table ARGS | |
3372 | |
3373 The argument list ARGS consists of keyword/argument pairs. All arguments | |
3374 are optional. The following arguments are defined: | |
3375 | |
3376 :test TEST | |
3377 | |
3378 TEST must be a symbol specifying how to compare keys. Default is `eql'. | |
3379 Predefined are `eq', `eql' and `equal'. If TEST is not predefined, | |
3380 it must have been defined with `define-hash-table-test'. | |
3381 | |
3382 :size SIZE | |
3383 | |
3384 SIZE must be an integer > 0 giving a hint to the implementation how | |
3385 many elements will be put in the hash table. Default size is 65. | |
3386 | |
3387 :rehash-size REHASH-SIZE | |
3388 | |
3389 REHASH-SIZE specifies by how much to grow a hash table once it becomes | |
3390 full. If REHASH-SIZE is an integer, add that to the hash table's old | |
3391 size to get the new size. Otherwise, REHASH-SIZE must be a float > | |
3392 1.0, and the new size is computed by multiplying REHASH-SIZE with the | |
3393 old size. Default rehash size is 1.5. | |
3394 | |
3395 :rehash-threshold THRESHOLD | |
3396 | |
3397 THRESHOLD must be a float > 0 and <= 1.0 specifying when to resize the | |
3398 hash table. It is resized when the ratio of (number of entries) / | |
3399 (size of hash table) is >= THRESHOLD. Default threshold is 0.8. | |
3400 | |
3401 :weakness WEAK | |
3402 | |
30502 | 3403 WEAK must be either nil, one of the symbols `key, `value', |
3404 `key-or-value', `key-and-value', or t, meaning the same as | |
3405 `key-and-value'. Entries are removed from weak tables during garbage | |
3406 collection if their key and/or value are not referenced elsewhere | |
3407 outside of the hash table. Default are non-weak hash tables. | |
25853 | 3408 |
3409 - Function: makehash &optional TEST | |
3410 | |
3411 Similar to make-hash-table, but only TEST can be specified. | |
3412 | |
3413 - Function: hash-table-p TABLE | |
3414 | |
3415 Returns non-nil if TABLE is a hash table object. | |
3416 | |
3417 - Function: copy-hash-table TABLE | |
3418 | |
3419 Returns a copy of TABLE. Only the table itself is copied, keys and | |
3420 values are shared. | |
3421 | |
3422 - Function: hash-table-count TABLE | |
3423 | |
3424 Returns the number of entries in TABLE. | |
3425 | |
3426 - Function: hash-table-rehash-size TABLE | |
3427 | |
3428 Returns the rehash size of TABLE. | |
3429 | |
3430 - Function: hash-table-rehash-threshold TABLE | |
3431 | |
3432 Returns the rehash threshold of TABLE. | |
3433 | |
3434 - Function: hash-table-rehash-size TABLE | |
3435 | |
3436 Returns the size of TABLE. | |
3437 | |
30789 | 3438 - Function: hash-table-test TABLE |
25853 | 3439 |
3440 Returns the test TABLE uses to compare keys. | |
3441 | |
3442 - Function: hash-table-weakness TABLE | |
3443 | |
3444 Returns the weakness specified for TABLE. | |
3445 | |
3446 - Function: clrhash TABLE | |
3447 | |
3448 Clear TABLE. | |
3449 | |
3450 - Function: gethash KEY TABLE &optional DEFAULT | |
3451 | |
3452 Look up KEY in TABLE and return its associated VALUE or DEFAULT if | |
3453 not found. | |
3454 | |
26264 | 3455 - Function: puthash KEY VALUE TABLE |
25853 | 3456 |
3457 Associate KEY with VALUE in TABLE. If KEY is already associated with | |
3458 another value, replace the old value with VALUE. | |
3459 | |
3460 - Function: remhash KEY TABLE | |
3461 | |
3462 Remove KEY from TABLE if it is there. | |
3463 | |
3464 - Function: maphash FUNCTION TABLE | |
3465 | |
3466 Call FUNCTION for all elements in TABLE. FUNCTION must take two | |
3467 arguments KEY and VALUE. | |
3468 | |
3469 - Function: sxhash OBJ | |
3470 | |
3471 Return a hash code for Lisp object OBJ. | |
3472 | |
3473 - Function: define-hash-table-test NAME TEST-FN HASH-FN | |
3474 | |
3475 Define a new hash table test named NAME. If NAME is specified as | |
3476 a test in `make-hash-table', the table created will use TEST-FN for | |
26264 | 3477 comparing keys, and HASH-FN to compute hash codes for keys. Test |
25853 | 3478 and hash function are stored as symbol property `hash-table-test' |
3479 of NAME with a value of (TEST-FN HASH-FN). | |
3480 | |
3481 TEST-FN must take two arguments and return non-nil if they are the same. | |
3482 | |
3483 HASH-FN must take one argument and return an integer that is the hash | |
3484 code of the argument. The function should use the whole range of | |
3485 integer values for hash code computation, including negative integers. | |
3486 | |
3487 Example: The following creates a hash table whose keys are supposed to | |
3488 be strings that are compared case-insensitively. | |
3489 | |
3490 (defun case-fold-string= (a b) | |
3491 (compare-strings a nil nil b nil nil t)) | |
3492 | |
3493 (defun case-fold-string-hash (a) | |
3494 (sxhash (upcase a))) | |
3495 | |
26264 | 3496 (define-hash-table-test 'case-fold 'case-fold-string= |
25853 | 3497 'case-fold-string-hash)) |
3498 | |
3499 (make-hash-table :test 'case-fold) | |
3500 | |
3501 ** The Lisp reader handles circular structure. | |
3502 | |
3503 It now works to use the #N= and #N# constructs to represent | |
3504 circular structures. For example, #1=(a . #1#) represents | |
3505 a cons cell which is its own cdr. | |
3506 | |
3507 ** The Lisp printer handles circular structure. | |
3508 | |
3509 If you bind print-circle to a non-nil value, the Lisp printer outputs | |
3510 #N= and #N# constructs to represent circular and shared structure. | |
3511 | |
3512 ** If the second argument to `move-to-column' is anything but nil or | |
3513 t, that means replace a tab with spaces if necessary to reach the | |
3514 specified column, but do not add spaces at the end of the line if it | |
3515 is too short to reach that column. | |
3516 | |
3517 ** perform-replace has a new feature: the REPLACEMENTS argument may | |
3518 now be a cons cell (FUNCTION . DATA). This means to call FUNCTION | |
3519 after each match to get the replacement text. FUNCTION is called with | |
3520 two arguments: DATA, and the number of replacements already made. | |
3521 | |
3522 If the FROM-STRING contains any upper-case letters, | |
3523 perform-replace also turns off `case-fold-search' temporarily | |
3524 and inserts the replacement text without altering case in it. | |
3525 | |
3526 ** The function buffer-size now accepts an optional argument | |
3527 to specify which buffer to return the size of. | |
3528 | |
3529 ** The calendar motion commands now run the normal hook | |
3530 calendar-move-hook after moving point. | |
3531 | |
3532 ** The new variable small-temporary-file-directory specifies a | |
3533 directory to use for creating temporary files that are likely to be | |
3534 small. (Certain Emacs features use this directory.) If | |
3535 small-temporary-file-directory is nil, they use | |
3536 temporary-file-directory instead. | |
3537 | |
3538 ** The variable `inhibit-modification-hooks', if non-nil, inhibits all | |
3539 the hooks that track changes in the buffer. This affects | |
3540 `before-change-functions' and `after-change-functions', as well as | |
3541 hooks attached to text properties and overlay properties. | |
3542 | |
36885 | 3543 ** assq-delete-all is a new function that deletes all the |
3544 elements of an alist which have a car `eq' to a particular value. | |
25853 | 3545 |
3546 ** make-temp-file provides a more reliable way to create a temporary file. | |
3547 | |
3548 make-temp-file is used like make-temp-name, except that it actually | |
3549 creates the file before it returns. This prevents a timing error, | |
3550 ensuring that no other job can use the same name for a temporary file. | |
3551 | |
3552 ** New exclusive-open feature in `write-region' | |
3553 | |
3554 The optional seventh arg is now called MUSTBENEW. If non-nil, it insists | |
3555 on a check for an existing file with the same name. If MUSTBENEW | |
3556 is `excl', that means to get an error if the file already exists; | |
3557 never overwrite. If MUSTBENEW is neither nil nor `excl', that means | |
3558 ask for confirmation before overwriting, but do go ahead and | |
3559 overwrite the file if the user gives confirmation. | |
3560 | |
3561 If the MUSTBENEW argument in `write-region' is `excl', | |
3562 that means to use a special feature in the `open' system call | |
3563 to get an error if the file exists at that time. | |
3564 The error reported is `file-already-exists'. | |
3565 | |
3566 ** Function `format' now handles text properties. | |
3567 | |
3568 Text properties of the format string are applied to the result string. | |
3569 If the result string is longer than the format string, text properties | |
3570 ending at the end of the format string are extended to the end of the | |
3571 result string. | |
3572 | |
3573 Text properties from string arguments are applied to the result | |
3574 string where arguments appear in the result string. | |
3575 | |
3576 Example: | |
3577 | |
3578 (let ((s1 "hello, %s") | |
3579 (s2 "world")) | |
3580 (put-text-property 0 (length s1) 'face 'bold s1) | |
3581 (put-text-property 0 (length s2) 'face 'italic s2) | |
26034 | 3582 (format s1 s2)) |
25853 | 3583 |
3584 results in a bold-face string with an italic `world' at the end. | |
3585 | |
3586 ** Messages can now be displayed with text properties. | |
3587 | |
3588 Text properties are handled as described above for function `format'. | |
3589 The following example displays a bold-face message with an italic | |
3590 argument in it. | |
3591 | |
3592 (let ((msg "hello, %s!") | |
3593 (arg "world")) | |
3594 (put-text-property 0 (length msg) 'face 'bold msg) | |
3595 (put-text-property 0 (length arg) 'face 'italic arg) | |
3596 (message msg arg)) | |
3597 | |
3598 ** Sound support | |
3599 | |
3600 Emacs supports playing sound files on GNU/Linux and the free BSDs | |
3601 (Voxware driver and native BSD driver, aka as Luigi's driver). | |
3602 | |
3603 Currently supported file formats are RIFF-WAVE (*.wav) and Sun Audio | |
3604 (*.au). You must configure Emacs with the option `--with-sound=yes' | |
3605 to enable sound support. | |
3606 | |
3607 Sound files can be played by calling (play-sound SOUND). SOUND is a | |
3608 list of the form `(sound PROPERTY...)'. The function is only defined | |
3609 when sound support is present for the system on which Emacs runs. The | |
3610 functions runs `play-sound-functions' with one argument which is the | |
3611 sound to play, before playing the sound. | |
3612 | |
3613 The following sound properties are supported: | |
3614 | |
3615 - `:file FILE' | |
3616 | |
3617 FILE is a file name. If FILE isn't an absolute name, it will be | |
3618 searched relative to `data-directory'. | |
3619 | |
27148 | 3620 - `:data DATA' |
3621 | |
3622 DATA is a string containing sound data. Either :file or :data | |
3623 may be present, but not both. | |
3624 | |
25853 | 3625 - `:volume VOLUME' |
3626 | |
3627 VOLUME must be an integer in the range 0..100 or a float in the range | |
3628 0..1. This property is optional. | |
3629 | |
33991 | 3630 - `:device DEVICE' |
3631 | |
3632 DEVICE is a string specifying the system device on which to play the | |
3633 sound. The default device is system-dependent. | |
3634 | |
25853 | 3635 Other properties are ignored. |
3636 | |
33991 | 3637 An alternative interface is called as |
3638 (play-sound-file FILE &optional VOLUME DEVICE). | |
3639 | |
25853 | 3640 ** `multimedia' is a new Finder keyword and Custom group. |
26933 | 3641 |
3642 ** keywordp is a new predicate to test efficiently for an object being | |
3643 a keyword symbol. | |
27145
01abacc81cce
Changes to garbage-collect, new var strings-consed,
Gerd Moellmann <gerd@gnu.org>
parents:
27144
diff
changeset
|
3644 |
01abacc81cce
Changes to garbage-collect, new var strings-consed,
Gerd Moellmann <gerd@gnu.org>
parents:
27144
diff
changeset
|
3645 ** Changes to garbage collection |
01abacc81cce
Changes to garbage-collect, new var strings-consed,
Gerd Moellmann <gerd@gnu.org>
parents:
27144
diff
changeset
|
3646 |
01abacc81cce
Changes to garbage-collect, new var strings-consed,
Gerd Moellmann <gerd@gnu.org>
parents:
27144
diff
changeset
|
3647 *** 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
|
3648 of live and free strings. |
01abacc81cce
Changes to garbage-collect, new var strings-consed,
Gerd Moellmann <gerd@gnu.org>
parents:
27144
diff
changeset
|
3649 |
01abacc81cce
Changes to garbage-collect, new var strings-consed,
Gerd Moellmann <gerd@gnu.org>
parents:
27144
diff
changeset
|
3650 *** 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
|
3651 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
|
3652 |
35577
db5649648a65
Replace formfeeds removed on 2001/01/22.
Dave Love <fx@gnu.org>
parents:
35567
diff
changeset
|
3653 |
29151 | 3654 * Lisp-level Display features added after release 2.6 of the Emacs |
3655 Lisp Manual | |
3656 | |
33309 | 3657 ** The user-option `resize-mini-windows' controls how Emacs resizes |
3658 mini-windows. | |
3659 | |
34389
779f5314f5fa
Update entry for `pos-visible-in-window-p'.
Miles Bader <miles@gnu.org>
parents:
34334
diff
changeset
|
3660 ** 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
|
3661 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
|
3662 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
|
3663 |
33309 | 3664 ** On window systems, `glyph-table' is no longer used. |
31220 | 3665 |
30222 | 3666 ** Help strings in menu items are now used to provide `help-echo' text. |
29939 | 3667 |
3668 ** The function `image-size' can be used to determine the size of an | |
3669 image. | |
3670 | |
3671 - Function: image-size SPEC &optional PIXELS FRAME | |
3672 | |
3673 Return the size of an image as a pair (WIDTH . HEIGHT). | |
3674 | |
3675 SPEC is an image specification. PIXELS non-nil means return sizes | |
3676 measured in pixels, otherwise return sizes measured in canonical | |
3677 character units (fractions of the width/height of the frame's default | |
3678 font). FRAME is the frame on which the image will be displayed. | |
3679 FRAME nil or omitted means use the selected frame. | |
3680 | |
31639 | 3681 ** The function `image-mask-p' can be used to determine if an image |
3682 has a mask bitmap. | |
3683 | |
3684 - Function: image-mask-p SPEC &optional FRAME | |
3685 | |
3686 Return t if image SPEC has a mask bitmap. | |
3687 FRAME is the frame on which the image will be displayed. FRAME nil | |
3688 or omitted means use the selected frame. | |
3689 | |
29506 | 3690 ** The function `find-image' can be used to find a usable image |
3691 satisfying one of a list of specifications. | |
3692 | |
3693 ** The STRING argument of `put-image' and `insert-image' is now | |
3694 optional. | |
3695 | |
31156 | 3696 ** Image specifications may contain the property `:ascent center' (see |
3697 below). | |
29151 | 3698 |
35577
db5649648a65
Replace formfeeds removed on 2001/01/22.
Dave Love <fx@gnu.org>
parents:
35567
diff
changeset
|
3699 |
25853 | 3700 * New Lisp-level Display features in Emacs 21.1 |
3701 | |
3702 Note that +++ before an item means the Lisp manual has been updated. | |
3703 --- means that I have decided it does not need to be in the Lisp manual. | |
3704 When you add a new item, please add it without either +++ or --- | |
3705 so I will know I still need to look at it -- rms. | |
3706 | |
28634 | 3707 ** The function tty-suppress-bold-inverse-default-colors can be used |
3708 to make Emacs avoid displaying text with bold black foreground on TTYs. | |
3709 | |
3710 Some terminals, notably PC consoles, emulate bold text by displaying | |
3711 text in brighter colors. On such a console, a bold black foreground | |
3712 is displayed in a gray color. If this turns out to be hard to read on | |
3713 your monitor---the problem occurred with the mode line on | |
3714 laptops---you can instruct Emacs to ignore the text's boldness, and to | |
3715 just display it black instead. | |
3716 | |
3717 This situation can't be detected automatically. You will have to put | |
3718 a line like | |
3719 | |
3720 (tty-suppress-bold-inverse-default-colors t) | |
3721 | |
3722 in your `.emacs'. | |
3723 | |
25853 | 3724 ** New face implementation. |
3725 | |
3726 Emacs faces have been reimplemented from scratch. They don't use XLFD | |
3727 font names anymore and face merging now works as expected. | |
3728 | |
3729 *** New faces. | |
3730 | |
3731 Each face can specify the following display attributes: | |
3732 | |
3733 1. Font family or fontset alias name. | |
26264 | 3734 |
25853 | 3735 2. Relative proportionate width, aka character set width or set |
3736 width (swidth), e.g. `semi-compressed'. | |
26264 | 3737 |
25853 | 3738 3. Font height in 1/10pt |
26264 | 3739 |
25853 | 3740 4. Font weight, e.g. `bold'. |
26264 | 3741 |
25853 | 3742 5. Font slant, e.g. `italic'. |
26264 | 3743 |
25853 | 3744 6. Foreground color. |
26264 | 3745 |
25853 | 3746 7. Background color. |
3747 | |
3748 8. Whether or not characters should be underlined, and in what color. | |
3749 | |
3750 9. Whether or not characters should be displayed in inverse video. | |
3751 | |
3752 10. A background stipple, a bitmap. | |
3753 | |
3754 11. Whether or not characters should be overlined, and in what color. | |
3755 | |
3756 12. Whether or not characters should be strike-through, and in what | |
3757 color. | |
3758 | |
3759 13. Whether or not a box should be drawn around characters, its | |
3760 color, the width of the box lines, and 3D appearance. | |
3761 | |
3762 Faces are frame-local by nature because Emacs allows to define the | |
3763 same named face (face names are symbols) differently for different | |
3764 frames. Each frame has an alist of face definitions for all named | |
3765 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
|
3766 with the symbol `face' in slot 0, and a slot for each of the face |
25853 | 3767 attributes mentioned above. |
3768 | |
3769 There is also a global face alist `face-new-frame-defaults'. Face | |
3770 definitions from this list are used to initialize faces of newly | |
3771 created frames. | |
26264 | 3772 |
25853 | 3773 A face doesn't have to specify all attributes. Those not specified |
3774 have a nil value. Faces specifying all attributes are called | |
3775 `fully-specified'. | |
3776 | |
3777 *** Face merging. | |
3778 | |
3779 The display style of a given character in the text is determined by | |
3780 combining several faces. This process is called `face merging'. Any | |
3781 aspect of the display style that isn't specified by overlays or text | |
3782 properties is taken from the `default' face. Since it is made sure | |
3783 that the default face is always fully-specified, face merging always | |
3784 results in a fully-specified face. | |
3785 | |
3786 *** Face realization. | |
3787 | |
3788 After all face attributes for a character have been determined by | |
3789 merging faces of that character, that face is `realized'. The | |
3790 realization process maps face attributes to what is physically | |
3791 available on the system where Emacs runs. The result is a `realized | |
3792 face' in form of an internal structure which is stored in the face | |
3793 cache of the frame on which it was realized. | |
3794 | |
3795 Face realization is done in the context of the charset of the | |
3796 character to display because different fonts and encodings are used | |
3797 for different charsets. In other words, for characters of different | |
3798 charsets, different realized faces are needed to display them. | |
3799 | |
3800 Except for composite characters, faces are always realized for a | |
3801 specific character set and contain a specific font, even if the face | |
3802 being realized specifies a fontset. The reason is that the result of | |
3803 the new font selection stage is better than what can be done with | |
3804 statically defined font name patterns in fontsets. | |
3805 | |
3806 In unibyte text, Emacs' charsets aren't applicable; function | |
3807 `char-charset' reports ASCII for all characters, including those > | |
3808 0x7f. The X registry and encoding of fonts to use is determined from | |
3809 the variable `face-default-registry' in this case. The variable is | |
3810 initialized at Emacs startup time from the font the user specified for | |
3811 Emacs. | |
3812 | |
3813 Currently all unibyte text, i.e. all buffers with | |
3814 `enable-multibyte-characters' nil are displayed with fonts of the same | |
3815 registry and encoding `face-default-registry'. This is consistent | |
3816 with the fact that languages can also be set globally, only. | |
3817 | |
3818 **** Clearing face caches. | |
3819 | |
3820 The Lisp function `clear-face-cache' can be called to clear face caches | |
3821 on all frames. If called with a non-nil argument, it will also unload | |
3822 unused fonts. | |
3823 | |
3824 *** Font selection. | |
26264 | 3825 |
25853 | 3826 Font selection tries to find the best available matching font for a |
3827 given (charset, face) combination. This is done slightly differently | |
3828 for faces specifying a fontset, or a font family name. | |
3829 | |
3830 If the face specifies a fontset name, that fontset determines a | |
3831 pattern for fonts of the given charset. If the face specifies a font | |
3832 family, a font pattern is constructed. Charset symbols have a | |
3833 property `x-charset-registry' for that purpose that maps a charset to | |
3834 an XLFD registry and encoding in the font pattern constructed. | |
3835 | |
3836 Available fonts on the system on which Emacs runs are then matched | |
3837 against the font pattern. The result of font selection is the best | |
3838 match for the given face attributes in this font list. | |
3839 | |
3840 Font selection can be influenced by the user. | |
3841 | |
3842 The user can specify the relative importance he gives the face | |
3843 attributes width, height, weight, and slant by setting | |
3844 face-font-selection-order (faces.el) to a list of face attribute | |
3845 names. The default is (:width :height :weight :slant), and means | |
3846 that font selection first tries to find a good match for the font | |
3847 width specified by a face, then---within fonts with that width---tries | |
3848 to find a best match for the specified font height, etc. | |
3849 | |
33373 | 3850 Setting `face-font-family-alternatives' allows the user to specify |
3851 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
|
3852 doesn't exist. |
34630 | 3853 |
3854 Setting `face-font-registry-alternatives' allows the user to specify | |
35680 | 3855 all alternative font registry names to try for a face specifying a |
34630 | 3856 registry. |
3857 | |
35680 | 3858 Please note that the interpretations of the above two variables are |
34630 | 3859 slightly different. |
3860 | |
3861 Setting face-ignored-fonts allows the user to ignore specific fonts. | |
3862 | |
25853 | 3863 |
3864 **** Scalable fonts | |
3865 | |
3866 Emacs can make use of scalable fonts but doesn't do so by default, | |
3867 since the use of too many or too big scalable fonts may crash XFree86 | |
3868 servers. | |
3869 | |
3870 To enable scalable font use, set the variable | |
26034 | 3871 `scalable-fonts-allowed'. A value of nil, the default, means never use |
25853 | 3872 scalable fonts. A value of t means any scalable font may be used. |
3873 Otherwise, the value must be a list of regular expressions. A | |
3874 scalable font may then be used if it matches a regular expression from | |
3875 that list. Example: | |
3876 | |
3877 (setq scalable-fonts-allowed '("muleindian-2$")) | |
3878 | |
3879 allows the use of scalable fonts with registry `muleindian-2'. | |
3880 | |
3881 *** Functions and variables related to font selection. | |
3882 | |
3883 - Function: x-family-fonts &optional FAMILY FRAME | |
3884 | |
3885 Return a list of available fonts of family FAMILY on FRAME. If FAMILY | |
3886 is omitted or nil, list all families. Otherwise, FAMILY must be a | |
3887 string, possibly containing wildcards `?' and `*'. | |
3888 | |
3889 If FRAME is omitted or nil, use the selected frame. Each element of | |
3890 the result is a vector [FAMILY WIDTH POINT-SIZE WEIGHT SLANT FIXED-P | |
3891 FULL REGISTRY-AND-ENCODING]. FAMILY is the font family name. | |
3892 POINT-SIZE is the size of the font in 1/10 pt. WIDTH, WEIGHT, and | |
3893 SLANT are symbols describing the width, weight and slant of the font. | |
3894 These symbols are the same as for face attributes. FIXED-P is non-nil | |
3895 if the font is fixed-pitch. FULL is the full name of the font, and | |
3896 REGISTRY-AND-ENCODING is a string giving the registry and encoding of | |
3897 the font. The result list is sorted according to the current setting | |
3898 of the face font sort order. | |
3899 | |
26264 | 3900 - Function: x-font-family-list |
25853 | 3901 |
3902 Return a list of available font families on FRAME. If FRAME is | |
3903 omitted or nil, use the selected frame. Value is a list of conses | |
3904 (FAMILY . FIXED-P) where FAMILY is a font family, and FIXED-P is | |
3905 non-nil if fonts of that family are fixed-pitch. | |
3906 | |
3907 - Variable: font-list-limit | |
3908 | |
3909 Limit for font matching. If an integer > 0, font matching functions | |
3910 won't load more than that number of fonts when searching for a | |
3911 matching font. The default is currently 100. | |
3912 | |
3913 *** Setting face attributes. | |
3914 | |
3915 For the most part, the new face implementation is interface-compatible | |
3916 with the old one. Old face attribute related functions are now | |
3917 implemented in terms of the new functions `set-face-attribute' and | |
3918 `face-attribute'. | |
3919 | |
3920 Face attributes are identified by their names which are keyword | |
3921 symbols. All attributes can be set to `unspecified'. | |
3922 | |
3923 The following attributes are recognized: | |
3924 | |
3925 `:family' | |
3926 | |
3927 VALUE must be a string specifying the font family, e.g. ``courier'', | |
3928 or a fontset alias name. If a font family is specified, wild-cards `*' | |
3929 and `?' are allowed. | |
3930 | |
3931 `:width' | |
3932 | |
3933 VALUE specifies the relative proportionate width of the font to use. | |
3934 It must be one of the symbols `ultra-condensed', `extra-condensed', | |
3935 `condensed', `semi-condensed', `normal', `semi-expanded', `expanded', | |
3936 `extra-expanded', or `ultra-expanded'. | |
3937 | |
3938 `:height' | |
3939 | |
31183
cb5d69bcd655
Add description of new :inherit face attribute, and additional legal
Miles Bader <miles@gnu.org>
parents:
31156
diff
changeset
|
3940 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
|
3941 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
|
3942 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
|
3943 height (from the underlying face), and should return the new height. |
25853 | 3944 |
3945 `:weight' | |
3946 | |
3947 VALUE specifies the weight of the font to use. It must be one of the | |
3948 symbols `ultra-bold', `extra-bold', `bold', `semi-bold', `normal', | |
3949 `semi-light', `light', `extra-light', `ultra-light'. | |
3950 | |
3951 `:slant' | |
3952 | |
3953 VALUE specifies the slant of the font to use. It must be one of the | |
3954 symbols `italic', `oblique', `normal', `reverse-italic', or | |
3955 `reverse-oblique'. | |
3956 | |
3957 `:foreground', `:background' | |
3958 | |
3959 VALUE must be a color name, a string. | |
3960 | |
3961 `:underline' | |
3962 | |
3963 VALUE specifies whether characters in FACE should be underlined. If | |
3964 VALUE is t, underline with foreground color of the face. If VALUE is | |
3965 a string, underline with that color. If VALUE is nil, explicitly | |
3966 don't underline. | |
3967 | |
3968 `:overline' | |
3969 | |
3970 VALUE specifies whether characters in FACE should be overlined. If | |
3971 VALUE is t, overline with foreground color of the face. If VALUE is a | |
3972 string, overline with that color. If VALUE is nil, explicitly don't | |
3973 overline. | |
3974 | |
3975 `:strike-through' | |
3976 | |
3977 VALUE specifies whether characters in FACE should be drawn with a line | |
3978 striking through them. If VALUE is t, use the foreground color of the | |
3979 face. If VALUE is a string, strike-through with that color. If VALUE | |
3980 is nil, explicitly don't strike through. | |
3981 | |
3982 `:box' | |
3983 | |
3984 VALUE specifies whether characters in FACE should have a box drawn | |
3985 around them. If VALUE is nil, explicitly don't draw boxes. If | |
3986 VALUE is t, draw a box with lines of width 1 in the foreground color | |
3987 of the face. If VALUE is a string, the string must be a color name, | |
3988 and the box is drawn in that color with a line width of 1. Otherwise, | |
3989 VALUE must be a property list of the form `(:line-width WIDTH | |
3990 :color COLOR :style STYLE)'. If a keyword/value pair is missing from | |
3991 the property list, a default value will be used for the value, as | |
3992 specified below. WIDTH specifies the width of the lines to draw; it | |
3993 defaults to 1. COLOR is the name of the color to draw in, default is | |
3994 the foreground color of the face for simple boxes, and the background | |
3995 color of the face for 3D boxes. STYLE specifies whether a 3D box | |
3996 should be draw. If STYLE is `released-button', draw a box looking | |
3997 like a released 3D button. If STYLE is `pressed-button' draw a box | |
3998 that appears like a pressed button. If STYLE is nil, the default if | |
3999 the property list doesn't contain a style specification, draw a 2D | |
4000 box. | |
4001 | |
4002 `:inverse-video' | |
4003 | |
4004 VALUE specifies whether characters in FACE should be displayed in | |
4005 inverse video. VALUE must be one of t or nil. | |
4006 | |
4007 `:stipple' | |
4008 | |
4009 If VALUE is a string, it must be the name of a file of pixmap data. | |
4010 The directories listed in the `x-bitmap-file-path' variable are | |
4011 searched. Alternatively, VALUE may be a list of the form (WIDTH | |
4012 HEIGHT DATA) where WIDTH and HEIGHT are the size in pixels, and DATA | |
4013 is a string containing the raw bits of the bitmap. VALUE nil means | |
4014 explicitly don't use a stipple pattern. | |
4015 | |
4016 For convenience, attributes `:family', `:width', `:height', `:weight', | |
4017 and `:slant' may also be set in one step from an X font name: | |
4018 | |
4019 `:font' | |
4020 | |
4021 Set font-related face attributes from VALUE. VALUE must be a valid | |
4022 XLFD font name. If it is a font name pattern, the first matching font | |
4023 is used--this is for compatibility with the behavior of previous | |
4024 versions of Emacs. | |
4025 | |
4026 For compatibility with Emacs 20, keywords `:bold' and `:italic' can | |
4027 be used to specify that a bold or italic font should be used. VALUE | |
4028 must be t or nil in that case. A value of `unspecified' is not allowed." | |
4029 | |
4030 Please see also the documentation of `set-face-attribute' and | |
4031 `defface'. | |
4032 | |
31183
cb5d69bcd655
Add description of new :inherit face attribute, and additional legal
Miles Bader <miles@gnu.org>
parents:
31156
diff
changeset
|
4033 `:inherit' |
cb5d69bcd655
Add description of new :inherit face attribute, and additional legal
Miles Bader <miles@gnu.org>
parents:
31156
diff
changeset
|
4034 |
cb5d69bcd655
Add description of new :inherit face attribute, and additional legal
Miles Bader <miles@gnu.org>
parents:
31156
diff
changeset
|
4035 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
|
4036 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
|
4037 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
|
4038 |
25853 | 4039 *** Face attributes and X resources |
4040 | |
4041 The following X resource names can be used to set face attributes | |
4042 from X resources: | |
4043 | |
4044 Face attribute X resource class | |
4045 ----------------------------------------------------------------------- | |
4046 :family attributeFamily . Face.AttributeFamily | |
4047 :width attributeWidth Face.AttributeWidth | |
4048 :height attributeHeight Face.AttributeHeight | |
4049 :weight attributeWeight Face.AttributeWeight | |
4050 :slant attributeSlant Face.AttributeSlant | |
4051 foreground attributeForeground Face.AttributeForeground | |
4052 :background attributeBackground . Face.AttributeBackground | |
4053 :overline attributeOverline Face.AttributeOverline | |
4054 :strike-through attributeStrikeThrough Face.AttributeStrikeThrough | |
4055 :box attributeBox Face.AttributeBox | |
4056 :underline attributeUnderline Face.AttributeUnderline | |
4057 :inverse-video attributeInverse Face.AttributeInverse | |
4058 :stipple attributeStipple Face.AttributeStipple | |
26264 | 4059 or attributeBackgroundPixmap |
25853 | 4060 Face.AttributeBackgroundPixmap |
4061 :font attributeFont Face.AttributeFont | |
4062 :bold attributeBold Face.AttributeBold | |
4063 :italic attributeItalic . Face.AttributeItalic | |
4064 :font attributeFont Face.AttributeFont | |
4065 | |
4066 *** Text property `face'. | |
4067 | |
4068 The value of the `face' text property can now be a single face | |
4069 specification or a list of such specifications. Each face | |
4070 specification can be | |
4071 | |
4072 1. A symbol or string naming a Lisp face. | |
4073 | |
4074 2. A property list of the form (KEYWORD VALUE ...) where each | |
4075 KEYWORD is a face attribute name, and VALUE is an appropriate value | |
4076 for that attribute. Please see the doc string of `set-face-attribute' | |
4077 for face attribute names. | |
4078 | |
4079 3. Conses of the form (FOREGROUND-COLOR . COLOR) or | |
4080 (BACKGROUND-COLOR . COLOR) where COLOR is a color name. This is | |
4081 for compatibility with previous Emacs versions. | |
4082 | |
4083 ** Support functions for colors on text-only terminals. | |
4084 | |
27092
60f5b0f50db9
Document the unified frame-independent support for colors and faces.
Eli Zaretskii <eliz@gnu.org>
parents:
27076
diff
changeset
|
4085 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
|
4086 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
|
4087 the terminal. Emacs defines a couple of common color mappings by |
25853 | 4088 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
|
4089 `defined-colors'. The function `tty-color-clear' can be |
25853 | 4090 used to clear the mapping table. |
4091 | |
27092
60f5b0f50db9
Document the unified frame-independent support for colors and faces.
Eli Zaretskii <eliz@gnu.org>
parents:
27076
diff
changeset
|
4092 ** 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
|
4093 |
60f5b0f50db9
Document the unified frame-independent support for colors and faces.
Eli Zaretskii <eliz@gnu.org>
parents:
27076
diff
changeset
|
4094 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
|
4095 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
|
4096 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
|
4097 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
|
4098 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
|
4099 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
|
4100 `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
|
4101 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
|
4102 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
|
4103 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
|
4104 |
60f5b0f50db9
Document the unified frame-independent support for colors and faces.
Eli Zaretskii <eliz@gnu.org>
parents:
27076
diff
changeset
|
4105 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
|
4106 any frame type. |
60f5b0f50db9
Document the unified frame-independent support for colors and faces.
Eli Zaretskii <eliz@gnu.org>
parents:
27076
diff
changeset
|
4107 |
27573
32f4457e5501
Document functions which return display capabilities.
Eli Zaretskii <eliz@gnu.org>
parents:
27533
diff
changeset
|
4108 ** Platform-independent functions to describe display capabilities. |
32f4457e5501
Document functions which return display capabilities.
Eli Zaretskii <eliz@gnu.org>
parents:
27533
diff
changeset
|
4109 |
32f4457e5501
Document functions which return display capabilities.
Eli Zaretskii <eliz@gnu.org>
parents:
27533
diff
changeset
|
4110 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
|
4111 `display-graphic-p', `display-selections-p', `display-screens', |
32f4457e5501
Document functions which return display capabilities.
Eli Zaretskii <eliz@gnu.org>
parents:
27533
diff
changeset
|
4112 `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
|
4113 `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
|
4114 `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
|
4115 `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
|
4116 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
|
4117 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
|
4118 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
|
4119 |
38471 | 4120 The new function `display-images-p' returns non-nil if a particular |
4121 display can display image files. | |
4122 | |
25853 | 4123 ** 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
|
4124 |
25853 | 4125 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
|
4126 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
|
4127 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
|
4128 `Inviolable' option. |
25853 | 4129 |
35680 | 4130 The function minibuffer-prompt-end returns the current position of the |
25853 | 4131 end of the minibuffer prompt, if the minibuffer is current. |
4132 Otherwise, it returns zero. | |
4133 | |
26062
fd35581d53c1
Add Miles Bader's description of fields.
Gerd Moellmann <gerd@gnu.org>
parents:
26034
diff
changeset
|
4134 ** New `field' abstraction in buffers. |
fd35581d53c1
Add Miles Bader's description of fields.
Gerd Moellmann <gerd@gnu.org>
parents:
26034
diff
changeset
|
4135 |
fd35581d53c1
Add Miles Bader's description of fields.
Gerd Moellmann <gerd@gnu.org>
parents:
26034
diff
changeset
|
4136 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
|
4137 buffers. A field is a contiguous region of text with the same `field' |
30776 | 4138 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
|
4139 |
26300
25356c16306f
Expanded description of `field' property from Miles Bader.
Gerd Moellmann <gerd@gnu.org>
parents:
26292
diff
changeset
|
4140 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
|
4141 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
|
4142 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
|
4143 not let the point move past the field boundary, but other movement |
27144 | 4144 commands continue into the next field if repeated. Stopping at field |
4145 boundaries can be suppressed programmatically by binding | |
4146 `inhibit-field-text-motion' to a non-nil value around calls to these | |
4147 functions. | |
26062
fd35581d53c1
Add Miles Bader's description of fields.
Gerd Moellmann <gerd@gnu.org>
parents:
26034
diff
changeset
|
4148 |
fd35581d53c1
Add Miles Bader's description of fields.
Gerd Moellmann <gerd@gnu.org>
parents:
26034
diff
changeset
|
4149 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
|
4150 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
|
4151 editing commands treat the user's text separately from the prompt. |
25853 | 4152 |
26300
25356c16306f
Expanded description of `field' property from Miles Bader.
Gerd Moellmann <gerd@gnu.org>
parents:
26292
diff
changeset
|
4153 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
|
4154 |
30776 | 4155 - 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
|
4156 |
25356c16306f
Expanded description of `field' property from Miles Bader.
Gerd Moellmann <gerd@gnu.org>
parents:
26292
diff
changeset
|
4157 Return the position closest to NEW-POS that is in the same field as OLD-POS. |
30776 | 4158 |
26300
25356c16306f
Expanded description of `field' property from Miles Bader.
Gerd Moellmann <gerd@gnu.org>
parents:
26292
diff
changeset
|
4159 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
|
4160 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
|
4161 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
|
4162 |
25356c16306f
Expanded description of `field' property from Miles Bader.
Gerd Moellmann <gerd@gnu.org>
parents:
26292
diff
changeset
|
4163 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
|
4164 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
|
4165 ESCAPE-FROM-EDGE: If ESCAPE-FROM-EDGE is nil, then NEW-POS is |
30776 | 4166 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
|
4167 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
|
4168 is non-nil, NEW-POS is constrained to the union of the two adjacent |
30776 | 4169 fields. Additionally, if two fields are separated by another field with |
4170 the special value `boundary', then any point within this special field is | |
4171 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
|
4172 |
25356c16306f
Expanded description of `field' property from Miles Bader.
Gerd Moellmann <gerd@gnu.org>
parents:
26292
diff
changeset
|
4173 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
|
4174 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
|
4175 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
|
4176 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
|
4177 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
|
4178 |
30776 | 4179 If the optional argument INHIBIT-CAPTURE-PROPERTY is non-nil, and OLD-POS has |
4180 a non-nil property of that name, then any field boundaries are ignored. | |
4181 | |
4182 Field boundaries are not noticed if `inhibit-field-text-motion' is non-nil. | |
4183 | |
4184 - Function: delete-field &optional POS | |
4185 | |
4186 Delete the field surrounding POS. | |
26300
25356c16306f
Expanded description of `field' property from Miles Bader.
Gerd Moellmann <gerd@gnu.org>
parents:
26292
diff
changeset
|
4187 A field is a region of text with the same `field' property. |
30776 | 4188 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
|
4189 |
25356c16306f
Expanded description of `field' property from Miles Bader.
Gerd Moellmann <gerd@gnu.org>
parents:
26292
diff
changeset
|
4190 - 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
|
4191 |
25356c16306f
Expanded description of `field' property from Miles Bader.
Gerd Moellmann <gerd@gnu.org>
parents:
26292
diff
changeset
|
4192 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
|
4193 A field is a region of text with the same `field' property. |
30776 | 4194 If POS is nil, the value of point is used for POS. |
4195 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
|
4196 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
|
4197 |
25356c16306f
Expanded description of `field' property from Miles Bader.
Gerd Moellmann <gerd@gnu.org>
parents:
26292
diff
changeset
|
4198 - 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
|
4199 |
25356c16306f
Expanded description of `field' property from Miles Bader.
Gerd Moellmann <gerd@gnu.org>
parents:
26292
diff
changeset
|
4200 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
|
4201 A field is a region of text with the same `field' property. |
30776 | 4202 If POS is nil, the value of point is used for POS. |
4203 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
|
4204 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
|
4205 |
25356c16306f
Expanded description of `field' property from Miles Bader.
Gerd Moellmann <gerd@gnu.org>
parents:
26292
diff
changeset
|
4206 - Function: field-string &optional POS |
25356c16306f
Expanded description of `field' property from Miles Bader.
Gerd Moellmann <gerd@gnu.org>
parents:
26292
diff
changeset
|
4207 |
25356c16306f
Expanded description of `field' property from Miles Bader.
Gerd Moellmann <gerd@gnu.org>
parents:
26292
diff
changeset
|
4208 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
|
4209 A field is a region of text with the same `field' property. |
30776 | 4210 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
|
4211 |
25356c16306f
Expanded description of `field' property from Miles Bader.
Gerd Moellmann <gerd@gnu.org>
parents:
26292
diff
changeset
|
4212 - 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
|
4213 |
25356c16306f
Expanded description of `field' property from Miles Bader.
Gerd Moellmann <gerd@gnu.org>
parents:
26292
diff
changeset
|
4214 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
|
4215 A field is a region of text with the same `field' property. |
30776 | 4216 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
|
4217 |
25853 | 4218 ** Image support. |
4219 | |
4220 Emacs can now display images. Images are inserted into text by giving | |
4221 strings or buffer text a `display' text property containing one of | |
4222 (AREA IMAGE) or IMAGE. The display of the `display' property value | |
4223 replaces the display of the characters having that property. | |
4224 | |
4225 If the property value has the form (AREA IMAGE), AREA must be one of | |
4226 `(margin left-margin)', `(margin right-margin)' or `(margin nil)'. If | |
4227 AREA is `(margin nil)', IMAGE will be displayed in the text area of a | |
4228 window, otherwise it will be displayed in the left or right marginal | |
4229 area. | |
4230 | |
4231 IMAGE is an image specification. | |
4232 | |
4233 *** Image specifications | |
4234 | |
4235 Image specifications are lists of the form `(image PROPS)' where PROPS | |
4236 is a property list whose keys are keyword symbols. Each | |
4237 specifications must contain a property `:type TYPE' with TYPE being a | |
26403 | 4238 symbol specifying the image type, e.g. `xbm'. Properties not |
4239 described below are ignored. | |
25853 | 4240 |
4241 The following is a list of properties all image types share. | |
4242 | |
4243 `:ascent ASCENT' | |
4244 | |
28789 | 4245 ASCENT must be a number in the range 0..100, or the symbol `center'. |
4246 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
|
4247 to use for its ascent. |
28789 | 4248 |
4249 If not specified, ASCENT defaults to the value 50 which means that the | |
4250 image will be centered with the base line of the row it appears in. | |
4251 | |
30483
05fc373ff5b8
mention `float-time' and the remote file modtime check
Sam Steingold <sds@gnu.org>
parents:
30482
diff
changeset
|
4252 If ASCENT is `center' the image is vertically centered around a |
29151 | 4253 centerline which is the vertical center of text drawn at the position |
4254 of the image, in the manner specified by the text properties and | |
4255 overlays that apply to the image. | |
25853 | 4256 |
4257 `:margin MARGIN' | |
4258 | |
35278 | 4259 MARGIN must be either a number >= 0 specifying how many pixels to put |
4260 as margin around the image, or a pair (X . Y) with X specifying the | |
4261 horizontal margin and Y specifying the vertical margin. Default is 0. | |
25853 | 4262 |
4263 `:relief RELIEF' | |
4264 | |
4265 RELIEF is analogous to the `:relief' attribute of faces. Puts a relief | |
4266 around an image. | |
4267 | |
35364 | 4268 `:conversion ALGO' |
25853 | 4269 |
31636 | 4270 Apply an image algorithm to the image before displaying it. |
4271 | |
4272 ALGO `laplace' or `emboss' means apply a Laplace or ``emboss'' | |
4273 edge-detection algorithm to the image. | |
4274 | |
4275 ALGO `(edge-detection :matrix MATRIX :color-adjust ADJUST)' means | |
4276 apply a general edge-detection algorithm. MATRIX must be either a | |
4277 nine-element list or a nine-element vector of numbers. A pixel at | |
4278 position x/y in the transformed image is computed from original pixels | |
4279 around that position. MATRIX specifies, for each pixel in the | |
4280 neighborhood of x/y, a factor with which that pixel will influence the | |
4281 transformed pixel; element 0 specifies the factor for the pixel at | |
4282 x-1/y-1, element 1 the factor for the pixel at x/y-1 etc. as shown | |
4283 below. | |
4284 | |
4285 (x-1/y-1 x/y-1 x+1/y-1 | |
4286 x-1/y x/y x+1/y | |
4287 x-1/y+1 x/y+1 x+1/y+1) | |
4288 | |
4289 The resulting pixel is computed from the color intensity of the color | |
4290 resulting from summing up the RGB values of surrounding pixels, | |
4291 multiplied by the specified factors, and dividing that sum by the sum | |
4292 of the factors' absolute values. | |
4293 | |
31858
269d69b69fe4
Update hideshow.el section.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
31827
diff
changeset
|
4294 Laplace edge-detection currently uses a matrix of |
31636 | 4295 |
4296 (1 0 0 | |
4297 0 0 0 | |
4298 9 9 -1) | |
4299 | |
4300 Emboss edge-detection uses a matrix of | |
4301 | |
4302 ( 2 -1 0 | |
4303 -1 0 1 | |
4304 0 1 -2) | |
4305 | |
31728 | 4306 ALGO `disabled' means transform the image so that it looks |
4307 ``disabled''. | |
4308 | |
31636 | 4309 `:mask MASK' |
4310 | |
4311 If MASK is `heuristic' or `(heuristic BG)', build a clipping mask for | |
4312 the image, so that the background of a frame is visible behind the | |
4313 image. If BG is not specified, or if BG is t, determine the | |
4314 background color of the image by looking at the 4 corners of the | |
35680 | 4315 image, assuming the most frequently occurring color from the corners is |
31636 | 4316 the background color of the image. Otherwise, BG must be a list `(RED |
4317 GREEN BLUE)' specifying the color to assume for the background of the | |
4318 image. | |
4319 | |
4320 If MASK is nil, remove a mask from the image, if it has one. Images | |
4321 in some formats include a mask which can be removed by specifying | |
4322 `:mask nil'. | |
25853 | 4323 |
4324 `:file FILE' | |
4325 | |
4326 Load image from FILE. If FILE is not absolute after expanding it, | |
4327 search for the image in `data-directory'. Some image types support | |
4328 building images from data. When this is done, no `:file' property | |
4329 may be present in the image specification. | |
4330 | |
27076
40c18bc759e9
Change description of :data for images.
Gerd Moellmann <gerd@gnu.org>
parents:
27055
diff
changeset
|
4331 `:data DATA' |
40c18bc759e9
Change description of :data for images.
Gerd Moellmann <gerd@gnu.org>
parents:
27055
diff
changeset
|
4332 |
40c18bc759e9
Change description of :data for images.
Gerd Moellmann <gerd@gnu.org>
parents:
27055
diff
changeset
|
4333 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
|
4334 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
|
4335 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
|
4336 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
|
4337 |
25853 | 4338 *** Supported image types |
4339 | |
26034 | 4340 **** XBM, image type `xbm'. |
25853 | 4341 |
4342 XBM images don't require an external library. Additional image | |
4343 properties supported are | |
4344 | |
4345 `:foreground FG' | |
4346 | |
37948
3025939a637d
Add that PBM and XPM image specs may have :foreground nil, and
Gerd Moellmann <gerd@gnu.org>
parents:
37933
diff
changeset
|
4347 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
|
4348 meaning to use the default. Default is the frame's foreground. |
25853 | 4349 |
32572 | 4350 `:background BG' |
25853 | 4351 |
37948
3025939a637d
Add that PBM and XPM image specs may have :foreground nil, and
Gerd Moellmann <gerd@gnu.org>
parents:
37933
diff
changeset
|
4352 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
|
4353 meaning to use the default. Default is the frame's background color. |
25853 | 4354 |
4355 XBM images can be constructed from data instead of file. In this | |
4356 case, the image specification must contain the following properties | |
4357 instead of a `:file' property. | |
4358 | |
4359 `:width WIDTH' | |
4360 | |
4361 WIDTH specifies the width of the image in pixels. | |
4362 | |
4363 `:height HEIGHT' | |
4364 | |
4365 HEIGHT specifies the height of the image in pixels. | |
4366 | |
4367 `:data DATA' | |
4368 | |
4369 DATA must be either | |
4370 | |
4371 1. a string large enough to hold the bitmap data, i.e. it must | |
4372 have a size >= (WIDTH + 7) / 8 * HEIGHT | |
4373 | |
4374 2. a bool-vector of size >= WIDTH * HEIGHT | |
4375 | |
4376 3. a vector of strings or bool-vectors, one for each line of the | |
4377 bitmap. | |
4378 | |
28748 | 4379 4. a string that's an in-memory XBM file. Neither width nor |
4380 height may be specified in this case because these are defined | |
4381 in the file. | |
4382 | |
25853 | 4383 **** XPM, image type `xpm' |
4384 | |
4385 XPM images require the external library `libXpm', package | |
4386 `xpm-3.4k.tar.gz', version 3.4k or later. Make sure the library is | |
4387 found when Emacs is configured by supplying appropriate paths via | |
4388 `--x-includes' and `--x-libraries'. | |
4389 | |
4390 Additional image properties supported are: | |
4391 | |
4392 `:color-symbols SYMBOLS' | |
4393 | |
4394 SYMBOLS must be a list of pairs (NAME . COLOR), with NAME being the | |
4395 name of color as it appears in an XPM file, and COLOR being an X color | |
4396 name. | |
4397 | |
4398 XPM images can be built from memory instead of files. In that case, | |
4399 add a `:data' property instead of a `:file' property. | |
4400 | |
4401 The XPM library uses libz in its implementation so that it is able | |
4402 to display compressed images. | |
4403 | |
4404 **** PBM, image type `pbm' | |
4405 | |
4406 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
|
4407 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
|
4408 mono images are |
329cbf266d5c
Add description of :foreground and :background to PBM images.
Gerd Moellmann <gerd@gnu.org>
parents:
32511
diff
changeset
|
4409 |
329cbf266d5c
Add description of :foreground and :background to PBM images.
Gerd Moellmann <gerd@gnu.org>
parents:
32511
diff
changeset
|
4410 `:foreground FG' |
329cbf266d5c
Add description of :foreground and :background to PBM images.
Gerd Moellmann <gerd@gnu.org>
parents:
32511
diff
changeset
|
4411 |
37948
3025939a637d
Add that PBM and XPM image specs may have :foreground nil, and
Gerd Moellmann <gerd@gnu.org>
parents:
37933
diff
changeset
|
4412 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
|
4413 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
|
4414 |
329cbf266d5c
Add description of :foreground and :background to PBM images.
Gerd Moellmann <gerd@gnu.org>
parents:
32511
diff
changeset
|
4415 `:background FG' |
329cbf266d5c
Add description of :foreground and :background to PBM images.
Gerd Moellmann <gerd@gnu.org>
parents:
32511
diff
changeset
|
4416 |
37948
3025939a637d
Add that PBM and XPM image specs may have :foreground nil, and
Gerd Moellmann <gerd@gnu.org>
parents:
37933
diff
changeset
|
4417 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
|
4418 meaning to use the default. Default is the frame's background color. |
25853 | 4419 |
4420 **** JPEG, image type `jpeg' | |
4421 | |
4422 Support for JPEG images requires the external library `libjpeg', | |
27055 | 4423 package `jpegsrc.v6a.tar.gz', or later. Additional image properties |
4424 are: | |
4425 | |
25853 | 4426 **** TIFF, image type `tiff' |
4427 | |
4428 Support for TIFF images requires the external library `libtiff', | |
4429 package `tiff-v3.4-tar.gz', or later. There are no additional image | |
4430 properties defined. | |
4431 | |
4432 **** GIF, image type `gif' | |
4433 | |
4434 Support for GIF images requires the external library `libungif', package | |
4435 `libungif-4.1.0', or later. | |
4436 | |
4437 Additional image properties supported are: | |
4438 | |
4439 `:index INDEX' | |
4440 | |
4441 INDEX must be an integer >= 0. Load image number INDEX from a | |
35680 | 4442 multi-image GIF file. An error is signaled if INDEX is too large. |
25853 | 4443 |
4444 This could be used to implement limited support for animated GIFs. | |
4445 For example, the following function displays a multi-image GIF file | |
4446 at point-min in the current buffer, switching between sub-images | |
4447 every 0.1 seconds. | |
4448 | |
4449 (defun show-anim (file max) | |
4450 "Display multi-image GIF file FILE which contains MAX subimages." | |
4451 (display-anim (current-buffer) file 0 max t)) | |
4452 | |
4453 (defun display-anim (buffer file idx max first-time) | |
4454 (when (= idx max) | |
4455 (setq idx 0)) | |
27076
40c18bc759e9
Change description of :data for images.
Gerd Moellmann <gerd@gnu.org>
parents:
27055
diff
changeset
|
4456 (let ((img (create-image file nil nil :index idx))) |
25853 | 4457 (save-excursion |
4458 (set-buffer buffer) | |
4459 (goto-char (point-min)) | |
4460 (unless first-time (delete-char 1)) | |
4461 (insert-image img "x")) | |
4462 (run-with-timer 0.1 nil 'display-anim buffer file (1+ idx) max nil))) | |
4463 | |
4464 **** PNG, image type `png' | |
4465 | |
4466 Support for PNG images requires the external library `libpng', | |
4467 package `libpng-1.0.2.tar.gz', or later. There are no additional image | |
4468 properties defined. | |
4469 | |
4470 **** Ghostscript, image type `postscript'. | |
4471 | |
4472 Additional image properties supported are: | |
4473 | |
4474 `:pt-width WIDTH' | |
4475 | |
4476 WIDTH is width of the image in pt (1/72 inch). WIDTH must be an | |
26034 | 4477 integer. This is a required property. |
25853 | 4478 |
4479 `:pt-height HEIGHT' | |
4480 | |
4481 HEIGHT specifies the height of the image in pt (1/72 inch). HEIGHT | |
26034 | 4482 must be a integer. This is an required property. |
25853 | 4483 |
4484 `:bounding-box BOX' | |
4485 | |
4486 BOX must be a list or vector of 4 integers giving the bounding box of | |
4487 the PS image, analogous to the `BoundingBox' comment found in PS | |
4488 files. This is an required property. | |
4489 | |
4490 Part of the Ghostscript interface is implemented in Lisp. See | |
4491 lisp/gs.el. | |
4492 | |
4493 *** Lisp interface. | |
4494 | |
26264 | 4495 The variable `image-types' contains a list of those image types |
4496 which are supported in the current configuration. | |
25853 | 4497 |
4498 Images are stored in an image cache and removed from the cache when | |
4499 they haven't been displayed for `image-cache-eviction-delay seconds. | |
4500 The function `clear-image-cache' can be used to clear the image cache | |
28759 | 4501 manually. Images in the cache are compared with `equal', i.e. all |
4502 images with `equal' specifications share the same image. | |
25853 | 4503 |
4504 *** Simplified image API, image.el | |
4505 | |
4506 The new Lisp package image.el contains functions that simplify image | |
4507 creation and putting images into text. The function `create-image' | |
4508 can be used to create images. The macro `defimage' can be used to | |
4509 define an image based on available image types. The functions | |
4510 `put-image' and `insert-image' can be used to insert an image into a | |
4511 buffer. | |
4512 | |
4513 ** Display margins. | |
4514 | |
4515 Windows can now have margins which are used for special text | |
4516 and images. | |
4517 | |
4518 To give a window margins, either set the buffer-local variables | |
4519 `left-margin-width' and `right-margin-width', or call | |
4520 `set-window-margins'. The function `window-margins' can be used to | |
4521 obtain the current settings. To make `left-margin-width' and | |
4522 `right-margin-width' take effect, you must set them before displaying | |
4523 the buffer in a window, or use `set-window-buffer' to force an update | |
4524 of the display margins. | |
4525 | |
4526 You can put text in margins by giving it a `display' text property | |
4527 containing a pair of the form `(LOCATION . VALUE)', where LOCATION is | |
4528 one of `left-margin' or `right-margin' or nil. VALUE can be either a | |
4529 string, an image specification or a stretch specification (see later | |
4530 in this file). | |
4531 | |
4532 ** Help display | |
4533 | |
4534 Emacs displays short help messages in the echo area, when the mouse | |
4535 moves over a tool-bar item or a piece of text that has a text property | |
4536 `help-echo'. This feature also applies to strings in the mode line | |
4537 that have a `help-echo' property. | |
4538 | |
30219 | 4539 If the value of the `help-echo' property is a function, that function |
30305 | 4540 is called with three arguments WINDOW, OBJECT and POSITION. WINDOW is |
30372 | 4541 the window in which the help was found. |
4542 | |
4543 If OBJECT is a buffer, POS is the position in the buffer where the | |
4544 `help-echo' text property was found. | |
4545 | |
4546 If OBJECT is an overlay, that overlay has a `help-echo' property, and | |
4547 POS is the position in the overlay's buffer under the mouse. | |
4548 | |
4549 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
|
4550 the `display' property), POS is the position in that string under the |
30372 | 4551 mouse. |
30219 | 4552 |
4553 If the value of the `help-echo' property is neither a function nor a | |
4554 string, it is evaluated to obtain a help string. | |
4555 | |
4556 For tool-bar and menu-bar items, their key definition is used to | |
4557 determine the help to display. If their definition contains a | |
4558 property `:help FORM', FORM is evaluated to determine the help string. | |
4559 For tool-bar items without a help form, the caption of the item is | |
4560 used as help string. | |
25853 | 4561 |
4562 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
|
4563 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
|
4564 causes the help display to appear there instead of in the echo area. |
25853 | 4565 |
4566 ** Vertical fractional scrolling. | |
4567 | |
4568 The display of text in windows can be scrolled smoothly in pixels. | |
4569 This is useful, for example, for making parts of large images visible. | |
4570 | |
4571 The function `window-vscroll' returns the current value of vertical | |
4572 scrolling, a non-negative fraction of the canonical character height. | |
4573 The function `set-window-vscroll' can be used to set the vertical | |
4574 scrolling value. Here is an example of how these function might be | |
4575 used. | |
4576 | |
26264 | 4577 (global-set-key [A-down] |
4578 #'(lambda () | |
25853 | 4579 (interactive) |
26264 | 4580 (set-window-vscroll (selected-window) |
25853 | 4581 (+ 0.5 (window-vscroll))))) |
26264 | 4582 (global-set-key [A-up] |
25853 | 4583 #'(lambda () |
4584 (interactive) | |
26264 | 4585 (set-window-vscroll (selected-window) |
25853 | 4586 (- (window-vscroll) 0.5))))) |
4587 | |
4588 ** New hook `fontification-functions'. | |
4589 | |
4590 Functions from `fontification-functions' are called from redisplay | |
4591 when it encounters a region of text that is not yet fontified. This | |
4592 variable automatically becomes buffer-local when set. Each function | |
4593 is called with one argument, POS. | |
4594 | |
4595 At least one of the hook functions should fontify one or more | |
4596 characters starting at POS in the current buffer. It should mark them | |
4597 as fontified by giving them a non-nil value of the `fontified' text | |
4598 property. It may be reasonable for these functions to check for the | |
4599 `fontified' property and not put it back on, but they do not have to. | |
4600 | |
4601 ** Tool bar support. | |
4602 | |
4603 Emacs supports a tool bar at the top of a frame under X. The frame | |
4604 parameter `tool-bar-lines' (X resource "toolBar", class "ToolBar") | |
4605 controls how may lines to reserve for the tool bar. A zero value | |
4606 suppresses the tool bar. If the value is non-zero and | |
4607 `auto-resize-tool-bars' is non-nil the tool bar's size will be changed | |
4608 automatically so that all tool bar items are visible. | |
4609 | |
4610 *** Tool bar item definitions | |
4611 | |
4612 Tool bar items are defined using `define-key' with a prefix-key | |
4613 `tool-bar'. For example `(define-key global-map [tool-bar item1] ITEM)' | |
4614 where ITEM is a list `(menu-item CAPTION BINDING PROPS...)'. | |
26264 | 4615 |
25853 | 4616 CAPTION is the caption of the item, If it's not a string, it is |
4617 evaluated to get a string. The caption is currently not displayed in | |
4618 the tool bar, but it is displayed if the item doesn't have a `:help' | |
4619 property (see below). | |
26264 | 4620 |
25853 | 4621 BINDING is the tool bar item's binding. Tool bar items with keymaps as |
4622 binding are currently ignored. | |
4623 | |
4624 The following properties are recognized: | |
4625 | |
4626 `:enable FORM'. | |
26264 | 4627 |
25853 | 4628 FORM is evaluated and specifies whether the tool bar item is enabled |
4629 or disabled. | |
26264 | 4630 |
25853 | 4631 `:visible FORM' |
26264 | 4632 |
25853 | 4633 FORM is evaluated and specifies whether the tool bar item is displayed. |
26264 | 4634 |
25853 | 4635 `:filter FUNCTION' |
4636 | |
4637 FUNCTION is called with one parameter, the same list BINDING in which | |
4638 FUNCTION is specified as the filter. The value FUNCTION returns is | |
4639 used instead of BINDING to display this item. | |
26264 | 4640 |
25853 | 4641 `:button (TYPE SELECTED)' |
4642 | |
4643 TYPE must be one of `:radio' or `:toggle'. SELECTED is evaluated | |
4644 and specifies whether the button is selected (pressed) or not. | |
26264 | 4645 |
25853 | 4646 `:image IMAGES' |
4647 | |
4648 IMAGES is either a single image specification or a vector of four | |
4649 image specifications. If it is a vector, this table lists the | |
4650 meaning of each of the four elements: | |
4651 | |
4652 Index Use when item is | |
4653 ---------------------------------------- | |
4654 0 enabled and selected | |
4655 1 enabled and deselected | |
4656 2 disabled and selected | |
4657 3 disabled and deselected | |
26264 | 4658 |
28946 | 4659 If IMAGE is a single image specification, a Laplace edge-detection |
4660 algorithm is used on that image to draw the image in disabled state. | |
4661 | |
25853 | 4662 `:help HELP-STRING'. |
26264 | 4663 |
25853 | 4664 Gives a help string to display for the tool bar item. This help |
4665 is displayed when the mouse is moved over the item. | |
4666 | |
31641 | 4667 The function `toolbar-add-item' is a convenience function for adding |
31741 | 4668 toolbar items generally, and `tool-bar-add-item-from-menu' can be used |
4669 to define a toolbar item with a binding copied from an item on the | |
4670 menu bar. | |
31641 | 4671 |
33484 | 4672 The default bindings use a menu-item :filter to derive the tool-bar |
4673 dynamically from variable `tool-bar-map' which may be set | |
4674 buffer-locally to override the global map. | |
4675 | |
25853 | 4676 *** Tool-bar-related variables. |
4677 | |
4678 If `auto-resize-tool-bar' is non-nil, the tool bar will automatically | |
4679 resize to show all defined tool bar items. It will never grow larger | |
4680 than 1/4 of the frame's size. | |
4681 | |
26264 | 4682 If `auto-raise-tool-bar-buttons' is non-nil, tool bar buttons will be |
25853 | 4683 raised when the mouse moves over them. |
4684 | |
4685 You can add extra space between tool bar items by setting | |
4686 `tool-bar-button-margin' to a positive integer specifying a number of | |
35278 | 4687 pixels, or a pair of integers (X . Y) specifying horizontal and |
4688 vertical margins . Default is 1. | |
25853 | 4689 |
4690 You can change the shadow thickness of tool bar buttons by setting | |
4691 `tool-bar-button-relief' to an integer. Default is 3. | |
4692 | |
4693 *** Tool-bar clicks with modifiers. | |
4694 | |
4695 You can bind commands to clicks with control, shift, meta etc. on | |
26264 | 4696 a tool bar item. If |
25853 | 4697 |
4698 (define-key global-map [tool-bar shell] | |
4699 '(menu-item "Shell" shell | |
4700 :image (image :type xpm :file "shell.xpm"))) | |
4701 | |
4702 is the original tool bar item definition, then | |
4703 | |
4704 (define-key global-map [tool-bar S-shell] 'some-command) | |
4705 | |
4706 makes a binding to run `some-command' for a shifted click on the same | |
4707 item. | |
4708 | |
4709 ** Mode line changes. | |
4710 | |
4711 *** Mouse-sensitive mode line. | |
4712 | |
4713 The mode line can be made mouse-sensitive by displaying strings there | |
4714 that have a `local-map' text property. There are three ways to display | |
4715 a string with a `local-map' property in the mode line. | |
4716 | |
4717 1. The mode line spec contains a variable whose string value has | |
4718 a `local-map' text property. | |
4719 | |
4720 2. The mode line spec contains a format specifier (e.g. `%12b'), and | |
4721 that format specifier has a `local-map' property. | |
4722 | |
4723 3. The mode line spec contains a list containing `:eval FORM'. FORM | |
4724 is evaluated. If the result is a string, and that string has a | |
4725 `local-map' property. | |
4726 | |
4727 The same mechanism is used to determine the `face' and `help-echo' | |
4728 properties of strings in the mode line. See `bindings.el' for an | |
4729 example. | |
4730 | |
26359
d2970b5d3b72
Add mode line element '(:eval FORM)'.
Gerd Moellmann <gerd@gnu.org>
parents:
26322
diff
changeset
|
4731 *** 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
|
4732 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
|
4733 |
25853 | 4734 *** You can suppress mode-line display by setting the buffer-local |
4735 variable mode-line-format to nil. | |
4736 | |
4737 *** A headerline can now be displayed at the top of a window. | |
4738 | |
4739 This mode line's contents are controlled by the new variable | |
4740 `header-line-format' and `default-header-line-format' which are | |
4741 completely analogous to `mode-line-format' and | |
4742 `default-mode-line-format'. A value of nil means don't display a top | |
4743 line. | |
4744 | |
4745 The appearance of top mode lines is controlled by the face | |
4746 `header-line'. | |
4747 | |
4748 The function `coordinates-in-window-p' returns `header-line' for a | |
4749 position in the header-line. | |
4750 | |
4751 ** Text property `display' | |
4752 | |
31827 | 4753 The `display' text property is used to insert images into text, |
4754 replace text with other text, display text in marginal area, and it is | |
4755 also used to control other aspects of how text displays. The value of | |
4756 the `display' property should be a display specification, as described | |
25853 | 4757 below, or a list or vector containing display specifications. |
4758 | |
31827 | 4759 *** Replacing text, displaying text in marginal areas |
4760 | |
4761 To replace the text having the `display' property with some other | |
4762 text, use a display specification of the form `(LOCATION STRING)'. | |
4763 | |
4764 If LOCATION is `(margin left-margin)', STRING is displayed in the left | |
4765 marginal area, if it is `(margin right-margin)', it is displayed in | |
4766 the right marginal area, and if LOCATION is `(margin nil)' STRING | |
4767 is displayed in the text. In the latter case you can also use the | |
4768 simpler form STRING as property value. | |
4769 | |
25853 | 4770 *** Variable width and height spaces |
4771 | |
4772 To display a space of fractional width or height, use a display | |
4773 specification of the form `(LOCATION STRECH)'. If LOCATION is | |
4774 `(margin left-margin)', the space is displayed in the left marginal | |
4775 area, if it is `(margin right-margin)', it is displayed in the right | |
4776 marginal area, and if LOCATION is `(margin nil)' the space is | |
4777 displayed in the text. In the latter case you can also use the | |
4778 simpler form STRETCH as property value. | |
4779 | |
4780 The stretch specification STRETCH itself is a list of the form `(space | |
4781 PROPS)', where PROPS is a property list which can contain the | |
4782 properties described below. | |
4783 | |
4784 The display of the fractional space replaces the display of the | |
4785 characters having the `display' property. | |
4786 | |
4787 - :width WIDTH | |
4788 | |
4789 Specifies that the space width should be WIDTH times the normal | |
4790 character width. WIDTH can be an integer or floating point number. | |
4791 | |
4792 - :relative-width FACTOR | |
4793 | |
4794 Specifies that the width of the stretch should be computed from the | |
4795 first character in a group of consecutive characters that have the | |
4796 same `display' property. The computation is done by multiplying the | |
4797 width of that character by FACTOR. | |
4798 | |
4799 - :align-to HPOS | |
4800 | |
4801 Specifies that the space should be wide enough to reach HPOS. The | |
4802 value HPOS is measured in units of the normal character width. | |
4803 | |
4804 Exactly one of the above properties should be used. | |
4805 | |
4806 - :height HEIGHT | |
4807 | |
4808 Specifies the height of the space, as HEIGHT, measured in terms of the | |
4809 normal line height. | |
4810 | |
4811 - :relative-height FACTOR | |
4812 | |
4813 The height of the space is computed as the product of the height | |
4814 of the text having the `display' property and FACTOR. | |
4815 | |
4816 - :ascent ASCENT | |
4817 | |
4818 Specifies that ASCENT percent of the height of the stretch should be | |
4819 used for the ascent of the stretch, i.e. for the part above the | |
4820 baseline. The value of ASCENT must be a non-negative number less or | |
4821 equal to 100. | |
4822 | |
4823 You should not use both `:height' and `:relative-height' together. | |
4824 | |
4825 *** Images | |
4826 | |
4827 A display specification for an image has the form `(LOCATION | |
4828 . IMAGE)', where IMAGE is an image specification. The image replaces, | |
4829 in the display, the characters having this display specification in | |
4830 their `display' text property. If LOCATION is `(margin left-margin)', | |
4831 the image will be displayed in the left marginal area, if it is | |
4832 `(margin right-margin)' it will be displayed in the right marginal | |
4833 area, and if LOCATION is `(margin nil)' the image will be displayed in | |
4834 the text. In the latter case you can also use the simpler form IMAGE | |
4835 as display specification. | |
4836 | |
4837 *** Other display properties | |
4838 | |
33499 | 4839 - (space-width FACTOR) |
25853 | 4840 |
4841 Specifies that space characters in the text having that property | |
4842 should be displayed FACTOR times as wide as normal; FACTOR must be an | |
4843 integer or float. | |
4844 | |
33499 | 4845 - (height HEIGHT) |
25853 | 4846 |
4847 Display text having this property in a font that is smaller or larger. | |
4848 | |
4849 If HEIGHT is a list of the form `(+ N)', where N is an integer, that | |
4850 means to use a font that is N steps larger. If HEIGHT is a list of | |
4851 the form `(- N)', that means to use a font that is N steps smaller. A | |
4852 ``step'' is defined by the set of available fonts; each size for which | |
4853 a font is available counts as a step. | |
4854 | |
4855 If HEIGHT is a number, that means to use a font that is HEIGHT times | |
4856 as tall as the frame's default font. | |
4857 | |
4858 If HEIGHT is a symbol, it is called as a function with the current | |
4859 height as argument. The function should return the new height to use. | |
4860 | |
4861 Otherwise, HEIGHT is evaluated to get the new height, with the symbol | |
4862 `height' bound to the current specified font height. | |
4863 | |
33499 | 4864 - (raise FACTOR) |
25853 | 4865 |
4866 FACTOR must be a number, specifying a multiple of the current | |
4867 font's height. If it is positive, that means to display the characters | |
4868 raised. If it is negative, that means to display them lower down. The | |
4869 amount of raising or lowering is computed without taking account of the | |
33499 | 4870 `height' subproperty. |
25853 | 4871 |
4872 *** Conditional display properties | |
4873 | |
4874 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
|
4875 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
|
4876 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
|
4877 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
|
4878 conditional display property; `position' and `buffer-position' are |
f5db16d9b787
Change conditional display property API description.
Gerd Moellmann <gerd@gnu.org>
parents:
38989
diff
changeset
|
4879 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
|
4880 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
|
4881 different when object is a string. |
25853 | 4882 |
4883 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
|
4884 `(when t . SPEC)'. |
25853 | 4885 |
4886 ** New menu separator types. | |
4887 | |
4888 Emacs now supports more than one menu separator type. Menu items with | |
4889 item names consisting of dashes only (including zero dashes) are | |
4890 treated like before. In addition, the following item names are used | |
4891 to specify other menu separator types. | |
4892 | |
4893 - `--no-line' or `--space', or `--:space', or `--:noLine' | |
4894 | |
4895 No separator lines are drawn, but a small space is inserted where the | |
4896 separator occurs. | |
4897 | |
4898 - `--single-line' or `--:singleLine' | |
4899 | |
4900 A single line in the menu's foreground color. | |
4901 | |
4902 - `--double-line' or `--:doubleLine' | |
4903 | |
4904 A double line in the menu's foreground color. | |
4905 | |
4906 - `--single-dashed-line' or `--:singleDashedLine' | |
4907 | |
4908 A single dashed line in the menu's foreground color. | |
4909 | |
4910 - `--double-dashed-line' or `--:doubleDashedLine' | |
4911 | |
4912 A double dashed line in the menu's foreground color. | |
4913 | |
4914 - `--shadow-etched-in' or `--:shadowEtchedIn' | |
4915 | |
35862
9604ca6b3728
More typos from Juanma Barranquero <lektu@uol.com.br>.
Eli Zaretskii <eliz@gnu.org>
parents:
35847
diff
changeset
|
4916 A single line with 3D sunken appearance. This is the form |
25853 | 4917 displayed for item names consisting of dashes only. |
4918 | |
4919 - `--shadow-etched-out' or `--:shadowEtchedOut' | |
4920 | |
4921 A single line with 3D raised appearance. | |
4922 | |
4923 - `--shadow-etched-in-dash' or `--:shadowEtchedInDash' | |
4924 | |
4925 A single dashed line with 3D sunken appearance. | |
4926 | |
4927 - `--shadow-etched-out-dash' or `--:shadowEtchedOutDash' | |
4928 | |
4929 A single dashed line with 3D raise appearance. | |
4930 | |
4931 - `--shadow-double-etched-in' or `--:shadowDoubleEtchedIn' | |
4932 | |
4933 Two lines with 3D sunken appearance. | |
4934 | |
4935 - `--shadow-double-etched-out' or `--:shadowDoubleEtchedOut' | |
4936 | |
4937 Two lines with 3D raised appearance. | |
4938 | |
4939 - `--shadow-double-etched-in-dash' or `--:shadowDoubleEtchedInDash' | |
4940 | |
4941 Two dashed lines with 3D sunken appearance. | |
4942 | |
4943 - `--shadow-double-etched-out-dash' or `--:shadowDoubleEtchedOutDash' | |
4944 | |
4945 Two dashed lines with 3D raised appearance. | |
4946 | |
4947 Under LessTif/Motif, the last four separator types are displayed like | |
4948 the corresponding single-line separators. | |
4949 | |
4950 ** New frame parameters for scroll bar colors. | |
4951 | |
4952 The new frame parameters `scroll-bar-foreground' and | |
4953 `scroll-bar-background' can be used to change scroll bar colors. | |
4954 Their value must be either a color name, a string, or nil to specify | |
4955 that scroll bars should use a default color. For toolkit scroll bars, | |
4956 default colors are toolkit specific. For non-toolkit scroll bars, the | |
4957 default background is the background color of the frame, and the | |
4958 default foreground is black. | |
4959 | |
4960 The X resource name of these parameters are `scrollBarForeground' | |
4961 (class ScrollBarForeground) and `scrollBarBackground' (class | |
4962 `ScrollBarBackground'). | |
4963 | |
4964 Setting these parameters overrides toolkit specific X resource | |
4965 settings for scroll bar colors. | |
4966 | |
4967 ** You can set `redisplay-dont-pause' to a non-nil value to prevent | |
4968 display updates from being interrupted when input is pending. | |
4969 | |
4970 ** Changing a window's width may now change its window start if it | |
4971 starts on a continuation line. The new window start is computed based | |
4972 on the window's new width, starting from the start of the continued | |
4973 line as the start of the screen line with the minimum distance from | |
4974 the original window start. | |
4975 | |
4976 ** The variable `hscroll-step' and the functions | |
4977 `hscroll-point-visible' and `hscroll-window-column' have been removed | |
4978 now that proper horizontal scrolling is implemented. | |
4979 | |
4980 ** Windows can now be made fixed-width and/or fixed-height. | |
4981 | |
4982 A window is fixed-size if its buffer has a buffer-local variable | |
4983 `window-size-fixed' whose value is not nil. A value of `height' makes | |
4984 windows fixed-height, a value of `width' makes them fixed-width, any | |
4985 other non-nil value makes them both fixed-width and fixed-height. | |
4986 | |
4987 The following code makes all windows displaying the current buffer | |
4988 fixed-width and fixed-height. | |
4989 | |
4990 (set (make-local-variable 'window-size-fixed) t) | |
4991 | |
4992 A call to enlarge-window on a window gives an error if that window is | |
4993 fixed-width and it is tried to change the window's width, or if the | |
4994 window is fixed-height, and it is tried to change its height. To | |
4995 change the size of a fixed-size window, bind `window-size-fixed' | |
4996 temporarily to nil, for example | |
4997 | |
4998 (let ((window-size-fixed nil)) | |
4999 (enlarge-window 10)) | |
5000 | |
26264 | 5001 Likewise, an attempt to split a fixed-height window vertically, |
25853 | 5002 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
|
5003 |
e1e48e0663f6
Mention cursor-type support on MS-DOS terminals.
Eli Zaretskii <eliz@gnu.org>
parents:
28063
diff
changeset
|
5004 ** 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
|
5005 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
|
5006 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
|
5007 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
|
5008 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
|
5009 support a vertical-bar cursor). |
30786 | 5010 |
30922 | 5011 |
35577
db5649648a65
Replace formfeeds removed on 2001/01/22.
Dave Love <fx@gnu.org>
parents:
35567
diff
changeset
|
5012 |
30922 | 5013 * Emacs 20.7 is a bug-fix release with few user-visible changes |
5014 | |
5015 ** It is now possible to use CCL-based coding systems for keyboard | |
5016 input. | |
5017 | |
5018 ** ange-ftp now handles FTP security extensions, like Kerberos. | |
5019 | |
5020 ** Rmail has been extended to recognize more forms of digest messages. | |
5021 | |
5022 ** Now, most coding systems set in keyboard coding system work not | |
5023 only for character input, but also in incremental search. The | |
5024 exceptions are such coding systems that handle 2-byte character sets | |
5025 (e.g euc-kr, euc-jp) and that use ISO's escape sequence | |
5026 (e.g. iso-2022-jp). They are ignored in incremental search. | |
5027 | |
5028 ** Support for Macintosh PowerPC-based machines running GNU/Linux has | |
5029 been added. | |
5030 | |
35577
db5649648a65
Replace formfeeds removed on 2001/01/22.
Dave Love <fx@gnu.org>
parents:
35567
diff
changeset
|
5031 |
30922 | 5032 * Emacs 20.6 is a bug-fix release with one user-visible change |
5033 | |
5034 ** Support for ARM-based non-RISCiX machines has been added. | |
5035 | |
35469 | 5036 |
35577
db5649648a65
Replace formfeeds removed on 2001/01/22.
Dave Love <fx@gnu.org>
parents:
35567
diff
changeset
|
5037 |
30922 | 5038 * Emacs 20.5 is a bug-fix release with no user-visible changes. |
5039 | |
5040 ** Not new, but not mentioned before: | |
5041 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
|
5042 |
30922 | 5043 * Changes in Emacs 20.4 |
5044 | |
5045 ** Init file may be called .emacs.el. | |
5046 | |
5047 You can now call the Emacs init file `.emacs.el'. | |
5048 Formerly the name had to be `.emacs'. If you use the name | |
5049 `.emacs.el', you can byte-compile the file in the usual way. | |
5050 | |
5051 If both `.emacs' and `.emacs.el' exist, the latter file | |
5052 is the one that is used. | |
5053 | |
5054 ** shell-command, and shell-command-on-region, now return | |
5055 the exit code of the command (unless it is asynchronous). | |
5056 Also, you can specify a place to put the error output, | |
5057 separate from the command's regular output. | |
5058 Interactively, the variable shell-command-default-error-buffer | |
5059 says where to put error output; set it to a buffer name. | |
5060 In calls from Lisp, an optional argument ERROR-BUFFER specifies | |
5061 the buffer name. | |
5062 | |
5063 When you specify a non-nil error buffer (or buffer name), any error | |
5064 output is inserted before point in that buffer, with \f\n to separate | |
5065 it from the previous batch of error output. The error buffer is not | |
5066 cleared, so error output from successive commands accumulates there. | |
5067 | |
5068 ** Setting the default value of enable-multibyte-characters to nil in | |
5069 the .emacs file, either explicitly using setq-default, or via Custom, | |
5070 is now essentially equivalent to using --unibyte: all buffers | |
5071 created during startup will be made unibyte after loading .emacs. | |
5072 | |
5073 ** C-x C-f now handles the wildcards * and ? in file names. For | |
5074 example, typing C-x C-f c*.c RET visits all the files whose names | |
5075 match c*.c. To visit a file whose name contains * or ?, add the | |
5076 quoting sequence /: to the beginning of the file name. | |
5077 | |
5078 ** The M-x commands keep-lines, flush-lines and count-matches | |
5079 now have the same feature as occur and query-replace: | |
5080 if the pattern contains any upper case letters, then | |
5081 they never ignore case. | |
5082 | |
5083 ** The end-of-line format conversion feature previously mentioned | |
5084 under `* Emacs 20.1 changes for MS-DOS and MS-Windows' actually | |
5085 applies to all operating systems. Emacs recognizes from the contents | |
5086 of a file what convention it uses to separate lines--newline, CRLF, or | |
5087 just CR--and automatically converts the contents to the normal Emacs | |
5088 convention (using newline to separate lines) for editing. This is a | |
5089 part of the general feature of coding system conversion. | |
5090 | |
5091 If you subsequently save the buffer, Emacs converts the text back to | |
5092 the same format that was used in the file before. | |
5093 | |
5094 You can turn off end-of-line conversion by setting the variable | |
5095 `inhibit-eol-conversion' to non-nil, e.g. with Custom in the MULE group. | |
5096 | |
5097 ** The character set property `prefered-coding-system' has been | |
5098 renamed to `preferred-coding-system', for the sake of correct spelling. | |
5099 This is a fairly internal feature, so few programs should be affected. | |
5100 | |
5101 ** Mode-line display of end-of-line format is changed. | |
5102 The indication of the end-of-line format of the file visited by a | |
5103 buffer is now more explicit when that format is not the usual one for | |
5104 your operating system. For example, the DOS-style end-of-line format | |
5105 is displayed as "(DOS)" on Unix and GNU/Linux systems. The usual | |
5106 end-of-line format is still displayed as a single character (colon for | |
5107 Unix, backslash for DOS and Windows, and forward slash for the Mac). | |
5108 | |
5109 The values of the variables eol-mnemonic-unix, eol-mnemonic-dos, | |
5110 eol-mnemonic-mac, and eol-mnemonic-undecided, which are strings, | |
5111 control what is displayed in the mode line for each end-of-line | |
5112 format. You can now customize these variables. | |
5113 | |
5114 ** In the previous version of Emacs, tar-mode didn't work well if a | |
5115 filename contained non-ASCII characters. Now this is fixed. Such a | |
5116 filename is decoded by file-name-coding-system if the default value of | |
5117 enable-multibyte-characters is non-nil. | |
5118 | |
5119 ** The command temp-buffer-resize-mode toggles a minor mode | |
5120 in which temporary buffers (such as help buffers) are given | |
5121 windows just big enough to hold the whole contents. | |
5122 | |
5123 ** If you use completion.el, you must now run the function | |
5124 dynamic-completion-mode to enable it. Just loading the file | |
5125 doesn't have any effect. | |
5126 | |
5127 ** In Flyspell mode, the default is now to make just one Ispell process, | |
5128 not one per buffer. | |
5129 | |
5130 ** If you use iswitchb but do not call (iswitchb-default-keybindings) to | |
5131 use the default keybindings, you will need to add the following line: | |
5132 (add-hook 'minibuffer-setup-hook 'iswitchb-minibuffer-setup) | |
5133 | |
5134 ** Auto-show mode is no longer enabled just by loading auto-show.el. | |
5135 To control it, set `auto-show-mode' via Custom or use the | |
5136 `auto-show-mode' command. | |
5137 | |
5138 ** Handling of X fonts' ascent/descent parameters has been changed to | |
5139 avoid redisplay problems. As a consequence, compared with previous | |
5140 versions the line spacing and frame size now differ with some font | |
5141 choices, typically increasing by a pixel per line. This change | |
5142 occurred in version 20.3 but was not documented then. | |
5143 | |
5144 ** If you select the bar cursor style, it uses the frame's | |
5145 cursor-color, rather than the cursor foreground pixel. | |
5146 | |
5147 ** In multibyte mode, Rmail decodes incoming MIME messages using the | |
5148 character set specified in the message. If you want to disable this | |
5149 feature, set the variable rmail-decode-mime-charset to nil. | |
5150 | |
5151 ** Not new, but not mentioned previously in NEWS: when you use #! at | |
5152 the beginning of a file to make it executable and specify an | |
5153 interpreter program, Emacs looks on the second line for the -*- mode | |
5154 and variable specification, as well as on the first line. | |
5155 | |
5156 ** Support for IBM codepage encoding of non-ASCII characters. | |
5157 | |
5158 The new command M-x codepage-setup creates a special coding system | |
5159 that can be used to convert text between a specific IBM codepage and | |
5160 one of the character sets built into Emacs which matches that | |
5161 codepage. For example, codepage 850 corresponds to Latin-1 character | |
5162 set, codepage 855 corresponds to Cyrillic-ISO character set, etc. | |
5163 | |
5164 Windows codepages 1250, 1251 and some others, where Windows deviates | |
5165 from the corresponding ISO character set, are also supported. | |
5166 | |
5167 IBM box-drawing characters and other glyphs which don't have | |
5168 equivalents in the corresponding ISO character set, are converted to | |
5169 a character defined by dos-unsupported-char-glyph on MS-DOS, and to | |
5170 `?' on other systems. | |
5171 | |
5172 IBM codepages are widely used on MS-DOS and MS-Windows, so this | |
5173 feature is most useful on those platforms, but it can also be used on | |
5174 Unix. | |
5175 | |
5176 Emacs compiled for MS-DOS automatically loads the support for the | |
5177 current codepage when it starts. | |
5178 | |
5179 ** Mail changes | |
5180 | |
5181 *** When mail is sent using compose-mail (C-x m), and if | |
5182 `mail-send-nonascii' is set to the new default value `mime', | |
5183 appropriate MIME headers are added. The headers are added only if | |
5184 non-ASCII characters are present in the body of the mail, and no other | |
5185 MIME headers are already present. For example, the following three | |
5186 headers are added if the coding system used in the *mail* buffer is | |
5187 latin-1: | |
5188 | |
5189 MIME-version: 1.0 | |
5190 Content-type: text/plain; charset=iso-8859-1 | |
5191 Content-Transfer-Encoding: 8bit | |
5192 | |
5193 *** The new variable default-sendmail-coding-system specifies the | |
5194 default way to encode outgoing mail. This has higher priority than | |
5195 default-buffer-file-coding-system but has lower priority than | |
5196 sendmail-coding-system and the local value of | |
5197 buffer-file-coding-system. | |
5198 | |
5199 You should not set this variable manually. Instead, set | |
5200 sendmail-coding-system to specify a fixed encoding for all outgoing | |
5201 mail. | |
5202 | |
5203 *** When you try to send a message that contains non-ASCII characters, | |
5204 if the coding system specified by those variables doesn't handle them, | |
5205 Emacs will ask you to select a suitable coding system while showing a | |
5206 list of possible coding systems. | |
5207 | |
5208 ** CC Mode changes | |
5209 | |
5210 *** c-default-style can now take an association list that maps major | |
5211 modes to style names. When this variable is an alist, Java mode no | |
5212 longer hardcodes a setting to "java" style. See the variable's | |
5213 docstring for details. | |
5214 | |
5215 *** It's now possible to put a list as the offset on a syntactic | |
5216 symbol. The list is evaluated recursively until a non-nil offset is | |
5217 found. This is useful to combine several lineup functions to act in a | |
5218 prioritized order on a single line. However, none of the supplied | |
5219 lineup functions use this feature currently. | |
5220 | |
5221 *** New syntactic symbol catch-clause, which is used on the "catch" and | |
5222 "finally" lines in try-catch constructs in C++ and Java. | |
5223 | |
5224 *** New cleanup brace-catch-brace on c-cleanup-list, which does for | |
5225 "catch" lines what brace-elseif-brace does for "else if" lines. | |
5226 | |
5227 *** The braces of Java anonymous inner classes are treated separately | |
5228 from the braces of other classes in auto-newline mode. Two new | |
5229 symbols inexpr-class-open and inexpr-class-close may be used on | |
5230 c-hanging-braces-alist to control the automatic newlines used for | |
5231 anonymous classes. | |
5232 | |
5233 *** Support for the Pike language added, along with new Pike specific | |
5234 syntactic symbols: inlambda, lambda-intro-cont | |
5235 | |
5236 *** Support for Java anonymous classes via new syntactic symbol | |
5237 inexpr-class. New syntactic symbol inexpr-statement for Pike | |
5238 support and gcc-style statements inside expressions. New lineup | |
5239 function c-lineup-inexpr-block. | |
5240 | |
5241 *** New syntactic symbol brace-entry-open which is used in brace lists | |
5242 (i.e. static initializers) when a list entry starts with an open | |
5243 brace. These used to be recognized as brace-list-entry's. | |
5244 c-electric-brace also recognizes brace-entry-open braces | |
5245 (brace-list-entry's can no longer be electrified). | |
5246 | |
5247 *** New command c-indent-line-or-region, not bound by default. | |
5248 | |
5249 *** `#' is only electric when typed in the indentation of a line. | |
5250 | |
5251 *** Parentheses are now electric (via the new command c-electric-paren) | |
5252 for auto-reindenting lines when parens are typed. | |
5253 | |
5254 *** In "gnu" style, inline-open offset is now set to zero. | |
5255 | |
5256 *** Uniform handling of the inclass syntactic symbol. The indentation | |
5257 associated with it is now always relative to the class opening brace. | |
5258 This means that the indentation behavior has changed in some | |
5259 circumstances, but only if you've put anything besides 0 on the | |
5260 class-open syntactic symbol (none of the default styles do that). | |
5261 | |
5262 ** Gnus changes. | |
5263 | |
5264 *** New functionality for using Gnus as an offline newsreader has been | |
5265 added. A plethora of new commands and modes have been added. See the | |
5266 Gnus manual for the full story. | |
5267 | |
5268 *** The nndraft backend has returned, but works differently than | |
5269 before. All Message buffers are now also articles in the nndraft | |
5270 group, which is created automatically. | |
5271 | |
5272 *** `gnus-alter-header-function' can now be used to alter header | |
5273 values. | |
5274 | |
5275 *** `gnus-summary-goto-article' now accept Message-ID's. | |
5276 | |
5277 *** A new Message command for deleting text in the body of a message | |
5278 outside the region: `C-c C-v'. | |
5279 | |
5280 *** You can now post to component group in nnvirtual groups with | |
5281 `C-u C-c C-c'. | |
5282 | |
5283 *** `nntp-rlogin-program' -- new variable to ease customization. | |
5284 | |
5285 *** `C-u C-c C-c' in `gnus-article-edit-mode' will now inhibit | |
5286 re-highlighting of the article buffer. | |
5287 | |
5288 *** New element in `gnus-boring-article-headers' -- `long-to'. | |
5289 | |
5290 *** `M-i' symbolic prefix command. See the section "Symbolic | |
5291 Prefixes" in the Gnus manual for details. | |
5292 | |
5293 *** `L' and `I' in the summary buffer now take the symbolic prefix | |
5294 `a' to add the score rule to the "all.SCORE" file. | |
5295 | |
5296 *** `gnus-simplify-subject-functions' variable to allow greater | |
5297 control over simplification. | |
5298 | |
5299 *** `A T' -- new command for fetching the current thread. | |
5300 | |
5301 *** `/ T' -- new command for including the current thread in the | |
5302 limit. | |
5303 | |
5304 *** `M-RET' is a new Message command for breaking cited text. | |
5305 | |
5306 *** \\1-expressions are now valid in `nnmail-split-methods'. | |
5307 | |
5308 *** The `custom-face-lookup' function has been removed. | |
5309 If you used this function in your initialization files, you must | |
5310 rewrite them to use `face-spec-set' instead. | |
5311 | |
35680 | 5312 *** Canceling now uses the current select method. Symbolic prefix |
30922 | 5313 `a' forces normal posting method. |
5314 | |
5315 *** New command to translate M******** sm*rtq**t*s into proper text | |
5316 -- `W d'. | |
5317 | |
5318 *** For easier debugging of nntp, you can set `nntp-record-commands' | |
5319 to a non-nil value. | |
5320 | |
5321 *** nntp now uses ~/.authinfo, a .netrc-like file, for controlling | |
5322 where and how to send AUTHINFO to NNTP servers. | |
5323 | |
5324 *** A command for editing group parameters from the summary buffer | |
5325 has been added. | |
5326 | |
5327 *** A history of where mails have been split is available. | |
5328 | |
5329 *** A new article date command has been added -- `article-date-iso8601'. | |
5330 | |
5331 *** Subjects can be simplified when threading by setting | |
5332 `gnus-score-thread-simplify'. | |
5333 | |
5334 *** A new function for citing in Message has been added -- | |
5335 `message-cite-original-without-signature'. | |
5336 | |
5337 *** `article-strip-all-blank-lines' -- new article command. | |
5338 | |
5339 *** A new Message command to kill to the end of the article has | |
5340 been added. | |
5341 | |
5342 *** A minimum adaptive score can be specified by using the | |
5343 `gnus-adaptive-word-minimum' variable. | |
5344 | |
5345 *** The "lapsed date" article header can be kept continually | |
5346 updated by the `gnus-start-date-timer' command. | |
5347 | |
5348 *** Web listserv archives can be read with the nnlistserv backend. | |
5349 | |
5350 *** Old dejanews archives can now be read by nnweb. | |
5351 | |
5352 *** `gnus-posting-styles' has been re-activated. | |
5353 | |
5354 ** Changes to TeX and LaTeX mode | |
5355 | |
5356 *** The new variable `tex-start-options-string' can be used to give | |
5357 options for the TeX run. The default value causes TeX to run in | |
5358 nonstopmode. For an interactive TeX run set it to nil or "". | |
5359 | |
5360 *** The command `tex-feed-input' sends input to the Tex Shell. In a | |
5361 TeX buffer it is bound to the keys C-RET, C-c RET, and C-c C-m (some | |
5362 of these keys may not work on all systems). For instance, if you run | |
5363 TeX interactively and if the TeX run stops because of an error, you | |
5364 can continue it without leaving the TeX buffer by typing C-RET. | |
5365 | |
5366 *** The Tex Shell Buffer is now in `compilation-shell-minor-mode'. | |
5367 All error-parsing commands of the Compilation major mode are available | |
5368 but bound to keys that don't collide with the shell. Thus you can use | |
5369 the Tex Shell for command line executions like a usual shell. | |
5370 | |
5371 *** The commands `tex-validate-region' and `tex-validate-buffer' check | |
5372 the matching of braces and $'s. The errors are listed in a *Occur* | |
5373 buffer and you can use C-c C-c or mouse-2 to go to a particular | |
5374 mismatch. | |
5375 | |
5376 ** Changes to RefTeX mode | |
5377 | |
5378 *** The table of contents buffer can now also display labels and | |
5379 file boundaries in addition to sections. Use `l', `i', and `c' keys. | |
5380 | |
5381 *** Labels derived from context (the section heading) are now | |
5382 lowercase by default. To make the label legal in LaTeX, latin-1 | |
5383 characters will lose their accent. All Mule characters will be | |
5384 removed from the label. | |
5385 | |
5386 *** The automatic display of cross reference information can also use | |
5387 a window instead of the echo area. See variable `reftex-auto-view-crossref'. | |
5388 | |
5389 *** kpsewhich can be used by RefTeX to find TeX and BibTeX files. See the | |
5390 customization group `reftex-finding-files'. | |
5391 | |
5392 *** The option `reftex-bibfile-ignore-list' has been renamed to | |
5393 `reftex-bibfile-ignore-regexps' and indeed can be fed with regular | |
5394 expressions. | |
5395 | |
5396 *** Multiple Selection buffers are now hidden buffers. | |
5397 | |
5398 ** New/deleted modes and packages | |
5399 | |
5400 *** The package snmp-mode.el provides major modes for editing SNMP and | |
5401 SNMPv2 MIBs. It has entries on `auto-mode-alist'. | |
5402 | |
5403 *** The package sql.el provides a major mode, M-x sql-mode, for | |
5404 editing SQL files, and M-x sql-interactive-mode for interacting with | |
5405 SQL interpreters. It has an entry on `auto-mode-alist'. | |
5406 | |
5407 *** M-x highlight-changes-mode provides a minor mode displaying buffer | |
5408 changes with a special face. | |
5409 | |
5410 *** ispell4.el has been deleted. It got in the way of ispell.el and | |
5411 this was hard to fix reliably. It has long been obsolete -- use | |
5412 Ispell 3.1 and ispell.el. | |
35577
db5649648a65
Replace formfeeds removed on 2001/01/22.
Dave Love <fx@gnu.org>
parents:
35567
diff
changeset
|
5413 |
30922 | 5414 * MS-DOS changes in Emacs 20.4 |
5415 | |
5416 ** Emacs compiled for MS-DOS now supports MULE features better. | |
5417 This includes support for display of all ISO 8859-N character sets, | |
5418 conversion to and from IBM codepage encoding of non-ASCII characters, | |
5419 and automatic setup of the MULE environment at startup. For details, | |
5420 check out the section `MS-DOS and MULE' in the manual. | |
5421 | |
5422 The MS-DOS installation procedure automatically configures and builds | |
5423 Emacs with input method support if it finds an unpacked Leim | |
5424 distribution when the config.bat script is run. | |
5425 | |
5426 ** Formerly, the value of lpr-command did not affect printing on | |
5427 MS-DOS unless print-region-function was set to nil, but now it | |
5428 controls whether an external program is invoked or output is written | |
5429 directly to a printer port. Similarly, in the previous version of | |
5430 Emacs, the value of ps-lpr-command did not affect PostScript printing | |
5431 on MS-DOS unless ps-printer-name was set to something other than a | |
5432 string (eg. t or `pipe'), but now it controls whether an external | |
5433 program is used. (These changes were made so that configuration of | |
5434 printing variables would be almost identical across all platforms.) | |
5435 | |
5436 ** In the previous version of Emacs, PostScript and non-PostScript | |
5437 output was piped to external programs, but because most print programs | |
5438 available for MS-DOS and MS-Windows cannot read data from their standard | |
5439 input, on those systems the data to be output is now written to a | |
5440 temporary file whose name is passed as the last argument to the external | |
5441 program. | |
5442 | |
5443 An exception is made for `print', a standard program on Windows NT, | |
5444 and `nprint', a standard program on Novell Netware. For both of these | |
5445 programs, the command line is constructed in the appropriate syntax | |
5446 automatically, using only the value of printer-name or ps-printer-name | |
5447 as appropriate--the value of the relevant `-switches' variable is | |
5448 ignored, as both programs have no useful switches. | |
5449 | |
5450 ** The value of the variable dos-printer (cf. dos-ps-printer), if it has | |
5451 a value, overrides the value of printer-name (cf. ps-printer-name), on | |
5452 MS-DOS and MS-Windows only. This has been true since version 20.3, but | |
5453 was not documented clearly before. | |
5454 | |
5455 ** All the Emacs games now work on MS-DOS terminals. | |
5456 This includes Tetris and Snake. | |
35577
db5649648a65
Replace formfeeds removed on 2001/01/22.
Dave Love <fx@gnu.org>
parents:
35567
diff
changeset
|
5457 |
30922 | 5458 * Lisp changes in Emacs 20.4 |
5459 | |
5460 ** New functions line-beginning-position and line-end-position | |
5461 return the position of the beginning or end of the current line. | |
5462 They both accept an optional argument, which has the same | |
5463 meaning as the argument to beginning-of-line or end-of-line. | |
5464 | |
5465 ** find-file and allied functions now have an optional argument | |
5466 WILDCARD. If this is non-nil, they do wildcard processing, | |
5467 and visit all files that match the wildcard pattern. | |
5468 | |
5469 ** Changes in the file-attributes function. | |
5470 | |
5471 *** The file size returned by file-attributes may be an integer or a float. | |
5472 It is an integer if the size fits in a Lisp integer, float otherwise. | |
5473 | |
5474 *** The inode number returned by file-attributes may be an integer (if | |
5475 the number fits in a Lisp integer) or a cons cell containing two | |
5476 integers. | |
5477 | |
5478 ** The new function directory-files-and-attributes returns a list of | |
5479 files in a directory and their attributes. It accepts the same | |
5480 arguments as directory-files and has similar semantics, except that | |
5481 file names and attributes are returned. | |
5482 | |
5483 ** The new function file-attributes-lessp is a helper function for | |
5484 sorting the list generated by directory-files-and-attributes. It | |
35680 | 5485 accepts two arguments, each a list of a file name and its attributes. |
30922 | 5486 It compares the file names of each according to string-lessp and |
5487 returns the result. | |
5488 | |
5489 ** The new function file-expand-wildcards expands a wildcard-pattern | |
5490 to produce a list of existing files that match the pattern. | |
5491 | |
5492 ** New functions for base64 conversion: | |
5493 | |
5494 The function base64-encode-region converts a part of the buffer | |
5495 into the base64 code used in MIME. base64-decode-region | |
5496 performs the opposite conversion. Line-breaking is supported | |
5497 optionally. | |
5498 | |
5499 Functions base64-encode-string and base64-decode-string do a similar | |
5500 job on the text in a string. They return the value as a new string. | |
5501 | |
5502 ** | |
5503 The new function process-running-child-p | |
5504 will tell you if a subprocess has given control of its | |
5505 terminal to its own child process. | |
5506 | |
5507 ** interrupt-process and such functions have a new feature: | |
5508 when the second argument is `lambda', they send a signal | |
5509 to the running child of the subshell, if any, but if the shell | |
5510 itself owns its terminal, no signal is sent. | |
5511 | |
5512 ** There are new widget types `plist' and `alist' which can | |
5513 be used for customizing variables whose values are plists or alists. | |
5514 | |
5515 ** easymenu.el Now understands `:key-sequence' and `:style button'. | |
5516 :included is an alias for :visible. | |
5517 | |
5518 easy-menu-add-item now understands the values returned by | |
5519 easy-menu-remove-item and easy-menu-item-present-p. This can be used | |
5520 to move or copy menu entries. | |
5521 | |
5522 ** Multibyte editing changes | |
5523 | |
5524 *** The definitions of sref and char-bytes are changed. Now, sref is | |
5525 an alias of aref and char-bytes always returns 1. This change is to | |
5526 make some Emacs Lisp code which works on 20.2 and earlier also | |
5527 work on the latest Emacs. Such code uses a combination of sref and | |
5528 char-bytes in a loop typically as below: | |
5529 (setq char (sref str idx) | |
5530 idx (+ idx (char-bytes idx))) | |
5531 The byte-compiler now warns that this is obsolete. | |
5532 | |
5533 If you want to know how many bytes a specific multibyte character | |
5534 (say, CH) occupies in a multibyte buffer, use this code: | |
5535 (charset-bytes (char-charset ch)) | |
5536 | |
5537 *** In multibyte mode, when you narrow a buffer to some region, and the | |
5538 region is preceded or followed by non-ASCII codes, inserting or | |
5539 deleting at the head or the end of the region may signal this error: | |
5540 | |
35680 | 5541 Byte combining across boundary of accessible buffer text inhibited |
30922 | 5542 |
5543 This is to avoid some bytes being combined together into a character | |
5544 across the boundary. | |
5545 | |
5546 *** The functions find-charset-region and find-charset-string include | |
5547 `unknown' in the returned list in the following cases: | |
5548 o The current buffer or the target string is unibyte and | |
5549 contains 8-bit characters. | |
5550 o The current buffer or the target string is multibyte and | |
5551 contains invalid characters. | |
5552 | |
5553 *** The functions decode-coding-region and encode-coding-region remove | |
5554 text properties of the target region. Ideally, they should correctly | |
5555 preserve text properties, but for the moment, it's hard. Removing | |
5556 text properties is better than preserving them in a less-than-correct | |
5557 way. | |
5558 | |
5559 *** prefer-coding-system sets EOL conversion of default coding systems. | |
5560 If the argument to prefer-coding-system specifies a certain type of | |
5561 end of line conversion, the default coding systems set by | |
5562 prefer-coding-system will specify that conversion type for end of line. | |
5563 | |
5564 *** The new function thai-compose-string can be used to properly | |
5565 compose Thai characters in a string. | |
5566 | |
5567 ** The primitive `define-prefix-command' now takes an optional third | |
5568 argument NAME, which should be a string. It supplies the menu name | |
5569 for the created keymap. Keymaps created in order to be displayed as | |
5570 menus should always use the third argument. | |
5571 | |
5572 ** The meanings of optional second arguments for read-char, | |
5573 read-event, and read-char-exclusive are flipped. Now the second | |
5574 arguments are INHERIT-INPUT-METHOD. These functions use the current | |
5575 input method (if any) if and only if INHERIT-INPUT-METHOD is non-nil. | |
5576 | |
5577 ** The new function clear-this-command-keys empties out the contents | |
5578 of the vector that (this-command-keys) returns. This is useful in | |
5579 programs that read passwords, to prevent the passwords from echoing | |
5580 inadvertently as part of the next command in certain cases. | |
5581 | |
5582 ** The new macro `with-temp-message' displays a temporary message in | |
5583 the echo area, while executing some Lisp code. Like `progn', it | |
5584 returns the value of the last form, but it also restores the previous | |
5585 echo area contents. | |
5586 | |
5587 (with-temp-message MESSAGE &rest BODY) | |
5588 | |
5589 ** The function `require' now takes an optional third argument | |
5590 NOERROR. If it is non-nil, then there is no error if the | |
5591 requested feature cannot be loaded. | |
5592 | |
5593 ** In the function modify-face, an argument of (nil) for the | |
5594 foreground color, background color or stipple pattern | |
5595 means to clear out that attribute. | |
5596 | |
5597 ** The `outer-window-id' frame property of an X frame | |
5598 gives the window number of the outermost X window for the frame. | |
5599 | |
5600 ** Temporary buffers made with with-output-to-temp-buffer are now | |
5601 read-only by default, and normally use the major mode Help mode | |
5602 unless you put them in some other non-Fundamental mode before the | |
5603 end of with-output-to-temp-buffer. | |
5604 | |
5605 ** The new functions gap-position and gap-size return information on | |
5606 the gap of the current buffer. | |
5607 | |
5608 ** The new functions position-bytes and byte-to-position provide a way | |
5609 to convert between character positions and byte positions in the | |
5610 current buffer. | |
5611 | |
5612 ** vc.el defines two new macros, `edit-vc-file' and `with-vc-file', to | |
5613 facilitate working with version-controlled files from Lisp programs. | |
5614 These macros check out a given file automatically if needed, and check | |
5615 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
|
5616 |
30922 | 5617 * Installation Changes in Emacs 20.3 |
5618 | |
5619 ** The default value of load-path now includes most subdirectories of | |
5620 the site-specific directories /usr/local/share/emacs/site-lisp and | |
5621 /usr/local/share/emacs/VERSION/site-lisp, in addition to those | |
5622 directories themselves. Both immediate subdirectories and | |
5623 subdirectories multiple levels down are added to load-path. | |
5624 | |
5625 Not all subdirectories are included, though. Subdirectories whose | |
5626 names do not start with a letter or digit are excluded. | |
5627 Subdirectories named RCS or CVS are excluded. Also, a subdirectory | |
5628 which contains a file named `.nosearch' is excluded. You can use | |
5629 these methods to prevent certain subdirectories from being searched. | |
5630 | |
5631 Emacs finds these subdirectories and adds them to load-path when it | |
5632 starts up. While it would be cleaner to find the subdirectories each | |
5633 time Emacs loads a file, that would be much slower. | |
5634 | |
5635 This feature is an incompatible change. If you have stored some Emacs | |
5636 Lisp files in a subdirectory of the site-lisp directory specifically | |
5637 to prevent them from being used, you will need to rename the | |
5638 subdirectory to start with a non-alphanumeric character, or create a | |
5639 `.nosearch' file in it, in order to continue to achieve the desired | |
5640 results. | |
5641 | |
5642 ** Emacs no longer includes an old version of the C preprocessor from | |
5643 GCC. This was formerly used to help compile Emacs with C compilers | |
5644 that had limits on the significant length of an identifier, but in | |
5645 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
|
5646 |
30922 | 5647 * Changes in Emacs 20.3 |
5648 | |
5649 ** The new command C-x z (repeat) repeats the previous command | |
5650 including its argument. If you repeat the z afterward, | |
5651 it repeats the command additional times; thus, you can | |
5652 perform many repetitions with one keystroke per repetition. | |
5653 | |
5654 ** Emacs now supports "selective undo" which undoes only within a | |
5655 specified region. To do this, set point and mark around the desired | |
5656 region and type C-u C-x u (or C-u C-_). You can then continue undoing | |
5657 further, within the same region, by repeating the ordinary undo | |
5658 command C-x u or C-_. This will keep undoing changes that were made | |
5659 within the region you originally specified, until either all of them | |
5660 are undone, or it encounters a change which crosses the edge of that | |
5661 region. | |
5662 | |
5663 In Transient Mark mode, undoing when a region is active requests | |
5664 selective undo. | |
5665 | |
5666 ** If you specify --unibyte when starting Emacs, then all buffers are | |
5667 unibyte, except when a Lisp program specifically creates a multibyte | |
5668 buffer. Setting the environment variable EMACS_UNIBYTE has the same | |
5669 effect. The --no-unibyte option overrides EMACS_UNIBYTE and directs | |
5670 Emacs to run normally in multibyte mode. | |
5671 | |
5672 The option --unibyte does not affect the reading of Emacs Lisp files, | |
5673 though. If you want a Lisp file to be read in unibyte mode, use | |
5674 -*-unibyte: t;-*- on its first line. That will force Emacs to | |
5675 load that file in unibyte mode, regardless of how Emacs was started. | |
5676 | |
5677 ** toggle-enable-multibyte-characters no longer has a key binding and | |
5678 no longer appears in the menu bar. We've realized that changing the | |
5679 enable-multibyte-characters variable in an existing buffer is | |
5680 something that most users not do. | |
5681 | |
5682 ** You can specify a coding system to use for the next cut or paste | |
5683 operations through the window system with the command C-x RET X. | |
5684 The coding system can make a difference for communication with other | |
5685 applications. | |
5686 | |
5687 C-x RET x specifies a coding system for all subsequent cutting and | |
5688 pasting operations. | |
5689 | |
5690 ** You can specify the printer to use for commands that do printing by | |
5691 setting the variable `printer-name'. Just what a printer name looks | |
5692 like depends on your operating system. You can specify a different | |
5693 printer for the Postscript printing commands by setting | |
5694 `ps-printer-name'. | |
5695 | |
5696 ** Emacs now supports on-the-fly spell checking by the means of a | |
5697 minor mode. It is called M-x flyspell-mode. You don't have to remember | |
5698 any other special commands to use it, and you will hardly notice it | |
5699 except when you make a spelling error. Flyspell works by highlighting | |
5700 incorrect words as soon as they are completed or as soon as the cursor | |
5701 hits a new word. | |
5702 | |
5703 Flyspell mode works with whichever dictionary you have selected for | |
5704 Ispell in Emacs. In TeX mode, it understands TeX syntax so as not | |
5705 to be confused by TeX commands. | |
5706 | |
5707 You can correct a misspelled word by editing it into something | |
5708 correct. You can also correct it, or accept it as correct, by | |
5709 clicking on the word with Mouse-2; that gives you a pop-up menu | |
5710 of various alternative replacements and actions. | |
5711 | |
5712 Flyspell mode also proposes "automatic" corrections. M-TAB replaces | |
5713 the current misspelled word with a possible correction. If several | |
5714 corrections are made possible, M-TAB cycles through them in | |
5715 alphabetical order, or in order of decreasing likelihood if | |
5716 flyspell-sort-corrections is nil. | |
5717 | |
5718 Flyspell mode also flags an error when a word is repeated, if | |
5719 flyspell-mark-duplications-flag is non-nil. | |
5720 | |
5721 ** Changes in input method usage. | |
5722 | |
5723 Now you can use arrow keys (right, left, down, up) for selecting among | |
5724 the alternatives just the same way as you do by C-f, C-b, C-n, and C-p | |
5725 respectively. | |
5726 | |
5727 You can use the ENTER key to accept the current conversion. | |
5728 | |
5729 If you type TAB to display a list of alternatives, you can select one | |
5730 of the alternatives with Mouse-2. | |
5731 | |
5732 The meaning of the variable `input-method-verbose-flag' is changed so | |
5733 that you can set it to t, nil, `default', or `complex-only'. | |
5734 | |
5735 If the value is nil, extra guidance is never given. | |
5736 | |
5737 If the value is t, extra guidance is always given. | |
5738 | |
5739 If the value is `complex-only', extra guidance is always given only | |
5740 when you are using complex input methods such as chinese-py. | |
5741 | |
5742 If the value is `default' (this is the default), extra guidance is | |
5743 given in the following case: | |
5744 o When you are using a complex input method. | |
5745 o When you are using a simple input method but not in the minibuffer. | |
5746 | |
5747 If you are using Emacs through a very slow line, setting | |
5748 input-method-verbose-flag to nil or to complex-only is a good choice, | |
5749 and if you are using an input method you are not familiar with, | |
5750 setting it to t is helpful. | |
5751 | |
5752 The old command select-input-method is now called set-input-method. | |
5753 | |
5754 In the language environment "Korean", you can use the following | |
5755 keys: | |
5756 Shift-SPC toggle-korean-input-method | |
5757 C-F9 quail-hangul-switch-symbol-ksc | |
5758 F9 quail-hangul-switch-hanja | |
5759 These key bindings are canceled when you switch to another language | |
5760 environment. | |
5761 | |
5762 ** The minibuffer history of file names now records the specified file | |
5763 names, not the entire minibuffer input. For example, if the | |
5764 minibuffer starts out with /usr/foo/, you might type in /etc/passwd to | |
5765 get | |
5766 | |
5767 /usr/foo//etc/passwd | |
5768 | |
5769 which stands for the file /etc/passwd. | |
5770 | |
5771 Formerly, this used to put /usr/foo//etc/passwd in the history list. | |
5772 Now this puts just /etc/passwd in the history list. | |
5773 | |
5774 ** If you are root, Emacs sets backup-by-copying-when-mismatch to t | |
5775 at startup, so that saving a file will be sure to preserve | |
5776 its owner and group. | |
5777 | |
5778 ** find-func.el can now also find the place of definition of Emacs | |
5779 Lisp variables in user-loaded libraries. | |
5780 | |
5781 ** C-x r t (string-rectangle) now deletes the existing rectangle | |
5782 contents before inserting the specified string on each line. | |
5783 | |
5784 ** There is a new command delete-whitespace-rectangle | |
5785 which deletes whitespace starting from a particular column | |
5786 in all the lines on a rectangle. The column is specified | |
5787 by the left edge of the rectangle. | |
5788 | |
5789 ** You can now store a number into a register with C-u NUMBER C-x r n REG, | |
5790 increment it by INC with C-u INC C-x r + REG (to increment by one, omit | |
5791 C-u INC), and insert it in the buffer with C-x r g REG. This is useful | |
5792 for writing keyboard macros. | |
5793 | |
5794 ** The new command M-x speedbar displays a frame in which directories, | |
5795 files, and tags can be displayed, manipulated, and jumped to. The | |
5796 frame defaults to 20 characters in width, and is the same height as | |
5797 the frame that it was started from. Some major modes define | |
5798 additional commands for the speedbar, including Rmail, GUD/GDB, and | |
5799 info. | |
5800 | |
5801 ** query-replace-regexp is now bound to C-M-%. | |
5802 | |
5803 ** In Transient Mark mode, when the region is active, M-x | |
5804 query-replace and the other replace commands now operate on the region | |
5805 contents only. | |
5806 | |
5807 ** M-x write-region, when used interactively, now asks for | |
5808 confirmation before overwriting an existing file. When you call | |
5809 the function from a Lisp program, a new optional argument CONFIRM | |
5810 says whether to ask for confirmation in this case. | |
5811 | |
5812 ** If you use find-file-literally and the file is already visited | |
5813 non-literally, the command asks you whether to revisit the file | |
5814 literally. If you say no, it signals an error. | |
5815 | |
5816 ** Major modes defined with the "derived mode" feature | |
5817 now use the proper name for the mode hook: WHATEVER-mode-hook. | |
5818 Formerly they used the name WHATEVER-mode-hooks, but that is | |
5819 inconsistent with Emacs conventions. | |
5820 | |
5821 ** shell-command-on-region (and shell-command) reports success or | |
5822 failure if the command produces no output. | |
5823 | |
5824 ** Set focus-follows-mouse to nil if your window system or window | |
5825 manager does not transfer focus to another window when you just move | |
5826 the mouse. | |
5827 | |
5828 ** mouse-menu-buffer-maxlen has been renamed to | |
5829 mouse-buffer-menu-maxlen to be consistent with the other related | |
5830 function and variable names. | |
5831 | |
5832 ** The new variable auto-coding-alist specifies coding systems for | |
5833 reading specific files. This has higher priority than | |
5834 file-coding-system-alist. | |
5835 | |
5836 ** If you set the variable unibyte-display-via-language-environment to | |
5837 t, then Emacs displays non-ASCII characters are displayed by | |
5838 converting them to the equivalent multibyte characters according to | |
5839 the current language environment. As a result, they are displayed | |
5840 according to the current fontset. | |
5841 | |
5842 ** C-q's handling of codes in the range 0200 through 0377 is changed. | |
5843 | |
5844 The codes in the range 0200 through 0237 are inserted as one byte of | |
5845 that code regardless of the values of nonascii-translation-table and | |
5846 nonascii-insert-offset. | |
5847 | |
5848 For the codes in the range 0240 through 0377, if | |
5849 enable-multibyte-characters is non-nil and nonascii-translation-table | |
5850 nor nonascii-insert-offset can't convert them to valid multibyte | |
5851 characters, they are converted to Latin-1 characters. | |
5852 | |
5853 ** If you try to find a file that is not read-accessible, you now get | |
5854 an error, rather than an empty buffer and a warning. | |
5855 | |
5856 ** In the minibuffer history commands M-r and M-s, an upper case | |
5857 letter in the regular expression forces case-sensitive search. | |
5858 | |
5859 ** In the *Help* buffer, cross-references to commands and variables | |
5860 are inferred and hyperlinked. Use C-h m in Help mode for the relevant | |
5861 command keys. | |
5862 | |
5863 ** M-x apropos-command, with a prefix argument, no longer looks for | |
5864 user option variables--instead it looks for noninteractive functions. | |
5865 | |
5866 Meanwhile, the command apropos-variable normally searches for | |
5867 user option variables; with a prefix argument, it looks at | |
5868 all variables that have documentation. | |
5869 | |
5870 ** When you type a long line in the minibuffer, and the minibuffer | |
5871 shows just one line, automatically scrolling works in a special way | |
5872 that shows you overlap with the previous line of text. The variable | |
5873 minibuffer-scroll-overlap controls how many characters of overlap | |
5874 it should show; the default is 20. | |
5875 | |
5876 Meanwhile, Resize Minibuffer mode is still available; in that mode, | |
5877 the minibuffer grows taller (up to a point) as needed to show the whole | |
5878 of your input. | |
5879 | |
5880 ** The new command M-x customize-changed-options lets you customize | |
5881 all the options whose meanings or default values have changed in | |
5882 recent Emacs versions. You specify a previous Emacs version number as | |
5883 argument, and the command creates a customization buffer showing all | |
5884 the customizable options which were changed since that version. | |
5885 Newly added options are included as well. | |
5886 | |
5887 If you don't specify a particular version number argument, | |
5888 then the customization buffer shows all the customizable options | |
5889 for which Emacs versions of changes are recorded. | |
5890 | |
5891 This function is also bound to the Changed Options entry in the | |
5892 Customize menu. | |
5893 | |
5894 ** When you run M-x grep with a prefix argument, it figures out | |
5895 the tag around point and puts that into the default grep command. | |
5896 | |
5897 ** The new command M-* (pop-tag-mark) pops back through a history of | |
5898 buffer positions from which M-. or other tag-finding commands were | |
5899 invoked. | |
5900 | |
5901 ** The new variable comment-padding specifies the number of spaces | |
5902 that `comment-region' will insert before the actual text of the comment. | |
5903 The default is 1. | |
5904 | |
5905 ** In Fortran mode the characters `.', `_' and `$' now have symbol | |
5906 syntax, not word syntax. Fortran mode now supports `imenu' and has | |
5907 new commands fortran-join-line (M-^) and fortran-narrow-to-subprogram | |
5908 (C-x n d). M-q can be used to fill a statement or comment block | |
5909 sensibly. | |
5910 | |
5911 ** GUD now supports jdb, the Java debugger, and pdb, the Python debugger. | |
5912 | |
5913 ** If you set the variable add-log-keep-changes-together to a non-nil | |
5914 value, the command `C-x 4 a' will automatically notice when you make | |
5915 two entries in one day for one file, and combine them. | |
5916 | |
5917 ** You can use the command M-x diary-mail-entries to mail yourself a | |
5918 reminder about upcoming diary entries. See the documentation string | |
5919 for a sample shell script for calling this function automatically | |
5920 every night. | |
5921 | |
5922 ** Desktop changes | |
5923 | |
5924 *** All you need to do to enable use of the Desktop package, is to set | |
5925 the variable desktop-enable to t with Custom. | |
5926 | |
5927 *** Minor modes are now restored. Which minor modes are restored | |
5928 and how modes are restored is controlled by `desktop-minor-mode-table'. | |
5929 | |
5930 ** There is no need to do anything special, now, to enable Gnus to | |
5931 read and post multi-lingual articles. | |
5932 | |
5933 ** Outline mode has now support for showing hidden outlines when | |
5934 doing an isearch. In order for this to happen search-invisible should | |
5935 be set to open (the default). If an isearch match is inside a hidden | |
5936 outline the outline is made visible. If you continue pressing C-s and | |
5937 the match moves outside the formerly invisible outline, the outline is | |
5938 made invisible again. | |
5939 | |
5940 ** Mail reading and sending changes | |
5941 | |
5942 *** The Rmail e command now switches to displaying the whole header of | |
5943 the message before it lets you edit the message. This is so that any | |
5944 changes you make in the header will not be lost if you subsequently | |
5945 toggle. | |
5946 | |
5947 *** The w command in Rmail, which writes the message body into a file, | |
5948 now works in the summary buffer as well. (The command to delete the | |
5949 summary buffer is now Q.) The default file name for the w command, if | |
5950 the message has no subject, is stored in the variable | |
5951 rmail-default-body-file. | |
5952 | |
5953 *** Most of the commands and modes that operate on mail and netnews no | |
5954 longer depend on the value of mail-header-separator. Instead, they | |
5955 handle whatever separator the buffer happens to use. | |
5956 | |
5957 *** If you set mail-signature to a value which is not t, nil, or a string, | |
5958 it should be an expression. When you send a message, this expression | |
5959 is evaluated to insert the signature. | |
5960 | |
5961 *** The new Lisp library feedmail.el (version 8) enhances processing of | |
5962 outbound email messages. It works in coordination with other email | |
5963 handling packages (e.g., rmail, VM, gnus) and is responsible for | |
5964 putting final touches on messages and actually submitting them for | |
5965 transmission. Users of the emacs program "fakemail" might be | |
5966 especially interested in trying feedmail. | |
5967 | |
5968 feedmail is not enabled by default. See comments at the top of | |
5969 feedmail.el for set-up instructions. Among the bigger features | |
5970 provided by feedmail are: | |
5971 | |
5972 **** you can park outgoing messages into a disk-based queue and | |
5973 stimulate sending some or all of them later (handy for laptop users); | |
5974 there is also a queue for draft messages | |
5975 | |
5976 **** you can get one last look at the prepped outbound message and | |
5977 be prompted for confirmation | |
5978 | |
5979 **** does smart filling of address headers | |
5980 | |
5981 **** can generate a MESSAGE-ID: line and a DATE: line; the date can be | |
5982 the time the message was written or the time it is being sent; this | |
5983 can make FCC copies more closely resemble copies that recipients get | |
5984 | |
5985 **** you can specify an arbitrary function for actually transmitting | |
5986 the message; included in feedmail are interfaces for /bin/[r]mail, | |
5987 /usr/lib/sendmail, and elisp smtpmail; it's easy to write a new | |
5988 function for something else (10-20 lines of elisp) | |
5989 | |
5990 ** Dired changes | |
5991 | |
5992 *** The Dired function dired-do-toggle, which toggles marked and unmarked | |
5993 files, is now bound to "t" instead of "T". | |
5994 | |
5995 *** dired-at-point has been added to ffap.el. It allows one to easily | |
5996 run Dired on the directory name at point. | |
5997 | |
5998 *** Dired has a new command: %g. It searches the contents of | |
5999 files in the directory and marks each file that contains a match | |
6000 for a specified regexp. | |
6001 | |
6002 ** VC Changes | |
6003 | |
6004 *** New option vc-ignore-vc-files lets you turn off version control | |
6005 conveniently. | |
6006 | |
6007 *** VC Dired has been completely rewritten. It is now much | |
6008 faster, especially for CVS, and works very similar to ordinary | |
6009 Dired. | |
6010 | |
6011 VC Dired is invoked by typing C-x v d and entering the name of the | |
6012 directory to display. By default, VC Dired gives you a recursive | |
6013 listing of all files at or below the given directory which are | |
6014 currently locked (for CVS, all files not up-to-date are shown). | |
6015 | |
6016 You can change the listing format by setting vc-dired-recurse to nil, | |
6017 then it shows only the given directory, and you may also set | |
6018 vc-dired-terse-display to nil, then it shows all files under version | |
6019 control plus the names of any subdirectories, so that you can type `i' | |
6020 on such lines to insert them manually, as in ordinary Dired. | |
6021 | |
6022 All Dired commands operate normally in VC Dired, except for `v', which | |
6023 is redefined as the version control prefix. That means you may type | |
6024 `v l', `v =' etc. to invoke `vc-print-log', `vc-diff' and the like on | |
6025 the file named in the current Dired buffer line. `v v' invokes | |
6026 `vc-next-action' on this file, or on all files currently marked. | |
6027 | |
6028 The new command `v t' (vc-dired-toggle-terse-mode) allows you to | |
6029 toggle between terse display (only locked files) and full display (all | |
6030 VC files plus subdirectories). There is also a special command, | |
6031 `* l', to mark all files currently locked. | |
6032 | |
6033 Giving a prefix argument to C-x v d now does the same thing as in | |
6034 ordinary Dired: it allows you to supply additional options for the ls | |
6035 command in the minibuffer, to fine-tune VC Dired's output. | |
6036 | |
6037 *** Under CVS, if you merge changes from the repository into a working | |
6038 file, and CVS detects conflicts, VC now offers to start an ediff | |
6039 session to resolve them. | |
6040 | |
6041 Alternatively, you can use the new command `vc-resolve-conflicts' to | |
6042 resolve conflicts in a file at any time. It works in any buffer that | |
6043 contains conflict markers as generated by rcsmerge (which is what CVS | |
6044 uses as well). | |
6045 | |
6046 *** You can now transfer changes between branches, using the new | |
6047 command vc-merge (C-x v m). It is implemented for RCS and CVS. When | |
6048 you invoke it in a buffer under version-control, you can specify | |
6049 either an entire branch or a pair of versions, and the changes on that | |
6050 branch or between the two versions are merged into the working file. | |
6051 If this results in any conflicts, they may be resolved interactively, | |
6052 using ediff. | |
6053 | |
6054 ** Changes in Font Lock | |
6055 | |
6056 *** The face and variable previously known as font-lock-reference-face | |
6057 are now called font-lock-constant-face to better reflect their typical | |
6058 use for highlighting constants and labels. (Its face properties are | |
6059 unchanged.) The variable font-lock-reference-face remains for now for | |
6060 compatibility reasons, but its value is font-lock-constant-face. | |
6061 | |
6062 ** Frame name display changes | |
6063 | |
6064 *** The command set-frame-name lets you set the name of the current | |
6065 frame. You can use the new command select-frame-by-name to select and | |
6066 raise a frame; this is mostly useful on character-only terminals, or | |
6067 when many frames are invisible or iconified. | |
6068 | |
6069 *** On character-only terminal (not a window system), changing the | |
6070 frame name is now reflected on the mode line and in the Buffers/Frames | |
6071 menu. | |
6072 | |
6073 ** Comint (subshell) changes | |
6074 | |
6075 *** In Comint modes, the commands to kill, stop or interrupt a | |
6076 subjob now also kill pending input. This is for compatibility | |
6077 with ordinary shells, where the signal characters do this. | |
6078 | |
6079 *** There are new commands in Comint mode. | |
6080 | |
6081 C-c C-x fetches the "next" line from the input history; | |
6082 that is, the line after the last line you got. | |
6083 You can use this command to fetch successive lines, one by one. | |
6084 | |
6085 C-c SPC accumulates lines of input. More precisely, it arranges to | |
6086 send the current line together with the following line, when you send | |
6087 the following line. | |
6088 | |
6089 C-c C-a if repeated twice consecutively now moves to the process mark, | |
6090 which separates the pending input from the subprocess output and the | |
6091 previously sent input. | |
6092 | |
6093 C-c M-r now runs comint-previous-matching-input-from-input; | |
6094 it searches for a previous command, using the current pending input | |
6095 as the search string. | |
6096 | |
6097 *** New option compilation-scroll-output can be set to scroll | |
6098 automatically in compilation-mode windows. | |
6099 | |
6100 ** C mode changes | |
6101 | |
6102 *** Multiline macros are now handled, both as they affect indentation, | |
6103 and as recognized syntax. New syntactic symbol cpp-macro-cont is | |
6104 assigned to second and subsequent lines of a multiline macro | |
6105 definition. | |
6106 | |
6107 *** A new style "user" which captures all non-hook-ified | |
6108 (i.e. top-level) .emacs file variable settings and customizations. | |
6109 Style "cc-mode" is an alias for "user" and is deprecated. "gnu" | |
6110 style is still the default however. | |
6111 | |
6112 *** "java" style now conforms to Sun's JDK coding style. | |
6113 | |
6114 *** There are new commands c-beginning-of-defun, c-end-of-defun which | |
6115 are alternatives which you could bind to C-M-a and C-M-e if you prefer | |
6116 them. They do not have key bindings by default. | |
6117 | |
6118 *** New and improved implementations of M-a (c-beginning-of-statement) | |
6119 and M-e (c-end-of-statement). | |
6120 | |
6121 *** C++ namespace blocks are supported, with new syntactic symbols | |
6122 namespace-open, namespace-close, and innamespace. | |
6123 | |
6124 *** File local variable settings of c-file-style and c-file-offsets | |
6125 makes the style variables local to that buffer only. | |
6126 | |
6127 *** New indentation functions c-lineup-close-paren, | |
6128 c-indent-one-line-block, c-lineup-dont-change. | |
6129 | |
6130 *** Improvements (hopefully!) to the way CC Mode is loaded. You | |
6131 should now be able to do a (require 'cc-mode) to get the entire | |
6132 package loaded properly for customization in your .emacs file. A new | |
6133 variable c-initialize-on-load controls this and is t by default. | |
6134 | |
6135 ** Changes to hippie-expand. | |
6136 | |
6137 *** New customization variable `hippie-expand-dabbrev-skip-space'. If | |
6138 non-nil, trailing spaces may be included in the abbreviation to search for, | |
6139 which then gives the same behavior as the original `dabbrev-expand'. | |
6140 | |
6141 *** New customization variable `hippie-expand-dabbrev-as-symbol'. If | |
6142 non-nil, characters of syntax '_' is considered part of the word when | |
6143 expanding dynamically. | |
6144 | |
6145 *** New customization variable `hippie-expand-no-restriction'. If | |
6146 non-nil, narrowed buffers are widened before they are searched. | |
6147 | |
6148 *** New customization variable `hippie-expand-only-buffers'. If | |
6149 non-empty, buffers searched are restricted to the types specified in | |
6150 this list. Useful for example when constructing new special-purpose | |
6151 expansion functions with `make-hippie-expand-function'. | |
6152 | |
6153 *** Text properties of the expansion are no longer copied. | |
6154 | |
6155 ** Changes in BibTeX mode. | |
6156 | |
6157 *** Any titleword matching a regexp in the new variable | |
6158 bibtex-autokey-titleword-ignore (case sensitive) is ignored during | |
6159 automatic key generation. This replaces variable | |
6160 bibtex-autokey-titleword-first-ignore, which only checked for matches | |
6161 against the first word in the title. | |
6162 | |
6163 *** Autokey generation now uses all words from the title, not just | |
6164 capitalized words. To avoid conflicts with existing customizations, | |
6165 bibtex-autokey-titleword-ignore is set up such that words starting with | |
6166 lowerkey characters will still be ignored. Thus, if you want to use | |
6167 lowercase words from the title, you will have to overwrite the | |
6168 bibtex-autokey-titleword-ignore standard setting. | |
6169 | |
6170 *** Case conversion of names and title words for automatic key | |
6171 generation is more flexible. Variable bibtex-autokey-preserve-case is | |
6172 replaced by bibtex-autokey-titleword-case-convert and | |
6173 bibtex-autokey-name-case-convert. | |
6174 | |
6175 ** Changes in vcursor.el. | |
6176 | |
6177 *** Support for character terminals is available: there is a new keymap | |
6178 and the vcursor will appear as an arrow between buffer text. A | |
6179 variable `vcursor-interpret-input' allows input from the vcursor to be | |
6180 entered exactly as if typed. Numerous functions, including | |
6181 `vcursor-compare-windows', have been rewritten to improve consistency | |
6182 in the selection of windows and corresponding keymaps. | |
6183 | |
6184 *** vcursor options can now be altered with M-x customize under the | |
6185 Editing group once the package is loaded. | |
6186 | |
6187 *** Loading vcursor now does not define keys by default, as this is | |
6188 generally a bad side effect. Use M-x customize to set | |
35680 | 6189 vcursor-key-bindings to t to restore the old behavior. |
30922 | 6190 |
6191 *** vcursor-auto-disable can be `copy', which turns off copying from the | |
6192 vcursor, but doesn't disable it, after any non-vcursor command. | |
6193 | |
6194 ** Ispell changes. | |
6195 | |
6196 *** You can now spell check comments and strings in the current | |
6197 buffer with M-x ispell-comments-and-strings. Comments and strings | |
6198 are identified by syntax tables in effect. | |
6199 | |
6200 *** Generic region skipping implemented. | |
6201 A single buffer can be broken into a number of regions where text will | |
6202 and will not be checked. The definitions of the regions can be user | |
6203 defined. New applications and improvements made available by this | |
6204 include: | |
6205 | |
6206 o URLs are automatically skipped | |
6207 o EMail message checking is vastly improved. | |
6208 | |
6209 *** Ispell can highlight the erroneous word even on non-window terminals. | |
6210 | |
6211 ** Changes to RefTeX mode | |
6212 | |
6213 RefTeX has been updated in order to make it more usable with very | |
6214 large projects (like a several volume math book). The parser has been | |
6215 re-written from scratch. To get maximum speed from RefTeX, check the | |
6216 section `Optimizations' in the manual. | |
6217 | |
6218 *** New recursive parser. | |
6219 | |
6220 The old version of RefTeX created a single large buffer containing the | |
6221 entire multifile document in order to parse the document. The new | |
6222 recursive parser scans the individual files. | |
6223 | |
6224 *** Parsing only part of a document. | |
6225 | |
6226 Reparsing of changed document parts can now be made faster by enabling | |
6227 partial scans. To use this feature, read the documentation string of | |
6228 the variable `reftex-enable-partial-scans' and set the variable to t. | |
6229 | |
6230 (setq reftex-enable-partial-scans t) | |
6231 | |
6232 *** Storing parsing information in a file. | |
6233 | |
6234 This can improve startup times considerably. To turn it on, use | |
6235 | |
6236 (setq reftex-save-parse-info t) | |
6237 | |
6238 *** Using multiple selection buffers | |
6239 | |
6240 If the creation of label selection buffers is too slow (this happens | |
6241 for large documents), you can reuse these buffers by setting | |
6242 | |
6243 (setq reftex-use-multiple-selection-buffers t) | |
6244 | |
6245 *** References to external documents. | |
6246 | |
6247 The LaTeX package `xr' allows to cross-reference labels in external | |
6248 documents. RefTeX can provide information about the external | |
6249 documents as well. To use this feature, set up the \externaldocument | |
6250 macros required by the `xr' package and rescan the document with | |
6251 RefTeX. The external labels can then be accessed with the `x' key in | |
6252 the selection buffer provided by `reftex-reference' (bound to `C-c )'). | |
6253 The `x' key also works in the table of contents buffer. | |
6254 | |
6255 *** Many more labeled LaTeX environments are recognized by default. | |
6256 | |
35680 | 6257 The built-in command list now covers all the standard LaTeX commands, |
30922 | 6258 and all of the major packages included in the LaTeX distribution. |
6259 | |
6260 Also, RefTeX now understands the \appendix macro and changes | |
6261 the enumeration of sections in the *toc* buffer accordingly. | |
6262 | |
6263 *** Mouse support for selection and *toc* buffers | |
6264 | |
6265 The mouse can now be used to select items in the selection and *toc* | |
6266 buffers. See also the new option `reftex-highlight-selection'. | |
6267 | |
6268 *** New keymaps for selection and table of contents modes. | |
6269 | |
6270 The selection processes for labels and citation keys, and the table of | |
6271 contents buffer now have their own keymaps: `reftex-select-label-map', | |
6272 `reftex-select-bib-map', `reftex-toc-map'. The selection processes | |
6273 have a number of new keys predefined. In particular, TAB lets you | |
6274 enter a label with completion. Check the on-the-fly help (press `?' | |
6275 at the selection prompt) or read the Info documentation to find out | |
6276 more. | |
6277 | |
6278 *** Support for the varioref package | |
6279 | |
6280 The `v' key in the label selection buffer toggles \ref versus \vref. | |
6281 | |
6282 *** New hooks | |
6283 | |
6284 Three new hooks can be used to redefine the way labels, references, | |
6285 and citations are created. These hooks are | |
6286 `reftex-format-label-function', `reftex-format-ref-function', | |
6287 `reftex-format-cite-function'. | |
6288 | |
6289 *** Citations outside LaTeX | |
6290 | |
6291 The command `reftex-citation' may also be used outside LaTeX (e.g. in | |
6292 a mail buffer). See the Info documentation for details. | |
6293 | |
6294 *** Short context is no longer fontified. | |
6295 | |
6296 The short context in the label menu no longer copies the | |
6297 fontification from the text in the buffer. If you prefer it to be | |
6298 fontified, use | |
6299 | |
6300 (setq reftex-refontify-context t) | |
6301 | |
6302 ** file-cache-minibuffer-complete now accepts a prefix argument. | |
6303 With a prefix argument, it does not try to do completion of | |
6304 the file name within its directory; it only checks for other | |
6305 directories that contain the same file name. | |
6306 | |
6307 Thus, given the file name Makefile, and assuming that a file | |
6308 Makefile.in exists in the same directory, ordinary | |
6309 file-cache-minibuffer-complete will try to complete Makefile to | |
6310 Makefile.in and will therefore never look for other directories that | |
6311 have Makefile. A prefix argument tells it not to look for longer | |
6312 names such as Makefile.in, so that instead it will look for other | |
6313 directories--just as if the name were already complete in its present | |
6314 directory. | |
6315 | |
6316 ** New modes and packages | |
6317 | |
6318 *** There is a new alternative major mode for Perl, Cperl mode. | |
6319 It has many more features than Perl mode, and some people prefer | |
6320 it, but some do not. | |
6321 | |
6322 *** There is a new major mode, M-x vhdl-mode, for editing files of VHDL | |
6323 code. | |
6324 | |
6325 *** M-x which-function-mode enables a minor mode that displays the | |
6326 current function name continuously in the mode line, as you move | |
6327 around in a buffer. | |
6328 | |
6329 Which Function mode is effective in major modes which support Imenu. | |
6330 | |
6331 *** Gametree is a major mode for editing game analysis trees. The author | |
6332 uses it for keeping notes about his postal Chess games, but it should | |
6333 be helpful for other two-player games as well, as long as they have an | |
6334 established system of notation similar to Chess. | |
6335 | |
6336 *** The new minor mode checkdoc-minor-mode provides Emacs Lisp | |
6337 documentation string checking for style and spelling. The style | |
6338 guidelines are found in the Emacs Lisp programming manual. | |
6339 | |
6340 *** The net-utils package makes some common networking features | |
6341 available in Emacs. Some of these functions are wrappers around | |
6342 system utilities (ping, nslookup, etc); others are implementations of | |
6343 simple protocols (finger, whois) in Emacs Lisp. There are also | |
6344 functions to make simple connections to TCP/IP ports for debugging and | |
6345 the like. | |
6346 | |
6347 *** highlight-changes-mode is a minor mode that uses colors to | |
6348 identify recently changed parts of the buffer text. | |
6349 | |
6350 *** The new package `midnight' lets you specify things to be done | |
6351 within Emacs at midnight--by default, kill buffers that you have not | |
6352 used in a considerable time. To use this feature, customize | |
6353 the user option `midnight-mode' to t. | |
6354 | |
6355 *** The file generic-x.el defines a number of simple major modes. | |
6356 | |
6357 apache-generic-mode: For Apache and NCSA httpd configuration files | |
6358 samba-generic-mode: Samba configuration files | |
6359 fvwm-generic-mode: For fvwm initialization files | |
6360 x-resource-generic-mode: For X resource files | |
6361 hosts-generic-mode: For hosts files (.rhosts, /etc/hosts, etc) | |
6362 mailagent-rules-generic-mode: For mailagent .rules files | |
6363 javascript-generic-mode: For JavaScript files | |
6364 vrml-generic-mode: For VRML files | |
6365 java-manifest-generic-mode: For Java MANIFEST files | |
6366 java-properties-generic-mode: For Java property files | |
6367 mailrc-generic-mode: For .mailrc files | |
6368 | |
6369 Platform-specific modes: | |
6370 | |
6371 prototype-generic-mode: For Solaris/Sys V prototype files | |
6372 pkginfo-generic-mode: For Solaris/Sys V pkginfo files | |
6373 alias-generic-mode: For C shell alias files | |
6374 inf-generic-mode: For MS-Windows INF files | |
6375 ini-generic-mode: For MS-Windows INI files | |
6376 reg-generic-mode: For MS-Windows Registry files | |
6377 bat-generic-mode: For MS-Windows BAT scripts | |
6378 rc-generic-mode: For MS-Windows Resource files | |
6379 rul-generic-mode: For InstallShield scripts | |
35577
db5649648a65
Replace formfeeds removed on 2001/01/22.
Dave Love <fx@gnu.org>
parents:
35567
diff
changeset
|
6380 |
30922 | 6381 * Lisp changes in Emacs 20.3 since the Emacs Lisp Manual was published |
6382 | |
6383 ** If you want a Lisp file to be read in unibyte mode, | |
6384 use -*-unibyte: t;-*- on its first line. | |
6385 That will force Emacs to read that file in unibyte mode. | |
6386 Otherwise, the file will be loaded and byte-compiled in multibyte mode. | |
6387 | |
6388 Thus, each lisp file is read in a consistent way regardless of whether | |
6389 you started Emacs with --unibyte, so that a Lisp program gives | |
6390 consistent results regardless of how Emacs was started. | |
6391 | |
6392 ** The new function assoc-default is useful for searching an alist, | |
6393 and using a default value if the key is not found there. You can | |
6394 specify a comparison predicate, so this function is useful for | |
6395 searching comparing a string against an alist of regular expressions. | |
6396 | |
6397 ** The functions unibyte-char-to-multibyte and | |
6398 multibyte-char-to-unibyte convert between unibyte and multibyte | |
6399 character codes, in a way that is appropriate for the current language | |
6400 environment. | |
6401 | |
6402 ** The functions read-event, read-char and read-char-exclusive now | |
6403 take two optional arguments. PROMPT, if non-nil, specifies a prompt | |
6404 string. SUPPRESS-INPUT-METHOD, if non-nil, says to disable the | |
6405 current input method for reading this one event. | |
6406 | |
6407 ** Two new variables print-escape-nonascii and print-escape-multibyte | |
6408 now control whether to output certain characters as | |
6409 backslash-sequences. print-escape-nonascii applies to single-byte | |
6410 non-ASCII characters; print-escape-multibyte applies to multibyte | |
6411 characters. Both of these variables are used only when printing | |
6412 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
|
6413 |
30922 | 6414 * Lisp changes in Emacs 20.3 before the Emacs Lisp Manual was published |
6415 | |
6416 ** Compiled Emacs Lisp files made with the modified "MBSK" version | |
6417 of Emacs 20.2 do not work in Emacs 20.3. | |
6418 | |
6419 ** Buffer positions are now measured in characters, as they were | |
6420 in Emacs 19 and before. This means that (forward-char 1) | |
6421 always increases point by 1. | |
6422 | |
6423 The function chars-in-region now just subtracts its arguments. It is | |
6424 considered obsolete. The function char-boundary-p has been deleted. | |
6425 | |
6426 See below for additional changes relating to multibyte characters. | |
6427 | |
6428 ** defcustom, defface and defgroup now accept the keyword `:version'. | |
6429 Use this to specify in which version of Emacs a certain variable's | |
6430 default value changed. For example, | |
6431 | |
6432 (defcustom foo-max 34 "*Maximum number of foo's allowed." | |
6433 :type 'integer | |
6434 :group 'foo | |
6435 :version "20.3") | |
6436 | |
6437 (defgroup foo-group nil "The foo group." | |
6438 :version "20.3") | |
6439 | |
6440 If an entire new group is added or the variables in it have the | |
6441 default values changed, then just add a `:version' to that group. It | |
6442 is recommended that new packages added to the distribution contain a | |
6443 `:version' in the top level group. | |
6444 | |
6445 This information is used to control the customize-changed-options command. | |
6446 | |
6447 ** It is now an error to change the value of a symbol whose name | |
6448 starts with a colon--if it is interned in the standard obarray. | |
6449 | |
6450 However, setting such a symbol to its proper value, which is that | |
6451 symbol itself, is not an error. This is for the sake of programs that | |
6452 support previous Emacs versions by explicitly setting these variables | |
6453 to themselves. | |
6454 | |
6455 If you set the variable keyword-symbols-constant-flag to nil, | |
6456 this error is suppressed, and you can set these symbols to any | |
6457 values whatever. | |
6458 | |
6459 ** There is a new debugger command, R. | |
6460 It evaluates an expression like e, but saves the result | |
6461 in the buffer *Debugger-record*. | |
6462 | |
6463 ** Frame-local variables. | |
6464 | |
6465 You can now make a variable local to various frames. To do this, call | |
6466 the function make-variable-frame-local; this enables frames to have | |
6467 local bindings for that variable. | |
6468 | |
6469 These frame-local bindings are actually frame parameters: you create a | |
6470 frame-local binding in a specific frame by calling | |
6471 modify-frame-parameters and specifying the variable name as the | |
6472 parameter name. | |
6473 | |
6474 Buffer-local bindings take precedence over frame-local bindings. | |
6475 Thus, if the current buffer has a buffer-local binding, that binding is | |
6476 active; otherwise, if the selected frame has a frame-local binding, | |
6477 that binding is active; otherwise, the default binding is active. | |
6478 | |
6479 It would not be hard to implement window-local bindings, but it is not | |
6480 clear that this would be very useful; windows tend to come and go in a | |
6481 very transitory fashion, so that trying to produce any specific effect | |
6482 through a window-local binding would not be very robust. | |
6483 | |
6484 ** `sregexq' and `sregex' are two new functions for constructing | |
6485 "symbolic regular expressions." These are Lisp expressions that, when | |
6486 evaluated, yield conventional string-based regexps. The symbolic form | |
6487 makes it easier to construct, read, and maintain complex patterns. | |
6488 See the documentation in sregex.el. | |
6489 | |
6490 ** parse-partial-sexp's return value has an additional element which | |
6491 is used to pass information along if you pass it to another call to | |
6492 parse-partial-sexp, starting its scan where the first call ended. | |
6493 The contents of this field are not yet finalized. | |
6494 | |
6495 ** eval-region now accepts a fourth optional argument READ-FUNCTION. | |
6496 If it is non-nil, that function is used instead of `read'. | |
6497 | |
6498 ** unload-feature by default removes the feature's functions from | |
6499 known hooks to avoid trouble, but a package providing FEATURE can | |
6500 define a hook FEATURE-unload-hook to be run by unload-feature instead. | |
6501 | |
6502 ** read-from-minibuffer no longer returns the argument DEFAULT-VALUE | |
6503 when the user enters empty input. It now returns the null string, as | |
6504 it did in Emacs 19. The default value is made available in the | |
6505 history via M-n, but it is not applied here as a default. | |
6506 | |
6507 The other, more specialized minibuffer-reading functions continue to | |
6508 return the default value (not the null string) when the user enters | |
6509 empty input. | |
6510 | |
6511 ** The new variable read-buffer-function controls which routine to use | |
6512 for selecting buffers. For example, if you set this variable to | |
6513 `iswitchb-read-buffer', iswitchb will be used to read buffer names. | |
6514 Other functions can also be used if they accept the same arguments as | |
6515 `read-buffer' and return the selected buffer name as a string. | |
6516 | |
6517 ** The new function read-passwd reads a password from the terminal, | |
6518 echoing a period for each character typed. It takes three arguments: | |
6519 a prompt string, a flag which says "read it twice to make sure", and a | |
6520 default password to use if the user enters nothing. | |
6521 | |
6522 ** The variable fill-nobreak-predicate gives major modes a way to | |
6523 specify not to break a line at certain places. Its value is a | |
6524 function which is called with no arguments, with point located at the | |
6525 place where a break is being considered. If the function returns | |
6526 non-nil, then the line won't be broken there. | |
6527 | |
6528 ** window-end now takes an optional second argument, UPDATE. | |
6529 If this is non-nil, then the function always returns an accurate | |
6530 up-to-date value for the buffer position corresponding to the | |
6531 end of the window, even if this requires computation. | |
6532 | |
6533 ** other-buffer now takes an optional argument FRAME | |
6534 which specifies which frame's buffer list to use. | |
6535 If it is nil, that means use the selected frame's buffer list. | |
6536 | |
6537 ** The new variable buffer-display-time, always local in every buffer, | |
6538 holds the value of (current-time) as of the last time that a window | |
6539 was directed to display this buffer. | |
6540 | |
6541 ** It is now meaningful to compare two window-configuration objects | |
6542 with `equal'. Two window-configuration objects are equal if they | |
6543 describe equivalent arrangements of windows, in the same frame--in | |
6544 other words, if they would give the same results if passed to | |
6545 set-window-configuration. | |
6546 | |
6547 ** compare-window-configurations is a new function that compares two | |
6548 window configurations loosely. It ignores differences in saved buffer | |
6549 positions and scrolling, and considers only the structure and sizes of | |
6550 windows and the choice of buffers to display. | |
6551 | |
6552 ** The variable minor-mode-overriding-map-alist allows major modes to | |
6553 override the key bindings of a minor mode. The elements of this alist | |
6554 look like the elements of minor-mode-map-alist: (VARIABLE . KEYMAP). | |
6555 | |
6556 If the VARIABLE in an element of minor-mode-overriding-map-alist has a | |
6557 non-nil value, the paired KEYMAP is active, and totally overrides the | |
6558 map (if any) specified for the same variable in minor-mode-map-alist. | |
6559 | |
6560 minor-mode-overriding-map-alist is automatically local in all buffers, | |
6561 and it is meant to be set by major modes. | |
6562 | |
6563 ** The function match-string-no-properties is like match-string | |
6564 except that it discards all text properties from the result. | |
6565 | |
6566 ** The function load-average now accepts an optional argument | |
6567 USE-FLOATS. If it is non-nil, the load average values are returned as | |
6568 floating point numbers, rather than as integers to be divided by 100. | |
6569 | |
6570 ** The new variable temporary-file-directory specifies the directory | |
6571 to use for creating temporary files. The default value is determined | |
6572 in a reasonable way for your operating system; on GNU and Unix systems | |
6573 it is based on the TMP and TMPDIR environment variables. | |
6574 | |
6575 ** Menu changes | |
6576 | |
6577 *** easymenu.el now uses the new menu item format and supports the | |
6578 keywords :visible and :filter. The existing keyword :keys is now | |
6579 better supported. | |
6580 | |
6581 The variable `easy-menu-precalculate-equivalent-keybindings' controls | |
6582 a new feature which calculates keyboard equivalents for the menu when | |
6583 you define the menu. The default is t. If you rarely use menus, you | |
6584 can set the variable to nil to disable this precalculation feature; | |
6585 then the calculation is done only if you use the menu bar. | |
6586 | |
6587 *** A new format for menu items is supported. | |
6588 | |
6589 In a keymap, a key binding that has the format | |
6590 (STRING . REAL-BINDING) or (STRING HELP-STRING . REAL-BINDING) | |
6591 defines a menu item. Now a menu item definition may also be a list that | |
6592 starts with the symbol `menu-item'. | |
6593 | |
6594 The format is: | |
6595 (menu-item ITEM-NAME) or | |
6596 (menu-item ITEM-NAME REAL-BINDING . ITEM-PROPERTY-LIST) | |
6597 where ITEM-NAME is an expression which evaluates to the menu item | |
6598 string, and ITEM-PROPERTY-LIST has the form of a property list. | |
6599 The supported properties include | |
6600 | |
6601 :enable FORM Evaluate FORM to determine whether the | |
6602 item is enabled. | |
6603 :visible FORM Evaluate FORM to determine whether the | |
6604 item should appear in the menu. | |
6605 :filter FILTER-FN | |
6606 FILTER-FN is a function of one argument, | |
6607 which will be REAL-BINDING. | |
6608 It should return a binding to use instead. | |
6609 :keys DESCRIPTION | |
6610 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
|
6611 binding for REAL-BINDING. DESCRIPTION is expanded with |
30922 | 6612 `substitute-command-keys' before it is used. |
6613 :key-sequence KEY-SEQUENCE | |
6614 KEY-SEQUENCE is a key-sequence for an equivalent | |
6615 keyboard binding. | |
6616 :key-sequence nil | |
6617 This means that the command normally has no | |
6618 keyboard equivalent. | |
6619 :help HELP HELP is the extra help string (not currently used). | |
6620 :button (TYPE . SELECTED) | |
6621 TYPE is :toggle or :radio. | |
6622 SELECTED is a form, to be evaluated, and its | |
6623 value says whether this button is currently selected. | |
6624 | |
6625 Buttons are at the moment only simulated by prefixes in the menu. | |
6626 Eventually ordinary X-buttons may be supported. | |
6627 | |
6628 (menu-item ITEM-NAME) defines unselectable item. | |
6629 | |
6630 ** New event types | |
6631 | |
6632 *** The new event type `mouse-wheel' is generated by a wheel on a | |
6633 mouse (such as the MS Intellimouse). The event contains a delta that | |
6634 corresponds to the amount and direction that the wheel is rotated, | |
6635 which is typically used to implement a scroll or zoom. The format is: | |
6636 | |
6637 (mouse-wheel POSITION DELTA) | |
6638 | |
6639 where POSITION is a list describing the position of the event in the | |
6640 same format as a mouse-click event, and DELTA is a signed number | |
6641 indicating the number of increments by which the wheel was rotated. A | |
6642 negative DELTA indicates that the wheel was rotated backwards, towards | |
6643 the user, and a positive DELTA indicates that the wheel was rotated | |
6644 forward, away from the user. | |
6645 | |
6646 As of now, this event type is generated only on MS Windows. | |
6647 | |
6648 *** The new event type `drag-n-drop' is generated when a group of | |
6649 files is selected in an application outside of Emacs, and then dragged | |
6650 and dropped onto an Emacs frame. The event contains a list of | |
6651 filenames that were dragged and dropped, which are then typically | |
6652 loaded into Emacs. The format is: | |
6653 | |
6654 (drag-n-drop POSITION FILES) | |
6655 | |
6656 where POSITION is a list describing the position of the event in the | |
6657 same format as a mouse-click event, and FILES is the list of filenames | |
6658 that were dragged and dropped. | |
6659 | |
6660 As of now, this event type is generated only on MS Windows. | |
6661 | |
6662 ** Changes relating to multibyte characters. | |
6663 | |
6664 *** The variable enable-multibyte-characters is now read-only; | |
6665 any attempt to set it directly signals an error. The only way | |
6666 to change this value in an existing buffer is with set-buffer-multibyte. | |
6667 | |
6668 *** In a string constant, `\ ' now stands for "nothing at all". You | |
6669 can use it to terminate a hex escape which is followed by a character | |
6670 that could otherwise be read as part of the hex escape. | |
6671 | |
6672 *** String indices are now measured in characters, as they were | |
6673 in Emacs 19 and before. | |
6674 | |
6675 The function chars-in-string has been deleted. | |
6676 The function concat-chars has been renamed to `string'. | |
6677 | |
6678 *** The function set-buffer-multibyte sets the flag in the current | |
6679 buffer that says whether the buffer uses multibyte representation or | |
6680 unibyte representation. If the argument is nil, it selects unibyte | |
6681 representation. Otherwise it selects multibyte representation. | |
6682 | |
6683 This function does not change the contents of the buffer, viewed | |
6684 as a sequence of bytes. However, it does change the contents | |
6685 viewed as characters; a sequence of two bytes which is treated as | |
6686 one character when the buffer uses multibyte representation | |
6687 will count as two characters using unibyte representation. | |
6688 | |
6689 This function sets enable-multibyte-characters to record which | |
6690 representation is in use. It also adjusts various data in the buffer | |
6691 (including its markers, overlays and text properties) so that they are | |
6692 consistent with the new representation. | |
6693 | |
6694 *** string-make-multibyte takes a string and converts it to multibyte | |
6695 representation. Most of the time, you don't need to care | |
6696 about the representation, because Emacs converts when necessary; | |
6697 however, it makes a difference when you compare strings. | |
6698 | |
6699 The conversion of non-ASCII characters works by adding the value of | |
6700 nonascii-insert-offset to each character, or by translating them | |
6701 using the table nonascii-translation-table. | |
6702 | |
6703 *** string-make-unibyte takes a string and converts it to unibyte | |
6704 representation. Most of the time, you don't need to care about the | |
6705 representation, but it makes a difference when you compare strings. | |
6706 | |
6707 The conversion from multibyte to unibyte representation | |
6708 loses information; the only time Emacs performs it automatically | |
6709 is when inserting a multibyte string into a unibyte buffer. | |
6710 | |
6711 *** string-as-multibyte takes a string, and returns another string | |
6712 which contains the same bytes, but treats them as multibyte. | |
6713 | |
6714 *** string-as-unibyte takes a string, and returns another string | |
6715 which contains the same bytes, but treats them as unibyte. | |
6716 | |
6717 *** The new function compare-strings lets you compare | |
6718 portions of two strings. Unibyte strings are converted to multibyte, | |
6719 so that a unibyte string can match a multibyte string. | |
6720 You can specify whether to ignore case or not. | |
6721 | |
6722 *** assoc-ignore-case now uses compare-strings so that | |
6723 it can treat unibyte and multibyte strings as equal. | |
6724 | |
6725 *** Regular expression operations and buffer string searches now | |
6726 convert the search pattern to multibyte or unibyte to accord with the | |
6727 buffer or string being searched. | |
6728 | |
6729 One consequence is that you cannot always use \200-\377 inside of | |
6730 [...] to match all non-ASCII characters. This does still work when | |
6731 searching or matching a unibyte buffer or string, but not when | |
6732 searching or matching a multibyte string. Unfortunately, there is no | |
6733 obvious choice of syntax to use within [...] for that job. But, what | |
6734 you want is just to match all non-ASCII characters, the regular | |
6735 expression [^\0-\177] works for it. | |
6736 | |
6737 *** Structure of coding system changed. | |
6738 | |
6739 All coding systems (including aliases and subsidiaries) are named | |
6740 by symbols; the symbol's `coding-system' property is a vector | |
6741 which defines the coding system. Aliases share the same vector | |
6742 as the principal name, so that altering the contents of this | |
6743 vector affects the principal name and its aliases. You can define | |
6744 your own alias name of a coding system by the function | |
6745 define-coding-system-alias. | |
6746 | |
6747 The coding system definition includes a property list of its own. Use | |
6748 the new functions `coding-system-get' and `coding-system-put' to | |
6749 access such coding system properties as post-read-conversion, | |
6750 pre-write-conversion, character-translation-table-for-decode, | |
6751 character-translation-table-for-encode, mime-charset, and | |
6752 safe-charsets. For instance, (coding-system-get 'iso-latin-1 | |
6753 'mime-charset) gives the corresponding MIME-charset parameter | |
6754 `iso-8859-1'. | |
6755 | |
6756 Among the coding system properties listed above, safe-charsets is new. | |
6757 The value of this property is a list of character sets which this | |
6758 coding system can correctly encode and decode. For instance: | |
6759 (coding-system-get 'iso-latin-1 'safe-charsets) => (ascii latin-iso8859-1) | |
6760 | |
6761 Here, "correctly encode" means that the encoded character sets can | |
6762 also be handled safely by systems other than Emacs as far as they | |
6763 are capable of that coding system. Though, Emacs itself can encode | |
6764 the other character sets and read it back correctly. | |
6765 | |
6766 *** The new function select-safe-coding-system can be used to find a | |
6767 proper coding system for encoding the specified region or string. | |
6768 This function requires a user interaction. | |
6769 | |
6770 *** The new functions find-coding-systems-region and | |
6771 find-coding-systems-string are helper functions used by | |
6772 select-safe-coding-system. They return a list of all proper coding | |
6773 systems to encode a text in some region or string. If you don't want | |
6774 a user interaction, use one of these functions instead of | |
6775 select-safe-coding-system. | |
6776 | |
6777 *** The explicit encoding and decoding functions, such as | |
6778 decode-coding-region and encode-coding-string, now set | |
6779 last-coding-system-used to reflect the actual way encoding or decoding | |
6780 was done. | |
6781 | |
6782 *** The new function detect-coding-with-language-environment can be | |
6783 used to detect a coding system of text according to priorities of | |
6784 coding systems used by some specific language environment. | |
6785 | |
6786 *** The functions detect-coding-region and detect-coding-string always | |
6787 return a list if the arg HIGHEST is nil. Thus, if only ASCII | |
6788 characters are found, they now return a list of single element | |
6789 `undecided' or its subsidiaries. | |
6790 | |
6791 *** The new functions coding-system-change-eol-conversion and | |
6792 coding-system-change-text-conversion can be used to get a different | |
6793 coding system than what specified only in how end-of-line or text is | |
6794 converted. | |
6795 | |
6796 *** The new function set-selection-coding-system can be used to set a | |
6797 coding system for communicating with other X clients. | |
6798 | |
6799 *** The function `map-char-table' now passes as argument only valid | |
6800 character codes, plus generic characters that stand for entire | |
6801 character sets or entire subrows of a character set. In other words, | |
6802 each time `map-char-table' calls its FUNCTION argument, the key value | |
6803 either will be a valid individual character code, or will stand for a | |
6804 range of characters. | |
6805 | |
6806 *** The new function `char-valid-p' can be used for checking whether a | |
6807 Lisp object is a valid character code or not. | |
6808 | |
6809 *** The new function `charset-after' returns a charset of a character | |
6810 in the current buffer at position POS. | |
6811 | |
6812 *** Input methods are now implemented using the variable | |
6813 input-method-function. If this is non-nil, its value should be a | |
6814 function; then, whenever Emacs reads an input event that is a printing | |
6815 character with no modifier bits, it calls that function, passing the | |
6816 event as an argument. Often this function will read more input, first | |
6817 binding input-method-function to nil. | |
6818 | |
6819 The return value should be a list of the events resulting from input | |
6820 method processing. These events will be processed sequentially as | |
6821 input, before resorting to unread-command-events. Events returned by | |
6822 the input method function are not passed to the input method function, | |
6823 not even if they are printing characters with no modifier bits. | |
6824 | |
6825 The input method function is not called when reading the second and | |
6826 subsequent events of a key sequence. | |
6827 | |
6828 *** You can customize any language environment by using | |
6829 set-language-environment-hook and exit-language-environment-hook. | |
6830 | |
6831 The hook `exit-language-environment-hook' should be used to undo | |
6832 customizations that you made with set-language-environment-hook. For | |
6833 instance, if you set up a special key binding for a specific language | |
6834 environment by set-language-environment-hook, you should set up | |
6835 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
|
6836 |
30922 | 6837 * Changes in Emacs 20.1 |
6838 | |
6839 ** Emacs has a new facility for customization of its many user | |
6840 options. It is called M-x customize. With this facility you can look | |
6841 at the many user options in an organized way; they are grouped into a | |
6842 tree structure. | |
6843 | |
6844 M-x customize also knows what sorts of values are legitimate for each | |
6845 user option and ensures that you don't use invalid values. | |
6846 | |
6847 With M-x customize, you can set options either for the present Emacs | |
6848 session or permanently. (Permanent settings are stored automatically | |
6849 in your .emacs file.) | |
6850 | |
6851 ** Scroll bars are now on the left side of the window. | |
6852 You can change this with M-x customize-option scroll-bar-mode. | |
6853 | |
6854 ** The mode line no longer includes the string `Emacs'. | |
6855 This makes more space in the mode line for other information. | |
6856 | |
6857 ** When you select a region with the mouse, it is highlighted | |
6858 immediately afterward. At that time, if you type the DELETE key, it | |
6859 kills the region. | |
6860 | |
6861 The BACKSPACE key, and the ASCII character DEL, do not do this; they | |
6862 delete the character before point, as usual. | |
6863 | |
6864 ** In an incremental search the whole current match is highlighted | |
6865 on terminals which support this. (You can disable this feature | |
6866 by setting search-highlight to nil.) | |
6867 | |
6868 ** In the minibuffer, in some cases, you can now use M-n to | |
6869 insert the default value into the minibuffer as text. In effect, | |
6870 the default value (if the minibuffer routines know it) is tacked | |
6871 onto the history "in the future". (The more normal use of the | |
6872 history list is to use M-p to insert minibuffer input used in the | |
6873 past.) | |
6874 | |
6875 ** In Text mode, now only blank lines separate paragraphs. | |
6876 This makes it possible to get the full benefit of Adaptive Fill mode | |
6877 in Text mode, and other modes derived from it (such as Mail mode). | |
6878 TAB in Text mode now runs the command indent-relative; this | |
6879 makes a practical difference only when you use indented paragraphs. | |
6880 | |
6881 As a result, the old Indented Text mode is now identical to Text mode, | |
6882 and is an alias for it. | |
6883 | |
6884 If you want spaces at the beginning of a line to start a paragraph, | |
6885 use the new mode, Paragraph Indent Text mode. | |
6886 | |
6887 ** Scrolling changes | |
6888 | |
6889 *** Scroll commands to scroll a whole screen now preserve the screen | |
6890 position of the cursor, if scroll-preserve-screen-position is non-nil. | |
6891 | |
6892 In this mode, if you scroll several screens back and forth, finishing | |
6893 on the same screen where you started, the cursor goes back to the line | |
6894 where it started. | |
6895 | |
6896 *** If you set scroll-conservatively to a small number, then when you | |
6897 move point a short distance off the screen, Emacs will scroll the | |
6898 screen just far enough to bring point back on screen, provided that | |
6899 does not exceed `scroll-conservatively' lines. | |
6900 | |
6901 *** The new variable scroll-margin says how close point can come to the | |
6902 top or bottom of a window. It is a number of screen lines; if point | |
6903 comes within that many lines of the top or bottom of the window, Emacs | |
6904 recenters the window. | |
6905 | |
6906 ** International character set support (MULE) | |
6907 | |
6908 Emacs now supports a wide variety of international character sets, | |
6909 including European variants of the Latin alphabet, as well as Chinese, | |
6910 Devanagari (Hindi and Marathi), Ethiopian, Greek, IPA, Japanese, | |
6911 Korean, Lao, Russian, Thai, Tibetan, and Vietnamese scripts. These | |
6912 features have been merged from the modified version of Emacs known as | |
6913 MULE (for "MULti-lingual Enhancement to GNU Emacs") | |
6914 | |
6915 Users of these scripts have established many more-or-less standard | |
6916 coding systems for storing files. Emacs uses a single multibyte | |
6917 character encoding within Emacs buffers; it can translate from a wide | |
6918 variety of coding systems when reading a file and can translate back | |
6919 into any of these coding systems when saving a file. | |
6920 | |
6921 Keyboards, even in the countries where these character sets are used, | |
6922 generally don't have keys for all the characters in them. So Emacs | |
6923 supports various "input methods", typically one for each script or | |
6924 language, to make it possible to type them. | |
6925 | |
6926 The Emacs internal multibyte encoding represents a non-ASCII | |
6927 character as a sequence of bytes in the range 0200 through 0377. | |
6928 | |
6929 The new prefix key C-x RET is used for commands that pertain | |
6930 to multibyte characters, coding systems, and input methods. | |
6931 | |
6932 You can disable multibyte character support as follows: | |
6933 | |
6934 (setq-default enable-multibyte-characters nil) | |
6935 | |
6936 Calling the function standard-display-european turns off multibyte | |
6937 characters, unless you specify a non-nil value for the second | |
6938 argument, AUTO. This provides compatibility for people who are | |
6939 already using standard-display-european to continue using unibyte | |
6940 characters for their work until they want to change. | |
6941 | |
6942 *** Input methods | |
6943 | |
6944 An input method is a kind of character conversion which is designed | |
6945 specifically for interactive input. In Emacs, typically each language | |
6946 has its own input method (though sometimes several languages which use | |
6947 the same characters can share one input method). Some languages | |
6948 support several input methods. | |
6949 | |
6950 The simplest kind of input method works by mapping ASCII letters into | |
6951 another alphabet. This is how the Greek and Russian input methods | |
6952 work. | |
6953 | |
6954 A more powerful technique is composition: converting sequences of | |
6955 characters into one letter. Many European input methods use | |
6956 composition to produce a single non-ASCII letter from a sequence which | |
6957 consists of a letter followed by diacritics. For example, a' is one | |
6958 sequence of two characters that might be converted into a single | |
6959 letter. | |
6960 | |
6961 The input methods for syllabic scripts typically use mapping followed | |
6962 by conversion. The input methods for Thai and Korean work this way. | |
6963 First, letters are mapped into symbols for particular sounds or tone | |
6964 marks; then, sequences of these which make up a whole syllable are | |
6965 mapped into one syllable sign--most often a "composite character". | |
6966 | |
6967 None of these methods works very well for Chinese and Japanese, so | |
6968 they are handled specially. First you input a whole word using | |
6969 phonetic spelling; then, after the word is in the buffer, Emacs | |
6970 converts it into one or more characters using a large dictionary. | |
6971 | |
6972 Since there is more than one way to represent a phonetically spelled | |
6973 word using Chinese characters, Emacs can only guess which one to use; | |
6974 typically these input methods give you a way to say "guess again" if | |
6975 the first guess is wrong. | |
6976 | |
6977 *** The command C-x RET m (toggle-enable-multibyte-characters) | |
6978 turns multibyte character support on or off for the current buffer. | |
6979 | |
6980 If multibyte character support is turned off in a buffer, then each | |
6981 byte is a single character, even codes 0200 through 0377--exactly as | |
6982 they did in Emacs 19.34. This includes the features for support for | |
6983 the European characters, ISO Latin-1 and ISO Latin-2. | |
6984 | |
6985 However, there is no need to turn off multibyte character support to | |
6986 use ISO Latin-1 or ISO Latin-2; the Emacs multibyte character set | |
6987 includes all the characters in these character sets, and Emacs can | |
6988 translate automatically to and from either one. | |
6989 | |
6990 *** Visiting a file in unibyte mode. | |
6991 | |
6992 Turning off multibyte character support in the buffer after visiting a | |
6993 file with multibyte code conversion will display the multibyte | |
6994 sequences already in the buffer, byte by byte. This is probably not | |
6995 what you want. | |
6996 | |
6997 If you want to edit a file of unibyte characters (Latin-1, for | |
6998 example), you can do it by specifying `no-conversion' as the coding | |
6999 system when reading the file. This coding system also turns off | |
7000 multibyte characters in that buffer. | |
7001 | |
7002 If you turn off multibyte character support entirely, this turns off | |
7003 character conversion as well. | |
7004 | |
7005 *** Displaying international characters on X Windows. | |
7006 | |
7007 A font for X typically displays just one alphabet or script. | |
7008 Therefore, displaying the entire range of characters Emacs supports | |
7009 requires using many fonts. | |
7010 | |
7011 Therefore, Emacs now supports "fontsets". Each fontset is a | |
7012 collection of fonts, each assigned to a range of character codes. | |
7013 | |
7014 A fontset has a name, like a font. Individual fonts are defined by | |
7015 the X server; fontsets are defined within Emacs itself. But once you | |
7016 have defined a fontset, you can use it in a face or a frame just as | |
7017 you would use a font. | |
7018 | |
7019 If a fontset specifies no font for a certain character, or if it | |
7020 specifies a font that does not exist on your system, then it cannot | |
7021 display that character. It will display an empty box instead. | |
7022 | |
7023 The fontset height and width are determined by the ASCII characters | |
7024 (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
|
7025 characters). |
30922 | 7026 |
7027 *** Defining fontsets. | |
7028 | |
7029 Emacs does not use any fontset by default. Its default font is still | |
7030 chosen as in previous versions. You can tell Emacs to use a fontset | |
7031 with the `-fn' option or the `Font' X resource. | |
7032 | |
7033 Emacs creates a standard fontset automatically according to the value | |
7034 of standard-fontset-spec. This fontset's short name is | |
7035 `fontset-standard'. Bold, italic, and bold-italic variants of the | |
7036 standard fontset are created automatically. | |
7037 | |
7038 If you specify a default ASCII font with the `Font' resource or `-fn' | |
7039 argument, a fontset is generated from it. This works by replacing the | |
7040 FOUNDARY, FAMILY, ADD_STYLE, and AVERAGE_WIDTH fields of the font name | |
7041 with `*' then using this to specify a fontset. This fontset's short | |
7042 name is `fontset-startup'. | |
7043 | |
7044 Emacs checks resources of the form Fontset-N where N is 0, 1, 2... | |
7045 The resource value should have this form: | |
7046 FONTSET-NAME, [CHARSET-NAME:FONT-NAME]... | |
7047 FONTSET-NAME should have the form of a standard X font name, except: | |
7048 * most fields should be just the wild card "*". | |
7049 * the CHARSET_REGISTRY field should be "fontset" | |
7050 * the CHARSET_ENCODING field can be any nickname of the fontset. | |
7051 The construct CHARSET-NAME:FONT-NAME can be repeated any number | |
7052 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
|
7053 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
|
7054 should specify an actual font to use for that character set. |
30922 | 7055 |
7056 Each of these fontsets has an alias which is made from the | |
7057 last two font name fields, CHARSET_REGISTRY and CHARSET_ENCODING. | |
7058 You can refer to the fontset by that alias or by its full name. | |
7059 | |
7060 For any character sets that you don't mention, Emacs tries to choose a | |
7061 font by substituting into FONTSET-NAME. For instance, with the | |
7062 following resource, | |
7063 Emacs*Fontset-0: -*-fixed-medium-r-normal-*-24-*-*-*-*-*-fontset-24 | |
7064 the font for ASCII is generated as below: | |
7065 -*-fixed-medium-r-normal-*-24-*-ISO8859-1 | |
7066 Here is the substitution rule: | |
7067 Change CHARSET_REGISTRY and CHARSET_ENCODING to that of the charset | |
7068 defined in the variable x-charset-registries. For instance, ASCII has | |
7069 the entry (ascii . "ISO8859-1") in this variable. Then, reduce | |
7070 sequences of wild cards -*-...-*- with a single wildcard -*-. | |
7071 (This is to prevent use of auto-scaled fonts.) | |
7072 | |
7073 The function which processes the fontset resource value to create the | |
7074 fontset is called create-fontset-from-fontset-spec. You can also call | |
7075 that function explicitly to create a fontset. | |
7076 | |
7077 With the X resource Emacs.Font, you can specify a fontset name just | |
7078 like an actual font name. But be careful not to specify a fontset | |
7079 name in a wildcard resource like Emacs*Font--that tries to specify the | |
7080 fontset for other purposes including menus, and they cannot handle | |
7081 fontsets. | |
7082 | |
7083 *** The command M-x set-language-environment sets certain global Emacs | |
7084 defaults for a particular choice of language. | |
7085 | |
7086 Selecting a language environment typically specifies a default input | |
7087 method and which coding systems to recognize automatically when | |
7088 visiting files. However, it does not try to reread files you have | |
7089 already visited; the text in those buffers is not affected. The | |
7090 language environment may also specify a default choice of coding | |
7091 system for new files that you create. | |
7092 | |
7093 It makes no difference which buffer is current when you use | |
7094 set-language-environment, because these defaults apply globally to the | |
7095 whole Emacs session. | |
7096 | |
7097 For example, M-x set-language-environment RET Latin-1 RET | |
7098 chooses the Latin-1 character set. In the .emacs file, you can do this | |
7099 with (set-language-environment "Latin-1"). | |
7100 | |
7101 *** The command C-x RET f (set-buffer-file-coding-system) | |
7102 specifies the file coding system for the current buffer. This | |
7103 specifies what sort of character code translation to do when saving | |
7104 the file. As an argument, you must specify the name of one of the | |
7105 coding systems that Emacs supports. | |
7106 | |
7107 *** The command C-x RET c (universal-coding-system-argument) | |
7108 lets you specify a coding system when you read or write a file. | |
7109 This command uses the minibuffer to read a coding system name. | |
7110 After you exit the minibuffer, the specified coding system | |
7111 is used for *the immediately following command*. | |
7112 | |
7113 So if the immediately following command is a command to read or | |
7114 write a file, it uses the specified coding system for that file. | |
7115 | |
7116 If the immediately following command does not use the coding system, | |
7117 then C-x RET c ultimately has no effect. | |
7118 | |
7119 For example, C-x RET c iso-8859-1 RET C-x C-f temp RET | |
7120 visits the file `temp' treating it as ISO Latin-1. | |
7121 | |
7122 *** You can specify the coding system for a file using the -*- | |
7123 construct. Include `coding: CODINGSYSTEM;' inside the -*-...-*- | |
7124 to specify use of coding system CODINGSYSTEM. You can also | |
7125 specify the coding system in a local variable list at the end | |
7126 of the file. | |
7127 | |
7128 *** The command C-x RET t (set-terminal-coding-system) specifies | |
7129 the coding system for terminal output. If you specify a character | |
7130 code for terminal output, all characters output to the terminal are | |
7131 translated into that character code. | |
7132 | |
7133 This feature is useful for certain character-only terminals built in | |
7134 various countries to support the languages of those countries. | |
7135 | |
7136 By default, output to the terminal is not translated at all. | |
7137 | |
7138 *** The command C-x RET k (set-keyboard-coding-system) specifies | |
7139 the coding system for keyboard input. | |
7140 | |
7141 Character code translation of keyboard input is useful for terminals | |
7142 with keys that send non-ASCII graphic characters--for example, | |
7143 some terminals designed for ISO Latin-1 or subsets of it. | |
7144 | |
7145 By default, keyboard input is not translated at all. | |
7146 | |
7147 Character code translation of keyboard input is similar to using an | |
7148 input method, in that both define sequences of keyboard input that | |
7149 translate into single characters. However, input methods are designed | |
7150 to be convenient for interactive use, while the code translations are | |
7151 designed to work with terminals. | |
7152 | |
7153 *** The command C-x RET p (set-buffer-process-coding-system) | |
7154 specifies the coding system for input and output to a subprocess. | |
7155 This command applies to the current buffer; normally, each subprocess | |
7156 has its own buffer, and thus you can use this command to specify | |
7157 translation to and from a particular subprocess by giving the command | |
7158 in the corresponding buffer. | |
7159 | |
7160 By default, process input and output are not translated at all. | |
7161 | |
7162 *** The variable file-name-coding-system specifies the coding system | |
7163 to use for encoding file names before operating on them. | |
7164 It is also used for decoding file names obtained from the system. | |
7165 | |
7166 *** The command C-\ (toggle-input-method) activates or deactivates | |
7167 an input method. If no input method has been selected before, the | |
7168 command prompts for you to specify the language and input method you | |
7169 want to use. | |
7170 | |
7171 C-u C-\ (select-input-method) lets you switch to a different input | |
7172 method. C-h C-\ (or C-h I) describes the current input method. | |
7173 | |
7174 *** Some input methods remap the keyboard to emulate various keyboard | |
7175 layouts commonly used for particular scripts. How to do this | |
7176 remapping properly depends on your actual keyboard layout. To specify | |
7177 which layout your keyboard has, use M-x quail-set-keyboard-layout. | |
7178 | |
7179 *** The command C-h C (describe-coding-system) displays | |
7180 the coding systems currently selected for various purposes, plus | |
7181 related information. | |
7182 | |
7183 *** The command C-h h (view-hello-file) displays a file called | |
7184 HELLO, which has examples of text in many languages, using various | |
7185 scripts. | |
7186 | |
7187 *** The command C-h L (describe-language-support) displays | |
7188 information about the support for a particular language. | |
7189 You specify the language as an argument. | |
7190 | |
7191 *** The mode line now contains a letter or character that identifies | |
7192 the coding system used in the visited file. It normally follows the | |
7193 first dash. | |
7194 | |
7195 A dash indicates the default state of affairs: no code conversion | |
7196 (except CRLF => newline if appropriate). `=' means no conversion | |
7197 whatsoever. The ISO 8859 coding systems are represented by digits | |
7198 1 through 9. Other coding systems are represented by letters: | |
7199 | |
7200 A alternativnyj (Russian) | |
7201 B big5 (Chinese) | |
7202 C cn-gb-2312 (Chinese) | |
7203 C iso-2022-cn (Chinese) | |
7204 D in-is13194-devanagari (Indian languages) | |
7205 E euc-japan (Japanese) | |
7206 I iso-2022-cjk or iso-2022-ss2 (Chinese, Japanese, Korean) | |
7207 J junet (iso-2022-7) or old-jis (iso-2022-jp-1978-irv) (Japanese) | |
7208 K euc-korea (Korean) | |
7209 R koi8 (Russian) | |
7210 Q tibetan | |
7211 S shift_jis (Japanese) | |
7212 T lao | |
7213 T tis620 (Thai) | |
7214 V viscii or vscii (Vietnamese) | |
7215 i iso-2022-lock (Chinese, Japanese, Korean) | |
7216 k iso-2022-kr (Korean) | |
7217 v viqr (Vietnamese) | |
7218 z hz (Chinese) | |
7219 | |
7220 When you are using a character-only terminal (not a window system), | |
7221 two additional characters appear in between the dash and the file | |
7222 coding system. These two characters describe the coding system for | |
7223 keyboard input, and the coding system for terminal output. | |
7224 | |
7225 *** The new variable rmail-file-coding-system specifies the code | |
7226 conversion to use for RMAIL files. The default value is nil. | |
7227 | |
7228 When you read mail with Rmail, each message is decoded automatically | |
7229 into Emacs' internal format. This has nothing to do with | |
7230 rmail-file-coding-system. That variable controls reading and writing | |
7231 Rmail files themselves. | |
7232 | |
7233 *** The new variable sendmail-coding-system specifies the code | |
7234 conversion for outgoing mail. The default value is nil. | |
7235 | |
7236 Actually, there are three different ways of specifying the coding system | |
7237 for sending mail: | |
7238 | |
7239 - If you use C-x RET f in the mail buffer, that takes priority. | |
7240 - Otherwise, if you set sendmail-coding-system non-nil, that specifies it. | |
7241 - Otherwise, the default coding system for new files is used, | |
7242 if that is non-nil. That comes from your language environment. | |
7243 - Otherwise, Latin-1 is used. | |
7244 | |
7245 *** The command C-h t (help-with-tutorial) accepts a prefix argument | |
7246 to specify the language for the tutorial file. Currently, English, | |
7247 Japanese, Korean and Thai are supported. We welcome additional | |
7248 translations. | |
7249 | |
7250 ** An easy new way to visit a file with no code or format conversion | |
7251 of any kind: Use M-x find-file-literally. There is also a command | |
7252 insert-file-literally which inserts a file into the current buffer | |
7253 without any conversion. | |
7254 | |
7255 ** C-q's handling of octal character codes is changed. | |
7256 You can now specify any number of octal digits. | |
7257 RET terminates the digits and is discarded; | |
7258 any other non-digit terminates the digits and is then used as input. | |
7259 | |
7260 ** There are new commands for looking up Info documentation for | |
7261 functions, variables and file names used in your programs. | |
7262 | |
7263 Type M-x info-lookup-symbol to look up a symbol in the buffer at point. | |
7264 Type M-x info-lookup-file to look up a file in the buffer at point. | |
7265 | |
7266 Precisely which Info files are used to look it up depends on the major | |
7267 mode. For example, in C mode, the GNU libc manual is used. | |
7268 | |
7269 ** M-TAB in most programming language modes now runs the command | |
7270 complete-symbol. This command performs completion on the symbol name | |
7271 in the buffer before point. | |
7272 | |
7273 With a numeric argument, it performs completion based on the set of | |
7274 symbols documented in the Info files for the programming language that | |
7275 you are using. | |
7276 | |
7277 With no argument, it does completion based on the current tags tables, | |
7278 just like the old binding of M-TAB (complete-tag). | |
7279 | |
7280 ** File locking works with NFS now. | |
7281 | |
7282 The lock file for FILENAME is now a symbolic link named .#FILENAME, | |
7283 in the same directory as FILENAME. | |
7284 | |
7285 This means that collision detection between two different machines now | |
7286 works reasonably well; it also means that no file server or directory | |
7287 can become a bottleneck. | |
7288 | |
7289 The new method does have drawbacks. It means that collision detection | |
7290 does not operate when you edit a file in a directory where you cannot | |
7291 create new files. Collision detection also doesn't operate when the | |
7292 file server does not support symbolic links. But these conditions are | |
7293 rare, and the ability to have collision detection while using NFS is | |
7294 so useful that the change is worth while. | |
7295 | |
7296 When Emacs or a system crashes, this may leave behind lock files which | |
7297 are stale. So you may occasionally get warnings about spurious | |
7298 collisions. When you determine that the collision is spurious, just | |
7299 tell Emacs to go ahead anyway. | |
7300 | |
7301 ** If you wish to use Show Paren mode to display matching parentheses, | |
7302 it is no longer sufficient to load paren.el. Instead you must call | |
7303 show-paren-mode. | |
7304 | |
7305 ** If you wish to use Delete Selection mode to replace a highlighted | |
7306 selection when you insert new text, it is no longer sufficient to load | |
7307 delsel.el. Instead you must call the function delete-selection-mode. | |
7308 | |
7309 ** If you wish to use Partial Completion mode to complete partial words | |
7310 within symbols or filenames, it is no longer sufficient to load | |
7311 complete.el. Instead you must call the function partial-completion-mode. | |
7312 | |
7313 ** If you wish to use uniquify to rename buffers for you, | |
7314 it is no longer sufficient to load uniquify.el. You must also | |
7315 set uniquify-buffer-name-style to one of the non-nil legitimate values. | |
7316 | |
7317 ** Changes in View mode. | |
7318 | |
7319 *** Several new commands are available in View mode. | |
7320 Do H in view mode for a list of commands. | |
7321 | |
7322 *** There are two new commands for entering View mode: | |
7323 view-file-other-frame and view-buffer-other-frame. | |
7324 | |
7325 *** Exiting View mode does a better job of restoring windows to their | |
7326 previous state. | |
7327 | |
7328 *** New customization variable view-scroll-auto-exit. If non-nil, | |
7329 scrolling past end of buffer makes view mode exit. | |
7330 | |
7331 *** New customization variable view-exits-all-viewing-windows. If | |
7332 non-nil, view-mode will at exit restore all windows viewing buffer, | |
7333 not just the selected window. | |
7334 | |
7335 *** New customization variable view-read-only. If non-nil, visiting a | |
7336 read-only file automatically enters View mode, and toggle-read-only | |
7337 turns View mode on or off. | |
7338 | |
7339 *** New customization variable view-remove-frame-by-deleting controls | |
7340 how to remove a not needed frame at view mode exit. If non-nil, | |
7341 delete the frame, if nil make an icon of it. | |
7342 | |
7343 ** C-x v l, the command to print a file's version control log, | |
7344 now positions point at the entry for the file's current branch version. | |
7345 | |
7346 ** C-x v =, the command to compare a file with the last checked-in version, | |
7347 has a new feature. If the file is currently not locked, so that it is | |
7348 presumably identical to the last checked-in version, the command now asks | |
7349 which version to compare with. | |
7350 | |
7351 ** When using hideshow.el, incremental search can temporarily show hidden | |
7352 blocks if a match is inside the block. | |
7353 | |
7354 The block is hidden again if the search is continued and the next match | |
7355 is outside the block. By customizing the variable | |
7356 isearch-hide-immediately you can choose to hide all the temporarily | |
7357 shown blocks only when exiting from incremental search. | |
7358 | |
7359 By customizing the variable hs-isearch-open you can choose what kind | |
7360 of blocks to temporarily show during isearch: comment blocks, code | |
7361 blocks, all of them or none. | |
7362 | |
7363 ** The new command C-x 4 0 (kill-buffer-and-window) kills the | |
7364 current buffer and deletes the selected window. It asks for | |
7365 confirmation first. | |
7366 | |
7367 ** C-x C-w, which saves the buffer into a specified file name, | |
7368 now changes the major mode according to that file name. | |
7369 However, the mode will not be changed if | |
7370 (1) a local variables list or the `-*-' line specifies a major mode, or | |
7371 (2) the current major mode is a "special" mode, | |
7372 not suitable for ordinary files, or | |
7373 (3) the new file name does not particularly specify any mode. | |
7374 | |
7375 This applies to M-x set-visited-file-name as well. | |
7376 | |
7377 However, if you set change-major-mode-with-file-name to nil, then | |
7378 these commands do not change the major mode. | |
7379 | |
7380 ** M-x occur changes. | |
7381 | |
7382 *** If the argument to M-x occur contains upper case letters, | |
7383 it performs a case-sensitive search. | |
7384 | |
7385 *** In the *Occur* buffer made by M-x occur, | |
7386 if you type g or M-x revert-buffer, this repeats the search | |
7387 using the same regular expression and the same buffer as before. | |
7388 | |
7389 ** In Transient Mark mode, the region in any one buffer is highlighted | |
7390 in just one window at a time. At first, it is highlighted in the | |
7391 window where you set the mark. The buffer's highlighting remains in | |
7392 that window unless you select to another window which shows the same | |
7393 buffer--then the highlighting moves to that window. | |
7394 | |
7395 ** The feature to suggest key bindings when you use M-x now operates | |
7396 after the command finishes. The message suggesting key bindings | |
7397 appears temporarily in the echo area. The previous echo area contents | |
7398 come back after a few seconds, in case they contain useful information. | |
7399 | |
7400 ** Each frame now independently records the order for recently | |
7401 selected buffers, so that the default for C-x b is now based on the | |
7402 buffers recently selected in the selected frame. | |
7403 | |
7404 ** Outline mode changes. | |
7405 | |
7406 *** Outline mode now uses overlays (this is the former noutline.el). | |
7407 | |
7408 *** Incremental searches skip over invisible text in Outline mode. | |
7409 | |
7410 ** When a minibuffer window is active but not the selected window, if | |
7411 you try to use the minibuffer, you used to get a nested minibuffer. | |
7412 Now, this not only gives an error, it also cancels the minibuffer that | |
7413 was already active. | |
7414 | |
7415 The motive for this change is so that beginning users do not | |
7416 unknowingly move away from minibuffers, leaving them active, and then | |
7417 get confused by it. | |
7418 | |
7419 If you want to be able to have recursive minibuffers, you must | |
7420 set enable-recursive-minibuffers to non-nil. | |
7421 | |
7422 ** Changes in dynamic abbrevs. | |
7423 | |
7424 *** Expanding dynamic abbrevs with M-/ is now smarter about case | |
7425 conversion. If the expansion has mixed case not counting the first | |
7426 character, and the abbreviation matches the beginning of the expansion | |
7427 including case, then the expansion is copied verbatim. | |
7428 | |
7429 The expansion is also copied verbatim if the abbreviation itself has | |
7430 mixed case. And using SPC M-/ to copy an additional word always | |
7431 copies it verbatim except when the previous copied word is all caps. | |
7432 | |
7433 *** The values of `dabbrev-case-replace' and `dabbrev-case-fold-search' | |
7434 are no longer Lisp expressions. They have simply three possible | |
7435 values. | |
7436 | |
7437 `dabbrev-case-replace' has these three values: nil (don't preserve | |
7438 case), t (do), or `case-replace' (do like M-x query-replace). | |
7439 `dabbrev-case-fold-search' has these three values: nil (don't ignore | |
7440 case), t (do), or `case-fold-search' (do like search). | |
7441 | |
7442 ** Minibuffer history lists are truncated automatically now to a | |
7443 certain length. The variable history-length specifies how long they | |
7444 can be. The default value is 30. | |
7445 | |
7446 ** Changes in Mail mode. | |
7447 | |
7448 *** The key C-x m no longer runs the `mail' command directly. | |
7449 Instead, it runs the command `compose-mail', which invokes the mail | |
7450 composition mechanism you have selected with the variable | |
7451 `mail-user-agent'. The default choice of user agent is | |
7452 `sendmail-user-agent', which gives behavior compatible with the old | |
7453 behavior. | |
7454 | |
7455 C-x 4 m now runs compose-mail-other-window, and C-x 5 m runs | |
7456 compose-mail-other-frame. | |
7457 | |
7458 *** While composing a reply to a mail message, from Rmail, you can use | |
7459 the command C-c C-r to cite just the region from the message you are | |
7460 replying to. This copies the text which is the selected region in the | |
7461 buffer that shows the original message. | |
7462 | |
7463 *** The command C-c C-i inserts a file at the end of the message, | |
7464 with separator lines around the contents. | |
7465 | |
7466 *** The command M-x expand-mail-aliases expands all mail aliases | |
7467 in suitable mail headers. Emacs automatically extracts mail alias | |
7468 definitions from your mail alias file (e.g., ~/.mailrc). You do not | |
7469 need to expand mail aliases yourself before sending mail. | |
7470 | |
7471 *** New features in the mail-complete command. | |
7472 | |
7473 **** The mail-complete command now inserts the user's full name, | |
7474 for local users or if that is known. The variable mail-complete-style | |
7475 controls the style to use, and whether to do this at all. | |
7476 Its values are like those of mail-from-style. | |
7477 | |
7478 **** The variable mail-passwd-command lets you specify a shell command | |
7479 to run to fetch a set of password-entries that add to the ones in | |
7480 /etc/passwd. | |
7481 | |
7482 **** The variable mail-passwd-file now specifies a list of files to read | |
7483 to get the list of user ids. By default, one file is used: | |
7484 /etc/passwd. | |
7485 | |
7486 ** You can "quote" a file name to inhibit special significance of | |
7487 special syntax, by adding `/:' to the beginning. Thus, if you have a | |
7488 directory named `/foo:', you can prevent it from being treated as a | |
7489 reference to a remote host named `foo' by writing it as `/:/foo:'. | |
7490 | |
7491 Emacs uses this new construct automatically when necessary, such as | |
7492 when you start it with a working directory whose name might otherwise | |
7493 be taken to be magic. | |
7494 | |
7495 ** There is a new command M-x grep-find which uses find to select | |
7496 files to search through, and grep to scan them. The output is | |
7497 available in a Compile mode buffer, as with M-x grep. | |
7498 | |
7499 M-x grep now uses the -e option if the grep program supports that. | |
7500 (-e prevents problems if the search pattern starts with a dash.) | |
7501 | |
7502 ** In Dired, the & command now flags for deletion the files whose names | |
7503 suggest they are probably not needed in the long run. | |
7504 | |
7505 In Dired, * is now a prefix key for mark-related commands. | |
7506 | |
7507 new key dired.el binding old key | |
7508 ------- ---------------- ------- | |
7509 * c dired-change-marks c | |
7510 * m dired-mark m | |
7511 * * dired-mark-executables * (binding deleted) | |
7512 * / dired-mark-directories / (binding deleted) | |
7513 * @ dired-mark-symlinks @ (binding deleted) | |
7514 * u dired-unmark u | |
7515 * DEL dired-unmark-backward DEL | |
40526
b466f4f946a7
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40493
diff
changeset
|
7516 * ? dired-unmark-all-files C-M-? |
30922 | 7517 * ! dired-unmark-all-marks |
7518 * % dired-mark-files-regexp % m | |
7519 * C-n dired-next-marked-file M-} | |
7520 * C-p dired-prev-marked-file M-{ | |
7521 | |
7522 ** Rmail changes. | |
7523 | |
7524 *** When Rmail cannot convert your incoming mail into Babyl format, it | |
7525 saves the new mail in the file RMAILOSE.n, where n is an integer | |
7526 chosen to make a unique name. This way, Rmail will not keep crashing | |
7527 each time you run it. | |
7528 | |
7529 *** In Rmail, the variable rmail-summary-line-count-flag now controls | |
7530 whether to include the line count in the summary. Non-nil means yes. | |
7531 | |
7532 *** In Rmail summary buffers, d and C-d (the commands to delete | |
7533 messages) now take repeat counts as arguments. A negative argument | |
7534 means to move in the opposite direction. | |
7535 | |
7536 *** In Rmail, the t command now takes an optional argument which lets | |
7537 you specify whether to show the message headers in full or pruned. | |
7538 | |
7539 *** In Rmail, the new command w (rmail-output-body-to-file) writes | |
7540 just the body of the current message into a file, without the headers. | |
7541 It takes the file name from the message subject, by default, but you | |
7542 can edit that file name in the minibuffer before it is actually used | |
7543 for output. | |
7544 | |
7545 ** Gnus changes. | |
7546 | |
7547 *** nntp.el has been totally rewritten in an asynchronous fashion. | |
7548 | |
7549 *** Article prefetching functionality has been moved up into | |
7550 Gnus. | |
7551 | |
7552 *** Scoring can now be performed with logical operators like | |
7553 `and', `or', `not', and parent redirection. | |
7554 | |
7555 *** Article washing status can be displayed in the | |
7556 article mode line. | |
7557 | |
7558 *** gnus.el has been split into many smaller files. | |
7559 | |
7560 *** Suppression of duplicate articles based on Message-ID. | |
7561 | |
7562 (setq gnus-suppress-duplicates t) | |
7563 | |
7564 *** New variables for specifying what score and adapt files | |
7565 are to be considered home score and adapt files. See | |
7566 `gnus-home-score-file' and `gnus-home-adapt-files'. | |
7567 | |
7568 *** Groups can inherit group parameters from parent topics. | |
7569 | |
7570 *** Article editing has been revamped and is now usable. | |
7571 | |
7572 *** Signatures can be recognized in more intelligent fashions. | |
7573 See `gnus-signature-separator' and `gnus-signature-limit'. | |
7574 | |
7575 *** Summary pick mode has been made to look more nn-like. | |
7576 Line numbers are displayed and the `.' command can be | |
7577 used to pick articles. | |
7578 | |
7579 *** Commands for moving the .newsrc.eld from one server to | |
7580 another have been added. | |
7581 | |
7582 `M-x gnus-change-server' | |
7583 | |
7584 *** A way to specify that "uninteresting" fields be suppressed when | |
7585 generating lines in buffers. | |
7586 | |
7587 *** 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
|
7588 `C-M-_'. |
30922 | 7589 |
7590 *** Scoring can be done on words using the new score type `w'. | |
7591 | |
7592 *** Adaptive scoring can be done on a Subject word-by-word basis: | |
7593 | |
7594 (setq gnus-use-adaptive-scoring '(word)) | |
7595 | |
7596 *** Scores can be decayed. | |
7597 | |
7598 (setq gnus-decay-scores t) | |
7599 | |
7600 *** Scoring can be performed using a regexp on the Date header. The | |
7601 Date is normalized to compact ISO 8601 format first. | |
7602 | |
7603 *** A new command has been added to remove all data on articles from | |
7604 the native server. | |
7605 | |
7606 `M-x gnus-group-clear-data-on-native-groups' | |
7607 | |
7608 *** A new command for reading collections of documents | |
40526
b466f4f946a7
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40493
diff
changeset
|
7609 (nndoc with nnvirtual on top) has been added -- `C-M-d'. |
30922 | 7610 |
7611 *** Process mark sets can be pushed and popped. | |
7612 | |
7613 *** A new mail-to-news backend makes it possible to post | |
7614 even when the NNTP server doesn't allow posting. | |
7615 | |
7616 *** A new backend for reading searches from Web search engines | |
7617 (DejaNews, Alta Vista, InReference) has been added. | |
7618 | |
7619 Use the `G w' command in the group buffer to create such | |
7620 a group. | |
7621 | |
7622 *** Groups inside topics can now be sorted using the standard | |
7623 sorting functions, and each topic can be sorted independently. | |
7624 | |
7625 See the commands under the `T S' submap. | |
7626 | |
7627 *** Subsets of the groups can be sorted independently. | |
7628 | |
7629 See the commands under the `G P' submap. | |
7630 | |
7631 *** Cached articles can be pulled into the groups. | |
7632 | |
7633 Use the `Y c' command. | |
7634 | |
7635 *** Score files are now applied in a more reliable order. | |
7636 | |
7637 *** Reports on where mail messages end up can be generated. | |
7638 | |
7639 `M-x nnmail-split-history' | |
7640 | |
7641 *** More hooks and functions have been added to remove junk | |
7642 from incoming mail before saving the mail. | |
7643 | |
7644 See `nnmail-prepare-incoming-header-hook'. | |
7645 | |
7646 *** The nnml mail backend now understands compressed article files. | |
7647 | |
7648 *** To enable Gnus to read/post multi-lingual articles, you must execute | |
7649 the following code, for instance, in your .emacs. | |
7650 | |
7651 (add-hook 'gnus-startup-hook 'gnus-mule-initialize) | |
7652 | |
7653 Then, when you start Gnus, it will decode non-ASCII text automatically | |
7654 and show appropriate characters. (Note: if you are using gnus-mime | |
7655 from the SEMI package, formerly known as TM, you should NOT add this | |
7656 hook to gnus-startup-hook; gnus-mime has its own method of handling | |
7657 this issue.) | |
7658 | |
7659 Since it is impossible to distinguish all coding systems | |
7660 automatically, you may need to specify a choice of coding system for a | |
7661 particular news group. This can be done by: | |
7662 | |
7663 (gnus-mule-add-group NEWSGROUP 'CODING-SYSTEM) | |
7664 | |
7665 Here NEWSGROUP should be a string which names a newsgroup or a tree | |
7666 of newsgroups. If NEWSGROUP is "XXX.YYY", all news groups under | |
7667 "XXX.YYY" (including "XXX.YYY.ZZZ") will use the specified coding | |
7668 system. CODING-SYSTEM specifies which coding system to use (for both | |
7669 for reading and posting). | |
7670 | |
7671 CODING-SYSTEM can also be a cons cell of the form | |
7672 (READ-CODING-SYSTEM . POST-CODING-SYSTEM) | |
7673 Then READ-CODING-SYSTEM is used when you read messages from the | |
7674 newsgroups, while POST-CODING-SYSTEM is used when you post messages | |
7675 there. | |
7676 | |
7677 Emacs knows the right coding systems for certain newsgroups by | |
7678 default. Here are some of these default settings: | |
7679 | |
7680 (gnus-mule-add-group "fj" 'iso-2022-7) | |
7681 (gnus-mule-add-group "alt.chinese.text" 'hz-gb-2312) | |
7682 (gnus-mule-add-group "alt.hk" 'hz-gb-2312) | |
7683 (gnus-mule-add-group "alt.chinese.text.big5" 'cn-big5) | |
7684 (gnus-mule-add-group "soc.culture.vietnamese" '(nil . viqr)) | |
7685 | |
7686 When you reply by mail to an article, these settings are ignored; | |
7687 the mail is encoded according to sendmail-coding-system, as usual. | |
7688 | |
7689 ** CC mode changes. | |
7690 | |
7691 *** If you edit primarily one style of C (or C++, Objective-C, Java) | |
7692 code, you may want to make the CC Mode style variables have global | |
7693 values so that you can set them directly in your .emacs file. To do | |
7694 this, set c-style-variables-are-local-p to nil in your .emacs file. | |
7695 Note that this only takes effect if you do it *before* cc-mode.el is | |
7696 loaded. | |
7697 | |
7698 If you typically edit more than one style of C (or C++, Objective-C, | |
7699 Java) code in a single Emacs session, you may want to make the CC Mode | |
7700 style variables have buffer local values. By default, all buffers | |
7701 share the same style variable settings; to make them buffer local, set | |
7702 c-style-variables-are-local-p to t in your .emacs file. Note that you | |
7703 must do this *before* CC Mode is loaded. | |
7704 | |
7705 *** The new variable c-indentation-style holds the C style name | |
7706 of the current buffer. | |
7707 | |
7708 *** The variable c-block-comments-indent-p has been deleted, because | |
7709 it is no longer necessary. C mode now handles all the supported styles | |
7710 of block comments, with no need to say which one you will use. | |
7711 | |
7712 *** There is a new indentation style "python", which specifies the C | |
7713 style that the Python developers like. | |
7714 | |
7715 *** There is a new c-cleanup-list option: brace-elseif-brace. | |
7716 This says to put ...} else if (...) {... on one line, | |
7717 just as brace-else-brace says to put ...} else {... on one line. | |
7718 | |
7719 ** VC Changes [new] | |
7720 | |
36908
365eecf7e7d7
Added a note about new support for the Baha'i calendar.
John Wiegley <johnw@newartisans.com>
parents:
36885
diff
changeset
|
7721 *** In vc-retrieve-snapshot (C-x v r), if you don't specify a snapshot |
30922 | 7722 name, it retrieves the *latest* versions of all files in the current |
7723 directory and its subdirectories (aside from files already locked). | |
7724 | |
7725 This feature is useful if your RCS directory is a link to a common | |
7726 master directory, and you want to pick up changes made by other | |
7727 developers. | |
7728 | |
7729 You can do the same thing for an individual file by typing C-u C-x C-q | |
7730 RET in a buffer visiting that file. | |
7731 | |
7732 *** VC can now handle files under CVS that are being "watched" by | |
7733 other developers. Such files are made read-only by CVS. To get a | |
7734 writable copy, type C-x C-q in a buffer visiting such a file. VC then | |
7735 calls "cvs edit", which notifies the other developers of it. | |
7736 | |
7737 *** vc-version-diff (C-u C-x v =) now suggests reasonable defaults for | |
7738 version numbers, based on the current state of the file. | |
7739 | |
7740 ** Calendar changes. | |
7741 | |
36908
365eecf7e7d7
Added a note about new support for the Baha'i calendar.
John Wiegley <johnw@newartisans.com>
parents:
36885
diff
changeset
|
7742 *** 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
|
7743 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
|
7744 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
|
7745 following/previous years. |
365eecf7e7d7
Added a note about new support for the Baha'i calendar.
John Wiegley <johnw@newartisans.com>
parents:
36885
diff
changeset
|
7746 |
365eecf7e7d7
Added a note about new support for the Baha'i calendar.
John Wiegley <johnw@newartisans.com>
parents:
36885
diff
changeset
|
7747 *** 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
|
7748 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
|
7749 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
|
7750 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
|
7751 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
|
7752 supposed attribute of God. |
30922 | 7753 |
7754 ** ps-print changes | |
7755 | |
37289 | 7756 There are some new user variables and subgroups for customizing the page |
7757 layout. | |
7758 | |
7759 *** Headers & Footers (subgroup) | |
7760 | |
7761 Some printer systems print a header page and force the first page to | |
7762 be printed on the back of the header page when using duplex. If your | |
7763 printer system has this behavior, set variable | |
7764 `ps-banner-page-when-duplexing' to t. | |
7765 | |
7766 If variable `ps-banner-page-when-duplexing' is non-nil, it prints a | |
7767 blank page as the very first printed page. So, it behaves as if the | |
37375 | 7768 very first character of buffer (or region) were a form feed ^L (\014). |
37289 | 7769 |
7770 The variable `ps-spool-config' specifies who is responsible for | |
7771 setting duplex mode and page size. Valid values are: | |
7772 | |
7773 lpr-switches duplex and page size are configured by `ps-lpr-switches'. | |
7774 Don't forget to set `ps-lpr-switches' to select duplex | |
7775 printing for your printer. | |
7776 | |
7777 setpagedevice duplex and page size are configured by ps-print using the | |
7778 setpagedevice PostScript operator. | |
7779 | |
7780 nil duplex and page size are configured by ps-print *not* using | |
7781 the setpagedevice PostScript operator. | |
7782 | |
7783 The variable `ps-spool-tumble' specifies how the page images on | |
7784 opposite sides of a sheet are oriented with respect to each other. If | |
7785 `ps-spool-tumble' is nil, ps-print produces output suitable for | |
7786 bindings on the left or right. If `ps-spool-tumble' is non-nil, | |
7787 ps-print produces output suitable for bindings at the top or bottom. | |
7788 This variable takes effect only if `ps-spool-duplex' is non-nil. | |
7789 The default value is nil. | |
7790 | |
7791 The variable `ps-header-frame-alist' specifies a header frame | |
7792 properties alist. Valid frame properties are: | |
7793 | |
7794 fore-color Specify the foreground frame color. | |
7795 Value should be a float number between 0.0 (black | |
7796 color) and 1.0 (white color), or a string which is a | |
7797 color name, or a list of 3 float numbers which | |
7798 correspond to the Red Green Blue color scale, each | |
7799 float number between 0.0 (dark color) and 1.0 (bright | |
7800 color). The default is 0 ("black"). | |
7801 | |
7802 back-color Specify the background frame color (similar to fore-color). | |
7803 The default is 0.9 ("gray90"). | |
7804 | |
7805 shadow-color Specify the shadow color (similar to fore-color). | |
7806 The default is 0 ("black"). | |
7807 | |
7808 border-color Specify the border color (similar to fore-color). | |
7809 The default is 0 ("black"). | |
7810 | |
7811 border-width Specify the border width. | |
7812 The default is 0.4. | |
7813 | |
7814 Any other property is ignored. | |
7815 | |
7816 Don't change this alist directly; instead use Custom, or the | |
7817 `ps-value', `ps-get', `ps-put' and `ps-del' functions (see there for | |
7818 documentation). | |
7819 | |
7820 Ps-print can also print footers. The footer variables are: | |
7821 `ps-print-footer', `ps-footer-offset', `ps-print-footer-frame', | |
7822 `ps-footer-font-family', `ps-footer-font-size', `ps-footer-line-pad', | |
7823 `ps-footer-lines', `ps-left-footer', `ps-right-footer' and | |
7824 `ps-footer-frame-alist'. These variables are similar to those | |
7825 controlling headers. | |
7826 | |
7827 *** Color management (subgroup) | |
7828 | |
7829 If `ps-print-color-p' is non-nil, the buffer's text will be printed in | |
7830 color. | |
7831 | |
7832 *** Face Management (subgroup) | |
7833 | |
7834 If you need to print without worrying about face background colors, | |
7835 set the variable `ps-use-face-background' which specifies if face | |
7836 background should be used. Valid values are: | |
7837 | |
7838 t always use face background color. | |
7839 nil never use face background color. | |
7840 (face...) list of faces whose background color will be used. | |
7841 | |
7842 *** N-up printing (subgroup) | |
7843 | |
7844 The variable `ps-n-up-printing' specifies the number of pages per | |
7845 sheet of paper. | |
7846 | |
7847 The variable `ps-n-up-margin' specifies the margin in points (pt) | |
7848 between the sheet border and the n-up printing. | |
7849 | |
7850 If variable `ps-n-up-border-p' is non-nil, a border is drawn around | |
7851 each page. | |
7852 | |
7853 The variable `ps-n-up-filling' specifies how the page matrix is filled | |
7854 on each sheet of paper. Following are the valid values for | |
7855 `ps-n-up-filling' with a filling example using a 3x4 page matrix: | |
7856 | |
7857 `left-top' 1 2 3 4 `left-bottom' 9 10 11 12 | |
7858 5 6 7 8 5 6 7 8 | |
7859 9 10 11 12 1 2 3 4 | |
7860 | |
7861 `right-top' 4 3 2 1 `right-bottom' 12 11 10 9 | |
7862 8 7 6 5 8 7 6 5 | |
7863 12 11 10 9 4 3 2 1 | |
7864 | |
7865 `top-left' 1 4 7 10 `bottom-left' 3 6 9 12 | |
7866 2 5 8 11 2 5 8 11 | |
7867 3 6 9 12 1 4 7 10 | |
7868 | |
7869 `top-right' 10 7 4 1 `bottom-right' 12 9 6 3 | |
7870 11 8 5 2 11 8 5 2 | |
7871 12 9 6 3 10 7 4 1 | |
7872 | |
7873 Any other value is treated as `left-top'. | |
7874 | |
7875 *** Zebra stripes (subgroup) | |
7876 | |
7877 The variable `ps-zebra-color' controls the zebra stripes grayscale or | |
7878 RGB color. | |
7879 | |
7880 The variable `ps-zebra-stripe-follow' specifies how zebra stripes | |
7881 continue on next page. Visually, valid values are (the character `+' | |
7882 to the right of each column indicates that a line is printed): | |
7883 | |
7884 `nil' `follow' `full' `full-follow' | |
7885 Current Page -------- ----------- --------- ---------------- | |
7886 1 XXXXX + 1 XXXXXXXX + 1 XXXXXX + 1 XXXXXXXXXXXXX + | |
7887 2 XXXXX + 2 XXXXXXXX + 2 XXXXXX + 2 XXXXXXXXXXXXX + | |
7888 3 XXXXX + 3 XXXXXXXX + 3 XXXXXX + 3 XXXXXXXXXXXXX + | |
7889 4 + 4 + 4 + 4 + | |
7890 5 + 5 + 5 + 5 + | |
7891 6 + 6 + 6 + 6 + | |
7892 7 XXXXX + 7 XXXXXXXX + 7 XXXXXX + 7 XXXXXXXXXXXXX + | |
7893 8 XXXXX + 8 XXXXXXXX + 8 XXXXXX + 8 XXXXXXXXXXXXX + | |
7894 9 XXXXX + 9 XXXXXXXX + 9 XXXXXX + 9 XXXXXXXXXXXXX + | |
7895 10 + 10 + | |
7896 11 + 11 + | |
7897 -------- ----------- --------- ---------------- | |
7898 Next Page -------- ----------- --------- ---------------- | |
7899 12 XXXXX + 12 + 10 XXXXXX + 10 + | |
7900 13 XXXXX + 13 XXXXXXXX + 11 XXXXXX + 11 + | |
7901 14 XXXXX + 14 XXXXXXXX + 12 XXXXXX + 12 + | |
7902 15 + 15 XXXXXXXX + 13 + 13 XXXXXXXXXXXXX + | |
7903 16 + 16 + 14 + 14 XXXXXXXXXXXXX + | |
7904 17 + 17 + 15 + 15 XXXXXXXXXXXXX + | |
7905 18 XXXXX + 18 + 16 XXXXXX + 16 + | |
7906 19 XXXXX + 19 XXXXXXXX + 17 XXXXXX + 17 + | |
7907 20 XXXXX + 20 XXXXXXXX + 18 XXXXXX + 18 + | |
7908 21 + 21 XXXXXXXX + | |
7909 22 + 22 + | |
7910 -------- ----------- --------- ---------------- | |
7911 | |
7912 Any other value is treated as `nil'. | |
7913 | |
7914 | |
7915 *** Printer management (subgroup) | |
7916 | |
7917 The variable `ps-printer-name-option' determines the option used by | |
7918 some utilities to indicate the printer name; it's used only when | |
7919 `ps-printer-name' is a non-empty string. If you're using the lpr | |
7920 utility to print, for example, `ps-printer-name-option' should be set | |
7921 to "-P". | |
7922 | |
7923 The variable `ps-manual-feed' indicates if the printer requires manual | |
7924 paper feeding. If it's nil, automatic feeding takes place. If it's | |
7925 non-nil, manual feeding takes place. | |
7926 | |
7927 The variable `ps-end-with-control-d' specifies whether C-d (\x04) | |
7928 should be inserted at end of the generated PostScript. Non-nil means | |
7929 do so. | |
7930 | |
7931 *** Page settings (subgroup) | |
7932 | |
7933 If variable `ps-warn-paper-type' is nil, it's *not* treated as an | |
7934 error if the PostScript printer doesn't have a paper with the size | |
7935 indicated by `ps-paper-type'; the default paper size will be used | |
7936 instead. If `ps-warn-paper-type' is non-nil, an error is signaled if | |
7937 the PostScript printer doesn't support a paper with the size indicated | |
7938 by `ps-paper-type'. This is used when `ps-spool-config' is set to | |
7939 `setpagedevice'. | |
7940 | |
7941 The variable `ps-print-upside-down' determines the orientation for | |
7942 printing pages: nil means `normal' printing, non-nil means | |
7943 `upside-down' printing (that is, the page is rotated by 180 degrees). | |
7944 | |
7945 The variable `ps-selected-pages' specifies which pages to print. If | |
7946 it's nil, all pages are printed. If it's a list, list elements may be | |
7947 integers specifying a single page to print, or cons cells (FROM . TO) | |
7948 specifying to print from page FROM to TO. Invalid list elements, that | |
7949 is integers smaller than one, or elements whose FROM is greater than | |
7950 its TO, are ignored. | |
7951 | |
7952 The variable `ps-even-or-odd-pages' specifies how to print even/odd | |
7953 pages. Valid values are: | |
7954 | |
7955 nil print all pages. | |
7956 | |
7957 `even-page' print only even pages. | |
7958 | |
7959 `odd-page' print only odd pages. | |
7960 | |
7961 `even-sheet' print only even sheets. | |
7962 That is, if `ps-n-up-printing' is 1, it behaves like | |
7963 `even-page', but for values greater than 1, it'll | |
7964 print only the even sheet of paper. | |
7965 | |
7966 `odd-sheet' print only odd sheets. | |
7967 That is, if `ps-n-up-printing' is 1, it behaves like | |
7968 `odd-page'; but for values greater than 1, it'll print | |
7969 only the odd sheet of paper. | |
7970 | |
7971 Any other value is treated as nil. | |
7972 | |
7973 If you set `ps-selected-pages' (see there for documentation), pages | |
7974 are filtered by `ps-selected-pages', and then by | |
7975 `ps-even-or-odd-pages'. For example, if we have: | |
7976 | |
7977 (setq ps-selected-pages '(1 4 (6 . 10) (12 . 16) 20)) | |
7978 | |
7979 and we combine this with `ps-even-or-odd-pages' and | |
7980 `ps-n-up-printing', we get: | |
7981 | |
7982 `ps-n-up-printing' = 1: | |
7983 `ps-even-or-odd-pages' PAGES PRINTED | |
7984 nil 1, 4, 6, 7, 8, 9, 10, 12, 13, 14, 15, 16, 20 | |
7985 even-page 4, 6, 8, 10, 12, 14, 16, 20 | |
7986 odd-page 1, 7, 9, 13, 15 | |
7987 even-sheet 4, 6, 8, 10, 12, 14, 16, 20 | |
7988 odd-sheet 1, 7, 9, 13, 15 | |
7989 | |
7990 `ps-n-up-printing' = 2: | |
7991 `ps-even-or-odd-pages' PAGES PRINTED | |
7992 nil 1/4, 6/7, 8/9, 10/12, 13/14, 15/16, 20 | |
7993 even-page 4/6, 8/10, 12/14, 16/20 | |
7994 odd-page 1/7, 9/13, 15 | |
7995 even-sheet 6/7, 10/12, 15/16 | |
7996 odd-sheet 1/4, 8/9, 13/14, 20 | |
7997 | |
7998 *** Miscellany (subgroup) | |
7999 | |
8000 The variable `ps-error-handler-message' specifies where error handler | |
8001 messages should be sent. | |
8002 | |
8003 It is also possible to add a user-defined PostScript prologue code in | |
8004 front of all generated prologue code by setting the variable | |
8005 `ps-user-defined-prologue'. | |
8006 | |
8007 The variable `ps-line-number-font' specifies the font for line numbers. | |
8008 | |
8009 The variable `ps-line-number-font-size' specifies the font size in | |
8010 points for line numbers. | |
8011 | |
8012 The variable `ps-line-number-color' specifies the color for line | |
8013 numbers. See `ps-zebra-color' for documentation. | |
8014 | |
8015 The variable `ps-line-number-step' specifies the interval in which | |
8016 line numbers are printed. For example, if `ps-line-number-step' is set | |
8017 to 2, the printing will look like: | |
8018 | |
8019 1 one line | |
8020 one line | |
8021 3 one line | |
8022 one line | |
8023 5 one line | |
8024 one line | |
8025 ... | |
8026 | |
8027 Valid values are: | |
8028 | |
8029 integer an integer specifying the interval in which line numbers are | |
8030 printed. If it's smaller than or equal to zero, 1 | |
8031 is used. | |
8032 | |
8033 `zebra' specifies that only the line number of the first line in a | |
8034 zebra stripe is to be printed. | |
8035 | |
8036 Any other value is treated as `zebra'. | |
8037 | |
8038 The variable `ps-line-number-start' specifies the starting point in | |
8039 the interval given by `ps-line-number-step'. For example, if | |
8040 `ps-line-number-step' is set to 3, and `ps-line-number-start' is set to | |
8041 3, the output will look like: | |
8042 | |
8043 one line | |
8044 one line | |
8045 3 one line | |
8046 one line | |
8047 one line | |
8048 6 one line | |
8049 one line | |
8050 one line | |
8051 9 one line | |
8052 one line | |
8053 ... | |
8054 | |
8055 The variable `ps-postscript-code-directory' specifies the directory | |
8056 where the PostScript prologue file used by ps-print is found. | |
8057 | |
8058 The variable `ps-line-spacing' determines the line spacing in points, | |
8059 for ordinary text, when generating PostScript (similar to | |
8060 `ps-font-size'). | |
8061 | |
8062 The variable `ps-paragraph-spacing' determines the paragraph spacing, | |
8063 in points, for ordinary text, when generating PostScript (similar to | |
8064 `ps-font-size'). | |
8065 | |
8066 The variable `ps-paragraph-regexp' specifies the paragraph delimiter. | |
8067 | |
8068 The variable `ps-begin-cut-regexp' and `ps-end-cut-regexp' specify the | |
8069 start and end of a region to cut out when printing. | |
30922 | 8070 |
8071 ** hideshow changes. | |
8072 | |
8073 *** now supports hiding of blocks of single line comments (like // for | |
8074 C++, ; for lisp). | |
8075 | |
8076 *** Support for java-mode added. | |
8077 | |
8078 *** When doing `hs-hide-all' it is now possible to also hide the comments | |
8079 in the file if `hs-hide-comments-when-hiding-all' is set. | |
8080 | |
35862
9604ca6b3728
More typos from Juanma Barranquero <lektu@uol.com.br>.
Eli Zaretskii <eliz@gnu.org>
parents:
35847
diff
changeset
|
8081 *** The new function `hs-hide-initial-comment' hides the comments at |
30922 | 8082 the beginning of the files. Finally those huge RCS logs don't stay in your |
8083 way! This is run by default when entering the `hs-minor-mode'. | |
8084 | |
8085 *** Now uses overlays instead of `selective-display', so is more | |
8086 robust and a lot faster. | |
8087 | |
8088 *** A block beginning can span multiple lines. | |
8089 | |
8090 *** The new variable `hs-show-hidden-short-form' if t, directs hideshow | |
8091 to show only the beginning of a block when it is hidden. See the | |
8092 documentation for more details. | |
8093 | |
8094 ** Changes in Enriched mode. | |
8095 | |
8096 *** When you visit a file in enriched-mode, Emacs will make sure it is | |
8097 filled to the current fill-column. This behavior is now independent | |
8098 of the size of the window. When you save the file, the fill-column in | |
8099 use is stored as well, so that the whole buffer need not be refilled | |
8100 the next time unless the fill-column is different. | |
8101 | |
8102 *** use-hard-newlines is now a minor mode. When it is enabled, Emacs | |
8103 distinguishes between hard and soft newlines, and treats hard newlines | |
8104 as paragraph boundaries. Otherwise all newlines inserted are marked | |
8105 as soft, and paragraph boundaries are determined solely from the text. | |
8106 | |
8107 ** Font Lock mode | |
8108 | |
8109 *** Custom support | |
8110 | |
8111 The variables font-lock-face-attributes, font-lock-display-type and | |
8112 font-lock-background-mode are now obsolete; the recommended way to specify the | |
8113 faces to use for Font Lock mode is with M-x customize-group on the new custom | |
8114 group font-lock-highlighting-faces. If you set font-lock-face-attributes in | |
8115 your ~/.emacs file, Font Lock mode will respect its value. However, you should | |
8116 consider converting from setting that variable to using M-x customize. | |
8117 | |
8118 You can still use X resources to specify Font Lock face appearances. | |
8119 | |
8120 *** Maximum decoration | |
8121 | |
8122 Fontification now uses the maximum level of decoration supported by | |
8123 default. Previously, fontification used a mode-specific default level | |
8124 of decoration, which is typically the minimum level of decoration | |
8125 supported. You can set font-lock-maximum-decoration to nil | |
8126 to get the old behavior. | |
8127 | |
8128 *** New support | |
8129 | |
8130 Support is now provided for Java, Objective-C, AWK and SIMULA modes. | |
8131 | |
8132 Note that Font Lock mode can be turned on without knowing exactly what modes | |
8133 support Font Lock mode, via the command global-font-lock-mode. | |
8134 | |
8135 *** Configurable support | |
8136 | |
8137 Support for C, C++, Objective-C and Java can be more easily configured for | |
8138 additional types and classes via the new variables c-font-lock-extra-types, | |
8139 c++-font-lock-extra-types, objc-font-lock-extra-types and, you guessed it, | |
8140 java-font-lock-extra-types. These value of each of these variables should be a | |
8141 list of regexps matching the extra type names. For example, the default value | |
8142 of c-font-lock-extra-types is ("\\sw+_t") which means fontification follows the | |
8143 convention that C type names end in _t. This results in slower fontification. | |
8144 | |
8145 Of course, you can change the variables that specify fontification in whatever | |
8146 way you wish, typically by adding regexps. However, these new variables make | |
8147 it easier to make specific and common changes for the fontification of types. | |
8148 | |
8149 *** Adding highlighting patterns to existing support | |
8150 | |
8151 You can use the new function font-lock-add-keywords to add your own | |
8152 highlighting patterns, such as for project-local or user-specific constructs, | |
8153 for any mode. | |
8154 | |
8155 For example, to highlight `FIXME:' words in C comments, put: | |
8156 | |
8157 (font-lock-add-keywords 'c-mode '(("\\<FIXME:" 0 font-lock-warning-face t))) | |
8158 | |
8159 in your ~/.emacs. | |
8160 | |
8161 *** New faces | |
8162 | |
8163 Font Lock now defines two new faces, font-lock-builtin-face and | |
8164 font-lock-warning-face. These are intended to highlight builtin keywords, | |
8165 distinct from a language's normal keywords, and objects that should be brought | |
8166 to user attention, respectively. Various modes now use these new faces. | |
8167 | |
8168 *** Changes to fast-lock support mode | |
8169 | |
8170 The fast-lock package, one of the two Font Lock support modes, can now process | |
8171 cache files silently. You can use the new variable fast-lock-verbose, in the | |
8172 same way as font-lock-verbose, to control this feature. | |
8173 | |
8174 *** Changes to lazy-lock support mode | |
8175 | |
8176 The lazy-lock package, one of the two Font Lock support modes, can now fontify | |
8177 according to the true syntactic context relative to other lines. You can use | |
8178 the new variable lazy-lock-defer-contextually to control this feature. If | |
8179 non-nil, changes to the buffer will cause subsequent lines in the buffer to be | |
8180 refontified after lazy-lock-defer-time seconds of idle time. If nil, then only | |
8181 the modified lines will be refontified; this is the same as the previous Lazy | |
8182 Lock mode behaviour and the behaviour of Font Lock mode. | |
8183 | |
8184 This feature is useful in modes where strings or comments can span lines. | |
8185 For example, if a string or comment terminating character is deleted, then if | |
8186 this feature is enabled subsequent lines in the buffer will be correctly | |
8187 refontified to reflect their new syntactic context. Previously, only the line | |
8188 containing the deleted character would be refontified and you would have to use | |
8189 the command M-g M-g (font-lock-fontify-block) to refontify some lines. | |
8190 | |
8191 As a consequence of this new feature, two other variables have changed: | |
8192 | |
8193 Variable `lazy-lock-defer-driven' is renamed `lazy-lock-defer-on-scrolling'. | |
8194 Variable `lazy-lock-defer-time' can now only be a time, i.e., a number. | |
8195 Buffer modes for which on-the-fly deferral applies can be specified via the | |
8196 new variable `lazy-lock-defer-on-the-fly'. | |
8197 | |
8198 If you set these variables in your ~/.emacs, then you may have to change those | |
8199 settings. | |
8200 | |
8201 ** Ada mode changes. | |
8202 | |
8203 *** There is now better support for using find-file.el with Ada mode. | |
8204 If you switch between spec and body, the cursor stays in the same | |
8205 procedure (modulo overloading). If a spec has no body file yet, but | |
8206 you try to switch to its body file, Ada mode now generates procedure | |
8207 stubs. | |
8208 | |
8209 *** There are two new commands: | |
8210 - `ada-make-local' : invokes gnatmake on the current buffer | |
8211 - `ada-check-syntax' : check syntax of current buffer. | |
8212 | |
8213 The user options `ada-compiler-make', `ada-make-options', | |
8214 `ada-language-version', `ada-compiler-syntax-check', and | |
8215 `ada-compile-options' are used within these commands. | |
8216 | |
8217 *** Ada mode can now work with Outline minor mode. The outline level | |
8218 is calculated from the indenting, not from syntactic constructs. | |
8219 Outlining does not work if your code is not correctly indented. | |
8220 | |
8221 *** The new function `ada-gnat-style' converts the buffer to the style of | |
8222 formatting used in GNAT. It places two blanks after a comment start, | |
8223 places one blank between a word end and an opening '(', and puts one | |
8224 space between a comma and the beginning of a word. | |
8225 | |
8226 ** Scheme mode changes. | |
8227 | |
8228 *** Scheme mode indentation now uses many of the facilities of Lisp | |
8229 mode; therefore, the variables to customize it are the variables used | |
8230 for Lisp mode which have names starting with `lisp-'. The variables | |
8231 with names starting with `scheme-' which used to do this no longer | |
8232 have any effect. | |
8233 | |
8234 If you want to use different indentation for Scheme and Lisp, this is | |
8235 still possible, but now you must do it by adding a hook to | |
8236 scheme-mode-hook, which could work by setting the `lisp-' indentation | |
8237 variables as buffer-local variables. | |
8238 | |
8239 *** DSSSL mode is a variant of Scheme mode, for editing DSSSL scripts. | |
8240 Use M-x dsssl-mode. | |
8241 | |
8242 ** Changes to the emacsclient program | |
8243 | |
8244 *** If a socket can't be found, and environment variables LOGNAME or | |
8245 USER are set, emacsclient now looks for a socket based on the UID | |
8246 associated with the name. That is an emacsclient running as root | |
8247 can connect to an Emacs server started by a non-root user. | |
8248 | |
8249 *** The emacsclient program now accepts an option --no-wait which tells | |
8250 it to return immediately without waiting for you to "finish" the | |
8251 buffer in Emacs. | |
8252 | |
8253 *** The new option --alternate-editor allows to specify an editor to | |
8254 use if Emacs is not running. The environment variable | |
8255 ALTERNATE_EDITOR can be used for the same effect; the command line | |
8256 option takes precedence. | |
8257 | |
8258 ** M-x eldoc-mode enables a minor mode in which the echo area | |
8259 constantly shows the parameter list for function being called at point | |
8260 (in Emacs Lisp and Lisp Interaction modes only). | |
8261 | |
8262 ** C-x n d now runs the new command narrow-to-defun, | |
8263 which narrows the accessible parts of the buffer to just | |
8264 the current defun. | |
8265 | |
8266 ** Emacs now handles the `--' argument in the standard way; all | |
8267 following arguments are treated as ordinary file names. | |
8268 | |
8269 ** On MSDOS and Windows, the bookmark file is now called _emacs.bmk, | |
8270 and the saved desktop file is now called _emacs.desktop (truncated if | |
8271 necessary). | |
8272 | |
8273 ** When you kill a buffer that visits a file, | |
8274 if there are any registers that save positions in the file, | |
8275 these register values no longer become completely useless. | |
8276 If you try to go to such a register with C-x j, then you are | |
8277 asked whether to visit the file again. If you say yes, | |
8278 it visits the file and then goes to the same position. | |
8279 | |
8280 ** When you visit a file that changes frequently outside Emacs--for | |
8281 example, a log of output from a process that continues to run--it may | |
8282 be useful for Emacs to revert the file without querying you whenever | |
8283 you visit the file afresh with C-x C-f. | |
8284 | |
8285 You can request this behavior for certain files by setting the | |
8286 variable revert-without-query to a list of regular expressions. If a | |
8287 file's name matches any of these regular expressions, find-file and | |
8288 revert-buffer revert the buffer without asking for permission--but | |
8289 only if you have not edited the buffer text yourself. | |
8290 | |
8291 ** set-default-font has been renamed to set-frame-font | |
8292 since it applies only to the current frame. | |
8293 | |
8294 ** In TeX mode, you can use the variable tex-main-file to specify the | |
8295 file for tex-file to run TeX on. (By default, tex-main-file is nil, | |
8296 and tex-file runs TeX on the current visited file.) | |
8297 | |
8298 This is useful when you are editing a document that consists of | |
8299 multiple files. In each of the included files, you can set up a local | |
8300 variable list which specifies the top-level file of your document for | |
8301 tex-main-file. Then tex-file will run TeX on the whole document | |
8302 instead of just the file you are editing. | |
8303 | |
8304 ** RefTeX mode | |
8305 | |
8306 RefTeX mode is a new minor mode with special support for \label, \ref | |
8307 and \cite macros in LaTeX documents. RefTeX distinguishes labels of | |
8308 different environments (equation, figure, ...) and has full support for | |
8309 multifile documents. To use it, select a buffer with a LaTeX document and | |
8310 turn the mode on with M-x reftex-mode. Here are the main user commands: | |
8311 | |
8312 C-c ( reftex-label | |
8313 Creates a label semi-automatically. RefTeX is context sensitive and | |
8314 knows which kind of label is needed. | |
8315 | |
8316 C-c ) reftex-reference | |
8317 Offers in a menu all labels in the document, along with context of the | |
8318 label definition. The selected label is referenced as \ref{LABEL}. | |
8319 | |
8320 C-c [ reftex-citation | |
8321 Prompts for a regular expression and displays a list of matching BibTeX | |
8322 database entries. The selected entry is cited with a \cite{KEY} macro. | |
8323 | |
8324 C-c & reftex-view-crossref | |
8325 Views the cross reference of a \ref or \cite command near point. | |
8326 | |
8327 C-c = reftex-toc | |
8328 Shows a table of contents of the (multifile) document. From there you | |
8329 can quickly jump to every section. | |
8330 | |
8331 Under X, RefTeX installs a "Ref" menu in the menu bar, with additional | |
8332 commands. Press `?' to get help when a prompt mentions this feature. | |
8333 Full documentation and customization examples are in the file | |
8334 reftex.el. You can use the finder to view the file documentation: | |
8335 C-h p --> tex --> reftex.el | |
8336 | |
8337 ** Changes in BibTeX mode. | |
8338 | |
8339 *** Info documentation is now available. | |
8340 | |
8341 *** Don't allow parentheses in string constants anymore. This confused | |
8342 both the BibTeX program and Emacs BibTeX mode. | |
8343 | |
8344 *** Renamed variable bibtex-mode-user-optional-fields to | |
8345 bibtex-user-optional-fields. | |
8346 | |
8347 *** Removed variable bibtex-include-OPTannote | |
8348 (use bibtex-user-optional-fields instead). | |
8349 | |
8350 *** New interactive functions to copy and kill fields and complete | |
8351 entries to the BibTeX kill ring, from where they can be yanked back by | |
8352 appropriate functions. | |
8353 | |
8354 *** New interactive functions for repositioning and marking of | |
40526
b466f4f946a7
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40493
diff
changeset
|
8355 entries. They are bound by default to C-M-l and C-M-h. |
30922 | 8356 |
8357 *** New hook bibtex-clean-entry-hook. It is called after entry has | |
8358 been cleaned. | |
8359 | |
8360 *** New variable bibtex-field-delimiters, which replaces variables | |
8361 bibtex-field-{left|right}-delimiter. | |
8362 | |
8363 *** New variable bibtex-entry-delimiters to determine how entries | |
8364 shall be delimited. | |
8365 | |
8366 *** Allow preinitialization of fields. See documentation of | |
8367 bibtex-user-optional-fields, bibtex-entry-field-alist, and | |
8368 bibtex-include-OPTkey for details. | |
8369 | |
8370 *** Book and InBook entries require either an author or an editor | |
8371 field. This is now supported by bibtex.el. Alternative fields are | |
8372 prefixed with `ALT'. | |
8373 | |
8374 *** New variable bibtex-entry-format, which replaces variable | |
8375 bibtex-clean-entry-zap-empty-opts and allows specification of many | |
8376 formatting options performed on cleaning an entry (see variable | |
8377 documentation). | |
8378 | |
8379 *** Even more control on how automatic keys are generated. See | |
8380 documentation of bibtex-generate-autokey for details. Transcriptions | |
8381 for foreign languages other than German are now handled, too. | |
8382 | |
8383 *** New boolean user option bibtex-comma-after-last-field to decide if | |
8384 comma should be inserted at end of last field. | |
8385 | |
8386 *** New boolean user option bibtex-align-at-equal-sign to determine if | |
8387 alignment should be made at left side of field contents or at equal | |
8388 signs. New user options to control entry layout (e.g. indentation). | |
8389 | |
8390 *** New function bibtex-fill-entry to realign entries. | |
8391 | |
8392 *** New function bibtex-reformat to reformat region or buffer. | |
8393 | |
8394 *** New function bibtex-convert-alien to convert a BibTeX database | |
8395 from alien sources. | |
8396 | |
8397 *** New function bibtex-complete-key (similar to bibtex-complete-string) | |
8398 to complete prefix to a key defined in buffer. Mainly useful in | |
8399 crossref entries. | |
8400 | |
8401 *** New function bibtex-count-entries to count entries in buffer or | |
8402 region. | |
8403 | |
8404 *** Added support for imenu. | |
8405 | |
8406 *** The function `bibtex-validate' now checks current region instead | |
8407 of buffer if mark is active. Now it shows all errors of buffer in a | |
8408 `compilation mode' buffer. You can use the normal commands (e.g. | |
8409 `next-error') for compilation modes to jump to errors. | |
8410 | |
8411 *** New variable `bibtex-string-file-path' to determine where the files | |
8412 from `bibtex-string-files' are searched. | |
8413 | |
8414 ** Iso Accents mode now supports Latin-3 as an alternative. | |
8415 | |
8416 ** The command next-error now opens blocks hidden by hideshow. | |
8417 | |
8418 ** The function using-unix-filesystems has been replaced by the | |
8419 functions add-untranslated-filesystem and remove-untranslated-filesystem. | |
8420 Each of these functions takes the name of a drive letter or directory | |
8421 as an argument. | |
8422 | |
8423 When a filesystem is added as untranslated, all files on it are read | |
8424 and written in binary mode (no cr/lf translation is performed). | |
8425 | |
8426 ** browse-url changes | |
8427 | |
8428 *** New methods for: Grail (browse-url-generic), MMM (browse-url-mmm), | |
8429 Lynx in a separate xterm (browse-url-lynx-xterm) or in an Emacs window | |
8430 (browse-url-lynx-emacs), remote W3 (browse-url-w3-gnudoit), generic | |
8431 non-remote-controlled browsers (browse-url-generic) and associated | |
8432 customization variables. | |
8433 | |
8434 *** New commands `browse-url-of-region' and `browse-url'. | |
8435 | |
8436 *** URLs marked up with <URL:...> (RFC1738) work if broken across | |
8437 lines. Browsing methods can be associated with URL regexps | |
8438 (e.g. mailto: URLs) via `browse-url-browser-function'. | |
8439 | |
8440 ** Changes in Ediff | |
8441 | |
8442 *** Clicking Mouse-2 on a brief command description in Ediff control panel | |
8443 pops up the Info file for this command. | |
8444 | |
8445 *** There is now a variable, ediff-autostore-merges, which controls whether | |
8446 the result of a merge is saved in a file. By default, this is done only when | |
8447 merge is done from a session group (eg, when merging files in two different | |
8448 directories). | |
8449 | |
8450 *** Since Emacs 19.31 (this hasn't been announced before), Ediff can compare | |
8451 and merge groups of files residing in different directories, or revisions of | |
8452 files in the same directory. | |
8453 | |
8454 *** Since Emacs 19.31, Ediff can apply multi-file patches interactively. | |
8455 The patches must be in the context format or GNU unified format. (The bug | |
8456 related to the GNU format has now been fixed.) | |
8457 | |
8458 ** Changes in Viper | |
8459 | |
8460 *** The startup file is now .viper instead of .vip | |
8461 *** All variable/function names have been changed to start with viper- | |
8462 instead of vip-. | |
8463 *** C-\ now simulates the meta-key in all Viper states. | |
8464 *** C-z in Insert state now escapes to Vi for the duration of the next | |
8465 Viper command. In Vi and Insert states, C-z behaves as before. | |
8466 *** C-c \ escapes to Vi for one command if Viper is in Insert or Emacs states. | |
8467 *** _ is no longer the meta-key in Vi state. | |
8468 *** The variable viper-insert-state-cursor-color can be used to change cursor | |
8469 color when Viper is in insert state. | |
8470 *** If search lands the cursor near the top or the bottom of the window, | |
8471 Viper pulls the window up or down to expose more context. The variable | |
8472 viper-adjust-window-after-search controls this behavior. | |
8473 | |
8474 ** Etags changes. | |
8475 | |
8476 *** In C, C++, Objective C and Java, Etags tags global variables by | |
8477 default. The resulting tags files are inflated by 30% on average. | |
8478 Use --no-globals to turn this feature off. Etags can also tag | |
8479 variables which are members of structure-like constructs, but it does | |
8480 not by default. Use --members to turn this feature on. | |
8481 | |
8482 *** C++ member functions are now recognized as tags. | |
8483 | |
8484 *** Java is tagged like C++. In addition, "extends" and "implements" | |
8485 constructs are tagged. Files are recognised by the extension .java. | |
8486 | |
8487 *** Etags can now handle programs written in Postscript. Files are | |
8488 recognised by the extensions .ps and .pdb (Postscript with C syntax). | |
8489 In Postscript, tags are lines that start with a slash. | |
8490 | |
8491 *** Etags now handles Objective C and Objective C++ code. The usual C and | |
8492 C++ tags are recognized in these languages; in addition, etags | |
8493 recognizes special Objective C syntax for classes, class categories, | |
8494 methods and protocols. | |
8495 | |
8496 *** Etags also handles Cobol. Files are recognised by the extension | |
8497 .cobol. The tagged lines are those containing a word that begins in | |
8498 column 8 and ends in a full stop, i.e. anything that could be a | |
8499 paragraph name. | |
8500 | |
8501 *** Regexps in Etags now support intervals, as in ed or grep. The syntax of | |
8502 an interval is \{M,N\}, and it means to match the preceding expression | |
8503 at least M times and as many as N times. | |
8504 | |
8505 ** The format for specifying a custom format for time-stamp to insert | |
8506 in files has changed slightly. | |
8507 | |
8508 With the new enhancements to the functionality of format-time-string, | |
8509 time-stamp-format will change to be eventually compatible with it. | |
8510 This conversion is being done in two steps to maintain compatibility | |
8511 with old time-stamp-format values. | |
8512 | |
8513 In the new scheme, alternate case is signified by the number-sign | |
8514 (`#') modifier, rather than changing the case of the format character. | |
8515 This feature is as yet incompletely implemented for compatibility | |
8516 reasons. | |
8517 | |
8518 In the old time-stamp-format, all numeric fields defaulted to their | |
8519 natural width. (With format-time-string, each format has a | |
8520 fixed-width default.) In this version, you can specify the colon | |
8521 (`:') modifier to a numeric conversion to mean "give me the historical | |
8522 time-stamp-format width default." Do not use colon if you are | |
8523 specifying an explicit width, as in "%02d". | |
8524 | |
8525 Numbers are no longer truncated to the requested width, except in the | |
8526 case of "%02y", which continues to give a two-digit year. Digit | |
8527 truncation probably wasn't being used for anything else anyway. | |
8528 | |
8529 The new formats will work with old versions of Emacs. New formats are | |
8530 being recommended now to allow time-stamp-format to change in the | |
8531 future to be compatible with format-time-string. The new forms being | |
8532 recommended now will continue to work then. | |
8533 | |
8534 See the documentation string for the variable time-stamp-format for | |
8535 details. | |
8536 | |
8537 ** There are some additional major modes: | |
8538 | |
8539 dcl-mode, for editing VMS DCL files. | |
8540 m4-mode, for editing files of m4 input. | |
8541 meta-mode, for editing MetaFont and MetaPost source files. | |
8542 | |
8543 ** In Shell mode, the command shell-copy-environment-variable lets you | |
8544 copy the value of a specified environment variable from the subshell | |
8545 into Emacs. | |
8546 | |
8547 ** New Lisp packages include: | |
8548 | |
8549 *** battery.el displays battery status for laptops. | |
8550 | |
8551 *** M-x bruce (named after Lenny Bruce) is a program that might | |
8552 be used for adding some indecent words to your email. | |
8553 | |
8554 *** M-x crisp-mode enables an emulation for the CRiSP editor. | |
8555 | |
8556 *** M-x dirtrack arranges for better tracking of directory changes | |
8557 in shell buffers. | |
8558 | |
8559 *** The new library elint.el provides for linting of Emacs Lisp code. | |
8560 See the documentation for `elint-initialize', `elint-current-buffer' | |
8561 and `elint-defun'. | |
8562 | |
8563 *** M-x expand-add-abbrevs defines a special kind of abbrev which is | |
8564 meant for programming constructs. These abbrevs expand like ordinary | |
8565 ones, when you type SPC, but only at the end of a line and not within | |
8566 strings or comments. | |
8567 | |
8568 These abbrevs can act as templates: you can define places within an | |
8569 abbrev for insertion of additional text. Once you expand the abbrev, | |
8570 you can then use C-x a p and C-x a n to move back and forth to these | |
8571 insertion points. Thus you can conveniently insert additional text | |
8572 at these points. | |
8573 | |
8574 *** filecache.el remembers the location of files so that you | |
8575 can visit them by short forms of their names. | |
8576 | |
8577 *** find-func.el lets you find the definition of the user-loaded | |
8578 Emacs Lisp function at point. | |
8579 | |
8580 *** M-x handwrite converts text to a "handwritten" picture. | |
8581 | |
8582 *** M-x iswitchb-buffer is a command for switching to a buffer, much like | |
8583 switch-buffer, but it reads the argument in a more helpful way. | |
8584 | |
8585 *** M-x landmark implements a neural network for landmark learning. | |
8586 | |
8587 *** M-x locate provides a convenient interface to the `locate' program. | |
8588 | |
8589 *** M4 mode is a new mode for editing files of m4 input. | |
8590 | |
8591 *** mantemp.el creates C++ manual template instantiations | |
8592 from the GCC error messages which indicate which instantiations are needed. | |
8593 | |
8594 *** mouse-copy.el provides a one-click copy and move feature. | |
8595 You can drag a region with M-mouse-1, and it is automatically | |
8596 inserted at point. M-Shift-mouse-1 deletes the text from its | |
8597 original place after inserting the copy. | |
8598 | |
8599 *** mouse-drag.el lets you do scrolling by dragging Mouse-2 | |
8600 on the buffer. | |
8601 | |
8602 You click the mouse and move; that distance either translates into the | |
8603 velocity to scroll (with mouse-drag-throw) or the distance to scroll | |
8604 (with mouse-drag-drag). Horizontal scrolling is enabled when needed. | |
8605 | |
8606 Enable mouse-drag with: | |
8607 (global-set-key [down-mouse-2] 'mouse-drag-throw) | |
8608 -or- | |
8609 (global-set-key [down-mouse-2] 'mouse-drag-drag) | |
8610 | |
8611 *** mspools.el is useful for determining which mail folders have | |
8612 mail waiting to be read in them. It works with procmail. | |
8613 | |
8614 *** Octave mode is a major mode for editing files of input for Octave. | |
8615 It comes with a facility for communicating with an Octave subprocess. | |
8616 | |
8617 *** ogonek | |
8618 | |
8619 The ogonek package provides functions for changing the coding of | |
8620 Polish diacritic characters in buffers. Codings known from various | |
8621 platforms are supported such as ISO8859-2, Mazovia, IBM Latin2, and | |
8622 TeX. For example, you can change the coding from Mazovia to | |
8623 ISO8859-2. Another example is a change of coding from ISO8859-2 to | |
8624 prefix notation (in which `/a' stands for the aogonek character, for | |
8625 instance) and vice versa. | |
8626 | |
8627 To use this package load it using | |
8628 M-x load-library [enter] ogonek | |
8629 Then, you may get an explanation by calling one of | |
8630 M-x ogonek-jak -- in Polish | |
8631 M-x ogonek-how -- in English | |
8632 The info specifies the commands and variables provided as well as the | |
8633 ways of customization in `.emacs'. | |
8634 | |
8635 *** Interface to ph. | |
8636 | |
8637 Emacs provides a client interface to CCSO Nameservers (ph/qi) | |
8638 | |
8639 The CCSO nameserver is used in many universities to provide directory | |
8640 services about people. ph.el provides a convenient Emacs interface to | |
8641 these servers. | |
8642 | |
8643 *** uce.el is useful for replying to unsolicited commercial email. | |
8644 | |
8645 *** vcursor.el implements a "virtual cursor" feature. | |
8646 You can move the virtual cursor with special commands | |
8647 while the real cursor does not move. | |
8648 | |
8649 *** webjump.el is a "hot list" package which you can set up | |
8650 for visiting your favorite web sites. | |
8651 | |
8652 *** M-x winner-mode is a minor mode which saves window configurations, | |
8653 so you can move back to other configurations that you have recently used. | |
8654 | |
8655 ** movemail change | |
8656 | |
8657 Movemail no longer needs to be installed setuid root in order for POP | |
8658 mail retrieval to function properly. This is because it no longer | |
8659 supports the RPOP (reserved-port POP) protocol; instead, it uses the | |
8660 user's POP password to authenticate to the mail server. | |
8661 | |
8662 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
|
8663 |
30922 | 8664 * Emacs 20.1 changes for MS-DOS and MS-Windows. |
8665 | |
8666 ** Changes in handling MS-DOS/MS-Windows text files. | |
8667 | |
8668 Emacs handles three different conventions for representing | |
8669 end-of-line: CRLF for MSDOS, LF for Unix and GNU, and CR (used on the | |
8670 Macintosh). Emacs determines which convention is used in a specific | |
8671 file based on the contents of that file (except for certain special | |
8672 file names), and when it saves the file, it uses the same convention. | |
8673 | |
8674 To save the file and change the end-of-line convention, you can use | |
8675 C-x RET f (set-buffer-file-coding-system) to specify a different | |
8676 coding system for the buffer. Then, when you save the file, the newly | |
8677 specified coding system will take effect. For example, to save with | |
8678 LF, specify undecided-unix (or some other ...-unix coding system); to | |
8679 save with CRLF, specify undecided-dos. | |
35577
db5649648a65
Replace formfeeds removed on 2001/01/22.
Dave Love <fx@gnu.org>
parents:
35567
diff
changeset
|
8680 |
30922 | 8681 * Lisp Changes in Emacs 20.1 |
8682 | |
8683 ** Byte-compiled files made with Emacs 20 will, in general, work in | |
8684 Emacs 19 as well, as long as the source code runs in Emacs 19. And | |
8685 vice versa: byte-compiled files made with Emacs 19 should also run in | |
8686 Emacs 20, as long as the program itself works in Emacs 20. | |
8687 | |
8688 ** Windows-specific functions and variables have been renamed | |
8689 to start with w32- instead of win32-. | |
8690 | |
8691 In hacker language, calling something a "win" is a form of praise. We | |
8692 don't want to praise a non-free Microsoft system, so we don't call it | |
8693 "win". | |
8694 | |
8695 ** Basic Lisp changes | |
8696 | |
8697 *** A symbol whose name starts with a colon now automatically | |
8698 evaluates to itself. Therefore such a symbol can be used as a constant. | |
8699 | |
8700 *** The defined purpose of `defconst' has been changed. It should now | |
8701 be used only for values that should not be changed whether by a program | |
8702 or by the user. | |
8703 | |
8704 The actual behavior of defconst has not been changed. | |
8705 | |
8706 *** There are new macros `when' and `unless' | |
8707 | |
8708 (when CONDITION BODY...) is short for (if CONDITION (progn BODY...)) | |
8709 (unless CONDITION BODY...) is short for (if CONDITION nil BODY...) | |
8710 | |
8711 *** Emacs now defines functions caar, cadr, cdar and cddr with their | |
8712 usual Lisp meanings. For example, caar returns the car of the car of | |
8713 its argument. | |
8714 | |
8715 *** equal, when comparing strings, now ignores their text properties. | |
8716 | |
8717 *** The new function `functionp' tests whether an object is a function. | |
8718 | |
8719 *** arrayp now returns t for char-tables and bool-vectors. | |
8720 | |
8721 *** Certain primitives which use characters (as integers) now get an | |
8722 error if the integer is not a valid character code. These primitives | |
8723 include insert-char, char-to-string, and the %c construct in the | |
8724 `format' function. | |
8725 | |
8726 *** The `require' function now insists on adding a suffix, either .el | |
8727 or .elc, to the file name. Thus, (require 'foo) will not use a file | |
8728 whose name is just foo. It insists on foo.el or foo.elc. | |
8729 | |
8730 *** The `autoload' function, when the file name does not contain | |
8731 either a directory name or the suffix .el or .elc, insists on | |
8732 adding one of these suffixes. | |
8733 | |
8734 *** string-to-number now takes an optional second argument BASE | |
8735 which specifies the base to use when converting an integer. | |
8736 If BASE is omitted, base 10 is used. | |
8737 | |
8738 We have not implemented other radices for floating point numbers, | |
8739 because that would be much more work and does not seem useful. | |
8740 | |
8741 *** substring now handles vectors as well as strings. | |
8742 | |
8743 *** The Common Lisp function eql is no longer defined normally. | |
8744 You must load the `cl' library to define it. | |
8745 | |
8746 *** The new macro `with-current-buffer' lets you evaluate an expression | |
8747 conveniently with a different current buffer. It looks like this: | |
8748 | |
8749 (with-current-buffer BUFFER BODY-FORMS...) | |
8750 | |
8751 BUFFER is the expression that says which buffer to use. | |
8752 BODY-FORMS say what to do in that buffer. | |
8753 | |
8754 *** The new primitive `save-current-buffer' saves and restores the | |
8755 choice of current buffer, like `save-excursion', but without saving or | |
8756 restoring the value of point or the mark. `with-current-buffer' | |
8757 works using `save-current-buffer'. | |
8758 | |
8759 *** The new macro `with-temp-file' lets you do some work in a new buffer and | |
8760 write the output to a specified file. Like `progn', it returns the value | |
8761 of the last form. | |
8762 | |
8763 *** The new macro `with-temp-buffer' lets you do some work in a new buffer, | |
8764 which is discarded after use. Like `progn', it returns the value of the | |
8765 last form. If you wish to return the buffer contents, use (buffer-string) | |
8766 as the last form. | |
8767 | |
8768 *** The new function split-string takes a string, splits it at certain | |
8769 characters, and returns a list of the substrings in between the | |
8770 matches. | |
8771 | |
8772 For example, (split-string "foo bar lose" " +") returns ("foo" "bar" "lose"). | |
8773 | |
8774 *** The new macro with-output-to-string executes some Lisp expressions | |
8775 with standard-output set up so that all output feeds into a string. | |
8776 Then it returns that string. | |
8777 | |
8778 For example, if the current buffer name is `foo', | |
8779 | |
8780 (with-output-to-string | |
8781 (princ "The buffer is ") | |
8782 (princ (buffer-name))) | |
8783 | |
8784 returns "The buffer is foo". | |
8785 | |
8786 ** Non-ASCII characters are now supported, if enable-multibyte-characters | |
8787 is non-nil. | |
8788 | |
8789 These characters have character codes above 256. When inserted in the | |
8790 buffer or stored in a string, they are represented as multibyte | |
8791 characters that occupy several buffer positions each. | |
8792 | |
8793 *** When enable-multibyte-characters is non-nil, a single character in | |
8794 a buffer or string can be two or more bytes (as many as four). | |
8795 | |
8796 Buffers and strings are still made up of unibyte elements; | |
8797 character positions and string indices are always measured in bytes. | |
8798 Therefore, moving forward one character can increase the buffer | |
8799 position by 2, 3 or 4. The function forward-char moves by whole | |
8800 characters, and therefore is no longer equivalent to | |
8801 (lambda (n) (goto-char (+ (point) n))). | |
8802 | |
8803 ASCII characters (codes 0 through 127) are still single bytes, always. | |
8804 Sequences of byte values 128 through 255 are used to represent | |
8805 non-ASCII characters. These sequences are called "multibyte | |
8806 characters". | |
8807 | |
8808 The first byte of a multibyte character is always in the range 128 | |
8809 through 159 (octal 0200 through 0237). These values are called | |
8810 "leading codes". The second and subsequent bytes are always in the | |
8811 range 160 through 255 (octal 0240 through 0377). The first byte, the | |
8812 leading code, determines how many bytes long the sequence is. | |
8813 | |
8814 *** The function forward-char moves over characters, and therefore | |
8815 (forward-char 1) may increase point by more than 1 if it moves over a | |
8816 multibyte character. Likewise, delete-char always deletes a | |
8817 character, which may be more than one buffer position. | |
8818 | |
8819 This means that some Lisp programs, which assume that a character is | |
8820 always one buffer position, need to be changed. | |
8821 | |
8822 However, all ASCII characters are always one buffer position. | |
8823 | |
8824 *** The regexp [\200-\377] no longer matches all non-ASCII characters, | |
8825 because when enable-multibyte-characters is non-nil, these characters | |
8826 have codes that are not in the range octal 200 to octal 377. However, | |
8827 the regexp [^\000-\177] does match all non-ASCII characters, | |
8828 guaranteed. | |
8829 | |
8830 *** The function char-boundary-p returns non-nil if position POS is | |
8831 between two characters in the buffer (not in the middle of a | |
8832 character). | |
8833 | |
8834 When the value is non-nil, it says what kind of character follows POS: | |
8835 | |
8836 0 if POS is at an ASCII character or at the end of range, | |
8837 1 if POS is before a 2-byte length multi-byte form, | |
8838 2 if POS is at a head of 3-byte length multi-byte form, | |
8839 3 if POS is at a head of 4-byte length multi-byte form, | |
8840 4 if POS is at a head of multi-byte form of a composite character. | |
8841 | |
8842 *** The function char-bytes returns how many bytes the character CHAR uses. | |
8843 | |
8844 *** Strings can contain multibyte characters. The function | |
8845 `length' returns the string length counting bytes, which may be | |
8846 more than the number of characters. | |
8847 | |
8848 You can include a multibyte character in a string constant by writing | |
8849 it literally. You can also represent it with a hex escape, | |
8850 \xNNNNNNN..., using as many digits as necessary. Any character which | |
8851 is not a valid hex digit terminates this construct. If you want to | |
8852 follow it with a character that is a hex digit, write backslash and | |
8853 newline in between; that will terminate the hex escape. | |
8854 | |
8855 *** The function concat-chars takes arguments which are characters | |
8856 and returns a string containing those characters. | |
8857 | |
8858 *** The function sref access a multibyte character in a string. | |
8859 (sref STRING INDX) returns the character in STRING at INDEX. INDEX | |
8860 counts from zero. If INDEX is at a position in the middle of a | |
8861 character, sref signals an error. | |
8862 | |
8863 *** The function chars-in-string returns the number of characters | |
8864 in a string. This is less than the length of the string, if the | |
8865 string contains multibyte characters (the length counts bytes). | |
8866 | |
8867 *** The function chars-in-region returns the number of characters | |
8868 in a region from BEG to END. This is less than (- END BEG) if the | |
8869 region contains multibyte characters (the length counts bytes). | |
8870 | |
8871 *** The function string-to-list converts a string to a list of | |
8872 the characters in it. string-to-vector converts a string | |
8873 to a vector of the characters in it. | |
8874 | |
8875 *** The function store-substring alters part of the contents | |
8876 of a string. You call it as follows: | |
8877 | |
8878 (store-substring STRING IDX OBJ) | |
8879 | |
8880 This says to alter STRING, by storing OBJ starting at index IDX in | |
8881 STRING. OBJ may be either a character or a (smaller) string. | |
8882 This function really does alter the contents of STRING. | |
8883 Since it is impossible to change the length of an existing string, | |
8884 it is an error if OBJ doesn't fit within STRING's actual length. | |
8885 | |
8886 *** char-width returns the width (in columns) of the character CHAR, | |
8887 if it were displayed in the current buffer and the selected window. | |
8888 | |
8889 *** string-width returns the width (in columns) of the text in STRING, | |
8890 if it were displayed in the current buffer and the selected window. | |
8891 | |
8892 *** truncate-string-to-width shortens a string, if necessary, | |
8893 to fit within a certain number of columns. (Of course, it does | |
8894 not alter the string that you give it; it returns a new string | |
8895 which contains all or just part of the existing string.) | |
8896 | |
8897 (truncate-string-to-width STR END-COLUMN &optional START-COLUMN PADDING) | |
8898 | |
8899 This returns the part of STR up to column END-COLUMN. | |
8900 | |
8901 The optional argument START-COLUMN specifies the starting column. | |
8902 If this is non-nil, then the first START-COLUMN columns of the string | |
8903 are not included in the resulting value. | |
8904 | |
8905 The optional argument PADDING, if non-nil, is a padding character to be added | |
8906 at the beginning and end the resulting string, to extend it to exactly | |
8907 WIDTH columns. If PADDING is nil, that means do not pad; then, if STRING | |
8908 is narrower than WIDTH, the value is equal to STRING. | |
8909 | |
8910 If PADDING and START-COLUMN are both non-nil, and if there is no clean | |
8911 place in STRING that corresponds to START-COLUMN (because one | |
8912 character extends across that column), then the padding character | |
8913 PADDING is added one or more times at the beginning of the result | |
8914 string, so that its columns line up as if it really did start at | |
8915 column START-COLUMN. | |
8916 | |
8917 *** When the functions in the list after-change-functions are called, | |
8918 the third argument is the number of bytes in the pre-change text, not | |
8919 necessarily the number of characters. It is, in effect, the | |
8920 difference in buffer position between the beginning and the end of the | |
8921 changed text, before the change. | |
8922 | |
8923 *** The characters Emacs uses are classified in various character | |
8924 sets, each of which has a name which is a symbol. In general there is | |
8925 one character set for each script, not for each language. | |
8926 | |
8927 **** The function charsetp tests whether an object is a character set name. | |
8928 | |
8929 **** The variable charset-list holds a list of character set names. | |
8930 | |
8931 **** char-charset, given a character code, returns the name of the character | |
8932 set that the character belongs to. (The value is a symbol.) | |
8933 | |
8934 **** split-char, given a character code, returns a list containing the | |
8935 name of the character set, followed by one or two byte-values | |
8936 which identify the character within that character set. | |
8937 | |
8938 **** make-char, given a character set name and one or two subsequent | |
8939 byte-values, constructs a character code. This is roughly the | |
8940 opposite of split-char. | |
8941 | |
8942 **** find-charset-region returns a list of the character sets | |
8943 of all the characters between BEG and END. | |
8944 | |
8945 **** find-charset-string returns a list of the character sets | |
8946 of all the characters in a string. | |
8947 | |
8948 *** Here are the Lisp facilities for working with coding systems | |
8949 and specifying coding systems. | |
8950 | |
8951 **** The function coding-system-list returns a list of all coding | |
8952 system names (symbols). With optional argument t, it returns a list | |
8953 of all distinct base coding systems, not including variants. | |
8954 (Variant coding systems are those like latin-1-dos, latin-1-unix | |
8955 and latin-1-mac which specify the end-of-line conversion as well | |
8956 as what to do about code conversion.) | |
8957 | |
8958 **** coding-system-p tests a symbol to see if it is a coding system | |
8959 name. It returns t if so, nil if not. | |
8960 | |
8961 **** file-coding-system-alist specifies which coding systems to use | |
8962 for certain file names. It works like network-coding-system-alist, | |
8963 except that the PATTERN is matched against the file name. | |
8964 | |
8965 Each element has the format (PATTERN . VAL), where PATTERN determines | |
8966 which file names the element applies to. PATTERN should be a regexp | |
8967 to match against a file name. | |
8968 | |
8969 VAL is a coding system, a cons cell containing two coding systems, or | |
8970 a function symbol. If VAL is a coding system, it is used for both | |
8971 decoding what received from the network stream and encoding what sent | |
8972 to the network stream. If VAL is a cons cell containing two coding | |
8973 systems, the car specifies the coding system for decoding, and the cdr | |
8974 specifies the coding system for encoding. | |
8975 | |
8976 If VAL is a function symbol, the function must return a coding system | |
8977 or a cons cell containing two coding systems, which is used as above. | |
8978 | |
8979 **** The variable network-coding-system-alist specifies | |
8980 the coding system to use for network sockets. | |
8981 | |
8982 Each element has the format (PATTERN . VAL), where PATTERN determines | |
8983 which network sockets the element applies to. PATTERN should be | |
8984 either a port number or a regular expression matching some network | |
8985 service names. | |
8986 | |
8987 VAL is a coding system, a cons cell containing two coding systems, or | |
8988 a function symbol. If VAL is a coding system, it is used for both | |
8989 decoding what received from the network stream and encoding what sent | |
8990 to the network stream. If VAL is a cons cell containing two coding | |
8991 systems, the car specifies the coding system for decoding, and the cdr | |
8992 specifies the coding system for encoding. | |
8993 | |
8994 If VAL is a function symbol, the function must return a coding system | |
8995 or a cons cell containing two coding systems, which is used as above. | |
8996 | |
8997 **** process-coding-system-alist specifies which coding systems to use | |
8998 for certain subprocess. It works like network-coding-system-alist, | |
8999 except that the PATTERN is matched against the program name used to | |
9000 start the subprocess. | |
9001 | |
9002 **** The variable default-process-coding-system specifies the coding | |
9003 systems to use for subprocess (and net connection) input and output, | |
9004 when nothing else specifies what to do. The value is a cons cell | |
9005 (OUTPUT-CODING . INPUT-CODING). OUTPUT-CODING applies to output | |
9006 to the subprocess, and INPUT-CODING applies to input from it. | |
9007 | |
9008 **** The variable coding-system-for-write, if non-nil, specifies the | |
9009 coding system to use for writing a file, or for output to a synchronous | |
9010 subprocess. | |
9011 | |
9012 It also applies to any asynchronous subprocess or network connection, | |
9013 but in a different way: the value of coding-system-for-write when you | |
9014 start the subprocess or connection affects that subprocess or | |
9015 connection permanently or until overridden. | |
9016 | |
9017 The variable coding-system-for-write takes precedence over | |
9018 file-coding-system-alist, process-coding-system-alist and | |
9019 network-coding-system-alist, and all other methods of specifying a | |
9020 coding system for output. But most of the time this variable is nil. | |
9021 It exists so that Lisp programs can bind it to a specific coding | |
9022 system for one operation at a time. | |
9023 | |
9024 **** coding-system-for-read applies similarly to input from | |
9025 files, subprocesses or network connections. | |
9026 | |
9027 **** The function process-coding-system tells you what | |
9028 coding systems(s) an existing subprocess is using. | |
9029 The value is a cons cell, | |
9030 (DECODING-CODING-SYSTEM . ENCODING-CODING-SYSTEM) | |
9031 where DECODING-CODING-SYSTEM is used for decoding output from | |
9032 the subprocess, and ENCODING-CODING-SYSTEM is used for encoding | |
9033 input to the subprocess. | |
9034 | |
9035 **** The function set-process-coding-system can be used to | |
9036 change the coding systems in use for an existing subprocess. | |
9037 | |
9038 ** Emacs has a new facility to help users manage the many | |
9039 customization options. To make a Lisp program work with this facility, | |
9040 you need to use the new macros defgroup and defcustom. | |
9041 | |
9042 You use defcustom instead of defvar, for defining a user option | |
9043 variable. The difference is that you specify two additional pieces of | |
9044 information (usually): the "type" which says what values are | |
9045 legitimate, and the "group" which specifies the hierarchy for | |
9046 customization. | |
9047 | |
9048 Thus, instead of writing | |
9049 | |
9050 (defvar foo-blurgoze nil | |
9051 "*Non-nil means that foo will act very blurgozely.") | |
9052 | |
9053 you would now write this: | |
9054 | |
9055 (defcustom foo-blurgoze nil | |
9056 "*Non-nil means that foo will act very blurgozely." | |
9057 :type 'boolean | |
9058 :group foo) | |
9059 | |
9060 The type `boolean' means that this variable has only | |
9061 two meaningful states: nil and non-nil. Other type values | |
9062 describe other possibilities; see the manual for Custom | |
9063 for a description of them. | |
9064 | |
9065 The "group" argument is used to specify a group which the option | |
9066 should belong to. You define a new group like this: | |
9067 | |
9068 (defgroup ispell nil | |
9069 "Spell checking using Ispell." | |
9070 :group 'processes) | |
9071 | |
9072 The "group" argument in defgroup specifies the parent group. The root | |
9073 group is called `emacs'; it should not contain any variables itself, | |
9074 but only other groups. The immediate subgroups of `emacs' correspond | |
9075 to the keywords used by C-h p. Under these subgroups come | |
9076 second-level subgroups that belong to individual packages. | |
9077 | |
9078 Each Emacs package should have its own set of groups. A simple | |
9079 package should have just one group; a more complex package should | |
9080 have a hierarchy of its own groups. The sole or root group of a | |
9081 package should be a subgroup of one or more of the "keyword" | |
9082 first-level subgroups. | |
9083 | |
9084 ** New `widget' library for inserting UI components in buffers. | |
9085 | |
9086 This library, used by the new custom library, is documented in a | |
9087 separate manual that accompanies Emacs. | |
9088 | |
9089 ** easy-mmode | |
9090 | |
9091 The easy-mmode package provides macros and functions that make | |
9092 developing minor modes easier. Roughly, the programmer has to code | |
9093 only the functionality of the minor mode. All the rest--toggles, | |
9094 predicate, and documentation--can be done in one call to the macro | |
9095 `easy-mmode-define-minor-mode' (see the documentation). See also | |
9096 `easy-mmode-define-keymap'. | |
9097 | |
9098 ** Text property changes | |
9099 | |
9100 *** The `intangible' property now works on overlays as well as on a | |
9101 text property. | |
9102 | |
9103 *** The new functions next-char-property-change and | |
9104 previous-char-property-change scan through the buffer looking for a | |
9105 place where either a text property or an overlay might change. The | |
9106 functions take two arguments, POSITION and LIMIT. POSITION is the | |
9107 starting position for the scan. LIMIT says where to stop the scan. | |
9108 | |
9109 If no property change is found before LIMIT, the value is LIMIT. If | |
9110 LIMIT is nil, scan goes to the beginning or end of the accessible part | |
9111 of the buffer. If no property change is found, the value is the | |
9112 position of the beginning or end of the buffer. | |
9113 | |
9114 *** In the `local-map' text property or overlay property, the property | |
9115 value can now be a symbol whose function definition is a keymap. This | |
9116 is an alternative to using the keymap itself. | |
9117 | |
9118 ** Changes in invisibility features | |
9119 | |
9120 *** Isearch can now temporarily show parts of the buffer which are | |
9121 hidden by an overlay with a invisible property, when the search match | |
9122 is inside that portion of the buffer. To enable this the overlay | |
9123 should have a isearch-open-invisible property which is a function that | |
9124 would be called having the overlay as an argument, the function should | |
9125 make the overlay visible. | |
9126 | |
9127 During incremental search the overlays are shown by modifying the | |
9128 invisible and intangible properties, if beside this more actions are | |
9129 needed the overlay should have a isearch-open-invisible-temporary | |
9130 which is a function. The function is called with 2 arguments: one is | |
9131 the overlay and the second is nil when it should show the overlay and | |
9132 t when it should hide it. | |
9133 | |
9134 *** add-to-invisibility-spec, remove-from-invisibility-spec | |
9135 | |
9136 Modes that use overlays to hide portions of a buffer should set the | |
9137 invisible property of the overlay to the mode's name (or another symbol) | |
9138 and modify the `buffer-invisibility-spec' to include that symbol. | |
9139 Use `add-to-invisibility-spec' and `remove-from-invisibility-spec' to | |
9140 manipulate the `buffer-invisibility-spec'. | |
9141 Here is an example of how to do this: | |
9142 | |
9143 ;; If we want to display an ellipsis: | |
9144 (add-to-invisibility-spec '(my-symbol . t)) | |
9145 ;; If you don't want ellipsis: | |
9146 (add-to-invisibility-spec 'my-symbol) | |
9147 | |
9148 ... | |
9149 (overlay-put (make-overlay beginning end) 'invisible 'my-symbol) | |
9150 | |
9151 ... | |
9152 ;; When done with the overlays: | |
9153 (remove-from-invisibility-spec '(my-symbol . t)) | |
9154 ;; Or respectively: | |
9155 (remove-from-invisibility-spec 'my-symbol) | |
9156 | |
9157 ** Changes in syntax parsing. | |
9158 | |
9159 *** The syntax-directed buffer-scan functions (such as | |
9160 `parse-partial-sexp', `forward-word' and similar functions) can now | |
9161 obey syntax information specified by text properties, if the variable | |
9162 `parse-sexp-lookup-properties' is non-nil. | |
9163 | |
9164 If the value of `parse-sexp-lookup-properties' is nil, the behavior | |
9165 is as before: the syntax-table of the current buffer is always | |
9166 used to determine the syntax of the character at the position. | |
9167 | |
9168 When `parse-sexp-lookup-properties' is non-nil, the syntax of a | |
9169 character in the buffer is calculated thus: | |
9170 | |
9171 a) if the `syntax-table' text-property of that character | |
9172 is a cons, this cons becomes the syntax-type; | |
9173 | |
9174 Valid values of `syntax-table' text-property are: nil, a valid | |
9175 syntax-table, and a valid syntax-table element, i.e., | |
9176 a cons cell of the form (SYNTAX-CODE . MATCHING-CHAR). | |
9177 | |
9178 b) if the character's `syntax-table' text-property | |
9179 is a syntax table, this syntax table is used | |
9180 (instead of the syntax-table of the current buffer) to | |
9181 determine the syntax type of the character. | |
9182 | |
9183 c) otherwise the syntax-type is determined by the syntax-table | |
9184 of the current buffer. | |
9185 | |
9186 *** The meaning of \s in regular expressions is also affected by the | |
9187 value of `parse-sexp-lookup-properties'. The details are the same as | |
9188 for the syntax-directed buffer-scan functions. | |
9189 | |
9190 *** There are two new syntax-codes, `!' and `|' (numeric values 14 | |
9191 and 15). A character with a code `!' starts a comment which is ended | |
9192 only by another character with the same code (unless quoted). A | |
9193 character with a code `|' starts a string which is ended only by | |
9194 another character with the same code (unless quoted). | |
9195 | |
9196 These codes are mainly meant for use as values of the `syntax-table' | |
9197 text property. | |
9198 | |
9199 *** The function `parse-partial-sexp' has new semantics for the sixth | |
9200 arg COMMENTSTOP. If it is `syntax-table', parse stops after the start | |
9201 of a comment or a string, or after end of a comment or a string. | |
9202 | |
9203 *** The state-list which the return value from `parse-partial-sexp' | |
9204 (and can also be used as an argument) now has an optional ninth | |
9205 element: the character address of the start of last comment or string; | |
9206 nil if none. The fourth and eighth elements have special values if the | |
9207 string/comment is started by a "!" or "|" syntax-code. | |
9208 | |
9209 *** Since new features of `parse-partial-sexp' allow a complete | |
9210 syntactic parsing, `font-lock' no longer supports | |
9211 `font-lock-comment-start-regexp'. | |
9212 | |
9213 ** Changes in face features | |
9214 | |
9215 *** The face functions are now unconditionally defined in Emacs, even | |
9216 if it does not support displaying on a device that supports faces. | |
9217 | |
9218 *** The function face-documentation returns the documentation string | |
9219 of a face (or nil if it doesn't have one). | |
9220 | |
9221 *** The function face-bold-p returns t if a face should be bold. | |
9222 set-face-bold-p sets that flag. | |
9223 | |
9224 *** The function face-italic-p returns t if a face should be italic. | |
9225 set-face-italic-p sets that flag. | |
9226 | |
9227 *** You can now specify foreground and background colors for text | |
9228 by adding elements of the form (foreground-color . COLOR-NAME) | |
9229 and (background-color . COLOR-NAME) to the list of faces in | |
9230 the `face' property (either the character's text property or an | |
9231 overlay property). | |
9232 | |
9233 This means that you no longer need to create named faces to use | |
9234 arbitrary colors in a Lisp package. | |
9235 | |
9236 ** Changes in file-handling functions | |
9237 | |
9238 *** File-access primitive functions no longer discard an extra redundant | |
9239 directory name from the beginning of the file name. In other words, | |
9240 they no longer do anything special with // or /~. That conversion | |
9241 is now done only in substitute-in-file-name. | |
9242 | |
9243 This makes it possible for a Lisp program to open a file whose name | |
9244 begins with ~. | |
9245 | |
9246 *** If copy-file is unable to set the date of the output file, | |
9247 it now signals an error with the condition file-date-error. | |
9248 | |
9249 *** The inode number returned by file-attributes may be an integer (if | |
9250 the number fits in a Lisp integer) or a list of integers. | |
9251 | |
9252 *** insert-file-contents can now read from a special file, | |
9253 as long as the arguments VISIT and REPLACE are nil. | |
9254 | |
9255 *** The RAWFILE arg to find-file-noselect, if non-nil, now suppresses | |
9256 character code conversion as well as other things. | |
9257 | |
9258 Meanwhile, this feature does work with remote file names | |
9259 (formerly it did not). | |
9260 | |
9261 *** Lisp packages which create temporary files should use the TMPDIR | |
9262 environment variable to decide which directory to put them in. | |
9263 | |
9264 *** interpreter-mode-alist elements now specify regexps | |
9265 instead of constant strings. | |
9266 | |
9267 *** expand-file-name no longer treats `//' or `/~' specially. It used | |
9268 to delete all the text of a file name up through the first slash of | |
9269 any `//' or `/~' sequence. Now it passes them straight through. | |
9270 | |
9271 substitute-in-file-name continues to treat those sequences specially, | |
9272 in the same way as before. | |
9273 | |
9274 *** The variable `format-alist' is more general now. | |
9275 The FROM-FN and TO-FN in a format definition can now be strings | |
9276 which specify shell commands to use as filters to perform conversion. | |
9277 | |
9278 *** The new function access-file tries to open a file, and signals an | |
9279 error if that fails. If the open succeeds, access-file does nothing | |
9280 else, and returns nil. | |
9281 | |
9282 *** The function insert-directory now signals an error if the specified | |
9283 directory cannot be listed. | |
9284 | |
9285 ** Changes in minibuffer input | |
9286 | |
9287 *** The functions read-buffer, read-variable, read-command, read-string | |
9288 read-file-name, read-from-minibuffer and completing-read now take an | |
9289 additional argument which specifies the default value. If this | |
9290 argument is non-nil, it should be a string; that string is used in two | |
9291 ways: | |
9292 | |
9293 It is returned if the user enters empty input. | |
9294 It is available through the history command M-n. | |
9295 | |
9296 *** The functions read-string, read-from-minibuffer, | |
9297 read-no-blanks-input and completing-read now take an additional | |
9298 argument INHERIT-INPUT-METHOD. If this is non-nil, then the | |
9299 minibuffer inherits the current input method and the setting of | |
9300 enable-multibyte-characters from the previously current buffer. | |
9301 | |
9302 In an interactive spec, you can use M instead of s to read an | |
9303 argument in this way. | |
9304 | |
9305 *** All minibuffer input functions discard text properties | |
9306 from the text you enter in the minibuffer, unless the variable | |
9307 minibuffer-allow-text-properties is non-nil. | |
9308 | |
9309 ** Echo area features | |
9310 | |
9311 *** Clearing the echo area now runs the normal hook | |
9312 echo-area-clear-hook. Note that the echo area can be used while the | |
9313 minibuffer is active; in that case, the minibuffer is still active | |
9314 after the echo area is cleared. | |
9315 | |
9316 *** The function current-message returns the message currently displayed | |
9317 in the echo area, or nil if there is none. | |
9318 | |
9319 ** Keyboard input features | |
9320 | |
9321 *** tty-erase-char is a new variable that reports which character was | |
9322 set up as the terminal's erase character when time Emacs was started. | |
9323 | |
9324 *** num-nonmacro-input-events is the total number of input events | |
9325 received so far from the terminal. It does not count those generated | |
9326 by keyboard macros. | |
9327 | |
9328 ** Frame-related changes | |
9329 | |
9330 *** make-frame runs the normal hook before-make-frame-hook just before | |
9331 creating a frame, and just after creating a frame it runs the abnormal | |
9332 hook after-make-frame-functions with the new frame as arg. | |
9333 | |
9334 *** The new hook window-configuration-change-hook is now run every time | |
9335 the window configuration has changed. The frame whose configuration | |
9336 has changed is the selected frame when the hook is run. | |
9337 | |
9338 *** Each frame now independently records the order for recently | |
9339 selected buffers, in its buffer-list frame parameter, so that the | |
9340 value of other-buffer is now based on the buffers recently displayed | |
9341 in the selected frame. | |
9342 | |
9343 *** The value of the frame parameter vertical-scroll-bars | |
9344 is now `left', `right' or nil. A non-nil value specifies | |
9345 which side of the window to put the scroll bars on. | |
9346 | |
9347 ** X Windows features | |
9348 | |
9349 *** You can examine X resources for other applications by binding | |
9350 x-resource-class around a call to x-get-resource. The usual value of | |
9351 x-resource-class is "Emacs", which is the correct value for Emacs. | |
9352 | |
9353 *** In menus, checkboxes and radio buttons now actually work. | |
9354 The menu displays the current status of the box or button. | |
9355 | |
9356 *** The function x-list-fonts now takes an optional fourth argument | |
9357 MAXIMUM which sets a limit on how many matching fonts to return. | |
9358 A smaller value of MAXIMUM makes the function faster. | |
9359 | |
9360 If the only question is whether *any* font matches the pattern, | |
9361 it is good to supply 1 for this argument. | |
9362 | |
9363 ** Subprocess features | |
9364 | |
9365 *** A reminder: it is no longer necessary for subprocess filter | |
9366 functions and sentinels to do save-match-data, because Emacs does this | |
9367 automatically. | |
9368 | |
9369 *** The new function shell-command-to-string executes a shell command | |
9370 and returns the output from the command as a string. | |
9371 | |
9372 *** The new function process-contact returns t for a child process, | |
9373 and (HOSTNAME SERVICE) for a net connection. | |
9374 | |
9375 ** An error in running pre-command-hook or post-command-hook | |
9376 does clear the variable to nil. The documentation was wrong before. | |
9377 | |
9378 ** In define-key-after, if AFTER is t, the new binding now always goes | |
9379 at the end of the keymap. If the keymap is a menu, this means it | |
9380 goes after the other menu items. | |
9381 | |
9382 ** If you have a program that makes several changes in the same area | |
9383 of the buffer, you can use the macro combine-after-change-calls | |
9384 around that Lisp code to make it faster when after-change hooks | |
9385 are in use. | |
9386 | |
9387 The macro arranges to call the after-change functions just once for a | |
9388 series of several changes--if that seems safe. | |
9389 | |
9390 Don't alter the variables after-change-functions and | |
9391 after-change-function within the body of a combine-after-change-calls | |
9392 form. | |
9393 | |
9394 ** If you define an abbrev (with define-abbrev) whose EXPANSION | |
9395 is not a string, then the abbrev does not expand in the usual sense, | |
9396 but its hook is still run. | |
9397 | |
9398 ** Normally, the Lisp debugger is not used (even if you have enabled it) | |
9399 for errors that are handled by condition-case. | |
9400 | |
9401 If you set debug-on-signal to a non-nil value, then the debugger is called | |
9402 regardless of whether there is a handler for the condition. This is | |
9403 useful for debugging problems that happen inside of a condition-case. | |
9404 | |
9405 This mode of operation seems to be unreliable in other ways. Errors that | |
9406 are normal and ought to be handled, perhaps in timers or process | |
9407 filters, will instead invoke the debugger. So don't say you weren't | |
9408 warned. | |
9409 | |
9410 ** The new variable ring-bell-function lets you specify your own | |
9411 way for Emacs to "ring the bell". | |
9412 | |
9413 ** If run-at-time's TIME argument is t, the action is repeated at | |
9414 integral multiples of REPEAT from the epoch; this is useful for | |
9415 functions like display-time. | |
9416 | |
9417 ** You can use the function locate-library to find the precise file | |
9418 name of a Lisp library. This isn't new, but wasn't documented before. | |
9419 | |
9420 ** Commands for entering view mode have new optional arguments that | |
9421 can be used from Lisp. Low-level entrance to and exit from view mode | |
9422 is done by functions view-mode-enter and view-mode-exit. | |
9423 | |
9424 ** batch-byte-compile-file now makes Emacs return a nonzero status code | |
9425 if there is an error in compilation. | |
9426 | |
9427 ** pop-to-buffer, switch-to-buffer-other-window and | |
9428 switch-to-buffer-other-frame now accept an additional optional | |
9429 argument NORECORD, much like switch-to-buffer. If it is non-nil, | |
9430 they don't put the buffer at the front of the buffer list. | |
9431 | |
9432 ** If your .emacs file leaves the *scratch* buffer non-empty, | |
9433 Emacs does not display the startup message, so as to avoid changing | |
9434 the *scratch* buffer. | |
9435 | |
9436 ** The new function regexp-opt returns an efficient regexp to match a string. | |
9437 The arguments are STRINGS and (optionally) PAREN. This function can be used | |
9438 where regexp matching or searching is intensively used and speed is important, | |
9439 e.g., in Font Lock mode. | |
9440 | |
9441 ** The variable buffer-display-count is local to each buffer, | |
9442 and is incremented each time the buffer is displayed in a window. | |
9443 It starts at 0 when the buffer is created. | |
9444 | |
9445 ** The new function compose-mail starts composing a mail message | |
9446 using the user's chosen mail composition agent (specified with the | |
9447 variable mail-user-agent). It has variants compose-mail-other-window | |
9448 and compose-mail-other-frame. | |
9449 | |
9450 ** The `user-full-name' function now takes an optional parameter which | |
9451 can either be a number (the UID) or a string (the login name). The | |
9452 full name of the specified user will be returned. | |
9453 | |
9454 ** Lisp packages that load files of customizations, or any other sort | |
9455 of user profile, should obey the variable init-file-user in deciding | |
9456 where to find it. They should load the profile of the user name found | |
9457 in that variable. If init-file-user is nil, meaning that the -q | |
9458 option was used, then Lisp packages should not load the customization | |
9459 files at all. | |
9460 | |
9461 ** format-time-string now allows you to specify the field width | |
9462 and type of padding. This works as in printf: you write the field | |
9463 width as digits in the middle of a %-construct. If you start | |
9464 the field width with 0, it means to pad with zeros. | |
9465 | |
9466 For example, %S normally specifies the number of seconds since the | |
9467 minute; %03S means to pad this with zeros to 3 positions, %_3S to pad | |
9468 with spaces to 3 positions. Plain %3S pads with zeros, because that | |
9469 is how %S normally pads to two positions. | |
9470 | |
9471 ** thing-at-point now supports a new kind of "thing": url. | |
9472 | |
9473 ** imenu.el changes. | |
9474 | |
9475 You can now specify a function to be run when selecting an | |
9476 item from menu created by imenu. | |
9477 | |
9478 An example of using this feature: if we define imenu items for the | |
9479 #include directives in a C file, we can open the included file when we | |
9480 select one of those items. | |
35577
db5649648a65
Replace formfeeds removed on 2001/01/22.
Dave Love <fx@gnu.org>
parents:
35567
diff
changeset
|
9481 |
30922 | 9482 * For older news, see the file ONEWS |
25853 | 9483 |
9484 ---------------------------------------------------------------------- | |
9485 Copyright information: | |
9486 | |
35326
f30feeecf1c1
backward-delete-char-untabify-method
Dave Love <fx@gnu.org>
parents:
35297
diff
changeset
|
9487 Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc. |
25853 | 9488 |
9489 Permission is granted to anyone to make or distribute verbatim copies | |
9490 of this document as received, in any medium, provided that the | |
9491 copyright notice and this permission notice are preserved, | |
9492 thus giving the recipient permission to redistribute in turn. | |
9493 | |
9494 Permission is granted to distribute modified versions | |
9495 of this document, or of portions of it, | |
9496 under the above conditions, provided also that they | |
9497 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
|
9498 |
25853 | 9499 Local variables: |
9500 mode: outline | |
9501 paragraph-separate: "[ ]*$" | |
9502 end: |