NEWS 224 KB
Newer Older
1
GNU Emacs NEWS -- history of user-visible changes.  2006-06-04
2

3
Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007
4
          Free Software Foundation, Inc.
5
See the end of the file for license conditions.
Dave Love's avatar
#  
Dave Love committed
6 7

Please send Emacs bug reports to bug-gnu-emacs@gnu.org.
8 9
If possible, use M-x report-emacs-bug.

Kim F. Storm's avatar
Kim F. Storm committed
10
This file is about changes in Emacs version 22.
11 12

See files NEWS.21, NEWS.20, NEWS.19, NEWS.18, and NEWS.1-17 for changes
Kim F. Storm's avatar
Kim F. Storm committed
13
in older Emacs versions.
14 15 16

You can narrow news to a specific version by calling `view-emacs-news'
with a prefix argument or by typing C-u C-h C-n.
Dave Love's avatar
#  
Dave Love committed
17

18 19 20 21
Temporary note:
 +++ indicates that the appropriate manual has already been updated.
 --- means no change in the manuals is called for.
When you add a new item, please add it without either +++ or ---
22
so we will look at it and add it to the manual.
23

24

25
* Installation Changes in Emacs 22.1
26

27 28 29 30 31 32 33 34 35
---
** Emacs comes with a new set of icons.
These icons are displayed on the taskbar and/or titlebar when Emacs
runs in a graphical environment.  Source files for these icons can be
found in etc/images/icons.  (You can't change the icons displayed by
Emacs by changing these files directly.  On X, the icon is compiled
into the Emacs executable; see gnu.h in the source tree.  On MS
Windows, see nt/icons/emacs.ico.)

36
---
37 38 39
** Emacs now supports new configure options `--program-prefix',
`--program-suffix' and `--program-transform-name' that affect the names of
installed programs.
Juanma Barranquero's avatar
Juanma Barranquero committed
40

Luc Teirlinck's avatar
Luc Teirlinck committed
41
---
42
** Emacs can now be built without sound support.
Luc Teirlinck's avatar
Luc Teirlinck committed
43

44
---
Jan Djärv's avatar
Jan Djärv committed
45
** You can build Emacs with Gtk+ widgets by specifying `--with-x-toolkit=gtk'
Jan Djärv's avatar
Jan Djärv committed
46
when you run configure.  This requires Gtk+ 2.4 or newer.  This port
Dave Love's avatar
Dave Love committed
47
provides a way to display multilingual text in menus (with some caveats).
Jan Djärv's avatar
Jan Djärv committed
48

49
---
50
** The `emacsserver' program has been removed, replaced with Lisp code.
Stefan Monnier's avatar
Stefan Monnier committed
51

Eli Zaretskii's avatar
Eli Zaretskii committed
52 53 54 55
---
** The `yow' program has been removed.
Use the corresponding Emacs feature instead.

56
---
Colin Walters's avatar
Colin Walters committed
57
** By default, Emacs now uses a setgid helper program to update game
Colin Walters's avatar
Colin Walters committed
58
scores.  The directory ${localstatedir}/games/emacs is the normal
Richard M. Stallman's avatar
Richard M. Stallman committed
59
place for game scores to be stored.  You can control this with the
Colin Walters's avatar
Colin Walters committed
60 61
configure option `--with-game-dir'.  The specific user that Emacs uses
to own the game scores is controlled by `--with-game-user'.  If access
Colin Walters's avatar
Colin Walters committed
62 63
to a game user is not available, then scores will be stored separately
in each user's home directory.
Colin Walters's avatar
Colin Walters committed
64

65 66 67 68 69
---
** Leim is now part of the Emacs distribution.
You no longer need to download a separate tarball in order to build
Emacs with Leim.

70 71 72
+++
** The Emacs Lisp Reference Manual is now part of the distribution.

Richard M. Stallman's avatar
Richard M. Stallman committed
73
The Emacs Lisp Reference Manual in Info format is built as part of the
74 75 76 77 78 79 80 81 82 83 84 85 86
Emacs build procedure and installed together with the Emacs User
Manual.  A menu item was added to the menu bar that makes it easy
accessible (Help->More Manuals->Emacs Lisp Reference).

---
** The Introduction to Programming in Emacs Lisp manual is now part of
the distribution.

This manual is now part of the standard distribution and is installed,
together with the Emacs User Manual, into the Info directory.  A menu
item was added to the menu bar that makes it easy accessible
(Help->More Manuals->Introduction to Emacs Lisp).

87
---
Richard M. Stallman's avatar
Richard M. Stallman committed
88
** New translations of the Emacs Tutorial are available in the
Kim F. Storm's avatar
Kim F. Storm committed
89 90 91 92
following languages: Brasilian Portuguese, Bulgarian, Chinese (both
with simplified and traditional characters), French, and Italian.
Type `C-u C-h t' to choose one of them in case your language setup
doesn't automatically select the right one.
93

94
---
Eli Zaretskii's avatar
Eli Zaretskii committed
95
** A Portuguese translation of Emacs' reference card has been added.
96 97 98
Its name is `pt-br-refcard.tex'.  The corresponding PostScript file is
also included.

99 100 101 102 103 104 105 106 107
---
** A French translation of the `Emacs Survival Guide' is available.

---
** Emacs now includes support for loading image libraries on demand.
(Currently this feature is only used on MS Windows.)  You can configure
the supported image types and their associated dynamic libraries by
setting the variable `image-library-alist'.

108
---
Eli Zaretskii's avatar
Eli Zaretskii committed
109
** Support for a Cygwin build of Emacs was added.
Juanma Barranquero's avatar
Juanma Barranquero committed
110

111
---
Gerd Moellmann's avatar
Gerd Moellmann committed
112 113
** Support for FreeBSD/Alpha has been added.

114 115 116
---
** Support for GNU/Linux systems on S390 machines was added.

Eli Zaretskii's avatar
Eli Zaretskii committed
117 118 119 120
---
** Support for MacOS X was added.
See the files mac/README and mac/INSTALL for build instructions.

121
---
Andreas Schwab's avatar
Andreas Schwab committed
122
** Support for GNU/Linux systems on X86-64 machines was added.
Stefan Monnier's avatar
Stefan Monnier committed
123

124 125 126 127
---
** Support for HP 9000 series 800 and Hitachi SR2001/SR2201 machines
was removed.

128
---
129 130 131 132
** Mac OS 9 port now uses the Carbon API by default.  You can also
create non-Carbon build by specifying `NonCarbon' as a target.  See
the files mac/README and mac/INSTALL for build instructions.

