242 |
|
|
243 |
The new file etc/compilation.txt gives examples of each type of message. |
The new file etc/compilation.txt gives examples of each type of message. |
244 |
|
|
245 |
** M-x grep has been adapted to new compile |
** Compilation mode enhancements: |
246 |
|
|
247 |
|
*** New user option `compilation-environment'. |
248 |
|
This option allows you to specify environment variables for inferior |
249 |
|
compilation processes without affecting the environment that all |
250 |
|
subprocesses inherit. |
251 |
|
|
252 |
|
** Grep has been decoupled from compilation mode setup. |
253 |
|
|
254 |
|
*** There's a new separate package grep.el. |
255 |
|
|
256 |
|
*** M-x grep has been adapted to new compile |
257 |
|
|
258 |
Hits are fontified in green, and hits in binary files in orange. Grep buffers |
Hits are fontified in green, and hits in binary files in orange. Grep buffers |
259 |
can be saved and automatically revisited with the new Grep mode. |
can be saved and automatically revisited with the new Grep mode. |
260 |
|
|
261 |
|
*** Grep commands now have their own submenu and customization group. |
262 |
|
|
263 |
|
*** The new variables `grep-window-height', `grep-auto-highlight', and |
264 |
|
`grep-scroll-output' can be used to override the corresponding |
265 |
|
compilation mode settings for grep commands. |
266 |
|
|
267 |
|
*** New option `grep-highlight-matches' highlightes matches in *grep* |
268 |
|
buffer. It uses a special feature of some grep programs which accept |
269 |
|
--color option to output markers around matches. When going to the next |
270 |
|
match with `next-error' the exact match is highlighted in the source |
271 |
|
buffer. Otherwise, if `grep-highlight-matches' is nil, the whole |
272 |
|
source line is highlighted. |
273 |
|
|
274 |
|
*** New key bindings in grep output window: |
275 |
|
SPC and DEL scrolls window up and down. C-n and C-p moves to next and |
276 |
|
previous match in the grep window. RET jumps to the source line of |
277 |
|
the current match. `n' and `p' shows next and previous match in |
278 |
|
other window, but does not switch buffer. `{' and `}' jumps to the |
279 |
|
previous or next file in the grep output. TAB also jumps to the next |
280 |
|
file. |
281 |
|
|
282 |
|
** New options `next-error-highlight' and `next-error-highlight-no-select' |
283 |
|
specify the method of highlighting of the corresponding source line |
284 |
|
in new face `next-error'. |
285 |
|
|
286 |
|
** A new minor mode `next-error-follow-minor-mode' can be used in |
287 |
|
compilation-mode, grep-mode, occur-mode, and diff-mode (i.e. all the |
288 |
|
modes that can use `next-error'). In this mode, cursor motion in the |
289 |
|
buffer causes automatic display in another window of the corresponding |
290 |
|
matches, compilation errors, etc. This minor mode can be toggled with |
291 |
|
C-c C-f. |
292 |
|
|
293 |
** M-x diff uses diff-mode instead of compilation-mode. |
** M-x diff uses diff-mode instead of compilation-mode. |
294 |
|
|
295 |
** M-x compare-windows now can automatically skip non-matching text to |
** M-x compare-windows now can automatically skip non-matching text to |
300 |
the stroke directly to a string to insert. This is convenient for |
the stroke directly to a string to insert. This is convenient for |
301 |
using strokes as an input method. |
using strokes as an input method. |
302 |
|
|
303 |
|
** Gnus package |
304 |
|
|
305 |
|
*** Gnus now includes Sieve and PGG |
306 |
|
Sieve is a library for managing Sieve scripts. PGG is a library to handle |
307 |
|
PGP/MIME. |
308 |
|
|
309 |
|
*** There are many news features, bug fixes and improvements. |
310 |
|
See the file GNUS-NEWS or the node "Oort Gnus" in the Gnus manual for details. |
311 |
|
|
312 |
+++ |
+++ |
313 |
** Desktop package |
** Desktop package |
314 |
|
|
1172 |
search string used as the string to replace. |
search string used as the string to replace. |
1173 |
|
|
1174 |
+++ |
+++ |
1175 |
|
** New user option `isearch-resume-enabled'. |
1176 |
|
This option can be disabled, to avoid the normal behavior of isearch |
1177 |
|
which puts calls to `isearch-resume' in the command history. |
1178 |
|
|
1179 |
|
+++ |
1180 |
|
** New user option `history-delete-duplicates'. |
1181 |
|
If set to t when adding a new history element, all previous identical |
1182 |
|
elements are deleted. |
1183 |
|
|
1184 |
|
+++ |
1185 |
** Yanking text now discards certain text properties that can |
** Yanking text now discards certain text properties that can |
1186 |
be inconvenient when you did not expect them. The variable |
be inconvenient when you did not expect them. The variable |
1187 |
`yank-excluded-properties' specifies which ones. Insertion |
`yank-excluded-properties' specifies which ones. Insertion |
1849 |
+++ |
+++ |
1850 |
** `xml-mode' is now an alias for `sgml-mode', which has XML support. |
** `xml-mode' is now an alias for `sgml-mode', which has XML support. |
1851 |
|
|
|
+++ |
|
|
** New user option `isearch-resume-enabled'. |
|
|
This option can be disabled, to avoid the normal behavior of isearch |
|
|
which puts calls to `isearch-resume' in the command history. |
|
|
|
|
1852 |
--- |
--- |
1853 |
** Lisp mode now uses font-lock-doc-face for the docstrings. |
** Lisp mode now uses font-lock-doc-face for the docstrings. |
1854 |
|
|
1914 |
When loading many files, for instance with `emacs *', Emacs normally |
When loading many files, for instance with `emacs *', Emacs normally |
1915 |
displays a buffer menu. This option turns the buffer menu off. |
displays a buffer menu. This option turns the buffer menu off. |
1916 |
|
|
|
** Compilation mode enhancements: |
|
|
|
|
|
*** New user option `compilation-environment'. |
|
|
This option allows you to specify environment variables for inferior |
|
|
compilation processes without affecting the environment that all |
|
|
subprocesses inherit. |
|
|
|
|
|
*** New options `next-error-highlight' and `next-error-highlight-no-select' |
|
|
specify the method of highlighting of the corresponding source line |
|
|
in new face `next-error'. |
|
|
|
|
|
** Grep has been decoupled from compilation mode setup. |
|
|
|
|
|
*** There's a new separate package grep.el. |
|
|
|
|
|
*** Grep commands now have their own submenu and customization group. |
|
|
|
|
|
*** The new variables `grep-window-height', `grep-auto-highlight', and |
|
|
`grep-scroll-output' can be used to override the corresponding |
|
|
compilation mode settings for grep commands. |
|
|
|
|
|
*** New option `grep-highlight-matches' highlightes matches in *grep* |
|
|
buffer. It uses a special feature of some grep programs which accept |
|
|
--color option to output markers around matches. When going to the next |
|
|
match with `next-error' the exact match is highlighted in the source |
|
|
buffer. Otherwise, if `grep-highlight-matches' is nil, the whole |
|
|
source line is highlighted. |
|
|
|
|
|
*** New key bindings in grep output window: |
|
|
SPC and DEL scrolls window up and down. C-n and C-p moves to next and |
|
|
previous match in the grep window. RET jumps to the source line of |
|
|
the current match. `n' and `p' shows next and previous match in |
|
|
other window, but does not switch buffer. `{' and `}' jumps to the |
|
|
previous or next file in the grep output. TAB also jumps to the next |
|
|
file. |
|
|
|
|
1917 |
--- |
--- |
1918 |
** Rmail now displays 5-digit message ids in its summary buffer. |
** Rmail now displays 5-digit message ids in its summary buffer. |
1919 |
|
|
2232 |
* Lisp Changes in Emacs 21.4 |
* Lisp Changes in Emacs 21.4 |
2233 |
|
|
2234 |
+++ |
+++ |
2235 |
|
** `auto-save-file-format' has been renamed to |
2236 |
|
`buffer-auto-save-file-format' and made into a permanent local. |
2237 |
|
|
2238 |
|
+++ |
2239 |
** Both the variable and the function `disabled-command-hook' have |
** Both the variable and the function `disabled-command-hook' have |
2240 |
been renamed to `disabled-command-function'. The variable |
been renamed to `disabled-command-function'. The variable |
2241 |
`disabled-command-hook' has been kept as an obsolete alias. |
`disabled-command-hook' has been kept as an obsolete alias. |
2411 |
The form `(+ EXPR ...)' adds up the value of the expressions. |
The form `(+ EXPR ...)' adds up the value of the expressions. |
2412 |
The form `(- EXPR ...)' negates or subtracts the value of the expressions. |
The form `(- EXPR ...)' negates or subtracts the value of the expressions. |
2413 |
|
|
2414 |
|
** Normally, the cursor is displayed at the end of any overlay and |
2415 |
|
text property string that may be present at the current window |
2416 |
|
position. The cursor may now be placed on any character of such |
2417 |
|
strings by giving that character a non-nil `cursor' text property. |
2418 |
|
|
2419 |
** New macro with-local-quit temporarily sets inhibit-quit to nil for use |
** New macro with-local-quit temporarily sets inhibit-quit to nil for use |
2420 |
around potentially blocking or long-running code in timers |
around potentially blocking or long-running code in timers |
2421 |
and post-command-hooks. |
and post-command-hooks. |
2891 |
|
|
2892 |
#!/usr/bin/emacs --script |
#!/usr/bin/emacs --script |
2893 |
|
|
2894 |
|
** The option --directory DIR now modifies `load-path' immediately. |
2895 |
|
Directories are added to the front of `load-path' in the order they |
2896 |
|
appear on the command line. For example, with this command line: |
2897 |
|
|
2898 |
|
emacs -batch -L .. -L /tmp --eval "(require 'foo)" |
2899 |
|
|
2900 |
|
Emacs looks for library `foo' in the parent directory, then in /tmp, then |
2901 |
|
in the other directories in `load-path'. (-L is short for --directory.) |
2902 |
|
|
2903 |
+++ |
+++ |
2904 |
** A function's docstring can now hold the function's usage info on |
** A function's docstring can now hold the function's usage info on |
2905 |
its last line. It should match the regexp "\n\n(fn.*)\\'". |
its last line. It should match the regexp "\n\n(fn.*)\\'". |