NEWS 546 KB
Newer Older
Dave Love's avatar
Dave Love committed
1
GNU Emacs NEWS -- history of user-visible changes.  2003-05-21
2 3
Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
          Free Software Foundation, Inc.
Dave Love's avatar
#  
Dave Love committed
4 5 6
See the end for copying conditions.

Please send Emacs bug reports to bug-gnu-emacs@gnu.org.
Gerd Moellmann's avatar
Gerd Moellmann committed
7
For older news, see the file ONEWS
8 9
You can narrow news to the 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
10

11 12 13 14
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 ---
15
so we will look at it and add it to the manual.
16

17

18
* Installation Changes in Emacs 22.1
19

20
---
21 22 23
** 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
24

Luc Teirlinck's avatar
Luc Teirlinck committed
25
---
26
** Emacs can now be built without sound support.
Luc Teirlinck's avatar
Luc Teirlinck committed
27

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

33
---
Stefan Monnier's avatar
Stefan Monnier committed
34 35
** The `emacsserver' program has been removed, replaced with elisp code.

36
---
Colin Walters's avatar
Colin Walters committed
37
** By default, Emacs now uses a setgid helper program to update game
Colin Walters's avatar
Colin Walters committed
38 39 40 41
scores.  The directory ${localstatedir}/games/emacs is the normal
place for game scores to be stored.  This may be controlled by the
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
42 43
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
44

45 46 47 48 49
---
** Leim is now part of the Emacs distribution.
You no longer need to download a separate tarball in order to build
Emacs with Leim.

50 51 52
+++
** The Emacs Lisp Reference Manual is now part of the distribution.

Richard M. Stallman's avatar
Richard M. Stallman committed
53
The Emacs Lisp Reference Manual in Info format is built as part of the
54 55 56 57 58 59 60 61 62 63 64 65 66
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).

67
---
Richard M. Stallman's avatar
Richard M. Stallman committed
68
** New translations of the Emacs Tutorial are available in the
Kim F. Storm's avatar
Kim F. Storm committed
69 70 71 72
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.
73 74 75 76 77 78 79 80 81 82

---
** 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'.

83
---
Juanma Barranquero's avatar
Juanma Barranquero committed
84 85
** Support for Cygwin was added.

86
---
Gerd Moellmann's avatar
Gerd Moellmann committed
87 88
** Support for FreeBSD/Alpha has been added.

89 90 91
---
** Support for GNU/Linux systems on S390 machines was added.

Eli Zaretskii's avatar
Eli Zaretskii committed
92 93 94 95
---
** Support for MacOS X was added.
See the files mac/README and mac/INSTALL for build instructions.

96
---
Andreas Schwab's avatar
Andreas Schwab committed
97
** Support for GNU/Linux systems on X86-64 machines was added.
Stefan Monnier's avatar
Stefan Monnier committed
98

99
---
100 101 102 103
** 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.

104
---
Stefan Monnier's avatar
Stefan Monnier committed
105 106
** Building with -DENABLE_CHECKING does not automatically build with union
types any more.  Add -DUSE_LISP_UNION_TYPE if you want union types.
107

Richard M. Stallman's avatar
Richard M. Stallman committed
108
* Startup Changes in Emacs 22.1
109

110 111 112
** 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
113

Nick Roberts's avatar
Nick Roberts committed
114
+++
115 116 117
** 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
118

Luc Teirlinck's avatar
Luc Teirlinck committed
119
+++
120 121
** New command line option -nbc or --no-blinking-cursor disables
the blinking cursor on graphical terminals.
Kenichi Handa's avatar
Kenichi Handa committed
122

123
+++
124 125
** The command line option --no-windows has been changed to
--no-window-system.  The old one still works, but is deprecated.
126

127 128 129 130
+++
** 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.
131

132 133 134 135 136 137
+++
** 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
138

139 140 141 142 143 144
+++
** 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').
145

146 147 148 149
+++
** 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
150

151 152 153 154
+++
** Init file changes
You can now put the init files .emacs and .emacs_SHELL under
~/.emacs.d or directly under ~.  Emacs will find them in either place.
Kenichi Handa's avatar
Kenichi Handa committed
155

156
+++
157 158 159 160 161
** 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'.
162

Richard M. Stallman's avatar
Richard M. Stallman committed
163 164 165

* Editing Changes in Emacs 22.1

166
+++
167 168 169
** 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.
170

171
+++
Kim F. Storm's avatar
Kim F. Storm committed
172 173 174 175
** 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.
176

177
+++
178 179
** M-o now is the prefix key for setting text properties;
M-o M-o requests refontification.
180

181
+++
182 183 184 185 186 187
** C-u M-x goto-line now 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.

188
+++
189 190 191
** You can now switch buffers in a cyclic order with C-x C-left and
(prev-buffer) and C-x C-right (next-buffer).  C-x left and C-x right
can be used as well.
192

193
+++
194 195 196
** 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.
197 198

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

201 202
+++
** When the undo information of the current command gets really large
Luc Teirlinck's avatar
Luc Teirlinck committed
203 204
(beyond the value of `undo-outer-limit'), Emacs discards it and warns
you about it.
205