133
---
Stefan Monnier's avatar
Stefan Monnier committed
134 135
** Building with -DENABLE_CHECKING does not automatically build with union
types any more.  Add -DUSE_LISP_UNION_TYPE if you want union types.
136 137 138 139

---
** When pure storage overflows while dumping, Emacs now prints how
much pure storage it will approximately need.
Noah Friedman's avatar
Noah Friedman committed
140 141 142 143 144

** The script etc/emacs-buffer.gdb can be used with gdb to retrieve the
contents of buffers from a core dump and save them to files easily, should
emacs crash.

145 146 147 148 149
---
** The Emacs terminal emulation in term.el uses a different terminfo name.
The Emacs terminal emulation in term.el now uses "eterm-color" as its
terminfo name, since term.el now supports color.

150 151 152
---
** Emacs Lisp source files are compressed by default if `gzip' is available.

153 154 155 156
---
** All images used in Emacs have been consolidated in etc/images and subdirs.
See also the changes to `find-image', documented below.

157

Richard M. Stallman's avatar
Richard M. Stallman committed
158
* Startup Changes in Emacs 22.1
159

Eli Zaretskii's avatar
Eli Zaretskii committed
160
+++
161 162 163
** New command line option -Q or --quick.
This is like using -q --no-site-file, but in addition it also disables
the fancy startup screen.
Kim F. Storm's avatar
Kim F. Storm committed
164

Nick Roberts's avatar
Nick Roberts committed
165
+++
166 167 168
** New command line option -D or --basic-display.
Disables the menu-bar, the tool-bar, the scroll-bars, tool tips, and
the blinking cursor.
Nick Roberts's avatar
Nick Roberts committed
169

Luc Teirlinck's avatar
Luc Teirlinck committed
170
+++
171 172
** New command line option -nbc or --no-blinking-cursor disables
the blinking cursor on graphical terminals.
Kenichi Handa's avatar
Kenichi Handa committed
173

Eli Zaretskii's avatar
Eli Zaretskii committed
174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190
+++
** The option --script FILE runs Emacs in batch mode and loads FILE.
It is useful for writing Emacs Lisp shell script files, because they
can start with this line:

   #!/usr/bin/emacs --script

+++
** The option --directory DIR now modifies `load-path' immediately.
Directories are added to the front of `load-path' in the order they
appear on the command line.  For example, with this command line:

  emacs -batch -L .. -L /tmp --eval "(require 'foo)"

Emacs looks for library `foo' in the parent directory, then in /tmp, then
in the other directories in `load-path'.  (-L is short for --directory.)

191
+++
192 193
** The command line option --no-windows has been changed to
--no-window-system.  The old one still works, but is deprecated.
194

195 196 197 198
---
** If the environment variable DISPLAY specifies an unreachable X display,
Emacs will now startup as if invoked with the --no-window-system option.

199 200 201 202
+++
** The -f option, used from the command line to call a function,
now reads arguments for the function interactively if it is
an interactively callable function.
203

Richard M. Stallman's avatar
Richard M. Stallman committed
204 205 206 207 208
+++
** When you specify a frame size with --geometry, the size applies to
all frames you create.  A position specified with --geometry only
affects the initial frame.

209 210 211 212 213 214 215
---
** Emacs built for MS-Windows now behaves like Emacs on X does,
wrt its frame position: if you don't specify a position (in your
.emacs init file, in the Registry, or with the --geometry command-line
option), Emacs leaves the frame position to the Windows' window
manager.

216 217 218 219 220 221
+++
** Emacs can now be invoked in full-screen mode on a windowed display.
When Emacs is invoked on a window system, the new command-line options
`--fullwidth', `--fullheight', and `--fullscreen' produce a frame
whose width, height, or both width and height take up the entire
screen size.  (For now, this does not work with some window managers.)
Stefan Monnier's avatar
Stefan Monnier committed
222

223 224 225 226 227 228
+++
** Emacs now displays a splash screen by default even if command-line
arguments were given.  The new command-line option --no-splash
disables the splash screen; see also the variable
`inhibit-startup-message' (which is also aliased as
`inhibit-splash-screen').
229

Jan Djärv's avatar
Jan Djärv committed
230
+++
Eli Zaretskii's avatar
Eli Zaretskii committed
231
** The default is now to use a bitmap as the icon, so the command-line options
Jan Djärv's avatar
Jan Djärv committed
232
--icon-type, -i has been replaced with options --no-bitmap-icon, -nbi to turn
Jan Djärv's avatar
Jan Djärv committed
233 234
the bitmap icon off.

235 236 237 238
+++
** New user option `inhibit-startup-buffer-menu'.
When loading many files, for instance with `emacs *', Emacs normally
displays a buffer menu.  This option turns the buffer menu off.
Stefan Monnier's avatar
Stefan Monnier committed
239

240 241
+++
** Init file changes
242
If the init file ~/.emacs does not exist, Emacs will try
243 244
~/.emacs.d/init.el or ~/.emacs.d/init.elc.  Likewise, if the shell init file
~/.emacs_SHELL is not found, Emacs will try ~/.emacs.d/init_SHELL.sh.
Kenichi Handa's avatar
Kenichi Handa committed
245

246
+++
247 248 249 250 251
** Emacs now reads the standard abbrevs file ~/.abbrev_defs
automatically at startup, if it exists.  When Emacs offers to save
modified buffers, it saves the abbrevs too if they have changed.  It
can do this either silently or asking for confirmation first,
according to the value of `save-abbrevs'.
Eli Zaretskii's avatar
Eli Zaretskii committed
252 253 254

+++
** If the environment variable EMAIL is defined, Emacs now uses its value
Reiner Steib's avatar
Reiner Steib committed
255
to compute the default value of `user-mail-address', in preference to
Eli Zaretskii's avatar
Eli Zaretskii committed
256
concatenation of `user-login-name' with the name of your host machine.
257

258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292

* Incompatible Editing Changes in Emacs 22.1

+++
** M-g is now a prefix key.
M-g g and M-g M-g run goto-line.
M-g n and M-g M-n run next-error (like C-x `).
M-g p and M-g M-p run previous-error.

