X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/a2e6384d44559b23890969a21d579bf35cd85d88..df13531dc21070537929cbba1183d6232e91c5de:/etc/NEWS diff --git a/etc/NEWS b/etc/NEWS index 1e88f1d1b4..eab25b2586 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -116,6 +116,7 @@ emacs crash. * Startup Changes in Emacs 22.1 ++++ ** 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. @@ -690,9 +691,9 @@ appears between the position information and the major mode. *** New face `escape-glyph' highlights control characters and escape glyphs. +++ -*** Non-breaking space and hyphens are now prefixed with an escape -character, unless the new user variable `show-nonbreak-escape' is set -to nil. +*** 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'. +++ *** The parameters of automatic hscrolling can now be customized. @@ -710,6 +711,7 @@ 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. +--- *** Moving or scrolling through images (and other lines) taller that the window now works sensibly, by automatically adjusting the window's vscroll property. @@ -796,6 +798,21 @@ appears in. *** The variable `cursor-in-non-selected-windows' can now be set to any of the recognized cursor types. +** 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. + ++++ +*** `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. + ** Font-Lock changes: +++ @@ -826,8 +843,10 @@ trouble with fontification and/or indentation. +++ *** New standard font-lock face `font-lock-preprocessor-face'. ++++ *** New standard font-lock face `font-lock-comment-delimiter-face'. ++++ *** Easy to overlook single character negation can now be 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, @@ -1247,6 +1266,7 @@ 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. ++++ *** `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. @@ -1292,9 +1312,11 @@ buffer causes automatic display in another window of the corresponding matches, compilation errors, etc. This minor mode can be toggled with C-c C-f. ++++ *** When the left fringe is displayed, an arrow points to current message in the compilation buffer. ++++ *** The new variable `compilation-context-lines' controls lines of leading context before the current message. If nil and the left fringe is displayed, it doesn't scroll the compilation output window. If there is no left fringe, @@ -1621,6 +1643,7 @@ referred to as "soft word wrap" in other text editors. This is similar to Refill mode, but more reliable. To turn the word wrap feature off, set `longlines-auto-wrap' to nil. ++++ ** The printing package is now part of the Emacs distribution. If you enable the printing package by including (require 'printing) in @@ -1713,6 +1736,7 @@ This was actually done in Emacs-21.1, and was not documented. * Changes in Specialized Modes and Packages in Emacs 22.1: +--- ** Makefile mode has submodes for automake, gmake, makepp and BSD make. The former two couldn't be differentiated before, and the latter two @@ -1958,7 +1982,7 @@ exceptions are M-a (c-beginning-of-statement) and M-e The notion of "defun" has been augmented to include AWK pattern-action pairs. C-M-a (c-awk-beginning-of-defun) and C-M-e (c-awk-end-of-defun) -recognise these pattern-action pairs, as well as user defined +recognize these pattern-action pairs, as well as user defined functions. **** Auto-newline Insertion and Clean-ups @@ -1995,7 +2019,7 @@ cells. E.g. a line that previously had the syntactic analysis ((inclass . 11) (topmost-intro . 13)) -is now analysed as +is now analyzed as ((inclass 11) (topmost-intro 13)) @@ -2401,6 +2425,7 @@ old name remains available as alias, but has been marked obsolete. +++ *** Desktop saving is now a minor mode, `desktop-save-mode'. ++++ *** The variable `desktop-enable' is obsolete. Customize `desktop-save-mode' to enable desktop saving. @@ -2471,6 +2496,7 @@ currently highlighted regions in an inferior Ediff session. If you answer 'n' then it reverts to the old behavior and asks the user to select regions for comparison. ++++ *** The new command `ediff-backup' compares a file with its most recent backup using `ediff'. If you specify the name of a backup file, `ediff-backup' compares it with the file of which it is a backup. @@ -2516,7 +2542,7 @@ per line. Lines beginning with space or tab are ignored. Previously, only the `template' and `class' keywords had this effect. -**** The GCC __attribute__ keyword is now recognised and ignored. +**** The GCC __attribute__ keyword is now recognized and ignored. **** New language HTML. @@ -3038,6 +3064,10 @@ If APPEND is non-nil, the new element gets added at the end of the list instead of at the beginning. This change actually occurred in Emacs 21.1, but was not documented then. ++++ +*** New function `add-to-ordered-list' is like `add-to-list' but +associates a numeric ordering of each element added to the list. + +++ *** New function `copy-tree' makes a copy of a tree. @@ -3362,6 +3392,13 @@ clone to the other. --- *** The function `insert-string' is now obsolete. +** Filling changes. + ++++ +*** In determining an adaptive fill prefix, Emacs now tries the function in +`adaptive-fill-function' _before_ matching the buffer line against +`adaptive-fill-regexp' rather than _after_ it. + +++ ** Atomic change groups. @@ -3502,6 +3539,11 @@ properties from surrounding text. element, if the last match was on a buffer. `set-match-data' accepts such a list for restoring the match state. ++++ +*** Functions `match-data' and `set-match-data' now have an optional +argument `reseat'. When non-nil, all markers in the match data list +passed to these function will be reseated to point to nowhere. + +++ *** The default value of `sentence-end' is now defined using the new variable `sentence-end-without-space', which contains such characters @@ -3588,6 +3630,7 @@ of text properties as well as the character code. *** `syntax-class' extracts the class of a syntax code (as returned by `syntax-after'). ++++ *** The new function `syntax-ppss' rovides an efficient way to find the current syntactic context at point. @@ -3896,7 +3939,7 @@ function is still supported, but new code should use the new functions. *** Function `signal-process' now accepts a process object or process -name in addition to a process id to identify the signalled process. +name in addition to a process id to identify the signaled process. *** Processes now have an associated property list where programs can maintain process state and other per-process related information. @@ -4054,6 +4097,7 @@ return window edges in units of pixels, rather than columns and lines. +++ *** The new macro `with-selected-window' temporarily switches the selected window without impacting the order of `buffer-list'. +It saves and restores the current buffer, too. +++ *** `select-window' takes an optional second argument NORECORD. @@ -4063,7 +4107,8 @@ This is like `switch-to-buffer'. +++ *** `save-selected-window' now saves and restores the selected window of every frame. This way, it restores everything that can be changed -by calling `select-window'. +by calling `select-window'. It also saves and restores the current +buffer. +++ *** `set-window-buffer' has an optional argument KEEP-MARGINS. @@ -4784,10 +4829,8 @@ used to add text properties to mode-line elements. to display the size of the accessible part of the buffer on the mode line. ++++ *** Mouse-face on mode-line (and header-line) is now supported. -`mode-line-highlight' is the standard face indicating mouse sensitive -elements on mode-line (and header-line) like `highlight' face on text -areas. ** Menu manipulation changes: @@ -4883,6 +4926,7 @@ such things as help and apropos buffers. of hierarchical data as an outline. For example, the tree-widget is well suited to display a hierarchy of directories and files. ++++ ** The new library bindat.el provides functions to unpack and pack binary data structures, such as network packets, to and from Lisp data structures. @@ -13264,10 +13308,10 @@ not by default. Use --members to turn this feature on. *** C++ member functions are now recognized as tags. *** Java is tagged like C++. In addition, "extends" and "implements" -constructs are tagged. Files are recognised by the extension .java. +constructs are tagged. Files are recognized by the extension .java. *** Etags can now handle programs written in Postscript. Files are -recognised by the extensions .ps and .pdb (Postscript with C syntax). +recognized by the extensions .ps and .pdb (Postscript with C syntax). In Postscript, tags are lines that start with a slash. *** Etags now handles Objective C and Objective C++ code. The usual C and @@ -13275,7 +13319,7 @@ C++ tags are recognized in these languages; in addition, etags recognizes special Objective C syntax for classes, class categories, methods and protocols. -*** Etags also handles Cobol. Files are recognised by the extension +*** Etags also handles Cobol. Files are recognized by the extension .cobol. The tagged lines are those containing a word that begins in column 8 and ends in a full stop, i.e. anything that could be a paragraph name.