206
+++
207 208
** M-SPC (just-one-space) when given a numeric argument N
converts whitespace around point to N spaces.
209

Richard M. Stallman's avatar
Richard M. Stallman committed
210 211 212 213 214 215 216
+++
** line-move-ignore-invisible now defaults to t.

---
** New commands to operate on pairs of open and close characters:
`insert-pair', `delete-pair', `raise-sexp'.

217 218 219
---
** New command `kill-whole-line' kills an entire line at once.
By default, it is bound to C-S-<backspace>.
220

Luc Teirlinck's avatar
Luc Teirlinck committed
221
+++
222 223 224 225
** 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
226

227
+++
228 229 230
** 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.
231

Luc Teirlinck's avatar
Luc Teirlinck committed
232
+++
233 234 235
** 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.
236

Richard M. Stallman's avatar
Richard M. Stallman committed
237
** Mark Changes:
Juri Linkov's avatar
Juri Linkov committed
238

239
+++
Richard M. Stallman's avatar
Richard M. Stallman committed
240
*** A prefix argument is no longer required to repeat a jump to a
241 242
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
243

244
+++
Richard M. Stallman's avatar
Richard M. Stallman committed
245
*** Marking commands extend the region when invoked multiple times.  If
246 247 248 249 250 251 252 253
you hit M-C-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
254

255
+++
Richard M. Stallman's avatar
Richard M. Stallman committed
256
*** M-h (mark-paragraph) now accepts a prefix arg.
257 258 259
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
260

261
+++
Richard M. Stallman's avatar
Richard M. Stallman committed
262
*** Some commands do something special in Transient Mark mode when the
263 264 265 266 267
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
268

269 270 271 272
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
273

274 275 276 277
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
278

Richard M. Stallman's avatar
Richard M. Stallman committed
279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387
** Help command changes:

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

C-h e displays the *Messages* buffer.

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
anchor' (in addition to earlier `info node' and `Info node').

+++
*** 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.

+++
*** 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.

** Buffer Menu changes

+++
*** New command `Buffer-menu-toggle-files-only' toggles display of file
buffers only in the Buffer Menu.  It is bound to `T' in Buffer Menu
mode.

+++
*** `buffer-menu' and `list-buffers' now list buffers whose names begin
with a space, when those buffers are visiting files.  Normally buffers
whose names begin with space are omitted.

---
*** The new options `buffers-menu-show-directories' and
`buffers-menu-show-status' let you control how buffers are displayed
in the menu dropped down when you click "Buffers" from the menu bar.

`buffers-menu-show-directories' controls whether the menu displays
leading directories as part of the file name visited by the buffer.
If its value is `unless-uniquify', the default, directories are
shown unless uniquify-buffer-name-style' is non-nil.  The value of nil
and t turn the display of directories off and on, respectively.

`buffers-menu-show-status' controls whether the Buffers menu includes
the modified and read-only status of the buffers.  By default it is
t, and the status is shown.

Setting these variables directly does not take effect until next time
the Buffers menu is regenerated.

** File Operation Changes:

388
+++
Richard M. Stallman's avatar
Richard M. Stallman committed
389
*** find-file-read-only visits multiple files in read-only mode,
390
when the file name contains wildcard characters.
391

392
+++
Richard M. Stallman's avatar
Richard M. Stallman committed
393
*** find-alternate-file replaces the current file with multiple files,
394
when the file name contains wildcard characters.
Kim F. Storm's avatar
Kim F. Storm committed
395

396
+++
Richard M. Stallman's avatar
Richard M. Stallman committed
397
*** Auto Compression mode is now enabled by default.
Kim F. Storm's avatar
Kim F. Storm committed
398

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

402 403 404
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.
405

406
+++
Richard M. Stallman's avatar
Richard M. Stallman committed
407
*** When you are root, and you visit a file whose modes specify
408 409 410
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
411

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

416
+++
Richard M. Stallman's avatar
Richard M. Stallman committed
417
*** The commands copy-file, rename-file, make-symbolic-link and
418 419 420 421 422
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
423

424
---
Richard M. Stallman's avatar
Richard M. Stallman committed
425
*** When used interactively, `format-write-file' now asks for confirmation
Luc Teirlinck's avatar
Luc Teirlinck committed
426 427 428
before overwriting an existing file, unless a prefix argument is
supplied.  This behavior is analogous to `write-file'.

429
---
Richard M. Stallman's avatar
Richard M. Stallman committed
430
*** The variable `auto-save-file-name-transforms' now has a third element that
431 432
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
433