+++
** C-u M-g M-g switches to the most recent previous buffer,
and goes to the specified line in that buffer.

When goto-line starts to execute, if there's a number in the buffer at
point then it acts as the default argument for the minibuffer.

+++
** The old bindings C-M-delete and C-M-backspace have been deleted,
since there are situations where one or the other will shut down
the operating system or your X server.

+++
** line-move-ignore-invisible now defaults to t.

+++
** When the undo information of the current command gets really large
(beyond the value of `undo-outer-limit'), Emacs discards it and warns
you about it.

+++
** `apply-macro-to-region-lines' now operates on all lines that begin
in the region, rather than on all complete lines in the region.

+++
** A prefix argument is no longer required to repeat a jump to a
293 294 295
previous mark if you set `set-mark-command-repeat-pop' to t.  I.e. C-u
C-SPC C-SPC C-SPC ... cycles through the mark ring.  Use C-u C-u C-SPC
to set the mark immediately after a jump.
296 297 298 299 300 301 302 303 304 305 306

+++
** The info-search bindings on C-h C-f, C-h C-k and C-h C-i
have been moved to C-h F, C-h K and C-h S.

+++
** In incremental search, C-w is changed.  M-%, C-M-w and C-M-y are special.

See below under "incremental search changes".

---
307 308
** C-x C-f RET (find-file), typing nothing in the minibuffer, is no longer
a special case.
309 310 311 312 313

Since the default input is the current directory, this has the effect
of specifying the current directory.  Normally that means to visit the
directory with Dired.

314 315 316
You can get the old behavior by typing C-x C-f M-n RET, which fetches
the actual file name into the minibuffer.

317 318 319 320 321
+++
** The completion commands TAB, SPC and ? in the minibuffer apply only
to the text before point.  If there is text in the buffer after point,
it remains unchanged.

322
+++
323 324 325 326 327 328
** When Emacs prompts for file names, SPC no longer completes the file name.
This is so filenames with embedded spaces could be input without the
need to quote the space with a C-q.  The underlying changes in the
keymaps that are active in the minibuffer are described below under
"New keymaps for typing file names".

329 330 331 332 333 334
+++
** M-o now is the prefix key for setting text properties;
M-o M-o requests refontification.

+++
** You can now follow links by clicking Mouse-1 on the link.
335

336 337 338 339 340 341 342 343 344
See below for more details.

+++
** In Dired's ! command (dired-do-shell-command), `*' and `?' now
control substitution of the file names only when they are surrounded
by whitespace.  This means you can now use them as shell wildcards
too.  If you want to use just plain `*' as a wildcard, type `*""'; the
doublequotes make no difference in the shell, but they prevent
special treatment in `dired-do-shell-command'.
345 346 347 348

** Adaptive filling misfeature removed.
It no longer treats `NNN.' or `(NNN)' as a prefix.

Richard M. Stallman's avatar
Richard M. Stallman committed
349 350 351

* Editing Changes in Emacs 22.1

352 353 354 355 356 357 358 359
+++
** !MEM FULL! at the start of the mode line indicates that Emacs
cannot get any more memory for Lisp data.  This often means it could
crash soon if you do things that use more memory.  On most systems,
killing buffers will get out of this state.  If killing buffers does
not make !MEM FULL! disappear, you should save your work and start
a new Emacs.

Richard M. Stallman's avatar
Richard M. Stallman committed
360 361 362 363
+++
** The max size of buffers and integers has been doubled.
On 32bit machines, it is now 256M (i.e. 268435455).

Richard M. Stallman's avatar
Richard M. Stallman committed
364
+++
365
** You can now switch buffers in a cyclic order with C-x C-left
Kim F. Storm's avatar
Kim F. Storm committed
366
(previous-buffer) and C-x C-right (next-buffer).  C-x left and
367 368
C-x right can be used as well.  The functions keep a different buffer
cycle for each frame, using the frame-local buffer list.
369 370 371 372 373 374 375

+++
** `undo-only' does an undo which does not redo any previous undo.

+++
** M-SPC (just-one-space) when given a numeric argument N
converts whitespace around point to N spaces.
Richard M. Stallman's avatar
Richard M. Stallman committed
376

377 378 379 380 381
---
** C-x 5 C-o displays a specified buffer in another frame
but does not switch to that frame.  It's the multi-frame
analogue of C-x 4 C-o.

Richard M. Stallman's avatar
Richard M. Stallman committed
382 383 384 385
---
** New commands to operate on pairs of open and close characters:
`insert-pair', `delete-pair', `raise-sexp'.

386
+++
387 388
** New command `kill-whole-line' kills an entire line at once.
By default, it is bound to C-S-<backspace>.
389

Luc Teirlinck's avatar
Luc Teirlinck committed
390
+++
391 392 393 394
** Yanking text now discards certain text properties that can
be inconvenient when you did not expect them.  The variable
`yank-excluded-properties' specifies which ones.  Insertion
of register contents and rectangles also discards these properties.
Luc Teirlinck's avatar
Luc Teirlinck committed
395

396
+++
397 398 399
** The default values of paragraph-start and indent-line-function have
been changed to reflect those used in Text mode rather than those used
in Indented-Text mode.
400

Luc Teirlinck's avatar
Luc Teirlinck committed
401
+++
402
** M-x setenv now expands environment variable references.
Richard M. Stallman's avatar
Richard M. Stallman committed
403

404 405 406
Substrings of the form `$foo' and `${foo}' in the specified new value
now refer to the value of environment variable foo.  To include a `$'
in the value, use `$$'.
Richard M. Stallman's avatar
Richard M. Stallman committed
407 408

+++
409 410 411
** `special-display-buffer-names' and `special-display-regexps' now
understand two new boolean pseudo-frame-parameters `same-frame' and
`same-window'.
Richard M. Stallman's avatar
Richard M. Stallman committed
412 413 414 415 416 417

+++
** The default for the paper size (variable ps-paper-type) is taken
from the locale.

** Mark command changes:
Juri Linkov's avatar
Juri Linkov committed
418

419
+++
Richard M. Stallman's avatar
Richard M. Stallman committed
420
*** A prefix argument is no longer required to repeat a jump to a
421 422
previous mark, i.e. C-u C-SPC C-SPC C-SPC ... cycles through the
mark ring.  Use C-u C-u C-SPC to set the mark immediately after a jump.
Juri Linkov's avatar
Juri Linkov committed
423

424
+++
425 426 427 428 429 430 431 432 433 434 435
*** Marking commands extend the region when invoked multiple times.

If you type C-M-SPC (mark-sexp), M-@ (mark-word), M-h
(mark-paragraph), or C-M-h (mark-defun) repeatedly, the marked region
extends each time, so you can mark the next two sexps with M-C-SPC
M-C-SPC, for example.  This feature also works for
mark-end-of-sentence, if you bind that to a key.  It also extends the
region when the mark is active in Transient Mark mode, regardless of
the last command.  To start a new region with one of marking commands
in Transient Mark mode, you can deactivate the active region with C-g,
or set the new mark with C-SPC.
Kenichi Handa's avatar
Kenichi Handa committed
436

437
+++
Richard M. Stallman's avatar
Richard M. Stallman committed
438
*** M-h (mark-paragraph) now accepts a prefix arg.
439

440 441 442
With positive arg, M-h marks the current and the following paragraphs;
if the arg is negative, it marks the current and the preceding
paragraphs.
Kenichi Handa's avatar
Kenichi Handa committed
443

444
+++
Richard M. Stallman's avatar
Richard M. Stallman committed
445
*** Some commands do something special in Transient Mark mode when the
446 447 448 449 450
mark is active--for instance, they limit their operation to the
region.  Even if you don't normally use Transient Mark mode, you might
want to get this behavior from a particular command.  There are two
ways you can enable Transient Mark mode and activate the mark, for one
command only.
Luc Teirlinck's avatar
Luc Teirlinck committed
451

452 453 454 455
One method is to type C-SPC C-SPC; this enables Transient Mark mode
and sets the mark at point.  The other method is to type C-u C-x C-x.
This enables Transient Mark mode temporarily but does not alter the
mark or the region.
Luc Teirlinck's avatar
Luc Teirlinck committed
456

457 458 459 460
After these commands, Transient Mark mode remains enabled until you
deactivate the mark.  That typically happens when you type a command
that alters the buffer, but you can also deactivate the mark by typing
C-g.
Luc Teirlinck's avatar
Luc Teirlinck committed
461

462 463 464 465 466
+++
*** Movement commands `beginning-of-buffer', `end-of-buffer',
`beginning-of-defun', `end-of-defun' do not set the mark if the mark
is already active in Transient Mark mode.

Richard M. Stallman's avatar
Richard M. Stallman committed
467 468 469 470 471 472 473
** Help command changes:

+++
*** Changes in C-h bindings:

C-h e displays the *Messages* buffer.

Kim F. Storm's avatar
Kim F. Storm committed
474 475
C-h d runs apropos-documentation.

476 477
C-h r visits the Emacs Manual in Info.

Richard M. Stallman's avatar
Richard M. Stallman committed
478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519
C-h followed by a control character is used for displaying files
    that do not change:

C-h C-f displays the FAQ.
C-h C-e displays the PROBLEMS file.

The info-search bindings on C-h C-f, C-h C-k and C-h C-i
have been moved to C-h F, C-h K and C-h S.

C-h c, C-h k, C-h w, and C-h f now handle remapped interactive commands.
- C-h c and C-h k report the actual command (after possible remapping)
  run by the key sequence.
- C-h w and C-h f on a command which has been remapped now report the
  command it is remapped to, and the keys which can be used to run
  that command.

For example, if C-k is bound to kill-line, and kill-line is remapped
to new-kill-line, these commands now report:
- C-h c and C-h k C-k reports:
  C-k runs the command new-kill-line
- C-h w and C-h f kill-line reports:
  kill-line is remapped to new-kill-line which is on C-k, <deleteline>
- C-h w and C-h f new-kill-line reports:
  new-kill-line is on C-k

---
*** Help commands `describe-function' and `describe-key' now show function
arguments in lowercase italics on displays that support it.  To change the
default, customize face `help-argument-name' or redefine the function
`help-default-arg-highlight'.

+++
*** C-h v and C-h f commands now include a hyperlink to the C source for
variables and functions defined in C (if the C source is available).

+++
*** Help mode now only makes hyperlinks for faces when the face name is
preceded or followed by the word `face'.  It no longer makes
hyperlinks for variables without variable documentation, unless
preceded by one of the words `variable' or `option'.  It now makes
hyperlinks to Info anchors (or nodes) if the anchor (or node) name is
enclosed in single quotes and preceded by `info anchor' or `Info
Juanma Barranquero's avatar
Juanma Barranquero committed
520
anchor' (in addition to earlier `info node' and `Info node').  In
521 522
addition, it now makes hyperlinks to URLs as well if the URL is
enclosed in single quotes and preceded by `URL'.
Richard M. Stallman's avatar
Richard M. Stallman committed
523 524 525 526 527 528 529 530

+++
*** The new command `describe-char' (C-u C-x =) pops up a buffer with
description various information about a character, including its
encodings and syntax, its text properties, how to input, overlays, and
widgets at point.  You can get more information about some of them, by
clicking on mouse-sensitive areas or moving there and pressing RET.

Richard M. Stallman's avatar
Richard M. Stallman committed
531 532 533 534
+++
*** The command `list-text-properties-at' has been deleted because
C-u C-x = gives the same information and more.

Richard M. Stallman's avatar
Richard M. Stallman committed
535 536 537 538 539 540 541 542 543 544 545 546 547 548
+++
*** New command `display-local-help' displays any local help at point
in the echo area.  It is bound to `C-h .'.  It normally displays the
same string that would be displayed on mouse-over using the
`help-echo' property, but, in certain cases, it can display a more
keyboard oriented alternative.

+++
*** New user option `help-at-pt-display-when-idle' allows to
automatically show the help provided by `display-local-help' on
point-over, after suitable idle time.  The amount of idle time is
determined by the user option `help-at-pt-timer-delay' and defaults
to one second.  This feature is turned off by default.

Richard M. Stallman's avatar
Richard M. Stallman committed
549 550 551 552 553
+++
*** The apropos commands now accept a list of words to match.
When more than one word is specified, at least two of those words must
be present for an item to match.  Regular expression matching is still
available.
Richard M. Stallman's avatar
Richard M. Stallman committed
554 555

+++
Richard M. Stallman's avatar
Richard M. Stallman committed
556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597
*** The new option `apropos-sort-by-scores' causes the matching items
to be sorted according to their score.  The score for an item is a
number calculated to indicate how well the item matches the words or
regular expression that you entered to the apropos command.  The best
match is listed first, and the calculated score is shown for each
matching item.

** Incremental Search changes:

+++
*** Vertical scrolling is now possible within incremental search.
To enable this feature, customize the new user option
`isearch-allow-scroll'.  User written commands which satisfy stringent
constraints can be marked as "scrolling commands".  See the Emacs manual
for details.

+++
*** C-w in incremental search now grabs either a character or a word,
making the decision in a heuristic way.  This new job is done by the
command `isearch-yank-word-or-char'.  To restore the old behavior,
bind C-w to `isearch-yank-word' in `isearch-mode-map'.

+++
*** C-y in incremental search now grabs the next line if point is already
at the end of a line.

+++
*** C-M-w deletes and C-M-y grabs a character in isearch mode.
Another method to grab a character is to enter the minibuffer by `M-e'
and to type `C-f' at the end of the search string in the minibuffer.

+++
*** M-% typed in isearch mode invokes `query-replace' or
`query-replace-regexp' (depending on search mode) with the current
search string used as the string to replace.

+++
*** Isearch no longer adds `isearch-resume' commands to the command
history by default.  To enable this feature, customize the new
user option `isearch-resume-in-command-history'.

** Replace command changes:
Richard M. Stallman's avatar
Richard M. Stallman committed
598 599

---
Richard M. Stallman's avatar
Richard M. Stallman committed
600 601 602
*** New user option `query-replace-skip-read-only': when non-nil,
`query-replace' and related functions simply ignore
a match if part of it has a read-only property.
Richard M. Stallman's avatar
Richard M. Stallman committed
603

Richard M. Stallman's avatar
Richard M. Stallman committed
604 605 606 607 608 609 610 611 612 613
+++
*** When used interactively, the commands `query-replace-regexp' and
`replace-regexp' allow \,expr to be used in a replacement string,
where expr is an arbitrary Lisp expression evaluated at replacement
time.  In many cases, this will be more convenient than using
`query-replace-regexp-eval'.  `\#' in a replacement string now refers
to the count of replacements already made by the replacement command.
All regular expression replacement commands now allow `\?' in the
replacement string to specify a position where the replacement string
can be edited for each replacement.
Richard M. Stallman's avatar
Richard M. Stallman committed
614

Richard M. Stallman's avatar
Richard M. Stallman committed
615 616 617
+++
*** query-replace uses isearch lazy highlighting when the new user option
`query-replace-lazy-highlight' is non-nil.
Richard M. Stallman's avatar
Richard M. Stallman committed
618

Richard M. Stallman's avatar
Richard M. Stallman committed
619 620 621
---
*** The current match in query-replace is highlighted in new face
`query-replace' which by default inherits from isearch face.
Richard M. Stallman's avatar
Richard M. Stallman committed
622

623
** Local variables lists:
624

Richard M. Stallman's avatar
Richard M. Stallman committed
625 626
+++
*** In processing a local variables list, Emacs strips the prefix and
Eli Zaretskii's avatar
Eli Zaretskii committed
627
suffix from every line before processing all the lines.
Richard M. Stallman's avatar
Richard M. Stallman committed
628

629 630 631 632 633 634
+++
*** Text properties in local variables.

A file local variables list cannot specify a string with text
properties--any specified text properties are discarded.

635 636 637 638 639 640 641
+++
*** If the local variables list contains any variable-value pairs that
are not known to be safe, Emacs shows a prompt asking whether to apply
the local variables list as a whole.  In earlier versions, a prompt
was only issued for variables explicitly marked as risky (for the
definition of risky variables, see `risky-local-variable-p').

642
At the prompt, you can choose to save the contents of this local
643 644 645 646 647 648 649
variables list to `safe-local-variable-values'.  This new customizable
option is a list of variable-value pairs that are known to be safe.
Variables can also be marked as safe with the existing
`safe-local-variable' property (see `safe-local-variable-p').
However, risky variables will not be added to
`safe-local-variable-values' in this way.

650 651 652 653
+++
*** The variable `enable-local-variables' controls how local variable
lists are handled.  t, the default, specifies the standard querying
behavior.  :safe means use only safe values, and ignore the rest.
654
:all means set all variables, whether or not they are safe.
655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682
nil means ignore them all.  Anything else means always query.

