317 |
|
|
318 |
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. |
319 |
|
|
320 |
** M-x grep has been adapted to new compile |
** Compilation mode enhancements: |
321 |
|
|
322 |
|
*** New user option `compilation-environment'. |
323 |
|
This option allows you to specify environment variables for inferior |
324 |
|
compilation processes without affecting the environment that all |
325 |
|
subprocesses inherit. |
326 |
|
|
327 |
|
** Grep has been decoupled from compilation mode setup. |
328 |
|
|
329 |
|
*** There's a new separate package grep.el. |
330 |
|
|
331 |
|
*** M-x grep has been adapted to new compile |
332 |
|
|
333 |
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 |
334 |
can be saved and automatically revisited with the new Grep mode. |
can be saved and automatically revisited with the new Grep mode. |
335 |
|
|
336 |
|
*** Grep commands now have their own submenu and customization group. |
337 |
|
|
338 |
|
*** The new variables `grep-window-height', `grep-auto-highlight', and |
339 |
|
`grep-scroll-output' can be used to override the corresponding |
340 |
|
compilation mode settings for grep commands. |
341 |
|
|
342 |
|
*** New option `grep-highlight-matches' highlightes matches in *grep* |
343 |
|
buffer. It uses a special feature of some grep programs which accept |
344 |
|
--color option to output markers around matches. When going to the next |
345 |
|
match with `next-error' the exact match is highlighted in the source |
346 |
|
buffer. Otherwise, if `grep-highlight-matches' is nil, the whole |
347 |
|
source line is highlighted. |
348 |
|
|
349 |
|
*** New key bindings in grep output window: |
350 |
|
SPC and DEL scrolls window up and down. C-n and C-p moves to next and |
351 |
|
previous match in the grep window. RET jumps to the source line of |
352 |
|
the current match. `n' and `p' shows next and previous match in |
353 |
|
other window, but does not switch buffer. `{' and `}' jumps to the |
354 |
|
previous or next file in the grep output. TAB also jumps to the next |
355 |
|
file. |
356 |
|
|
357 |
|
** New options `next-error-highlight' and `next-error-highlight-no-select' |
358 |
|
specify the method of highlighting of the corresponding source line |
359 |
|
in new face `next-error'. |
360 |
|
|
361 |
|
** A new minor mode `next-error-follow-minor-mode' can be used in |
362 |
|
compilation-mode, grep-mode, occur-mode, and diff-mode (i.e. all the |
363 |
|
modes that can use `next-error'). In this mode, cursor motion in the |
364 |
|
buffer causes automatic display in another window of the corresponding |
365 |
|
matches, compilation errors, etc. This minor mode can be toggled with |
366 |
|
C-c C-f. |
367 |
|
|
368 |
** M-x diff uses diff-mode instead of compilation-mode. |
** M-x diff uses diff-mode instead of compilation-mode. |
369 |
|
|
370 |
** M-x compare-windows now can automatically skip non-matching text to |
** M-x compare-windows now can automatically skip non-matching text to |
375 |
the stroke directly to a string to insert. This is convenient for |
the stroke directly to a string to insert. This is convenient for |
376 |
using strokes as an input method. |
using strokes as an input method. |
377 |
|
|
378 |
|
** Gnus package |
379 |
|
|
380 |
|
*** Gnus now includes Sieve and PGG |
381 |
|
Sieve is a library for managing Sieve scripts. PGG is a library to handle |
382 |
|
PGP/MIME. |
383 |
|
|
384 |
|
*** There are many news features, bug fixes and improvements. |
385 |
|
See the file GNUS-NEWS or the node "Oort Gnus" in the Gnus manual for details. |
386 |
|
|
387 |
+++ |
+++ |
388 |
** Desktop package |
** Desktop package |
389 |
|
|
1247 |
search string used as the string to replace. |
search string used as the string to replace. |
1248 |
|
|
1249 |
+++ |
+++ |
1250 |
|
** New user option `isearch-resume-enabled'. |
1251 |
|
This option can be disabled, to avoid the normal behavior of isearch |
1252 |
|
which puts calls to `isearch-resume' in the command history. |
1253 |
|
|
1254 |
|
+++ |
1255 |
|
** New user option `history-delete-duplicates'. |
1256 |
|
If set to t when adding a new history element, all previous identical |
1257 |
|
elements are deleted. |
1258 |
|
|
1259 |
|
+++ |
1260 |
** Yanking text now discards certain text properties that can |
** Yanking text now discards certain text properties that can |
1261 |
be inconvenient when you did not expect them. The variable |
be inconvenient when you did not expect them. The variable |
1262 |
`yank-excluded-properties' specifies which ones. Insertion |
`yank-excluded-properties' specifies which ones. Insertion |
1924 |
+++ |
+++ |
1925 |
** `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. |
1926 |
|
|
|
+++ |
|
|
** 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. |
|
|
|
|
1927 |
--- |
--- |
1928 |
** Lisp mode now uses font-lock-doc-face for the docstrings. |
** Lisp mode now uses font-lock-doc-face for the docstrings. |
1929 |
|
|
1989 |
When loading many files, for instance with `emacs *', Emacs normally |
When loading many files, for instance with `emacs *', Emacs normally |
1990 |
displays a buffer menu. This option turns the buffer menu off. |
displays a buffer menu. This option turns the buffer menu off. |
1991 |
|
|
|
** 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. |
|
|
|
|
1992 |
--- |
--- |
1993 |
** Rmail now displays 5-digit message ids in its summary buffer. |
** Rmail now displays 5-digit message ids in its summary buffer. |
1994 |
|
|
2307 |
* Lisp Changes in Emacs 21.4 |
* Lisp Changes in Emacs 21.4 |
2308 |
|
|
2309 |
+++ |
+++ |
2310 |
|
** `auto-save-file-format' has been renamed to |
2311 |
|
`buffer-auto-save-file-format' and made into a permanent local. |
2312 |
|
|
2313 |
|
+++ |
2314 |
** Both the variable and the function `disabled-command-hook' have |
** Both the variable and the function `disabled-command-hook' have |
2315 |
been renamed to `disabled-command-function'. The variable |
been renamed to `disabled-command-function'. The variable |
2316 |
`disabled-command-hook' has been kept as an obsolete alias. |
`disabled-command-hook' has been kept as an obsolete alias. |
2486 |
The form `(+ EXPR ...)' adds up the value of the expressions. |
The form `(+ EXPR ...)' adds up the value of the expressions. |
2487 |
The form `(- EXPR ...)' negates or subtracts the value of the expressions. |
The form `(- EXPR ...)' negates or subtracts the value of the expressions. |
2488 |
|
|
2489 |
|
** Normally, the cursor is displayed at the end of any overlay and |
2490 |
|
text property string that may be present at the current window |
2491 |
|
position. The cursor may now be placed on any character of such |
2492 |
|
strings by giving that character a non-nil `cursor' text property. |
2493 |
|
|
2494 |
** 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 |
2495 |
around potentially blocking or long-running code in timers |
around potentially blocking or long-running code in timers |
2496 |
and post-command-hooks. |
and post-command-hooks. |
2966 |
|
|
2967 |
#!/usr/bin/emacs --script |
#!/usr/bin/emacs --script |
2968 |
|
|
2969 |
|
** The option --directory DIR now modifies `load-path' immediately. |
2970 |
|
Directories are added to the front of `load-path' in the order they |
2971 |
|
appear on the command line. For example, with this command line: |
2972 |
|
|
2973 |
|
emacs -batch -L .. -L /tmp --eval "(require 'foo)" |
2974 |
|
|
2975 |
|
Emacs looks for library `foo' in the parent directory, then in /tmp, then |
2976 |
|
in the other directories in `load-path'. (-L is short for --directory.) |
2977 |
|
|
2978 |
+++ |
+++ |
2979 |
** 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 |
2980 |
its last line. It should match the regexp "\n\n(fn.*)\\'". |
its last line. It should match the regexp "\n\n(fn.*)\\'". |