Richard M. Stallman's avatar
Richard M. Stallman committed
434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455
+++
*** If the user visits a file larger than `large-file-warning-threshold',
Emacs prompts her for confirmation.

+++
*** 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.

456
+++
457 458
** The max size of buffers and integers has been doubled.
On 32bit machines, it is now 256M (i.e. 268435455).
Luc Teirlinck's avatar
Luc Teirlinck committed
459

Richard M. Stallman's avatar
Richard M. Stallman committed
460
** Minibuffer changes:
Luc Teirlinck's avatar
Luc Teirlinck committed
461

462
+++
Richard M. Stallman's avatar
Richard M. Stallman committed
463
*** There's a new face `minibuffer-prompt'.
464 465 466
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
467

468
---
Richard M. Stallman's avatar
Richard M. Stallman committed
469
*** Enhanced visual feedback in *Completions* buffer.
470

471 472
Completions lists use faces to highlight what all completions
have in common and where they begin to differ.
473

474 475 476 477 478 479 480 481
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
482

483
+++
Richard M. Stallman's avatar
Richard M. Stallman committed
484
*** File-name completion can now ignore directories.
485 486 487 488 489
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
490

491
+++
Richard M. Stallman's avatar
Richard M. Stallman committed
492
*** The completion commands TAB, SPC and ? in the minibuffer apply only
493 494
to the text before point.  If there is text in the buffer after point,
it remains unchanged.
495

496
+++
Richard M. Stallman's avatar
Richard M. Stallman committed
497
*** New user option `history-delete-duplicates'.
498 499
If set to t when adding a new history element, all previous identical
elements are deleted.
500

Richard M. Stallman's avatar
Richard M. Stallman committed
501
** Redisplay Changes
502

503 504 505 506 507
*** Easy to overlook single character negation is now font-locked.
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.

508
+++
Richard M. Stallman's avatar
Richard M. Stallman committed
509
*** Control characters and escape glyphs are now shown in the new
510
escape-glyph face.
511

512
+++
Richard M. Stallman's avatar
Richard M. Stallman committed
513
*** Non-breaking space and hyphens are now prefixed with an escape
514 515
character, unless the new user variable `show-nonbreak-escape' is set
to nil.
516

517
+++
Richard M. Stallman's avatar
Richard M. Stallman committed
518 519 520 521 522 523 524 525 526 527 528 529 530 531
*** 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
532

Richard M. Stallman's avatar
Richard M. Stallman committed
533
*** Moving or scrolling through images (and other lines) taller that
534 535
the window now works sensible, by automatically adjusting the window's
vscroll property.
536

537
+++
Richard M. Stallman's avatar
Richard M. Stallman committed
538 539 540
*** In graphical mode, with a C program, GUD Tooltips have been extended to
display the #define directive associated with an identifier when program is
not executing.
541

Richard M. Stallman's avatar
Richard M. Stallman committed
542 543 544 545
+++
*** 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
546

Richard M. Stallman's avatar
Richard M. Stallman committed
547 548 549 550 551 552 553 554 555
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
556

Richard M. Stallman's avatar
Richard M. Stallman committed
557 558 559 560 561
+++
*** The buffer boundaries (i.e. first and last line in the buffer) may
now be marked with angle bitmaps in the fringes.  In addition, up and
down arrow bitmaps may be shown at the top and bottom of the left or
right fringe if the window can be scrolled in either direction.
562

Richard M. Stallman's avatar
Richard M. Stallman committed
563 564 565
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'.
566

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