+++
*** The variable `safe-local-eval-forms' specifies a list of forms that
are ok to evaluate when they appear in an `eval' local variables
specification.  Normally Emacs asks for confirmation before evaluating
such a form, but if the form appears in this list, no confirmation is
needed.

+++
*** If a function has a non-nil `safe-local-eval-function' property,
that means it is ok to evaluate some calls to that function when it
appears in an `eval' local variables specification.  If the property
is t, then any form calling that function with constant arguments is
ok.  If the property is a function or list of functions, they are called
with the form as argument, and if any returns t, the form is ok to call.

If the form is not "ok to call", that means Emacs asks for
confirmation as before.

** File operation changes:

+++
*** Unquoted `$' in file names do not signal an error any more when
the corresponding environment variable does not exist.
Instead, the `$ENVVAR' text is left as is, so that `$$' quoting
is only rarely needed.

683
+++
Richard M. Stallman's avatar
Richard M. Stallman committed
684
*** find-file-read-only visits multiple files in read-only mode,
685
when the file name contains wildcard characters.
686

687
+++
Richard M. Stallman's avatar
Richard M. Stallman committed
688
*** find-alternate-file replaces the current file with multiple files,
Nick Roberts's avatar
Nick Roberts committed
689 690
when the file name contains wildcard characters.  It now asks if you
wish save your changes and not just offer to kill the buffer.
Kim F. Storm's avatar
Kim F. Storm committed
691

692
+++
Richard M. Stallman's avatar
Richard M. Stallman committed
693
*** Auto Compression mode is now enabled by default.
Kim F. Storm's avatar
Kim F. Storm committed
694

695
---
Richard M. Stallman's avatar
Richard M. Stallman committed
696
*** C-x C-f RET, typing nothing in the minibuffer, is no longer a special case.
697

698 699 700
Since the default input is the current directory, this has the effect
of specifying the current directory.  Normally that means to visit the
directory with Dired.
701

702
+++
Richard M. Stallman's avatar
Richard M. Stallman committed
703
*** When you are root, and you visit a file whose modes specify
704 705 706
read-only, the Emacs buffer is now read-only too.  Type C-x C-q if you
want to make the buffer writable.  (As root, you can in fact alter the
file.)
Kim F. Storm's avatar
Kim F. Storm committed
707

Juri Linkov's avatar
Juri Linkov committed
708
+++
Richard M. Stallman's avatar
Richard M. Stallman committed
709
*** C-x s (save-some-buffers) now offers an option `d' to diff a buffer
710
against its file, so you can see what changes you would be saving.
Juri Linkov's avatar
Juri Linkov committed
711

712
+++
Richard M. Stallman's avatar
Richard M. Stallman committed
713
*** The commands copy-file, rename-file, make-symbolic-link and
714 715 716 717 718
add-name-to-file, when given a directory as the "new name" argument,
convert it to a file name by merging in the within-directory part of
the existing file's name.  (This is the same convention that shell
commands cp, mv, and ln follow.)  Thus, M-x copy-file RET ~/foo RET
/tmp RET copies ~/foo to /tmp/foo.
Stefan Monnier's avatar
Stefan Monnier committed
719

720
---
Richard M. Stallman's avatar
Richard M. Stallman committed
721
*** When used interactively, `format-write-file' now asks for confirmation
Luc Teirlinck's avatar
Luc Teirlinck committed
722 723 724
before overwriting an existing file, unless a prefix argument is
supplied.  This behavior is analogous to `write-file'.

725
---
Richard M. Stallman's avatar
Richard M. Stallman committed
726
*** The variable `auto-save-file-name-transforms' now has a third element that
727 728
controls whether or not the function `make-auto-save-file-name' will
attempt to construct a unique auto-save name (e.g. for remote files).
Luc Teirlinck's avatar
Luc Teirlinck committed
729

730 731 732 733 734 735
+++
*** The new option `write-region-inhibit-fsync' disables calls to fsync
in `write-region'.  This can be useful on laptops to avoid spinning up
the hard drive upon each file save.  Enabling this variable may result
in data loss, use with care.

Richard M. Stallman's avatar
Richard M. Stallman committed
736 737
+++
*** If the user visits a file larger than `large-file-warning-threshold',
Richard M. Stallman's avatar
Richard M. Stallman committed
738
Emacs asks for confirmation.
Richard M. Stallman's avatar
Richard M. Stallman committed
739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758