Richard M. Stallman's avatar
Richard M. Stallman committed
570 571
Value may also be an alist which specifies the presense and position
of each bitmap individually.
572

Richard M. Stallman's avatar
Richard M. Stallman committed
573 574 575 576
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)).
577

578
+++
Richard M. Stallman's avatar
Richard M. Stallman committed
579 580 581 582 583
*** 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.
584

Richard M. Stallman's avatar
Richard M. Stallman committed
585 586
The new user option 'overflow-newline-into-fringe' may be set to nil to
revert to the old behavior of continuing such lines.
587

Richard M. Stallman's avatar
Richard M. Stallman committed
588 589 590 591 592 593 594 595 596 597 598 599 600 601
+++
*** When display margins are present in a window, the fringes are now
displayed between the margins and the buffer's text area, rather than
at the edges of the window.

+++
*** A window may now have individual fringe and scroll-bar settings,
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.

** Cursor Display Changes
602

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

607
+++
Richard M. Stallman's avatar
Richard M. Stallman committed
608
*** The X resource cursorBlink can be used to turn off cursor blinking.
609

610
+++
Richard M. Stallman's avatar
Richard M. Stallman committed
611
*** Emacs can produce an underscore-like (horizontal bar) cursor.
612 613 614
The underscore cursor is set by putting `(cursor-type . hbar)' in
default-frame-alist.  It supports variable heights, like the `bar'
cursor does.
615

616
+++
Richard M. Stallman's avatar
Richard M. Stallman committed
617
*** Display of hollow cursors now obeys the buffer-local value (if any)
618 619
of `cursor-in-non-selected-windows' in the buffer that the cursor
appears in.
620

621
+++
Richard M. Stallman's avatar
Richard M. Stallman committed
622
*** The variable `cursor-in-non-selected-windows' can now be set to any
623
of the recognized cursor types.
624

625
+++
Richard M. Stallman's avatar
Richard M. Stallman committed
626 627 628
** font-lock-lines-before specifies a number of lines before the
current line that should be refontified when you change the buffer.
The default value is 1.
629

Richard M. Stallman's avatar
Richard M. Stallman committed
630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673
---
** JIT-lock changes

*** 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.


*** 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.

*** 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.

** Menu Bar changes

---
*** A menu item "Show/Hide" was added to the top-level menu "Options".
This menu allows you to turn various display features on and off (such
as the fringes, the tool bar, the speedbar, and the menu bar itself).
You can also move the vertical scroll bar to either side here or turn
it off completely.  There is also a menu-item to toggle displaying of
current date and time, current line and column number in the
mode-line.

---
*** Speedbar has moved from the "Tools" top level menu to "Show/Hide".

+++
** You can now customize fill-nobreak-predicate to control where
filling can break lines.  The value is now normally a list of
functions, but it can also be a single function, for compatibility.

We provide two sample predicates, fill-single-word-nobreak-p and
fill-french-nobreak-p, for use in the value of fill-nobreak-predicate.
674

675
+++
676 677 678 679 680 681
** New display feature: focus follows the mouse from one Emacs window
to another, even within a frame.  If you set the variable
mouse-autoselect-window to non-nil value, moving the mouse to a
different Emacs window will select that window (minibuffer window can
be selected only when it is active).  The default is nil, so that this
feature is not enabled.
Stefan Monnier's avatar
Stefan Monnier committed
682

683 684 685 686 687 688 689
+++
** On X, when the window manager requires that you click on a frame to
select it (give it focus), the selected window and cursor position
normally changes according to the mouse click position.  If you set
the variable x-mouse-click-focus-ignore-position to t, the selected
window and cursor position do not change when you click on a frame
to give it focus.
Stefan Monnier's avatar
Stefan Monnier committed
690

Kim F. Storm's avatar
Kim F. Storm committed
691
+++
692 693 694
** 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.
695

696
+++
697 698 699
** `special-display-buffer-names' and `special-display-regexps' now
understand two new boolean pseudo-frame-parameters `same-frame' and
`same-window'.
Stefan Monnier's avatar
Stefan Monnier committed
700

701
---
702 703 704 705
** New commands `scan-buf-next-region' and `scan-buf-previous-region'
move to the start of the next (previous, respectively) region with
non-nil help-echo property and display any help found there in the
echo area, using `display-local-help'.
Luc Teirlinck's avatar
Luc Teirlinck committed
706

707
+++
708 709
** In processing a local variables list, Emacs strips the prefix and
suffix are from every line before processing all the lines.
710

711 712 713
+++
** `apply-macro-to-region-lines' now operates on all lines that begin
in the region, rather than on all complete lines in the region.
Juri Linkov's avatar
Juri Linkov committed
714