+++
*** require-final-newline now has two new possible values:

`visit' means add a newline (as an undoable change) if it's needed
when visiting the file.

`visit-save' means add a newline (as an undoable change) if it's
needed when visiting the file, and also add a newline if it's needed
when saving the file.

+++
*** The new option mode-require-final-newline controls how certain
major modes enable require-final-newline.  Any major mode that's
designed for a kind of file that should normally end in a newline
sets require-final-newline based on mode-require-final-newline.
So you can customize mode-require-final-newline to control what these
modes do.

** Minibuffer changes:
Luc Teirlinck's avatar
Luc Teirlinck committed
759

Stefan Monnier's avatar
Stefan Monnier committed
760 761 762 763
+++
*** The new file-name-shadow-mode is turned ON by default, so that when
entering a file name, any prefix which Emacs will ignore is dimmed.

764
+++
Richard M. Stallman's avatar
Richard M. Stallman committed
765
*** There's a new face `minibuffer-prompt'.
766 767 768
Emacs adds this face to the list of text properties stored in the
variable `minibuffer-prompt-properties', which is used to display the
prompt string.
Luc Teirlinck's avatar
Luc Teirlinck committed
769

770
---
771
*** Enhanced visual feedback in `*Completions*' buffer.
772

773 774
Completions lists use faces to highlight what all completions
have in common and where they begin to differ.
775

776 777 778 779 780 781 782 783
The common prefix shared by all possible completions uses the face
`completions-common-part', while the first character that isn't the
same uses the face `completions-first-difference'.  By default,
`completions-common-part' inherits from `default', and
`completions-first-difference' inherits from `bold'.  The idea of
`completions-common-part' is that you can use it to make the common
parts less visible than normal, so that the rest of the differing
parts is, by contrast, slightly highlighted.
Stefan Monnier's avatar
Stefan Monnier committed
784

785
Above fontification is always done when listing completions is
Juanma Barranquero's avatar
Juanma Barranquero committed
786
triggered at minibuffer.  If you want to fontify completions whose
787 788 789 790
listing is triggered at the other normal buffer, you have to pass
the common prefix of completions to `display-completion-list' as
its second argument.

791
+++
Richard M. Stallman's avatar
Richard M. Stallman committed
792
*** File-name completion can now ignore specified directories.
793 794 795 796 797
If an element of the list in `completion-ignored-extensions' ends in a
slash `/', it indicates a subdirectory that should be ignored when
completing file names.  Elements of `completion-ignored-extensions'
which do not end in a slash are never considered when a completion
candidate is a directory.
Stefan Monnier's avatar
Stefan Monnier committed
798

799
+++
Richard M. Stallman's avatar
Richard M. Stallman committed
800
*** The completion commands TAB, SPC and ? in the minibuffer apply only
801 802
to the text before point.  If there is text in the buffer after point,
it remains unchanged.
803

804
+++
Richard M. Stallman's avatar
Richard M. Stallman committed
805
*** New user option `history-delete-duplicates'.
806
If set to t when adding a new history element, all previous identical
807
elements are deleted from the history list.
808

Richard M. Stallman's avatar
Richard M. Stallman committed
809
** Redisplay changes:
Nick Roberts's avatar
Nick Roberts committed
810

Kim F. Storm's avatar
Kim F. Storm committed
811
+++
Romain Francoise's avatar
Romain Francoise committed
812
*** Preemptive redisplay now adapts to current load and bandwidth.
Kim F. Storm's avatar
Kim F. Storm committed
813

Romain Francoise's avatar
Romain Francoise committed
814
To avoid preempting redisplay on fast computers, networks, and displays,
Kim F. Storm's avatar
Kim F. Storm committed
815 816 817 818
the arrival of new input is now performed at regular intervals during
redisplay.  The new variable `redisplay-preemption-period' specifies
the period; the default is to check for input every 0.1 seconds.

819 820 821 822 823
+++
*** The mode line position information now comes before the major mode.
When the file is maintained under version control, that information
appears between the position information and the major mode.

824
+++
825
*** New face `escape-glyph' highlights control characters and escape glyphs.
826

827
+++
828 829 830
*** Non-breaking space and hyphens are now displayed with a special
face, either nobreak-space or escape-glyph.  You can turn this off or
specify a different mode by setting the variable `nobreak-char-display'.
831

832
+++
Richard M. Stallman's avatar
Richard M. Stallman committed
833 834 835 836 837 838 839 840 841 842 843 844 845 846
*** The parameters of automatic hscrolling can now be customized.
The variable `hscroll-margin' determines how many columns away from
the window edge point is allowed to get before automatic hscrolling
will horizontally scroll the window.  The default value is 5.

The variable `hscroll-step' determines how many columns automatic
hscrolling scrolls the window when point gets too close to the
window edge.  If its value is zero, the default, Emacs scrolls the
window so as to center point.  If its value is an integer, it says how
many columns to scroll.  If the value is a floating-point number, it
gives the fraction of the window's width to scroll the window.

The variable `automatic-hscrolling' was renamed to
`auto-hscroll-mode'.  The old name is still available as an alias.
Kim F. Storm's avatar
Kim F. Storm committed
847

Eli Zaretskii's avatar
Eli Zaretskii committed
848
---
Eli Zaretskii's avatar
Eli Zaretskii committed
849
*** Moving or scrolling through images (and other lines) taller than
850
the window now works sensibly, by automatically adjusting the window's
851
vscroll property.
852

Kim F. Storm's avatar
Kim F. Storm committed
853 854 855 856 857 858 859
*** New customize option `overline-margin' controls the space between
overline and text.

*** New variable `x-underline-at-descent-line' controls the relative
position of the underline.  When set, it overrides the
`x-use-underline-position-properties' variables.

Richard M. Stallman's avatar
Richard M. Stallman committed
860 861 862 863
+++
*** The new face `mode-line-inactive' is used to display the mode line
of non-selected windows.  The `mode-line' face is now used to display
the mode line of the currently selected window.
Stefan Monnier's avatar
Stefan Monnier committed
864

Richard M. Stallman's avatar
Richard M. Stallman committed
865 866 867 868 869 870 871 872 873
The new variable `mode-line-in-non-selected-windows' controls whether
the `mode-line-inactive' face is used.

+++
*** You can now customize the use of window fringes.  To control this
for all frames, use M-x fringe-mode or the Show/Hide submenu of the
top-level Options menu, or customize the `fringe-mode' variable.  To
control this for a specific frame, use the command M-x
set-fringe-style.
Juri Linkov's avatar
Juri Linkov committed
874

Richard M. Stallman's avatar
Richard M. Stallman committed
875
+++
Richard M. Stallman's avatar
Richard M. Stallman committed
876 877 878
*** Angle icons in the fringes can indicate the buffer boundaries.  In
addition, up and down arrow bitmaps in the fringe indicate which ways
the window can be scrolled.
879

Richard M. Stallman's avatar
Richard M. Stallman committed
880 881 882
This behavior is activated by setting the buffer-local variable
`indicate-buffer-boundaries' to a non-nil value.  The default value of
this variable is found in `default-indicate-buffer-boundaries'.
883

Richard M. Stallman's avatar
Richard M. Stallman committed
884 885
If value is `left' or `right', both angle and arrow bitmaps are
displayed in the left or right fringe, resp.
886

Juanma Barranquero's avatar
Juanma Barranquero committed
887
The value can also be an alist which specifies the presence and
Richard M. Stallman's avatar
Richard M. Stallman committed
888
position of each bitmap individually.
889

Richard M. Stallman's avatar
Richard M. Stallman committed
890 891 892 893
For example, ((top . left) (t .  right)) places the top angle bitmap
in left fringe, the bottom angle bitmap in right fringe, and both
arrow bitmaps in right fringe.  To show just the angle bitmaps in the
left fringe, but no arrow bitmaps, use ((top . left) (bottom . left)).
894

895
+++
Richard M. Stallman's avatar
Richard M. Stallman committed
896 897 898 899 900
*** On window systems, lines which are exactly as wide as the window
(not counting the final newline character) are no longer broken into
two lines on the display (with just the newline on the second line).
Instead, the newline now "overflows" into the right fringe, and the
cursor will be displayed in the fringe when positioned on that newline.
901

Richard M. Stallman's avatar
Richard M. Stallman committed
902
The new user option 'overflow-newline-into-fringe' can be set to nil to
Richard M. Stallman's avatar
Richard M. Stallman committed
903
revert to the old behavior of continuing such lines.
904

Richard M. Stallman's avatar
Richard M. Stallman committed
905
+++
Richard M. Stallman's avatar
Richard M. Stallman committed
906
*** When a window has display margin areas, the fringes are now
Richard M. Stallman's avatar
Richard M. Stallman committed
907
displayed between the margins and the buffer's text area, rather than
Richard M. Stallman's avatar
Richard M. Stallman committed
908
outside those margins.
Richard M. Stallman's avatar
Richard M. Stallman committed
909 910

+++
Richard M. Stallman's avatar
Richard M. Stallman committed
911
*** A window can now have individual fringe and scroll-bar settings,
Richard M. Stallman's avatar
Richard M. Stallman committed
912 913 914 915 916 917
in addition to the individual display margin settings.

Such individual settings are now preserved when windows are split
horizontally or vertically, a saved window configuration is restored,
or when the frame is resized.

918 919 920 921 922 923
+++
*** The %c and %l constructs are now ignored in frame-title-format.
Due to technical limitations in how Emacs interacts with windowing
systems, these constructs often failed to render properly, and could
even cause Emacs to crash.

Kim F. Storm's avatar
Kim F. Storm committed
924 925 926 927 928
+++
*** If value of `auto-resize-tool-bars' is `grow-only', the tool bar
will expand as needed, but not contract automatically.  To contract
the tool bar, you must type C-l.

Richard M. Stallman's avatar
Richard M. Stallman committed
929
** Cursor display changes:
930