715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743
+++
** You can now follow links by clicking Mouse-1 on the link.

Traditionally, Emacs uses a Mouse-1 click to set point and a Mouse-2
click to follow a link, whereas most other applications use a Mouse-1
click for both purposes, depending on whether you click outside or
inside a link.  Now the behavior of a Mouse-1 click has been changed
to match this context-sentitive dual behavior.

Depending on the current mode, a Mouse-2 click in Emacs may do much
more than just follow a link, so the new Mouse-1 behavior is only
activated for modes which explicitly mark a clickable text as a "link"
(see the new function `mouse-on-link-p' for details).  The Lisp
packages that are included in release 22.1 have been adapted to do
this, but external packages may not yet support this.  However, there
is no risk in using such packages, as the worst thing that could
happen is that you get the original Mouse-1 behavior when you click
on a link, which typically means that you set point where you click.

If you want to get the original Mouse-1 action also inside a link, you
just need to press the Mouse-1 button a little longer than a normal
click (i.e. press and hold the Mouse-1 button for half a second before
you release it).

Dragging the Mouse-1 inside a link still performs the original
drag-mouse-1 action, typically copy the text.

You can customize the new Mouse-1 behavior via the new user options
`mouse-1-click-follows-link' and `mouse-1-click-in-non-selected-windows'.
Juri Linkov's avatar
Juri Linkov committed
744

745
+++
746 747 748 749 750
** Emacs normally highlights mouse sensitive text whenever the mouse
is over the text.  By setting the new variable `mouse-highlight', you
can optionally enable mouse highlighting only after you move the
mouse, so that highlighting disappears when you press a key.  You can
also disable mouse highlighting.
751 752

+++
753 754 755 756 757 758 759 760 761 762 763 764 765
** You can now customize if selecting a region by dragging the mouse
shall not copy the selected text to the kill-ring by setting the new
variable mouse-drag-copy-region to nil.

---
** mouse-wheels can now scroll a specific fraction of the window
(rather than a fixed number of lines) and the scrolling is `progressive'.

---
** Unexpected yanking of text due to accidental clicking on the mouse
wheel button (typically mouse-2) during wheel scrolling is now avoided.
This behavior can be customized via the mouse-wheel-click-event and
mouse-wheel-inhibit-click-time variables.
Juri Linkov's avatar
Juri Linkov committed
766 767

+++
768
** Under X, mouse-wheel-mode is turned on by default.
Juri Linkov's avatar
Juri Linkov committed
769

770
+++
771 772 773
** M-x setenv now expands environment variables of the form `$foo' and
`${foo}' in the specified new value of the environment variable.  To
include a `$' in the value, use `$$'.
Juri Linkov's avatar
Juri Linkov committed
774

775
+++
776 777 778 779 780 781 782 783 784 785 786
** 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.

---
** Language environment and various default coding systems are setup
more correctly according to the current locale name.  If the locale
name doesn't specify a charset, the default is what glibc defines.
This change may result in using the different coding systems as
default in some locale (e.g. vi_VN).
787

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

Juri Linkov's avatar
Juri Linkov committed
792
+++
793 794 795 796 797 798 799 800
** The keyboard-coding-system is now automatically set based on your
current locale settings if you are not using a window system.  This
may mean that the META key doesn't work but generates non-ASCII
characters instead, depending on how the terminal (or terminal
emulator) works.  Use `set-keyboard-coding-system' (or customize
keyboard-coding-system) if you prefer META to work (the old default)
or if the locale doesn't describe the character set actually generated
by the keyboard.  See Info node `Single-Byte Character Support'.
Juri Linkov's avatar
Juri Linkov committed
801 802

+++
803 804
** The new command `revert-buffer-with-coding-system' (C-x RET r)
revisits the current file using a coding system that you specify.
Juri Linkov's avatar
Juri Linkov committed
805

806 807 808
+++
** New command `recode-region' decodes the region again by a specified
coding system.
Juri Linkov's avatar
Juri Linkov committed
809 810

+++
811 812
** The new command `recode-file-name' changes the encoding of the name
of a file.
Juri Linkov's avatar
Juri Linkov committed
813 814

---
815 816
** New command `ucs-insert' inserts a character specified by its
unicode.
Juri Linkov's avatar
Juri Linkov committed
817

818 819 820 821 822
+++
** The new command `set-file-name-coding-system' (C-x RET F) sets
coding system for encoding and decoding file names.  A new menu item
(Options->Mule->Set Coding Systems->For File Name) invokes this
command.
823

824
+++
825 826
** New command quail-show-key shows what key (or key sequence) to type
in the current input method to input a character at point.
827

828 829 830 831 832 833 834 835
+++
** Limited support for character `unification' has been added.
Emacs now knows how to translate between different representations of
the same characters in various Emacs charsets according to standard
Unicode mappings.  This applies mainly to characters in the ISO 8859
sets plus some other 8-bit sets, but can be extended.  For instance,
translation works amongst the Emacs ...-iso8859-... charsets and the
mule-unicode-... ones.
836

837 838 839 840
By default this translation happens automatically on encoding.
Self-inserting characters are translated to make the input conformant
with the encoding of the buffer in which it's being used, where
possible.
841

842 843 844 845 846
You can force a more complete unification with the user option
unify-8859-on-decoding-mode.  That maps all the Latin-N character sets
into Unicode characters (from the latin-iso8859-1 and
mule-unicode-0100-24ff charsets) on decoding.  Note that this mode
will often effectively clobber data with an iso-2022 encoding.
847

848
---
849 850 851 852
** There is support for decoding Greek and Cyrillic characters into
either Unicode (the mule-unicode charsets) or the iso-8859 charsets,
when possible.  The latter are more space-efficient.  This is
controlled by user option utf-fragment-on-decoding.
Luc Teirlinck's avatar
Luc Teirlinck committed
853

854
---
855 856 857 858 859
** New language environments: French, Ukrainian, Tajik,
Bulgarian, Belarusian, Ukrainian, UTF-8, Windows-1255, Welsh, Latin-6,
Latin-7, Lithuanian, Latvian, Swedish, Slovenian, Croatian, Georgian,
Italian, Russian, Malayalam, Tamil, Russian, Chinese-EUC-TW.  (Set up
automatically according to the locale.)
Juri Linkov's avatar
Juri Linkov committed
860 861

---
862 863 864 865 866 867
** New input methods: latin-alt-postfix, latin-postfix, latin-prefix,
ukrainian-computer, belarusian, bulgarian-bds, russian-computer,
vietnamese-telex, lithuanian-numeric, lithuanian-keyboard,
latvian-keyboard, welsh, georgian, rfc1345, ucs, sgml,
bulgarian-phonetic, dutch, slovenian, croatian, malayalam-inscript,
tamil-inscript.
Juri Linkov's avatar
Juri Linkov committed
868

869
---
870 871
** New input method chinese-sisheng for inputting Chinese Pinyin
characters.
872

873 874 875 876 877 878 879 880 881 882 883
---
** Improved Thai support.  A new minor mode `thai-word-mode' (which is
automatically activated if you select Thai as a language
environment) changes key bindings of most word-oriented commands to
versions which recognize Thai words.  Affected commands are
    M-f     (forward-word)
    M-b     (backward-word)
    M-d     (kill-word)
    M-DEL   (backward-kill-word)
    M-t     (transpose-words)
    M-q     (fill-paragraph)
884

885 886 887 888 889 890
---
** Indian support has been updated.
The in-is13194 coding system is now Unicode-based.  CDAC fonts are
assumed.  There is a framework for supporting various
Indian scripts, but currently only Devanagari, Malayalam and Tamil are
supported.
891

892 893
---
** A UTF-7 coding system is available in the library `utf-7'.
894

895 896 897 898 899 900 901 902 903 904 905 906 907
---
** The utf-8/16 coding systems have been enhanced.
By default, untranslatable utf-8 sequences are simply composed into
single quasi-characters.  User option `utf-translate-cjk-mode' (it is
turned on by default) arranges to translate many utf-8 CJK character
sequences into real Emacs characters in a similar way to the Mule-UCS
system.  As this loads a fairly big data on demand, people who are not
interested in CJK characters may want to customize it to nil.
You can augment/amend the CJK translation via hash tables
`ucs-mule-cjk-to-unicode' and `ucs-unicode-to-mule-cjk'.  The utf-8
coding system now also encodes characters from most of Emacs's
one-dimensional internal charsets, specifically the ISO-8859 ones.
The utf-16 coding system is affected similarly.
908

909 910 911 912
---
** A new coding system `euc-tw' has been added for traditional Chinese
in CNS encoding; it accepts both Big 5 and CNS as input; on saving,
Big 5 is then converted to CNS.
Stefan Monnier's avatar
Stefan Monnier committed
913

914 915 916 917 918 919 920
---
** Many new coding systems are available by loading the `code-pages'
library.  These include complete versions of most of those in
codepage.el, based on Unicode mappings.  `codepage-setup' is now
obsolete and is used only in the MS-DOS port of Emacs.  windows-1252
and windows-1251 are preloaded since the former is so common and the
latter is used by GNU locales.
Stefan Monnier's avatar
Stefan Monnier committed
921

922 923 924
---
** New variable `utf-translate-cjk-unicode-range' controls which
Unicode characters to translate in `utf-translate-cjk-mode'.
Stefan Monnier's avatar
Stefan Monnier committed
925

926 927 928 929
---
** iso-10646-1 (`Unicode') fonts can be used to display any range of
characters encodable by the utf-8 coding system.  Just specify the
fontset appropriately.
Stefan Monnier's avatar
Stefan Monnier committed
930

931
+++
932 933 934 935 936
** 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.
937

938
+++
939 940 941 942
** 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'.
943

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

948
+++
949 950 951
** 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.
Kim F. Storm's avatar
Kim F. Storm committed
952

953 954 955 956
+++
** 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.
Kim F. Storm's avatar
Kim F. Storm committed
957

958
+++
959 960 961 962 963 964 965 966
** 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'.

---
** 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.
967

968
+++
969 970 971 972 973 974 975 976 977
** 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.
Stefan Monnier's avatar
Stefan Monnier committed
978

979
+++
980 981
** query-replace uses isearch lazy highlighting when the new user option
`query-replace-lazy-highlight' is non-nil.
Dave Love's avatar
Dave Love committed
982

983 984 985
---
** The current match in query-replace is highlighted in new face
`query-replace' which by default inherits from isearch face.
Kim F. Storm's avatar
Kim F. Storm committed
986

987
+++
988 989
** M-x compare-windows now can automatically skip non-matching text to
resync points in both windows.
990

991
+++
992 993 994 995
** The commands M-x customize-face and M-x customize-face-other-window
now look at the character after point.  If a face or faces are
specified for that character, the commands by default customize those
faces.
Stefan Monnier's avatar
Stefan Monnier committed
996

997
---
998 999 1000 1001 1002 1003 1004
** The face-customization widget has been reworked to be less confusing.
In particular, when you enable a face attribute using the corresponding
check-box, there's no longer a redundant `*' option in value selection
for that attribute; the values you can choose are only those which make
sense for the attribute.  When an attribute is de-selected by unchecking
its check-box, then the (now ignored, but still present temporarily in
case you re-select the attribute) value is hidden.
Stefan Monnier's avatar
Stefan Monnier committed
1005

1006
+++
1007 1008 1009 1010
** When you set or reset a variable's value in a Customize buffer,
the previous value becomes the "backup value" of the variable.
You can go back to that backup value by selecting "Use Backup Value"
under the "[State]" button.
Stefan Monnier's avatar
Stefan Monnier committed
1011

1012
** Dired mode:
Dave Love's avatar
Dave Love committed
1013

1014
---
1015 1016 1017
*** New faces dired-header, dired-mark, dired-marked, dired-flagged,
dired-ignored, dired-directory, dired-symlink, dired-warning
introduced for Dired mode instead of font-lock faces.
Nick Roberts's avatar
Nick Roberts committed
1018

1019 1020 1021
+++
*** New Dired command `dired-compare-directories' marks files
with different file attributes in two dired buffers.
Juanma Barranquero's avatar
Juanma Barranquero committed
1022

1023 1024 1025
+++
*** New Dired command `dired-do-touch' (bound to T) changes timestamps
of marked files with the value entered in the minibuffer.
Juanma Barranquero's avatar
Juanma Barranquero committed
1026

1027 1028 1029 1030 1031 1032 1033
+++
*** 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'.
David Ponce's avatar
David Ponce committed
1034

1035 1036 1037
+++
*** In Dired, the w command now copies the current line's file name
into the kill ring.  With a zero prefix arg, copies absolute file names.
Juanma Barranquero's avatar
Juanma Barranquero committed
1038

1039 1040 1041 1042 1043
+++
** The variables dired-free-space-program and dired-free-space-args
have been renamed to directory-free-space-program and
directory-free-space-args, and they now apply whenever Emacs puts a
directory listing into a buffer.
Juanma Barranquero's avatar
Juanma Barranquero committed
1044

1045
+++
1046
** Dired-x:
Kenichi Handa's avatar
Kenichi Handa committed
1047

1048
+++
1049 1050 1051 1052
*** Omitting files is now a minor mode, dired-omit-mode.  The mode toggling
command is bound to M-o.  A new command dired-mark-omitted, bound to * O,
marks omitted files.  The variable dired-omit-files-p is obsoleted, use the
mode toggling function instead.
1053

1054 1055 1056
+++
** In Outline mode, hide-body no longer hides lines at the top
of the file that precede the first header line.
1057

1058 1059 1060 1061 1062
+++
** Occur, Info, and comint-derived modes now support using
M-x font-lock-mode to toggle fontification.  The variable
`Info-fontify' is no longer applicable; to disable fontification,
remove `turn-on-font-lock' from `Info-mode-hook'.
Stefan Monnier's avatar
Stefan Monnier committed
1063

1064
---
1065 1066
** The terminal emulation code in term.el has been improved, it can
run most curses applications now.
1067

1068
---
1069 1070 1071 1072 1073
** The comint prompt can now be made read-only, using the new user
option `comint-prompt-read-only'.  This is not enabled by default,
except in IELM buffers.  The read-only status of IELM prompts can be
controlled with the new user option `ielm-prompt-read-only', which
overrides `comint-prompt-read-only'.
Francesco Potortì's avatar
Francesco Potortì committed
1074

1075 1076
The new commands `comint-kill-whole-line' and `comint-kill-region'
support editing comint buffers with read-only prompts.
1077

1078 1079 1080
`comint-kill-whole-line' is like `kill-whole-line', but ignores both
read-only and field properties.  Hence, it always kill entire
lines, including any prompts.
Simon Josefsson's avatar
Simon Josefsson committed
1081

1082 1083 1084 1085 1086 1087 1088
`comint-kill-region' is like `kill-region', except that it ignores
read-only properties, if it is safe to do so.  This means that if any
part of a prompt is deleted, then the entire prompt must be deleted
and that all prompts must stay at the beginning of a line.  If this is
not the case, then `comint-kill-region' behaves just like
`kill-region' if read-only are involved: it copies the text to the
kill-ring, but does not delete it.
1089

1090
+++
1091 1092 1093 1094
** The new command `comint-insert-previous-argument' in comint-derived
modes (shell-mode etc) inserts arguments from previous command lines,
like bash's `ESC .' binding.  It is bound by default to `C-c .', but
otherwise behaves quite similarly to the bash version.
1095

1096 1097 1098
** `comint-use-prompt-regexp-instead-of-fields' has been renamed
`comint-use-prompt-regexp'.  The old name has been kept as an alias,
but declared obsolete.
1099

1100
+++
1101
** Telnet now prompts you for a port number with C-u M-x telnet.
Kenichi Handa's avatar
Kenichi Handa committed
1102

1103
---
1104
** M-x compile has become more robust and reliable
1105

1106 1107 1108 1109
Quite a few more kinds of messages are recognized.  Messages that are
recognized as warnings or informational come in orange or green, instead of
red.  Informational messages are by default skipped with `next-error'
(controlled by `compilation-skip-threshold').
1110

1111 1112 1113
Location data is collected on the fly as the *compilation* buffer changes.
This means you could modify messages to make them point to different files.
This also means you can not go to locations of messages you may have deleted.
Eli Zaretskii's avatar
Eli Zaretskii committed
1114

1115 1116 1117 1118 1119
The variable `compilation-error-regexp-alist' has now become customizable.  If
you had added your own regexps to this, you'll probably need to include a
leading `^', otherwise they'll match anywhere on a line.  There is now also a
`compilation-mode-font-lock-keywords' and it nicely handles all the checks
that configure outputs and -o options so you see at a glance where you are.
Eli Zaretskii's avatar
Eli Zaretskii committed
1120

1121
The new file etc/compilation.txt gives examples of each type of message.
Eli Zaretskii's avatar
Eli Zaretskii committed
1122

1123
** Compilation mode enhancements:
Eli Zaretskii's avatar
Eli Zaretskii committed
1124

1125
+++
1126 1127 1128 1129
*** 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.
1130

Richard M. Stallman's avatar