931
+++
Richard M. Stallman's avatar
Richard M. Stallman committed
932
*** On X, MS Windows, and Mac OS, the blinking cursor's "off" state is
933
now controlled by the variable `blink-cursor-alist'.
934

935
+++
Richard M. Stallman's avatar
Richard M. Stallman committed
936
*** The X resource cursorBlink can be used to turn off cursor blinking.
937

938
+++
Richard M. Stallman's avatar
Richard M. Stallman committed
939
*** Emacs can produce an underscore-like (horizontal bar) cursor.
940 941 942
The underscore cursor is set by putting `(cursor-type . hbar)' in
default-frame-alist.  It supports variable heights, like the `bar'
cursor does.
943

944
+++
Richard M. Stallman's avatar
Richard M. Stallman committed
945
*** Display of hollow cursors now obeys the buffer-local value (if any)
946 947
of `cursor-in-non-selected-windows' in the buffer that the cursor
appears in.
948

949
+++
Richard M. Stallman's avatar
Richard M. Stallman committed
950
*** The variable `cursor-in-non-selected-windows' can now be set to any
951
of the recognized cursor types.
952

Stefan Monnier's avatar
Stefan Monnier committed
953
+++
Eli Zaretskii's avatar
Eli Zaretskii committed
954
*** On text terminals, the variable `visible-cursor' controls whether Emacs
Stefan Monnier's avatar
Stefan Monnier committed
955 956
uses the "very visible" cursor (the default) or the normal cursor.

957 958 959 960 961 962 963
** New faces:

+++
*** `mode-line-highlight' is the standard face indicating mouse sensitive
elements on mode-line (and header-line) like `highlight' face on text
areas.

Juri Linkov's avatar
Juri Linkov committed
964 965 966
*** `mode-line-buffer-id' is the standard face for buffer identification
parts of the mode line.

967 968 969 970 971 972 973 974
+++
*** `shadow' face defines the appearance of the "shadowed" text, i.e.
the text which should be less noticeable than the surrounding text.
This can be achieved by using shades of grey in contrast with either
black or white default foreground color.  This generic shadow face
allows customization of the appearance of shadowed text in one place,
so package-specific faces can inherit from it.

975 976 977
+++
*** `vertical-border' face is used for the vertical divider between windows.

Vinicius Jose Latorre's avatar
Vinicius Jose Latorre committed
978 979 980 981 982 983 984 985 986 987 988 989 990
** ebnf2ps changes:

+++
*** New option `ebnf-arrow-extra-width' which specify extra width for arrow
shape drawing.
The extra width is used to avoid that the arrowhead and the terminal border
overlap.  It depens on `ebnf-arrow-shape' and `ebnf-line-width'.

+++
*** New option `ebnf-arrow-scale' which specify the arrow scale.
Values lower than 1.0, shrink the arrow.
Values greater than 1.0, expand the arrow.

Richard M. Stallman's avatar
Richard M. Stallman committed
991 992
** Font-Lock changes:

993 994 995 996
+++
*** M-o now is the prefix key for setting text properties;
M-o M-o requests refontification.

997
+++
Richard M. Stallman's avatar
Richard M. Stallman committed
998 999 1000 1001 1002 1003 1004 1005 1006
*** All modes now support using M-x font-lock-mode to toggle
fontification, even those such as Occur, Info, and comint-derived
modes that do their own fontification in a special way.

The variable `Info-fontify' is no longer applicable; to disable
fontification in Info, remove `turn-on-font-lock' from
`Info-mode-hook'.

+++
Richard M. Stallman's avatar
Richard M. Stallman committed
1007 1008 1009 1010 1011 1012
*** Font-Lock mode: in major modes such as Lisp mode, where some Emacs
features assume that an open-paren in column 0 is always outside of
any string or comment, Font-Lock now highlights any such open-paren in
bold-red if it is inside a string or a comment, to indicate that it
can cause trouble.  You should rewrite the string or comment so that
the open-paren is not in column 0.
Richard M. Stallman's avatar
Richard M. Stallman committed
1013

1014 1015 1016
+++
*** New standard font-lock face `font-lock-preprocessor-face'.

Eli Zaretskii's avatar
Eli Zaretskii committed
1017
+++
1018 1019
*** New standard font-lock face `font-lock-comment-delimiter-face'.

Eli Zaretskii's avatar
Eli Zaretskii committed
1020
+++
Kim F. Storm's avatar
Kim F. Storm committed
1021
*** Easy to overlook single character negation can now be font-locked.
1022 1023 1024 1025
You can use the new variable `font-lock-negation-char-face' and the face of
the same name to customize this.  Currently the cc-modes, sh-script-mode,
cperl-mode and make-mode support this.

Richard M. Stallman's avatar
Richard M. Stallman committed
1026
---
Richard M. Stallman's avatar
Richard M. Stallman committed
1027 1028 1029 1030 1031 1032
*** The default settings for JIT stealth lock parameters are changed.
The default value for the user option jit-lock-stealth-time is now 16
instead of 3, and the default value of jit-lock-stealth-nice is now
0.5 instead of 0.125.  The new defaults should lower the CPU usage
when Emacs is fontifying in the background.

Richard M. Stallman's avatar
Richard M. Stallman committed
1033
---
Richard M. Stallman's avatar
Richard M. Stallman committed
1034 1035 1036 1037 1038 1039 1040
*** jit-lock can now be delayed with `jit-lock-defer-time'.

If this variable is non-nil, its value should be the amount of Emacs
idle time in seconds to wait before starting fontification.  For
example, if you set `jit-lock-defer-time' to 0.25, fontification will
only happen after 0.25s of idle time.

Richard M. Stallman's avatar
Richard M. Stallman committed
1041
---
Richard M. Stallman's avatar
Richard M. Stallman committed
1042 1043 1044 1045 1046 1047
*** contextual refontification is now separate from stealth fontification.

jit-lock-defer-contextually is renamed jit-lock-contextually and
jit-lock-context-time determines the delay after which contextual
refontification takes place.

1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062
---
*** lazy-lock is considered obsolete.

The `lazy-lock' package is superseded by `jit-lock' and is considered
obsolete.  `jit-lock' is activated by default; if you wish to continue
using `lazy-lock', activate it in your ~/.emacs like this:

  (setq font-lock-support-mode 'lazy-lock-mode)

If you invoke `lazy-lock-mode' directly rather than through
`font-lock-support-mode', it now issues a warning:

  "Use font-lock-support-mode rather than calling lazy-lock-mode"


1063
** Menu support:
Richard M. Stallman's avatar
Richard M. Stallman committed
1064