annotate etc/NEWS.20 @ 85429:f11bfc50b5be

(describe-function-1): Don't use the advice origname if it has no function definition yet.
author Richard M. Stallman <rms@gnu.org>
date Fri, 19 Oct 2007 01:12:43 +0000
parents 713172dcf518
children 1dd7437446ea
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
71203
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1 GNU Emacs NEWS -- history of user-visible changes. 2006-05-31
75774
dc23aaa67696 Switch to standard GPL text for license.
Glenn Morris <rgm@gnu.org>
parents: 75256
diff changeset
2
75256
64d67dc1e67a Add 2007 and sync two Copyrights.
Glenn Morris <rgm@gnu.org>
parents: 71203
diff changeset
3 Copyright (C) 1999, 2000, 2001, 2006, 2007
75774
dc23aaa67696 Switch to standard GPL text for license.
Glenn Morris <rgm@gnu.org>
parents: 75256
diff changeset
4 Free Software Foundation, Inc.
dc23aaa67696 Switch to standard GPL text for license.
Glenn Morris <rgm@gnu.org>
parents: 75256
diff changeset
5 See the end of the file for license conditions.
dc23aaa67696 Switch to standard GPL text for license.
Glenn Morris <rgm@gnu.org>
parents: 75256
diff changeset
6
71203
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
7
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
8 Please send Emacs bug reports to bug-gnu-emacs@gnu.org.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
9 If possible, use M-x report-emacs-bug.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
10
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
11 This file is about changes in emacs version 20.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
12
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
13
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
14
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
15 * Emacs 20.7 is a bug-fix release with few user-visible changes
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
16
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
17 ** It is now possible to use CCL-based coding systems for keyboard
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
18 input.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
19
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
20 ** ange-ftp now handles FTP security extensions, like Kerberos.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
21
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
22 ** Rmail has been extended to recognize more forms of digest messages.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
23
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
24 ** Now, most coding systems set in keyboard coding system work not
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
25 only for character input, but also in incremental search. The
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
26 exceptions are such coding systems that handle 2-byte character sets
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
27 (e.g euc-kr, euc-jp) and that use ISO's escape sequence
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
28 (e.g. iso-2022-jp). They are ignored in incremental search.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
29
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
30 ** Support for Macintosh PowerPC-based machines running GNU/Linux has
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
31 been added.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
32
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
33
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
34
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
35 * Emacs 20.6 is a bug-fix release with one user-visible change
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
36
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
37 ** Support for ARM-based non-RISCiX machines has been added.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
38
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
39
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
40
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
41 * Emacs 20.5 is a bug-fix release with no user-visible changes.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
42
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
43 ** Not new, but not mentioned before:
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
44 M-w when Transient Mark mode is enabled disables the mark.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
45
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
46
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
47
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
48 * Changes in Emacs 20.4
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
49
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
50 ** Init file may be called .emacs.el.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
51
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
52 You can now call the Emacs init file `.emacs.el'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
53 Formerly the name had to be `.emacs'. If you use the name
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
54 `.emacs.el', you can byte-compile the file in the usual way.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
55
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
56 If both `.emacs' and `.emacs.el' exist, the latter file
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
57 is the one that is used.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
58
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
59 ** shell-command, and shell-command-on-region, now return
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
60 the exit code of the command (unless it is asynchronous).
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
61 Also, you can specify a place to put the error output,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
62 separate from the command's regular output.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
63 Interactively, the variable shell-command-default-error-buffer
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
64 says where to put error output; set it to a buffer name.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
65 In calls from Lisp, an optional argument ERROR-BUFFER specifies
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
66 the buffer name.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
67
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
68 When you specify a non-nil error buffer (or buffer name), any error
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
69 output is inserted before point in that buffer, with \f\n to separate
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
70 it from the previous batch of error output. The error buffer is not
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
71 cleared, so error output from successive commands accumulates there.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
72
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
73 ** Setting the default value of enable-multibyte-characters to nil in
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
74 the .emacs file, either explicitly using setq-default, or via Custom,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
75 is now essentially equivalent to using --unibyte: all buffers
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
76 created during startup will be made unibyte after loading .emacs.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
77
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
78 ** C-x C-f now handles the wildcards * and ? in file names. For
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
79 example, typing C-x C-f c*.c RET visits all the files whose names
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
80 match c*.c. To visit a file whose name contains * or ?, add the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
81 quoting sequence /: to the beginning of the file name.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
82
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
83 ** The M-x commands keep-lines, flush-lines and count-matches
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
84 now have the same feature as occur and query-replace:
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
85 if the pattern contains any upper case letters, then
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
86 they never ignore case.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
87
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
88 ** The end-of-line format conversion feature previously mentioned
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
89 under `* Emacs 20.1 changes for MS-DOS and MS-Windows' actually
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
90 applies to all operating systems. Emacs recognizes from the contents
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
91 of a file what convention it uses to separate lines--newline, CRLF, or
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
92 just CR--and automatically converts the contents to the normal Emacs
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
93 convention (using newline to separate lines) for editing. This is a
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
94 part of the general feature of coding system conversion.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
95
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
96 If you subsequently save the buffer, Emacs converts the text back to
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
97 the same format that was used in the file before.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
98
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
99 You can turn off end-of-line conversion by setting the variable
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
100 `inhibit-eol-conversion' to non-nil, e.g. with Custom in the MULE group.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
101
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
102 ** The character set property `prefered-coding-system' has been
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
103 renamed to `preferred-coding-system', for the sake of correct spelling.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
104 This is a fairly internal feature, so few programs should be affected.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
105
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
106 ** Mode-line display of end-of-line format is changed.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
107 The indication of the end-of-line format of the file visited by a
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
108 buffer is now more explicit when that format is not the usual one for
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
109 your operating system. For example, the DOS-style end-of-line format
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
110 is displayed as "(DOS)" on Unix and GNU/Linux systems. The usual
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
111 end-of-line format is still displayed as a single character (colon for
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
112 Unix, backslash for DOS and Windows, and forward slash for the Mac).
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
113
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
114 The values of the variables eol-mnemonic-unix, eol-mnemonic-dos,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
115 eol-mnemonic-mac, and eol-mnemonic-undecided, which are strings,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
116 control what is displayed in the mode line for each end-of-line
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
117 format. You can now customize these variables.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
118
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
119 ** In the previous version of Emacs, tar-mode didn't work well if a
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
120 filename contained non-ASCII characters. Now this is fixed. Such a
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
121 filename is decoded by file-name-coding-system if the default value of
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
122 enable-multibyte-characters is non-nil.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
123
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
124 ** The command temp-buffer-resize-mode toggles a minor mode
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
125 in which temporary buffers (such as help buffers) are given
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
126 windows just big enough to hold the whole contents.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
127
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
128 ** If you use completion.el, you must now run the function
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
129 dynamic-completion-mode to enable it. Just loading the file
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
130 doesn't have any effect.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
131
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
132 ** In Flyspell mode, the default is now to make just one Ispell process,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
133 not one per buffer.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
134
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
135 ** If you use iswitchb but do not call (iswitchb-default-keybindings) to
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
136 use the default keybindings, you will need to add the following line:
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
137 (add-hook 'minibuffer-setup-hook 'iswitchb-minibuffer-setup)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
138
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
139 ** Auto-show mode is no longer enabled just by loading auto-show.el.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
140 To control it, set `auto-show-mode' via Custom or use the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
141 `auto-show-mode' command.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
142
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
143 ** Handling of X fonts' ascent/descent parameters has been changed to
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
144 avoid redisplay problems. As a consequence, compared with previous
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
145 versions the line spacing and frame size now differ with some font
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
146 choices, typically increasing by a pixel per line. This change
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
147 occurred in version 20.3 but was not documented then.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
148
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
149 ** If you select the bar cursor style, it uses the frame's
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
150 cursor-color, rather than the cursor foreground pixel.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
151
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
152 ** In multibyte mode, Rmail decodes incoming MIME messages using the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
153 character set specified in the message. If you want to disable this
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
154 feature, set the variable rmail-decode-mime-charset to nil.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
155
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
156 ** Not new, but not mentioned previously in NEWS: when you use #! at
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
157 the beginning of a file to make it executable and specify an
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
158 interpreter program, Emacs looks on the second line for the -*- mode
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
159 and variable specification, as well as on the first line.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
160
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
161 ** Support for IBM codepage encoding of non-ASCII characters.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
162
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
163 The new command M-x codepage-setup creates a special coding system
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
164 that can be used to convert text between a specific IBM codepage and
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
165 one of the character sets built into Emacs which matches that
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
166 codepage. For example, codepage 850 corresponds to Latin-1 character
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
167 set, codepage 855 corresponds to Cyrillic-ISO character set, etc.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
168
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
169 Windows codepages 1250, 1251 and some others, where Windows deviates
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
170 from the corresponding ISO character set, are also supported.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
171
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
172 IBM box-drawing characters and other glyphs which don't have
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
173 equivalents in the corresponding ISO character set, are converted to
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
174 a character defined by dos-unsupported-char-glyph on MS-DOS, and to
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
175 `?' on other systems.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
176
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
177 IBM codepages are widely used on MS-DOS and MS-Windows, so this
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
178 feature is most useful on those platforms, but it can also be used on
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
179 Unix.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
180
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
181 Emacs compiled for MS-DOS automatically loads the support for the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
182 current codepage when it starts.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
183
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
184 ** Mail changes
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
185
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
186 *** When mail is sent using compose-mail (C-x m), and if
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
187 `mail-send-nonascii' is set to the new default value `mime',
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
188 appropriate MIME headers are added. The headers are added only if
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
189 non-ASCII characters are present in the body of the mail, and no other
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
190 MIME headers are already present. For example, the following three
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
191 headers are added if the coding system used in the *mail* buffer is
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
192 latin-1:
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
193
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
194 MIME-version: 1.0
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
195 Content-type: text/plain; charset=iso-8859-1
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
196 Content-Transfer-Encoding: 8bit
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
197
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
198 *** The new variable default-sendmail-coding-system specifies the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
199 default way to encode outgoing mail. This has higher priority than
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
200 default-buffer-file-coding-system but has lower priority than
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
201 sendmail-coding-system and the local value of
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
202 buffer-file-coding-system.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
203
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
204 You should not set this variable manually. Instead, set
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
205 sendmail-coding-system to specify a fixed encoding for all outgoing
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
206 mail.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
207
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
208 *** When you try to send a message that contains non-ASCII characters,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
209 if the coding system specified by those variables doesn't handle them,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
210 Emacs will ask you to select a suitable coding system while showing a
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
211 list of possible coding systems.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
212
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
213 ** CC Mode changes
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
214
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
215 *** c-default-style can now take an association list that maps major
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
216 modes to style names. When this variable is an alist, Java mode no
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
217 longer hardcodes a setting to "java" style. See the variable's
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
218 docstring for details.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
219
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
220 *** It's now possible to put a list as the offset on a syntactic
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
221 symbol. The list is evaluated recursively until a non-nil offset is
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
222 found. This is useful to combine several lineup functions to act in a
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
223 prioritized order on a single line. However, none of the supplied
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
224 lineup functions use this feature currently.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
225
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
226 *** New syntactic symbol catch-clause, which is used on the "catch" and
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
227 "finally" lines in try-catch constructs in C++ and Java.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
228
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
229 *** New cleanup brace-catch-brace on c-cleanup-list, which does for
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
230 "catch" lines what brace-elseif-brace does for "else if" lines.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
231
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
232 *** The braces of Java anonymous inner classes are treated separately
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
233 from the braces of other classes in auto-newline mode. Two new
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
234 symbols inexpr-class-open and inexpr-class-close may be used on
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
235 c-hanging-braces-alist to control the automatic newlines used for
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
236 anonymous classes.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
237
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
238 *** Support for the Pike language added, along with new Pike specific
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
239 syntactic symbols: inlambda, lambda-intro-cont
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
240
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
241 *** Support for Java anonymous classes via new syntactic symbol
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
242 inexpr-class. New syntactic symbol inexpr-statement for Pike
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
243 support and gcc-style statements inside expressions. New lineup
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
244 function c-lineup-inexpr-block.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
245
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
246 *** New syntactic symbol brace-entry-open which is used in brace lists
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
247 (i.e. static initializers) when a list entry starts with an open
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
248 brace. These used to be recognized as brace-list-entry's.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
249 c-electric-brace also recognizes brace-entry-open braces
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
250 (brace-list-entry's can no longer be electrified).
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
251
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
252 *** New command c-indent-line-or-region, not bound by default.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
253
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
254 *** `#' is only electric when typed in the indentation of a line.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
255
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
256 *** Parentheses are now electric (via the new command c-electric-paren)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
257 for auto-reindenting lines when parens are typed.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
258
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
259 *** In "gnu" style, inline-open offset is now set to zero.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
260
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
261 *** Uniform handling of the inclass syntactic symbol. The indentation
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
262 associated with it is now always relative to the class opening brace.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
263 This means that the indentation behavior has changed in some
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
264 circumstances, but only if you've put anything besides 0 on the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
265 class-open syntactic symbol (none of the default styles do that).
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
266
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
267 ** Gnus changes.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
268
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
269 *** New functionality for using Gnus as an offline newsreader has been
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
270 added. A plethora of new commands and modes have been added. See the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
271 Gnus manual for the full story.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
272
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
273 *** The nndraft backend has returned, but works differently than
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
274 before. All Message buffers are now also articles in the nndraft
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
275 group, which is created automatically.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
276
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
277 *** `gnus-alter-header-function' can now be used to alter header
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
278 values.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
279
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
280 *** `gnus-summary-goto-article' now accept Message-ID's.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
281
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
282 *** A new Message command for deleting text in the body of a message
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
283 outside the region: `C-c C-v'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
284
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
285 *** You can now post to component group in nnvirtual groups with
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
286 `C-u C-c C-c'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
287
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
288 *** `nntp-rlogin-program' -- new variable to ease customization.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
289
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
290 *** `C-u C-c C-c' in `gnus-article-edit-mode' will now inhibit
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
291 re-highlighting of the article buffer.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
292
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
293 *** New element in `gnus-boring-article-headers' -- `long-to'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
294
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
295 *** `M-i' symbolic prefix command. See the section "Symbolic
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
296 Prefixes" in the Gnus manual for details.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
297
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
298 *** `L' and `I' in the summary buffer now take the symbolic prefix
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
299 `a' to add the score rule to the "all.SCORE" file.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
300
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
301 *** `gnus-simplify-subject-functions' variable to allow greater
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
302 control over simplification.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
303
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
304 *** `A T' -- new command for fetching the current thread.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
305
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
306 *** `/ T' -- new command for including the current thread in the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
307 limit.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
308
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
309 *** `M-RET' is a new Message command for breaking cited text.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
310
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
311 *** \\1-expressions are now valid in `nnmail-split-methods'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
312
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
313 *** The `custom-face-lookup' function has been removed.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
314 If you used this function in your initialization files, you must
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
315 rewrite them to use `face-spec-set' instead.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
316
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
317 *** Canceling now uses the current select method. Symbolic prefix
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
318 `a' forces normal posting method.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
319
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
320 *** New command to translate M******** sm*rtq**t*s into proper text
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
321 -- `W d'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
322
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
323 *** For easier debugging of nntp, you can set `nntp-record-commands'
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
324 to a non-nil value.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
325
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
326 *** nntp now uses ~/.authinfo, a .netrc-like file, for controlling
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
327 where and how to send AUTHINFO to NNTP servers.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
328
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
329 *** A command for editing group parameters from the summary buffer
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
330 has been added.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
331
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
332 *** A history of where mails have been split is available.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
333
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
334 *** A new article date command has been added -- `article-date-iso8601'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
335
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
336 *** Subjects can be simplified when threading by setting
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
337 `gnus-score-thread-simplify'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
338
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
339 *** A new function for citing in Message has been added --
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
340 `message-cite-original-without-signature'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
341
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
342 *** `article-strip-all-blank-lines' -- new article command.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
343
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
344 *** A new Message command to kill to the end of the article has
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
345 been added.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
346
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
347 *** A minimum adaptive score can be specified by using the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
348 `gnus-adaptive-word-minimum' variable.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
349
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
350 *** The "lapsed date" article header can be kept continually
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
351 updated by the `gnus-start-date-timer' command.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
352
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
353 *** Web listserv archives can be read with the nnlistserv backend.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
354
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
355 *** Old dejanews archives can now be read by nnweb.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
356
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
357 *** `gnus-posting-styles' has been re-activated.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
358
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
359 ** Changes to TeX and LaTeX mode
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
360
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
361 *** The new variable `tex-start-options-string' can be used to give
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
362 options for the TeX run. The default value causes TeX to run in
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
363 nonstopmode. For an interactive TeX run set it to nil or "".
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
364
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
365 *** The command `tex-feed-input' sends input to the Tex Shell. In a
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
366 TeX buffer it is bound to the keys C-RET, C-c RET, and C-c C-m (some
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
367 of these keys may not work on all systems). For instance, if you run
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
368 TeX interactively and if the TeX run stops because of an error, you
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
369 can continue it without leaving the TeX buffer by typing C-RET.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
370
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
371 *** The Tex Shell Buffer is now in `compilation-shell-minor-mode'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
372 All error-parsing commands of the Compilation major mode are available
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
373 but bound to keys that don't collide with the shell. Thus you can use
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
374 the Tex Shell for command line executions like a usual shell.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
375
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
376 *** The commands `tex-validate-region' and `tex-validate-buffer' check
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
377 the matching of braces and $'s. The errors are listed in a *Occur*
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
378 buffer and you can use C-c C-c or mouse-2 to go to a particular
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
379 mismatch.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
380
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
381 ** Changes to RefTeX mode
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
382
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
383 *** The table of contents buffer can now also display labels and
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
384 file boundaries in addition to sections. Use `l', `i', and `c' keys.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
385
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
386 *** Labels derived from context (the section heading) are now
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
387 lowercase by default. To make the label legal in LaTeX, latin-1
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
388 characters will lose their accent. All Mule characters will be
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
389 removed from the label.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
390
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
391 *** The automatic display of cross reference information can also use
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
392 a window instead of the echo area. See variable `reftex-auto-view-crossref'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
393
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
394 *** kpsewhich can be used by RefTeX to find TeX and BibTeX files. See the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
395 customization group `reftex-finding-files'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
396
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
397 *** The option `reftex-bibfile-ignore-list' has been renamed to
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
398 `reftex-bibfile-ignore-regexps' and indeed can be fed with regular
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
399 expressions.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
400
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
401 *** Multiple Selection buffers are now hidden buffers.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
402
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
403 ** New/deleted modes and packages
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
404
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
405 *** The package snmp-mode.el provides major modes for editing SNMP and
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
406 SNMPv2 MIBs. It has entries on `auto-mode-alist'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
407
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
408 *** The package sql.el provides a major mode, M-x sql-mode, for
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
409 editing SQL files, and M-x sql-interactive-mode for interacting with
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
410 SQL interpreters. It has an entry on `auto-mode-alist'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
411
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
412 *** ispell4.el has been deleted. It got in the way of ispell.el and
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
413 this was hard to fix reliably. It has long been obsolete -- use
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
414 Ispell 3.1 and ispell.el.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
415
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
416
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
417 * MS-DOS changes in Emacs 20.4
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
418
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
419 ** Emacs compiled for MS-DOS now supports MULE features better.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
420 This includes support for display of all ISO 8859-N character sets,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
421 conversion to and from IBM codepage encoding of non-ASCII characters,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
422 and automatic setup of the MULE environment at startup. For details,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
423 check out the section `MS-DOS and MULE' in the manual.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
424
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
425 The MS-DOS installation procedure automatically configures and builds
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
426 Emacs with input method support if it finds an unpacked Leim
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
427 distribution when the config.bat script is run.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
428
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
429 ** Formerly, the value of lpr-command did not affect printing on
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
430 MS-DOS unless print-region-function was set to nil, but now it
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
431 controls whether an external program is invoked or output is written
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
432 directly to a printer port. Similarly, in the previous version of
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
433 Emacs, the value of ps-lpr-command did not affect PostScript printing
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
434 on MS-DOS unless ps-printer-name was set to something other than a
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
435 string (eg. t or `pipe'), but now it controls whether an external
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
436 program is used. (These changes were made so that configuration of
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
437 printing variables would be almost identical across all platforms.)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
438
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
439 ** In the previous version of Emacs, PostScript and non-PostScript
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
440 output was piped to external programs, but because most print programs
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
441 available for MS-DOS and MS-Windows cannot read data from their standard
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
442 input, on those systems the data to be output is now written to a
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
443 temporary file whose name is passed as the last argument to the external
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
444 program.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
445
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
446 An exception is made for `print', a standard program on Windows NT,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
447 and `nprint', a standard program on Novell Netware. For both of these
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
448 programs, the command line is constructed in the appropriate syntax
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
449 automatically, using only the value of printer-name or ps-printer-name
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
450 as appropriate--the value of the relevant `-switches' variable is
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
451 ignored, as both programs have no useful switches.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
452
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
453 ** The value of the variable dos-printer (cf. dos-ps-printer), if it has
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
454 a value, overrides the value of printer-name (cf. ps-printer-name), on
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
455 MS-DOS and MS-Windows only. This has been true since version 20.3, but
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
456 was not documented clearly before.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
457
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
458 ** All the Emacs games now work on MS-DOS terminals.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
459 This includes Tetris and Snake.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
460
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
461
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
462 * Lisp changes in Emacs 20.4
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
463
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
464 ** New functions line-beginning-position and line-end-position
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
465 return the position of the beginning or end of the current line.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
466 They both accept an optional argument, which has the same
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
467 meaning as the argument to beginning-of-line or end-of-line.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
468
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
469 ** find-file and allied functions now have an optional argument
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
470 WILDCARD. If this is non-nil, they do wildcard processing,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
471 and visit all files that match the wildcard pattern.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
472
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
473 ** Changes in the file-attributes function.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
474
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
475 *** The file size returned by file-attributes may be an integer or a float.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
476 It is an integer if the size fits in a Lisp integer, float otherwise.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
477
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
478 *** The inode number returned by file-attributes may be an integer (if
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
479 the number fits in a Lisp integer) or a cons cell containing two
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
480 integers.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
481
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
482 ** The new function directory-files-and-attributes returns a list of
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
483 files in a directory and their attributes. It accepts the same
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
484 arguments as directory-files and has similar semantics, except that
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
485 file names and attributes are returned.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
486
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
487 ** The new function file-attributes-lessp is a helper function for
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
488 sorting the list generated by directory-files-and-attributes. It
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
489 accepts two arguments, each a list of a file name and its attributes.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
490 It compares the file names of each according to string-lessp and
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
491 returns the result.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
492
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
493 ** The new function file-expand-wildcards expands a wildcard-pattern
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
494 to produce a list of existing files that match the pattern.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
495
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
496 ** New functions for base64 conversion:
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
497
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
498 The function base64-encode-region converts a part of the buffer
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
499 into the base64 code used in MIME. base64-decode-region
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
500 performs the opposite conversion. Line-breaking is supported
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
501 optionally.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
502
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
503 Functions base64-encode-string and base64-decode-string do a similar
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
504 job on the text in a string. They return the value as a new string.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
505
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
506 **
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
507 The new function process-running-child-p
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
508 will tell you if a subprocess has given control of its
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
509 terminal to its own child process.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
510
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
511 ** interrupt-process and such functions have a new feature:
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
512 when the second argument is `lambda', they send a signal
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
513 to the running child of the subshell, if any, but if the shell
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
514 itself owns its terminal, no signal is sent.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
515
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
516 ** There are new widget types `plist' and `alist' which can
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
517 be used for customizing variables whose values are plists or alists.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
518
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
519 ** easymenu.el now understands `:key-sequence' and `:style button'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
520 :included is an alias for :visible.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
521
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
522 easy-menu-add-item now understands the values returned by
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
523 easy-menu-remove-item and easy-menu-item-present-p. This can be used
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
524 to move or copy menu entries.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
525
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
526 ** Multibyte editing changes
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
527
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
528 *** The definitions of sref and char-bytes are changed. Now, sref is
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
529 an alias of aref and char-bytes always returns 1. This change is to
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
530 make some Emacs Lisp code which works on 20.2 and earlier also
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
531 work on the latest Emacs. Such code uses a combination of sref and
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
532 char-bytes in a loop typically as below:
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
533 (setq char (sref str idx)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
534 idx (+ idx (char-bytes idx)))
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
535 The byte-compiler now warns that this is obsolete.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
536
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
537 If you want to know how many bytes a specific multibyte character
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
538 (say, CH) occupies in a multibyte buffer, use this code:
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
539 (charset-bytes (char-charset ch))
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
540
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
541 *** In multibyte mode, when you narrow a buffer to some region, and the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
542 region is preceded or followed by non-ASCII codes, inserting or
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
543 deleting at the head or the end of the region may signal this error:
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
544
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
545 Byte combining across boundary of accessible buffer text inhibited
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
546
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
547 This is to avoid some bytes being combined together into a character
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
548 across the boundary.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
549
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
550 *** The functions find-charset-region and find-charset-string include
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
551 `unknown' in the returned list in the following cases:
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
552 o The current buffer or the target string is unibyte and
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
553 contains 8-bit characters.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
554 o The current buffer or the target string is multibyte and
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
555 contains invalid characters.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
556
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
557 *** The functions decode-coding-region and encode-coding-region remove
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
558 text properties of the target region. Ideally, they should correctly
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
559 preserve text properties, but for the moment, it's hard. Removing
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
560 text properties is better than preserving them in a less-than-correct
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
561 way.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
562
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
563 *** prefer-coding-system sets EOL conversion of default coding systems.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
564 If the argument to prefer-coding-system specifies a certain type of
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
565 end of line conversion, the default coding systems set by
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
566 prefer-coding-system will specify that conversion type for end of line.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
567
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
568 *** The new function thai-compose-string can be used to properly
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
569 compose Thai characters in a string.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
570
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
571 ** The primitive `define-prefix-command' now takes an optional third
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
572 argument NAME, which should be a string. It supplies the menu name
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
573 for the created keymap. Keymaps created in order to be displayed as
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
574 menus should always use the third argument.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
575
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
576 ** The meanings of optional second arguments for read-char,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
577 read-event, and read-char-exclusive are flipped. Now the second
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
578 arguments are INHERIT-INPUT-METHOD. These functions use the current
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
579 input method (if any) if and only if INHERIT-INPUT-METHOD is non-nil.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
580
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
581 ** The new function clear-this-command-keys empties out the contents
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
582 of the vector that (this-command-keys) returns. This is useful in
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
583 programs that read passwords, to prevent the passwords from echoing
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
584 inadvertently as part of the next command in certain cases.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
585
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
586 ** The new macro `with-temp-message' displays a temporary message in
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
587 the echo area, while executing some Lisp code. Like `progn', it
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
588 returns the value of the last form, but it also restores the previous
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
589 echo area contents.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
590
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
591 (with-temp-message MESSAGE &rest BODY)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
592
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
593 ** The function `require' now takes an optional third argument
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
594 NOERROR. If it is non-nil, then there is no error if the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
595 requested feature cannot be loaded.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
596
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
597 ** In the function modify-face, an argument of (nil) for the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
598 foreground color, background color or stipple pattern
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
599 means to clear out that attribute.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
600
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
601 ** The `outer-window-id' frame property of an X frame
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
602 gives the window number of the outermost X window for the frame.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
603
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
604 ** Temporary buffers made with with-output-to-temp-buffer are now
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
605 read-only by default, and normally use the major mode Help mode
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
606 unless you put them in some other non-Fundamental mode before the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
607 end of with-output-to-temp-buffer.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
608
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
609 ** The new functions gap-position and gap-size return information on
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
610 the gap of the current buffer.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
611
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
612 ** The new functions position-bytes and byte-to-position provide a way
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
613 to convert between character positions and byte positions in the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
614 current buffer.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
615
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
616 ** vc.el defines two new macros, `edit-vc-file' and `with-vc-file', to
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
617 facilitate working with version-controlled files from Lisp programs.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
618 These macros check out a given file automatically if needed, and check
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
619 it back in after any modifications have been made.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
620
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
621
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
622
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
623 * Installation Changes in Emacs 20.3
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
624
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
625 ** The default value of load-path now includes most subdirectories of
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
626 the site-specific directories /usr/local/share/emacs/site-lisp and
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
627 /usr/local/share/emacs/VERSION/site-lisp, in addition to those
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
628 directories themselves. Both immediate subdirectories and
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
629 subdirectories multiple levels down are added to load-path.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
630
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
631 Not all subdirectories are included, though. Subdirectories whose
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
632 names do not start with a letter or digit are excluded.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
633 Subdirectories named RCS or CVS are excluded. Also, a subdirectory
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
634 which contains a file named `.nosearch' is excluded. You can use
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
635 these methods to prevent certain subdirectories from being searched.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
636
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
637 Emacs finds these subdirectories and adds them to load-path when it
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
638 starts up. While it would be cleaner to find the subdirectories each
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
639 time Emacs loads a file, that would be much slower.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
640
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
641 This feature is an incompatible change. If you have stored some Emacs
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
642 Lisp files in a subdirectory of the site-lisp directory specifically
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
643 to prevent them from being used, you will need to rename the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
644 subdirectory to start with a non-alphanumeric character, or create a
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
645 `.nosearch' file in it, in order to continue to achieve the desired
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
646 results.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
647
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
648 ** Emacs no longer includes an old version of the C preprocessor from
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
649 GCC. This was formerly used to help compile Emacs with C compilers
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
650 that had limits on the significant length of an identifier, but in
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
651 fact we stopped supporting such compilers some time ago.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
652
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
653
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
654 * Changes in Emacs 20.3
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
655
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
656 ** The new command C-x z (repeat) repeats the previous command
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
657 including its argument. If you repeat the z afterward,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
658 it repeats the command additional times; thus, you can
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
659 perform many repetitions with one keystroke per repetition.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
660
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
661 ** Emacs now supports "selective undo" which undoes only within a
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
662 specified region. To do this, set point and mark around the desired
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
663 region and type C-u C-x u (or C-u C-_). You can then continue undoing
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
664 further, within the same region, by repeating the ordinary undo
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
665 command C-x u or C-_. This will keep undoing changes that were made
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
666 within the region you originally specified, until either all of them
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
667 are undone, or it encounters a change which crosses the edge of that
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
668 region.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
669
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
670 In Transient Mark mode, undoing when a region is active requests
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
671 selective undo.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
672
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
673 ** If you specify --unibyte when starting Emacs, then all buffers are
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
674 unibyte, except when a Lisp program specifically creates a multibyte
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
675 buffer. Setting the environment variable EMACS_UNIBYTE has the same
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
676 effect. The --no-unibyte option overrides EMACS_UNIBYTE and directs
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
677 Emacs to run normally in multibyte mode.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
678
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
679 The option --unibyte does not affect the reading of Emacs Lisp files,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
680 though. If you want a Lisp file to be read in unibyte mode, use
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
681 -*-unibyte: t;-*- on its first line. That will force Emacs to
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
682 load that file in unibyte mode, regardless of how Emacs was started.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
683
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
684 ** toggle-enable-multibyte-characters no longer has a key binding and
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
685 no longer appears in the menu bar. We've realized that changing the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
686 enable-multibyte-characters variable in an existing buffer is
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
687 something that most users not do.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
688
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
689 ** You can specify a coding system to use for the next cut or paste
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
690 operations through the window system with the command C-x RET X.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
691 The coding system can make a difference for communication with other
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
692 applications.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
693
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
694 C-x RET x specifies a coding system for all subsequent cutting and
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
695 pasting operations.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
696
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
697 ** You can specify the printer to use for commands that do printing by
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
698 setting the variable `printer-name'. Just what a printer name looks
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
699 like depends on your operating system. You can specify a different
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
700 printer for the Postscript printing commands by setting
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
701 `ps-printer-name'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
702
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
703 ** Emacs now supports on-the-fly spell checking by the means of a
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
704 minor mode. It is called M-x flyspell-mode. You don't have to remember
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
705 any other special commands to use it, and you will hardly notice it
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
706 except when you make a spelling error. Flyspell works by highlighting
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
707 incorrect words as soon as they are completed or as soon as the cursor
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
708 hits a new word.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
709
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
710 Flyspell mode works with whichever dictionary you have selected for
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
711 Ispell in Emacs. In TeX mode, it understands TeX syntax so as not
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
712 to be confused by TeX commands.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
713
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
714 You can correct a misspelled word by editing it into something
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
715 correct. You can also correct it, or accept it as correct, by
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
716 clicking on the word with Mouse-2; that gives you a pop-up menu
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
717 of various alternative replacements and actions.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
718
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
719 Flyspell mode also proposes "automatic" corrections. M-TAB replaces
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
720 the current misspelled word with a possible correction. If several
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
721 corrections are made possible, M-TAB cycles through them in
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
722 alphabetical order, or in order of decreasing likelihood if
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
723 flyspell-sort-corrections is nil.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
724
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
725 Flyspell mode also flags an error when a word is repeated, if
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
726 flyspell-mark-duplications-flag is non-nil.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
727
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
728 ** Changes in input method usage.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
729
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
730 Now you can use arrow keys (right, left, down, up) for selecting among
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
731 the alternatives just the same way as you do by C-f, C-b, C-n, and C-p
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
732 respectively.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
733
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
734 You can use the ENTER key to accept the current conversion.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
735
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
736 If you type TAB to display a list of alternatives, you can select one
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
737 of the alternatives with Mouse-2.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
738
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
739 The meaning of the variable `input-method-verbose-flag' is changed so
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
740 that you can set it to t, nil, `default', or `complex-only'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
741
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
742 If the value is nil, extra guidance is never given.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
743
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
744 If the value is t, extra guidance is always given.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
745
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
746 If the value is `complex-only', extra guidance is always given only
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
747 when you are using complex input methods such as chinese-py.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
748
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
749 If the value is `default' (this is the default), extra guidance is
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
750 given in the following case:
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
751 o When you are using a complex input method.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
752 o When you are using a simple input method but not in the minibuffer.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
753
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
754 If you are using Emacs through a very slow line, setting
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
755 input-method-verbose-flag to nil or to complex-only is a good choice,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
756 and if you are using an input method you are not familiar with,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
757 setting it to t is helpful.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
758
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
759 The old command select-input-method is now called set-input-method.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
760
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
761 In the language environment "Korean", you can use the following
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
762 keys:
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
763 Shift-SPC toggle-korean-input-method
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
764 C-F9 quail-hangul-switch-symbol-ksc
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
765 F9 quail-hangul-switch-hanja
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
766 These key bindings are canceled when you switch to another language
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
767 environment.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
768
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
769 ** The minibuffer history of file names now records the specified file
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
770 names, not the entire minibuffer input. For example, if the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
771 minibuffer starts out with /usr/foo/, you might type in /etc/passwd to
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
772 get
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
773
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
774 /usr/foo//etc/passwd
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
775
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
776 which stands for the file /etc/passwd.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
777
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
778 Formerly, this used to put /usr/foo//etc/passwd in the history list.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
779 Now this puts just /etc/passwd in the history list.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
780
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
781 ** If you are root, Emacs sets backup-by-copying-when-mismatch to t
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
782 at startup, so that saving a file will be sure to preserve
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
783 its owner and group.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
784
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
785 ** find-func.el can now also find the place of definition of Emacs
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
786 Lisp variables in user-loaded libraries.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
787
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
788 ** C-x r t (string-rectangle) now deletes the existing rectangle
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
789 contents before inserting the specified string on each line.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
790
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
791 ** There is a new command delete-whitespace-rectangle
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
792 which deletes whitespace starting from a particular column
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
793 in all the lines on a rectangle. The column is specified
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
794 by the left edge of the rectangle.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
795
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
796 ** You can now store a number into a register with C-u NUMBER C-x r n REG,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
797 increment it by INC with C-u INC C-x r + REG (to increment by one, omit
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
798 C-u INC), and insert it in the buffer with C-x r g REG. This is useful
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
799 for writing keyboard macros.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
800
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
801 ** The new command M-x speedbar displays a frame in which directories,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
802 files, and tags can be displayed, manipulated, and jumped to. The
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
803 frame defaults to 20 characters in width, and is the same height as
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
804 the frame that it was started from. Some major modes define
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
805 additional commands for the speedbar, including Rmail, GUD/GDB, and
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
806 info.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
807
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
808 ** query-replace-regexp is now bound to C-M-%.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
809
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
810 ** In Transient Mark mode, when the region is active, M-x
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
811 query-replace and the other replace commands now operate on the region
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
812 contents only.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
813
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
814 ** M-x write-region, when used interactively, now asks for
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
815 confirmation before overwriting an existing file. When you call
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
816 the function from a Lisp program, a new optional argument CONFIRM
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
817 says whether to ask for confirmation in this case.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
818
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
819 ** If you use find-file-literally and the file is already visited
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
820 non-literally, the command asks you whether to revisit the file
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
821 literally. If you say no, it signals an error.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
822
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
823 ** Major modes defined with the "derived mode" feature
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
824 now use the proper name for the mode hook: WHATEVER-mode-hook.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
825 Formerly they used the name WHATEVER-mode-hooks, but that is
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
826 inconsistent with Emacs conventions.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
827
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
828 ** shell-command-on-region (and shell-command) reports success or
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
829 failure if the command produces no output.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
830
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
831 ** Set focus-follows-mouse to nil if your window system or window
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
832 manager does not transfer focus to another window when you just move
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
833 the mouse.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
834
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
835 ** mouse-menu-buffer-maxlen has been renamed to
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
836 mouse-buffer-menu-maxlen to be consistent with the other related
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
837 function and variable names.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
838
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
839 ** The new variable auto-coding-alist specifies coding systems for
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
840 reading specific files. This has higher priority than
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
841 file-coding-system-alist.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
842
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
843 ** If you set the variable unibyte-display-via-language-environment to
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
844 t, then Emacs displays non-ASCII characters are displayed by
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
845 converting them to the equivalent multibyte characters according to
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
846 the current language environment. As a result, they are displayed
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
847 according to the current fontset.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
848
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
849 ** C-q's handling of codes in the range 0200 through 0377 is changed.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
850
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
851 The codes in the range 0200 through 0237 are inserted as one byte of
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
852 that code regardless of the values of nonascii-translation-table and
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
853 nonascii-insert-offset.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
854
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
855 For the codes in the range 0240 through 0377, if
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
856 enable-multibyte-characters is non-nil and nonascii-translation-table
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
857 nor nonascii-insert-offset can't convert them to valid multibyte
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
858 characters, they are converted to Latin-1 characters.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
859
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
860 ** If you try to find a file that is not read-accessible, you now get
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
861 an error, rather than an empty buffer and a warning.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
862
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
863 ** In the minibuffer history commands M-r and M-s, an upper case
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
864 letter in the regular expression forces case-sensitive search.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
865
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
866 ** In the *Help* buffer, cross-references to commands and variables
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
867 are inferred and hyperlinked. Use C-h m in Help mode for the relevant
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
868 command keys.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
869
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
870 ** M-x apropos-command, with a prefix argument, no longer looks for
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
871 user option variables--instead it looks for noninteractive functions.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
872
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
873 Meanwhile, the command apropos-variable normally searches for
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
874 user option variables; with a prefix argument, it looks at
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
875 all variables that have documentation.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
876
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
877 ** When you type a long line in the minibuffer, and the minibuffer
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
878 shows just one line, automatically scrolling works in a special way
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
879 that shows you overlap with the previous line of text. The variable
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
880 minibuffer-scroll-overlap controls how many characters of overlap
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
881 it should show; the default is 20.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
882
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
883 Meanwhile, Resize Minibuffer mode is still available; in that mode,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
884 the minibuffer grows taller (up to a point) as needed to show the whole
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
885 of your input.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
886
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
887 ** The new command M-x customize-changed-options lets you customize
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
888 all the options whose meanings or default values have changed in
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
889 recent Emacs versions. You specify a previous Emacs version number as
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
890 argument, and the command creates a customization buffer showing all
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
891 the customizable options which were changed since that version.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
892 Newly added options are included as well.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
893
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
894 If you don't specify a particular version number argument,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
895 then the customization buffer shows all the customizable options
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
896 for which Emacs versions of changes are recorded.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
897
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
898 This function is also bound to the Changed Options entry in the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
899 Customize menu.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
900
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
901 ** When you run M-x grep with a prefix argument, it figures out
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
902 the tag around point and puts that into the default grep command.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
903
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
904 ** The new command M-* (pop-tag-mark) pops back through a history of
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
905 buffer positions from which M-. or other tag-finding commands were
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
906 invoked.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
907
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
908 ** The new variable comment-padding specifies the number of spaces
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
909 that `comment-region' will insert before the actual text of the comment.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
910 The default is 1.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
911
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
912 ** In Fortran mode the characters `.', `_' and `$' now have symbol
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
913 syntax, not word syntax. Fortran mode now supports `imenu' and has
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
914 new commands fortran-join-line (M-^) and fortran-narrow-to-subprogram
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
915 (C-x n d). M-q can be used to fill a statement or comment block
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
916 sensibly.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
917
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
918 ** GUD now supports jdb, the Java debugger, and pdb, the Python debugger.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
919
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
920 ** If you set the variable add-log-keep-changes-together to a non-nil
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
921 value, the command `C-x 4 a' will automatically notice when you make
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
922 two entries in one day for one file, and combine them.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
923
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
924 ** You can use the command M-x diary-mail-entries to mail yourself a
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
925 reminder about upcoming diary entries. See the documentation string
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
926 for a sample shell script for calling this function automatically
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
927 every night.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
928
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
929 ** Desktop changes
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
930
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
931 *** All you need to do to enable use of the Desktop package, is to set
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
932 the variable desktop-enable to t with Custom.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
933
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
934 *** Minor modes are now restored. Which minor modes are restored
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
935 and how modes are restored is controlled by `desktop-minor-mode-table'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
936
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
937 ** There is no need to do anything special, now, to enable Gnus to
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
938 read and post multi-lingual articles.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
939
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
940 ** Outline mode has now support for showing hidden outlines when
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
941 doing an isearch. In order for this to happen search-invisible should
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
942 be set to open (the default). If an isearch match is inside a hidden
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
943 outline the outline is made visible. If you continue pressing C-s and
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
944 the match moves outside the formerly invisible outline, the outline is
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
945 made invisible again.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
946
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
947 ** Mail reading and sending changes
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
948
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
949 *** The Rmail e command now switches to displaying the whole header of
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
950 the message before it lets you edit the message. This is so that any
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
951 changes you make in the header will not be lost if you subsequently
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
952 toggle.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
953
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
954 *** The w command in Rmail, which writes the message body into a file,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
955 now works in the summary buffer as well. (The command to delete the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
956 summary buffer is now Q.) The default file name for the w command, if
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
957 the message has no subject, is stored in the variable
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
958 rmail-default-body-file.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
959
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
960 *** Most of the commands and modes that operate on mail and netnews no
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
961 longer depend on the value of mail-header-separator. Instead, they
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
962 handle whatever separator the buffer happens to use.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
963
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
964 *** If you set mail-signature to a value which is not t, nil, or a string,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
965 it should be an expression. When you send a message, this expression
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
966 is evaluated to insert the signature.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
967
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
968 *** The new Lisp library feedmail.el (version 8) enhances processing of
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
969 outbound email messages. It works in coordination with other email
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
970 handling packages (e.g., rmail, VM, gnus) and is responsible for
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
971 putting final touches on messages and actually submitting them for
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
972 transmission. Users of the emacs program "fakemail" might be
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
973 especially interested in trying feedmail.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
974
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
975 feedmail is not enabled by default. See comments at the top of
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
976 feedmail.el for set-up instructions. Among the bigger features
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
977 provided by feedmail are:
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
978
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
979 **** you can park outgoing messages into a disk-based queue and
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
980 stimulate sending some or all of them later (handy for laptop users);
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
981 there is also a queue for draft messages
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
982
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
983 **** you can get one last look at the prepped outbound message and
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
984 be prompted for confirmation
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
985
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
986 **** does smart filling of address headers
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
987
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
988 **** can generate a MESSAGE-ID: line and a DATE: line; the date can be
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
989 the time the message was written or the time it is being sent; this
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
990 can make FCC copies more closely resemble copies that recipients get
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
991
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
992 **** you can specify an arbitrary function for actually transmitting
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
993 the message; included in feedmail are interfaces for /bin/[r]mail,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
994 /usr/lib/sendmail, and Emacs Lisp smtpmail; it's easy to write a new
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
995 function for something else (10-20 lines of Lisp code).
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
996
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
997 ** Dired changes
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
998
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
999 *** The Dired function dired-do-toggle, which toggles marked and unmarked
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1000 files, is now bound to "t" instead of "T".
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1001
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1002 *** dired-at-point has been added to ffap.el. It allows one to easily
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1003 run Dired on the directory name at point.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1004
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1005 *** Dired has a new command: %g. It searches the contents of
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1006 files in the directory and marks each file that contains a match
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1007 for a specified regexp.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1008
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1009 ** VC Changes
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1010
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1011 *** New option vc-ignore-vc-files lets you turn off version control
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1012 conveniently.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1013
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1014 *** VC Dired has been completely rewritten. It is now much
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1015 faster, especially for CVS, and works very similar to ordinary
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1016 Dired.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1017
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1018 VC Dired is invoked by typing C-x v d and entering the name of the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1019 directory to display. By default, VC Dired gives you a recursive
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1020 listing of all files at or below the given directory which are
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1021 currently locked (for CVS, all files not up-to-date are shown).
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1022
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1023 You can change the listing format by setting vc-dired-recurse to nil,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1024 then it shows only the given directory, and you may also set
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1025 vc-dired-terse-display to nil, then it shows all files under version
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1026 control plus the names of any subdirectories, so that you can type `i'
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1027 on such lines to insert them manually, as in ordinary Dired.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1028
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1029 All Dired commands operate normally in VC Dired, except for `v', which
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1030 is redefined as the version control prefix. That means you may type
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1031 `v l', `v =' etc. to invoke `vc-print-log', `vc-diff' and the like on
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1032 the file named in the current Dired buffer line. `v v' invokes
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1033 `vc-next-action' on this file, or on all files currently marked.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1034
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1035 The new command `v t' (vc-dired-toggle-terse-mode) allows you to
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1036 toggle between terse display (only locked files) and full display (all
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1037 VC files plus subdirectories). There is also a special command,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1038 `* l', to mark all files currently locked.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1039
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1040 Giving a prefix argument to C-x v d now does the same thing as in
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1041 ordinary Dired: it allows you to supply additional options for the ls
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1042 command in the minibuffer, to fine-tune VC Dired's output.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1043
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1044 *** Under CVS, if you merge changes from the repository into a working
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1045 file, and CVS detects conflicts, VC now offers to start an ediff
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1046 session to resolve them.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1047
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1048 Alternatively, you can use the new command `vc-resolve-conflicts' to
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1049 resolve conflicts in a file at any time. It works in any buffer that
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1050 contains conflict markers as generated by rcsmerge (which is what CVS
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1051 uses as well).
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1052
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1053 *** You can now transfer changes between branches, using the new
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1054 command vc-merge (C-x v m). It is implemented for RCS and CVS. When
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1055 you invoke it in a buffer under version-control, you can specify
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1056 either an entire branch or a pair of versions, and the changes on that
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1057 branch or between the two versions are merged into the working file.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1058 If this results in any conflicts, they may be resolved interactively,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1059 using ediff.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1060
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1061 ** Changes in Font Lock
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1062
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1063 *** The face and variable previously known as font-lock-reference-face
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1064 are now called font-lock-constant-face to better reflect their typical
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1065 use for highlighting constants and labels. (Its face properties are
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1066 unchanged.) The variable font-lock-reference-face remains for now for
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1067 compatibility reasons, but its value is font-lock-constant-face.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1068
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1069 ** Frame name display changes
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1070
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1071 *** The command set-frame-name lets you set the name of the current
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1072 frame. You can use the new command select-frame-by-name to select and
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1073 raise a frame; this is mostly useful on character-only terminals, or
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1074 when many frames are invisible or iconified.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1075
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1076 *** On character-only terminal (not a window system), changing the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1077 frame name is now reflected on the mode line and in the Buffers/Frames
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1078 menu.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1079
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1080 ** Comint (subshell) changes
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1081
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1082 *** In Comint modes, the commands to kill, stop or interrupt a
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1083 subjob now also kill pending input. This is for compatibility
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1084 with ordinary shells, where the signal characters do this.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1085
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1086 *** There are new commands in Comint mode.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1087
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1088 C-c C-x fetches the "next" line from the input history;
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1089 that is, the line after the last line you got.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1090 You can use this command to fetch successive lines, one by one.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1091
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1092 C-c SPC accumulates lines of input. More precisely, it arranges to
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1093 send the current line together with the following line, when you send
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1094 the following line.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1095
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1096 C-c C-a if repeated twice consecutively now moves to the process mark,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1097 which separates the pending input from the subprocess output and the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1098 previously sent input.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1099
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1100 C-c M-r now runs comint-previous-matching-input-from-input;
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1101 it searches for a previous command, using the current pending input
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1102 as the search string.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1103
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1104 *** New option compilation-scroll-output can be set to scroll
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1105 automatically in compilation-mode windows.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1106
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1107 ** C mode changes
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1108
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1109 *** Multiline macros are now handled, both as they affect indentation,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1110 and as recognized syntax. New syntactic symbol cpp-macro-cont is
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1111 assigned to second and subsequent lines of a multiline macro
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1112 definition.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1113
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1114 *** A new style "user" which captures all non-hook-ified
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1115 (i.e. top-level) .emacs file variable settings and customizations.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1116 Style "cc-mode" is an alias for "user" and is deprecated. "gnu"
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1117 style is still the default however.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1118
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1119 *** "java" style now conforms to Sun's JDK coding style.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1120
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1121 *** There are new commands c-beginning-of-defun, c-end-of-defun which
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1122 are alternatives which you could bind to C-M-a and C-M-e if you prefer
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1123 them. They do not have key bindings by default.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1124
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1125 *** New and improved implementations of M-a (c-beginning-of-statement)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1126 and M-e (c-end-of-statement).
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1127
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1128 *** C++ namespace blocks are supported, with new syntactic symbols
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1129 namespace-open, namespace-close, and innamespace.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1130
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1131 *** File local variable settings of c-file-style and c-file-offsets
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1132 makes the style variables local to that buffer only.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1133
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1134 *** New indentation functions c-lineup-close-paren,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1135 c-indent-one-line-block, c-lineup-dont-change.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1136
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1137 *** Improvements (hopefully!) to the way CC Mode is loaded. You
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1138 should now be able to do a (require 'cc-mode) to get the entire
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1139 package loaded properly for customization in your .emacs file. A new
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1140 variable c-initialize-on-load controls this and is t by default.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1141
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1142 ** Changes to hippie-expand.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1143
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1144 *** New customization variable `hippie-expand-dabbrev-skip-space'. If
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1145 non-nil, trailing spaces may be included in the abbreviation to search for,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1146 which then gives the same behavior as the original `dabbrev-expand'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1147
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1148 *** New customization variable `hippie-expand-dabbrev-as-symbol'. If
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1149 non-nil, characters of syntax '_' is considered part of the word when
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1150 expanding dynamically.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1151
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1152 *** New customization variable `hippie-expand-no-restriction'. If
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1153 non-nil, narrowed buffers are widened before they are searched.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1154
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1155 *** New customization variable `hippie-expand-only-buffers'. If
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1156 non-empty, buffers searched are restricted to the types specified in
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1157 this list. Useful for example when constructing new special-purpose
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1158 expansion functions with `make-hippie-expand-function'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1159
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1160 *** Text properties of the expansion are no longer copied.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1161
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1162 ** Changes in BibTeX mode.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1163
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1164 *** Any titleword matching a regexp in the new variable
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1165 bibtex-autokey-titleword-ignore (case sensitive) is ignored during
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1166 automatic key generation. This replaces variable
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1167 bibtex-autokey-titleword-first-ignore, which only checked for matches
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1168 against the first word in the title.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1169
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1170 *** Autokey generation now uses all words from the title, not just
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1171 capitalized words. To avoid conflicts with existing customizations,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1172 bibtex-autokey-titleword-ignore is set up such that words starting with
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1173 lowerkey characters will still be ignored. Thus, if you want to use
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1174 lowercase words from the title, you will have to overwrite the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1175 bibtex-autokey-titleword-ignore standard setting.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1176
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1177 *** Case conversion of names and title words for automatic key
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1178 generation is more flexible. Variable bibtex-autokey-preserve-case is
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1179 replaced by bibtex-autokey-titleword-case-convert and
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1180 bibtex-autokey-name-case-convert.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1181
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1182 ** Changes in vcursor.el.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1183
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1184 *** Support for character terminals is available: there is a new keymap
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1185 and the vcursor will appear as an arrow between buffer text. A
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1186 variable `vcursor-interpret-input' allows input from the vcursor to be
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1187 entered exactly as if typed. Numerous functions, including
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1188 `vcursor-compare-windows', have been rewritten to improve consistency
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1189 in the selection of windows and corresponding keymaps.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1190
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1191 *** vcursor options can now be altered with M-x customize under the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1192 Editing group once the package is loaded.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1193
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1194 *** Loading vcursor now does not define keys by default, as this is
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1195 generally a bad side effect. Use M-x customize to set
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1196 vcursor-key-bindings to t to restore the old behavior.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1197
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1198 *** vcursor-auto-disable can be `copy', which turns off copying from the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1199 vcursor, but doesn't disable it, after any non-vcursor command.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1200
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1201 ** Ispell changes.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1202
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1203 *** You can now spell check comments and strings in the current
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1204 buffer with M-x ispell-comments-and-strings. Comments and strings
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1205 are identified by syntax tables in effect.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1206
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1207 *** Generic region skipping implemented.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1208 A single buffer can be broken into a number of regions where text will
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1209 and will not be checked. The definitions of the regions can be user
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1210 defined. New applications and improvements made available by this
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1211 include:
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1212
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1213 o URLs are automatically skipped
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1214 o EMail message checking is vastly improved.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1215
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1216 *** Ispell can highlight the erroneous word even on non-window terminals.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1217
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1218 ** Changes to RefTeX mode
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1219
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1220 RefTeX has been updated in order to make it more usable with very
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1221 large projects (like a several volume math book). The parser has been
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1222 re-written from scratch. To get maximum speed from RefTeX, check the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1223 section `Optimizations' in the manual.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1224
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1225 *** New recursive parser.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1226
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1227 The old version of RefTeX created a single large buffer containing the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1228 entire multifile document in order to parse the document. The new
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1229 recursive parser scans the individual files.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1230
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1231 *** Parsing only part of a document.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1232
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1233 Reparsing of changed document parts can now be made faster by enabling
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1234 partial scans. To use this feature, read the documentation string of
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1235 the variable `reftex-enable-partial-scans' and set the variable to t.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1236
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1237 (setq reftex-enable-partial-scans t)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1238
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1239 *** Storing parsing information in a file.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1240
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1241 This can improve startup times considerably. To turn it on, use
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1242
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1243 (setq reftex-save-parse-info t)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1244
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1245 *** Using multiple selection buffers
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1246
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1247 If the creation of label selection buffers is too slow (this happens
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1248 for large documents), you can reuse these buffers by setting
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1249
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1250 (setq reftex-use-multiple-selection-buffers t)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1251
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1252 *** References to external documents.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1253
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1254 The LaTeX package `xr' allows to cross-reference labels in external
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1255 documents. RefTeX can provide information about the external
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1256 documents as well. To use this feature, set up the \externaldocument
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1257 macros required by the `xr' package and rescan the document with
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1258 RefTeX. The external labels can then be accessed with the `x' key in
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1259 the selection buffer provided by `reftex-reference' (bound to `C-c )').
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1260 The `x' key also works in the table of contents buffer.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1261
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1262 *** Many more labeled LaTeX environments are recognized by default.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1263
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1264 The built-in command list now covers all the standard LaTeX commands,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1265 and all of the major packages included in the LaTeX distribution.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1266
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1267 Also, RefTeX now understands the \appendix macro and changes
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1268 the enumeration of sections in the *toc* buffer accordingly.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1269
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1270 *** Mouse support for selection and *toc* buffers
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1271
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1272 The mouse can now be used to select items in the selection and *toc*
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1273 buffers. See also the new option `reftex-highlight-selection'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1274
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1275 *** New keymaps for selection and table of contents modes.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1276
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1277 The selection processes for labels and citation keys, and the table of
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1278 contents buffer now have their own keymaps: `reftex-select-label-map',
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1279 `reftex-select-bib-map', `reftex-toc-map'. The selection processes
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1280 have a number of new keys predefined. In particular, TAB lets you
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1281 enter a label with completion. Check the on-the-fly help (press `?'
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1282 at the selection prompt) or read the Info documentation to find out
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1283 more.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1284
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1285 *** Support for the varioref package
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1286
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1287 The `v' key in the label selection buffer toggles \ref versus \vref.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1288
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1289 *** New hooks
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1290
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1291 Three new hooks can be used to redefine the way labels, references,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1292 and citations are created. These hooks are
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1293 `reftex-format-label-function', `reftex-format-ref-function',
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1294 `reftex-format-cite-function'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1295
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1296 *** Citations outside LaTeX
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1297
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1298 The command `reftex-citation' may also be used outside LaTeX (e.g. in
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1299 a mail buffer). See the Info documentation for details.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1300
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1301 *** Short context is no longer fontified.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1302
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1303 The short context in the label menu no longer copies the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1304 fontification from the text in the buffer. If you prefer it to be
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1305 fontified, use
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1306
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1307 (setq reftex-refontify-context t)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1308
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1309 ** file-cache-minibuffer-complete now accepts a prefix argument.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1310 With a prefix argument, it does not try to do completion of
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1311 the file name within its directory; it only checks for other
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1312 directories that contain the same file name.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1313
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1314 Thus, given the file name Makefile, and assuming that a file
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1315 Makefile.in exists in the same directory, ordinary
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1316 file-cache-minibuffer-complete will try to complete Makefile to
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1317 Makefile.in and will therefore never look for other directories that
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1318 have Makefile. A prefix argument tells it not to look for longer
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1319 names such as Makefile.in, so that instead it will look for other
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1320 directories--just as if the name were already complete in its present
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1321 directory.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1322
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1323 ** New modes and packages
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1324
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1325 *** There is a new alternative major mode for Perl, Cperl mode.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1326 It has many more features than Perl mode, and some people prefer
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1327 it, but some do not.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1328
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1329 *** There is a new major mode, M-x vhdl-mode, for editing files of VHDL
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1330 code.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1331
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1332 *** M-x which-function-mode enables a minor mode that displays the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1333 current function name continuously in the mode line, as you move
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1334 around in a buffer.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1335
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1336 Which Function mode is effective in major modes which support Imenu.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1337
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1338 *** Gametree is a major mode for editing game analysis trees. The author
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1339 uses it for keeping notes about his postal Chess games, but it should
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1340 be helpful for other two-player games as well, as long as they have an
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1341 established system of notation similar to Chess.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1342
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1343 *** The new minor mode checkdoc-minor-mode provides Emacs Lisp
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1344 documentation string checking for style and spelling. The style
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1345 guidelines are found in the Emacs Lisp programming manual.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1346
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1347 *** The net-utils package makes some common networking features
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1348 available in Emacs. Some of these functions are wrappers around
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1349 system utilities (ping, nslookup, etc.); others are implementations of
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1350 simple protocols (finger, whois) in Emacs Lisp. There are also
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1351 functions to make simple connections to TCP/IP ports for debugging and
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1352 the like.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1353
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1354 *** highlight-changes-mode is a minor mode that uses colors to
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1355 identify recently changed parts of the buffer text.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1356
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1357 *** The new package `midnight' lets you specify things to be done
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1358 within Emacs at midnight--by default, kill buffers that you have not
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1359 used in a considerable time. To use this feature, customize
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1360 the user option `midnight-mode' to t.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1361
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1362 *** The file generic-x.el defines a number of simple major modes.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1363
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1364 apache-generic-mode: For Apache and NCSA httpd configuration files
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1365 samba-generic-mode: Samba configuration files
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1366 fvwm-generic-mode: For fvwm initialization files
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1367 x-resource-generic-mode: For X resource files
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1368 hosts-generic-mode: For hosts files (.rhosts, /etc/hosts, etc.)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1369 mailagent-rules-generic-mode: For mailagent .rules files
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1370 javascript-generic-mode: For JavaScript files
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1371 vrml-generic-mode: For VRML files
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1372 java-manifest-generic-mode: For Java MANIFEST files
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1373 java-properties-generic-mode: For Java property files
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1374 mailrc-generic-mode: For .mailrc files
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1375
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1376 Platform-specific modes:
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1377
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1378 prototype-generic-mode: For Solaris/Sys V prototype files
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1379 pkginfo-generic-mode: For Solaris/Sys V pkginfo files
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1380 alias-generic-mode: For C shell alias files
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1381 inf-generic-mode: For MS-Windows INF files
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1382 ini-generic-mode: For MS-Windows INI files
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1383 reg-generic-mode: For MS-Windows Registry files
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1384 bat-generic-mode: For MS-Windows BAT scripts
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1385 rc-generic-mode: For MS-Windows Resource files
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1386 rul-generic-mode: For InstallShield scripts
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1387
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1388
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1389 * Lisp changes in Emacs 20.3 since the Emacs Lisp Manual was published
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1390
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1391 ** If you want a Lisp file to be read in unibyte mode,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1392 use -*-unibyte: t;-*- on its first line.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1393 That will force Emacs to read that file in unibyte mode.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1394 Otherwise, the file will be loaded and byte-compiled in multibyte mode.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1395
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1396 Thus, each lisp file is read in a consistent way regardless of whether
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1397 you started Emacs with --unibyte, so that a Lisp program gives
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1398 consistent results regardless of how Emacs was started.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1399
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1400 ** The new function assoc-default is useful for searching an alist,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1401 and using a default value if the key is not found there. You can
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1402 specify a comparison predicate, so this function is useful for
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1403 searching comparing a string against an alist of regular expressions.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1404
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1405 ** The functions unibyte-char-to-multibyte and
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1406 multibyte-char-to-unibyte convert between unibyte and multibyte
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1407 character codes, in a way that is appropriate for the current language
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1408 environment.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1409
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1410 ** The functions read-event, read-char and read-char-exclusive now
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1411 take two optional arguments. PROMPT, if non-nil, specifies a prompt
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1412 string. SUPPRESS-INPUT-METHOD, if non-nil, says to disable the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1413 current input method for reading this one event.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1414
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1415 ** Two new variables print-escape-nonascii and print-escape-multibyte
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1416 now control whether to output certain characters as
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1417 backslash-sequences. print-escape-nonascii applies to single-byte
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1418 non-ASCII characters; print-escape-multibyte applies to multibyte
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1419 characters. Both of these variables are used only when printing
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1420 in readable fashion (prin1 uses them, princ does not).
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1421
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1422
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1423 * Lisp changes in Emacs 20.3 before the Emacs Lisp Manual was published
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1424
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1425 ** Compiled Emacs Lisp files made with the modified "MBSK" version
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1426 of Emacs 20.2 do not work in Emacs 20.3.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1427
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1428 ** Buffer positions are now measured in characters, as they were
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1429 in Emacs 19 and before. This means that (forward-char 1)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1430 always increases point by 1.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1431
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1432 The function chars-in-region now just subtracts its arguments. It is
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1433 considered obsolete. The function char-boundary-p has been deleted.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1434
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1435 See below for additional changes relating to multibyte characters.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1436
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1437 ** defcustom, defface and defgroup now accept the keyword `:version'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1438 Use this to specify in which version of Emacs a certain variable's
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1439 default value changed. For example,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1440
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1441 (defcustom foo-max 34 "*Maximum number of foo's allowed."
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1442 :type 'integer
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1443 :group 'foo
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1444 :version "20.3")
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1445
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1446 (defgroup foo-group nil "The foo group."
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1447 :version "20.3")
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1448
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1449 If an entire new group is added or the variables in it have the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1450 default values changed, then just add a `:version' to that group. It
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1451 is recommended that new packages added to the distribution contain a
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1452 `:version' in the top level group.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1453
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1454 This information is used to control the customize-changed-options command.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1455
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1456 ** It is now an error to change the value of a symbol whose name
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1457 starts with a colon--if it is interned in the standard obarray.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1458
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1459 However, setting such a symbol to its proper value, which is that
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1460 symbol itself, is not an error. This is for the sake of programs that
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1461 support previous Emacs versions by explicitly setting these variables
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1462 to themselves.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1463
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1464 If you set the variable keyword-symbols-constant-flag to nil,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1465 this error is suppressed, and you can set these symbols to any
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1466 values whatever.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1467
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1468 ** There is a new debugger command, R.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1469 It evaluates an expression like e, but saves the result
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1470 in the buffer *Debugger-record*.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1471
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1472 ** Frame-local variables.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1473
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1474 You can now make a variable local to various frames. To do this, call
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1475 the function make-variable-frame-local; this enables frames to have
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1476 local bindings for that variable.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1477
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1478 These frame-local bindings are actually frame parameters: you create a
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1479 frame-local binding in a specific frame by calling
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1480 modify-frame-parameters and specifying the variable name as the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1481 parameter name.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1482
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1483 Buffer-local bindings take precedence over frame-local bindings.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1484 Thus, if the current buffer has a buffer-local binding, that binding is
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1485 active; otherwise, if the selected frame has a frame-local binding,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1486 that binding is active; otherwise, the default binding is active.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1487
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1488 It would not be hard to implement window-local bindings, but it is not
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1489 clear that this would be very useful; windows tend to come and go in a
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1490 very transitory fashion, so that trying to produce any specific effect
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1491 through a window-local binding would not be very robust.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1492
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1493 ** `sregexq' and `sregex' are two new functions for constructing
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1494 "symbolic regular expressions." These are Lisp expressions that, when
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1495 evaluated, yield conventional string-based regexps. The symbolic form
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1496 makes it easier to construct, read, and maintain complex patterns.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1497 See the documentation in sregex.el.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1498
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1499 ** parse-partial-sexp's return value has an additional element which
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1500 is used to pass information along if you pass it to another call to
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1501 parse-partial-sexp, starting its scan where the first call ended.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1502 The contents of this field are not yet finalized.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1503
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1504 ** eval-region now accepts a fourth optional argument READ-FUNCTION.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1505 If it is non-nil, that function is used instead of `read'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1506
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1507 ** unload-feature by default removes the feature's functions from
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1508 known hooks to avoid trouble, but a package providing FEATURE can
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1509 define a hook FEATURE-unload-hook to be run by unload-feature instead.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1510
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1511 ** read-from-minibuffer no longer returns the argument DEFAULT-VALUE
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1512 when the user enters empty input. It now returns the null string, as
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1513 it did in Emacs 19. The default value is made available in the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1514 history via M-n, but it is not applied here as a default.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1515
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1516 The other, more specialized minibuffer-reading functions continue to
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1517 return the default value (not the null string) when the user enters
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1518 empty input.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1519
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1520 ** The new variable read-buffer-function controls which routine to use
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1521 for selecting buffers. For example, if you set this variable to
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1522 `iswitchb-read-buffer', iswitchb will be used to read buffer names.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1523 Other functions can also be used if they accept the same arguments as
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1524 `read-buffer' and return the selected buffer name as a string.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1525
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1526 ** The new function read-passwd reads a password from the terminal,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1527 echoing a period for each character typed. It takes three arguments:
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1528 a prompt string, a flag which says "read it twice to make sure", and a
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1529 default password to use if the user enters nothing.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1530
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1531 ** The variable fill-nobreak-predicate gives major modes a way to
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1532 specify not to break a line at certain places. Its value is a
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1533 function which is called with no arguments, with point located at the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1534 place where a break is being considered. If the function returns
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1535 non-nil, then the line won't be broken there.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1536
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1537 ** window-end now takes an optional second argument, UPDATE.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1538 If this is non-nil, then the function always returns an accurate
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1539 up-to-date value for the buffer position corresponding to the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1540 end of the window, even if this requires computation.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1541
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1542 ** other-buffer now takes an optional argument FRAME
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1543 which specifies which frame's buffer list to use.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1544 If it is nil, that means use the selected frame's buffer list.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1545
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1546 ** The new variable buffer-display-time, always local in every buffer,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1547 holds the value of (current-time) as of the last time that a window
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1548 was directed to display this buffer.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1549
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1550 ** It is now meaningful to compare two window-configuration objects
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1551 with `equal'. Two window-configuration objects are equal if they
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1552 describe equivalent arrangements of windows, in the same frame--in
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1553 other words, if they would give the same results if passed to
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1554 set-window-configuration.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1555
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1556 ** compare-window-configurations is a new function that compares two
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1557 window configurations loosely. It ignores differences in saved buffer
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1558 positions and scrolling, and considers only the structure and sizes of
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1559 windows and the choice of buffers to display.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1560
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1561 ** The variable minor-mode-overriding-map-alist allows major modes to
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1562 override the key bindings of a minor mode. The elements of this alist
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1563 look like the elements of minor-mode-map-alist: (VARIABLE . KEYMAP).
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1564
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1565 If the VARIABLE in an element of minor-mode-overriding-map-alist has a
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1566 non-nil value, the paired KEYMAP is active, and totally overrides the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1567 map (if any) specified for the same variable in minor-mode-map-alist.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1568
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1569 minor-mode-overriding-map-alist is automatically local in all buffers,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1570 and it is meant to be set by major modes.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1571
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1572 ** The function match-string-no-properties is like match-string
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1573 except that it discards all text properties from the result.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1574
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1575 ** The function load-average now accepts an optional argument
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1576 USE-FLOATS. If it is non-nil, the load average values are returned as
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1577 floating point numbers, rather than as integers to be divided by 100.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1578
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1579 ** The new variable temporary-file-directory specifies the directory
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1580 to use for creating temporary files. The default value is determined
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1581 in a reasonable way for your operating system; on GNU and Unix systems
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1582 it is based on the TMP and TMPDIR environment variables.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1583
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1584 ** Menu changes
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1585
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1586 *** easymenu.el now uses the new menu item format and supports the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1587 keywords :visible and :filter. The existing keyword :keys is now
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1588 better supported.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1589
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1590 The variable `easy-menu-precalculate-equivalent-keybindings' controls
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1591 a new feature which calculates keyboard equivalents for the menu when
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1592 you define the menu. The default is t. If you rarely use menus, you
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1593 can set the variable to nil to disable this precalculation feature;
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1594 then the calculation is done only if you use the menu bar.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1595
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1596 *** A new format for menu items is supported.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1597
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1598 In a keymap, a key binding that has the format
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1599 (STRING . REAL-BINDING) or (STRING HELP-STRING . REAL-BINDING)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1600 defines a menu item. Now a menu item definition may also be a list that
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1601 starts with the symbol `menu-item'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1602
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1603 The format is:
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1604 (menu-item ITEM-NAME) or
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1605 (menu-item ITEM-NAME REAL-BINDING . ITEM-PROPERTY-LIST)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1606 where ITEM-NAME is an expression which evaluates to the menu item
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1607 string, and ITEM-PROPERTY-LIST has the form of a property list.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1608 The supported properties include
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1609
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1610 :enable FORM Evaluate FORM to determine whether the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1611 item is enabled.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1612 :visible FORM Evaluate FORM to determine whether the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1613 item should appear in the menu.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1614 :filter FILTER-FN
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1615 FILTER-FN is a function of one argument,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1616 which will be REAL-BINDING.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1617 It should return a binding to use instead.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1618 :keys DESCRIPTION
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1619 DESCRIPTION is a string that describes an equivalent keyboard
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1620 binding for REAL-BINDING. DESCRIPTION is expanded with
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1621 `substitute-command-keys' before it is used.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1622 :key-sequence KEY-SEQUENCE
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1623 KEY-SEQUENCE is a key-sequence for an equivalent
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1624 keyboard binding.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1625 :key-sequence nil
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1626 This means that the command normally has no
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1627 keyboard equivalent.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1628 :help HELP HELP is the extra help string (not currently used).
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1629 :button (TYPE . SELECTED)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1630 TYPE is :toggle or :radio.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1631 SELECTED is a form, to be evaluated, and its
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1632 value says whether this button is currently selected.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1633
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1634 Buttons are at the moment only simulated by prefixes in the menu.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1635 Eventually ordinary X-buttons may be supported.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1636
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1637 (menu-item ITEM-NAME) defines unselectable item.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1638
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1639 ** New event types
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1640
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1641 *** The new event type `mouse-wheel' is generated by a wheel on a
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1642 mouse (such as the MS Intellimouse). The event contains a delta that
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1643 corresponds to the amount and direction that the wheel is rotated,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1644 which is typically used to implement a scroll or zoom. The format is:
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1645
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1646 (mouse-wheel POSITION DELTA)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1647
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1648 where POSITION is a list describing the position of the event in the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1649 same format as a mouse-click event, and DELTA is a signed number
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1650 indicating the number of increments by which the wheel was rotated. A
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1651 negative DELTA indicates that the wheel was rotated backwards, towards
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1652 the user, and a positive DELTA indicates that the wheel was rotated
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1653 forward, away from the user.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1654
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1655 As of now, this event type is generated only on MS Windows.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1656
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1657 *** The new event type `drag-n-drop' is generated when a group of
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1658 files is selected in an application outside of Emacs, and then dragged
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1659 and dropped onto an Emacs frame. The event contains a list of
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1660 filenames that were dragged and dropped, which are then typically
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1661 loaded into Emacs. The format is:
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1662
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1663 (drag-n-drop POSITION FILES)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1664
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1665 where POSITION is a list describing the position of the event in the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1666 same format as a mouse-click event, and FILES is the list of filenames
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1667 that were dragged and dropped.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1668
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1669 As of now, this event type is generated only on MS Windows.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1670
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1671 ** Changes relating to multibyte characters.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1672
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1673 *** The variable enable-multibyte-characters is now read-only;
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1674 any attempt to set it directly signals an error. The only way
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1675 to change this value in an existing buffer is with set-buffer-multibyte.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1676
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1677 *** In a string constant, `\ ' now stands for "nothing at all". You
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1678 can use it to terminate a hex escape which is followed by a character
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1679 that could otherwise be read as part of the hex escape.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1680
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1681 *** String indices are now measured in characters, as they were
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1682 in Emacs 19 and before.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1683
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1684 The function chars-in-string has been deleted.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1685 The function concat-chars has been renamed to `string'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1686
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1687 *** The function set-buffer-multibyte sets the flag in the current
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1688 buffer that says whether the buffer uses multibyte representation or
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1689 unibyte representation. If the argument is nil, it selects unibyte
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1690 representation. Otherwise it selects multibyte representation.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1691
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1692 This function does not change the contents of the buffer, viewed
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1693 as a sequence of bytes. However, it does change the contents
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1694 viewed as characters; a sequence of two bytes which is treated as
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1695 one character when the buffer uses multibyte representation
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1696 will count as two characters using unibyte representation.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1697
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1698 This function sets enable-multibyte-characters to record which
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1699 representation is in use. It also adjusts various data in the buffer
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1700 (including its markers, overlays and text properties) so that they are
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1701 consistent with the new representation.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1702
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1703 *** string-make-multibyte takes a string and converts it to multibyte
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1704 representation. Most of the time, you don't need to care
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1705 about the representation, because Emacs converts when necessary;
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1706 however, it makes a difference when you compare strings.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1707
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1708 The conversion of non-ASCII characters works by adding the value of
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1709 nonascii-insert-offset to each character, or by translating them
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1710 using the table nonascii-translation-table.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1711
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1712 *** string-make-unibyte takes a string and converts it to unibyte
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1713 representation. Most of the time, you don't need to care about the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1714 representation, but it makes a difference when you compare strings.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1715
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1716 The conversion from multibyte to unibyte representation
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1717 loses information; the only time Emacs performs it automatically
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1718 is when inserting a multibyte string into a unibyte buffer.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1719
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1720 *** string-as-multibyte takes a string, and returns another string
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1721 which contains the same bytes, but treats them as multibyte.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1722
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1723 *** string-as-unibyte takes a string, and returns another string
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1724 which contains the same bytes, but treats them as unibyte.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1725
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1726 *** The new function compare-strings lets you compare
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1727 portions of two strings. Unibyte strings are converted to multibyte,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1728 so that a unibyte string can match a multibyte string.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1729 You can specify whether to ignore case or not.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1730
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1731 *** assoc-ignore-case now uses compare-strings so that
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1732 it can treat unibyte and multibyte strings as equal.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1733
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1734 *** Regular expression operations and buffer string searches now
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1735 convert the search pattern to multibyte or unibyte to accord with the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1736 buffer or string being searched.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1737
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1738 One consequence is that you cannot always use \200-\377 inside of
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1739 [...] to match all non-ASCII characters. This does still work when
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1740 searching or matching a unibyte buffer or string, but not when
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1741 searching or matching a multibyte string. Unfortunately, there is no
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1742 obvious choice of syntax to use within [...] for that job. But, what
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1743 you want is just to match all non-ASCII characters, the regular
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1744 expression [^\0-\177] works for it.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1745
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1746 *** Structure of coding system changed.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1747
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1748 All coding systems (including aliases and subsidiaries) are named
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1749 by symbols; the symbol's `coding-system' property is a vector
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1750 which defines the coding system. Aliases share the same vector
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1751 as the principal name, so that altering the contents of this
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1752 vector affects the principal name and its aliases. You can define
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1753 your own alias name of a coding system by the function
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1754 define-coding-system-alias.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1755
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1756 The coding system definition includes a property list of its own. Use
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1757 the new functions `coding-system-get' and `coding-system-put' to
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1758 access such coding system properties as post-read-conversion,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1759 pre-write-conversion, character-translation-table-for-decode,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1760 character-translation-table-for-encode, mime-charset, and
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1761 safe-charsets. For instance, (coding-system-get 'iso-latin-1
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1762 'mime-charset) gives the corresponding MIME-charset parameter
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1763 `iso-8859-1'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1764
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1765 Among the coding system properties listed above, safe-charsets is new.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1766 The value of this property is a list of character sets which this
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1767 coding system can correctly encode and decode. For instance:
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1768 (coding-system-get 'iso-latin-1 'safe-charsets) => (ascii latin-iso8859-1)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1769
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1770 Here, "correctly encode" means that the encoded character sets can
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1771 also be handled safely by systems other than Emacs as far as they
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1772 are capable of that coding system. Though, Emacs itself can encode
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1773 the other character sets and read it back correctly.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1774
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1775 *** The new function select-safe-coding-system can be used to find a
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1776 proper coding system for encoding the specified region or string.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1777 This function requires a user interaction.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1778
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1779 *** The new functions find-coding-systems-region and
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1780 find-coding-systems-string are helper functions used by
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1781 select-safe-coding-system. They return a list of all proper coding
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1782 systems to encode a text in some region or string. If you don't want
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1783 a user interaction, use one of these functions instead of
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1784 select-safe-coding-system.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1785
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1786 *** The explicit encoding and decoding functions, such as
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1787 decode-coding-region and encode-coding-string, now set
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1788 last-coding-system-used to reflect the actual way encoding or decoding
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1789 was done.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1790
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1791 *** The new function detect-coding-with-language-environment can be
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1792 used to detect a coding system of text according to priorities of
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1793 coding systems used by some specific language environment.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1794
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1795 *** The functions detect-coding-region and detect-coding-string always
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1796 return a list if the arg HIGHEST is nil. Thus, if only ASCII
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1797 characters are found, they now return a list of single element
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1798 `undecided' or its subsidiaries.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1799
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1800 *** The new functions coding-system-change-eol-conversion and
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1801 coding-system-change-text-conversion can be used to get a different
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1802 coding system than what specified only in how end-of-line or text is
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1803 converted.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1804
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1805 *** The new function set-selection-coding-system can be used to set a
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1806 coding system for communicating with other X clients.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1807
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1808 *** The function `map-char-table' now passes as argument only valid
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1809 character codes, plus generic characters that stand for entire
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1810 character sets or entire subrows of a character set. In other words,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1811 each time `map-char-table' calls its FUNCTION argument, the key value
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1812 either will be a valid individual character code, or will stand for a
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1813 range of characters.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1814
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1815 *** The new function `char-valid-p' can be used for checking whether a
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1816 Lisp object is a valid character code or not.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1817
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1818 *** The new function `charset-after' returns a charset of a character
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1819 in the current buffer at position POS.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1820
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1821 *** Input methods are now implemented using the variable
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1822 input-method-function. If this is non-nil, its value should be a
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1823 function; then, whenever Emacs reads an input event that is a printing
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1824 character with no modifier bits, it calls that function, passing the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1825 event as an argument. Often this function will read more input, first
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1826 binding input-method-function to nil.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1827
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1828 The return value should be a list of the events resulting from input
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1829 method processing. These events will be processed sequentially as
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1830 input, before resorting to unread-command-events. Events returned by
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1831 the input method function are not passed to the input method function,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1832 not even if they are printing characters with no modifier bits.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1833
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1834 The input method function is not called when reading the second and
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1835 subsequent events of a key sequence.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1836
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1837 *** You can customize any language environment by using
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1838 set-language-environment-hook and exit-language-environment-hook.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1839
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1840 The hook `exit-language-environment-hook' should be used to undo
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1841 customizations that you made with set-language-environment-hook. For
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1842 instance, if you set up a special key binding for a specific language
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1843 environment by set-language-environment-hook, you should set up
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1844 exit-language-environment-hook to restore the normal key binding.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1845
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1846
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1847
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1848 * Changes in Emacs 20.1
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1849
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1850 ** Emacs has a new facility for customization of its many user
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1851 options. It is called M-x customize. With this facility you can look
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1852 at the many user options in an organized way; they are grouped into a
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1853 tree structure.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1854
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1855 M-x customize also knows what sorts of values are legitimate for each
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1856 user option and ensures that you don't use invalid values.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1857
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1858 With M-x customize, you can set options either for the present Emacs
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1859 session or permanently. (Permanent settings are stored automatically
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1860 in your .emacs file.)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1861
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1862 ** Scroll bars are now on the left side of the window.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1863 You can change this with M-x customize-option scroll-bar-mode.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1864
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1865 ** The mode line no longer includes the string `Emacs'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1866 This makes more space in the mode line for other information.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1867
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1868 ** When you select a region with the mouse, it is highlighted
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1869 immediately afterward. At that time, if you type the DELETE key, it
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1870 kills the region.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1871
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1872 The BACKSPACE key, and the ASCII character DEL, do not do this; they
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1873 delete the character before point, as usual.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1874
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1875 ** In an incremental search the whole current match is highlighted
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1876 on terminals which support this. (You can disable this feature
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1877 by setting search-highlight to nil.)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1878
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1879 ** In the minibuffer, in some cases, you can now use M-n to
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1880 insert the default value into the minibuffer as text. In effect,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1881 the default value (if the minibuffer routines know it) is tacked
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1882 onto the history "in the future". (The more normal use of the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1883 history list is to use M-p to insert minibuffer input used in the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1884 past.)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1885
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1886 ** In Text mode, now only blank lines separate paragraphs.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1887 This makes it possible to get the full benefit of Adaptive Fill mode
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1888 in Text mode, and other modes derived from it (such as Mail mode).
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1889 TAB in Text mode now runs the command indent-relative; this
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1890 makes a practical difference only when you use indented paragraphs.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1891
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1892 As a result, the old Indented Text mode is now identical to Text mode,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1893 and is an alias for it.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1894
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1895 If you want spaces at the beginning of a line to start a paragraph,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1896 use the new mode, Paragraph Indent Text mode.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1897
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1898 ** Scrolling changes
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1899
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1900 *** Scroll commands to scroll a whole screen now preserve the screen
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1901 position of the cursor, if scroll-preserve-screen-position is non-nil.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1902
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1903 In this mode, if you scroll several screens back and forth, finishing
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1904 on the same screen where you started, the cursor goes back to the line
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1905 where it started.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1906
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1907 *** If you set scroll-conservatively to a small number, then when you
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1908 move point a short distance off the screen, Emacs will scroll the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1909 screen just far enough to bring point back on screen, provided that
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1910 does not exceed `scroll-conservatively' lines.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1911
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1912 *** The new variable scroll-margin says how close point can come to the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1913 top or bottom of a window. It is a number of screen lines; if point
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1914 comes within that many lines of the top or bottom of the window, Emacs
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1915 recenters the window.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1916
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1917 ** International character set support (MULE)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1918
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1919 Emacs now supports a wide variety of international character sets,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1920 including European variants of the Latin alphabet, as well as Chinese,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1921 Devanagari (Hindi and Marathi), Ethiopian, Greek, IPA, Japanese,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1922 Korean, Lao, Russian, Thai, Tibetan, and Vietnamese scripts. These
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1923 features have been merged from the modified version of Emacs known as
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1924 MULE (for "MULti-lingual Enhancement to GNU Emacs")
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1925
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1926 Users of these scripts have established many more-or-less standard
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1927 coding systems for storing files. Emacs uses a single multibyte
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1928 character encoding within Emacs buffers; it can translate from a wide
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1929 variety of coding systems when reading a file and can translate back
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1930 into any of these coding systems when saving a file.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1931
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1932 Keyboards, even in the countries where these character sets are used,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1933 generally don't have keys for all the characters in them. So Emacs
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1934 supports various "input methods", typically one for each script or
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1935 language, to make it possible to type them.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1936
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1937 The Emacs internal multibyte encoding represents a non-ASCII
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1938 character as a sequence of bytes in the range 0200 through 0377.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1939
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1940 The new prefix key C-x RET is used for commands that pertain
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1941 to multibyte characters, coding systems, and input methods.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1942
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1943 You can disable multibyte character support as follows:
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1944
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1945 (setq-default enable-multibyte-characters nil)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1946
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1947 Calling the function standard-display-european turns off multibyte
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1948 characters, unless you specify a non-nil value for the second
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1949 argument, AUTO. This provides compatibility for people who are
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1950 already using standard-display-european to continue using unibyte
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1951 characters for their work until they want to change.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1952
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1953 *** Input methods
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1954
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1955 An input method is a kind of character conversion which is designed
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1956 specifically for interactive input. In Emacs, typically each language
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1957 has its own input method (though sometimes several languages which use
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1958 the same characters can share one input method). Some languages
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1959 support several input methods.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1960
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1961 The simplest kind of input method works by mapping ASCII letters into
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1962 another alphabet. This is how the Greek and Russian input methods
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1963 work.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1964
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1965 A more powerful technique is composition: converting sequences of
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1966 characters into one letter. Many European input methods use
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1967 composition to produce a single non-ASCII letter from a sequence which
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1968 consists of a letter followed by diacritics. For example, a' is one
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1969 sequence of two characters that might be converted into a single
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1970 letter.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1971
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1972 The input methods for syllabic scripts typically use mapping followed
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1973 by conversion. The input methods for Thai and Korean work this way.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1974 First, letters are mapped into symbols for particular sounds or tone
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1975 marks; then, sequences of these which make up a whole syllable are
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1976 mapped into one syllable sign--most often a "composite character".
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1977
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1978 None of these methods works very well for Chinese and Japanese, so
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1979 they are handled specially. First you input a whole word using
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1980 phonetic spelling; then, after the word is in the buffer, Emacs
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1981 converts it into one or more characters using a large dictionary.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1982
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1983 Since there is more than one way to represent a phonetically spelled
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1984 word using Chinese characters, Emacs can only guess which one to use;
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1985 typically these input methods give you a way to say "guess again" if
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1986 the first guess is wrong.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1987
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1988 *** The command C-x RET m (toggle-enable-multibyte-characters)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1989 turns multibyte character support on or off for the current buffer.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1990
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1991 If multibyte character support is turned off in a buffer, then each
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1992 byte is a single character, even codes 0200 through 0377--exactly as
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1993 they did in Emacs 19.34. This includes the features for support for
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1994 the European characters, ISO Latin-1 and ISO Latin-2.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1995
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1996 However, there is no need to turn off multibyte character support to
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1997 use ISO Latin-1 or ISO Latin-2; the Emacs multibyte character set
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1998 includes all the characters in these character sets, and Emacs can
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1999 translate automatically to and from either one.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2000
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2001 *** Visiting a file in unibyte mode.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2002
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2003 Turning off multibyte character support in the buffer after visiting a
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2004 file with multibyte code conversion will display the multibyte
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2005 sequences already in the buffer, byte by byte. This is probably not
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2006 what you want.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2007
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2008 If you want to edit a file of unibyte characters (Latin-1, for
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2009 example), you can do it by specifying `no-conversion' as the coding
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2010 system when reading the file. This coding system also turns off
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2011 multibyte characters in that buffer.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2012
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2013 If you turn off multibyte character support entirely, this turns off
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2014 character conversion as well.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2015
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2016 *** Displaying international characters on X Windows.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2017
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2018 A font for X typically displays just one alphabet or script.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2019 Therefore, displaying the entire range of characters Emacs supports
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2020 requires using many fonts.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2021
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2022 Therefore, Emacs now supports "fontsets". Each fontset is a
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2023 collection of fonts, each assigned to a range of character codes.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2024
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2025 A fontset has a name, like a font. Individual fonts are defined by
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2026 the X server; fontsets are defined within Emacs itself. But once you
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2027 have defined a fontset, you can use it in a face or a frame just as
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2028 you would use a font.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2029
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2030 If a fontset specifies no font for a certain character, or if it
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2031 specifies a font that does not exist on your system, then it cannot
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2032 display that character. It will display an empty box instead.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2033
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2034 The fontset height and width are determined by the ASCII characters
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2035 (that is, by the font in the fontset which is used for ASCII
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2036 characters).
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2037
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2038 *** Defining fontsets.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2039
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2040 Emacs does not use any fontset by default. Its default font is still
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2041 chosen as in previous versions. You can tell Emacs to use a fontset
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2042 with the `-fn' option or the `Font' X resource.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2043
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2044 Emacs creates a standard fontset automatically according to the value
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2045 of standard-fontset-spec. This fontset's short name is
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2046 `fontset-standard'. Bold, italic, and bold-italic variants of the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2047 standard fontset are created automatically.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2048
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2049 If you specify a default ASCII font with the `Font' resource or `-fn'
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2050 argument, a fontset is generated from it. This works by replacing the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2051 FOUNDARY, FAMILY, ADD_STYLE, and AVERAGE_WIDTH fields of the font name
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2052 with `*' then using this to specify a fontset. This fontset's short
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2053 name is `fontset-startup'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2054
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2055 Emacs checks resources of the form Fontset-N where N is 0, 1, 2...
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2056 The resource value should have this form:
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2057 FONTSET-NAME, [CHARSET-NAME:FONT-NAME]...
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2058 FONTSET-NAME should have the form of a standard X font name, except:
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2059 * most fields should be just the wild card "*".
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2060 * the CHARSET_REGISTRY field should be "fontset"
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2061 * the CHARSET_ENCODING field can be any nickname of the fontset.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2062 The construct CHARSET-NAME:FONT-NAME can be repeated any number
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2063 of times; each time specifies the font for one character set.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2064 CHARSET-NAME should be the name of a character set, and FONT-NAME
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2065 should specify an actual font to use for that character set.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2066
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2067 Each of these fontsets has an alias which is made from the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2068 last two font name fields, CHARSET_REGISTRY and CHARSET_ENCODING.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2069 You can refer to the fontset by that alias or by its full name.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2070
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2071 For any character sets that you don't mention, Emacs tries to choose a
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2072 font by substituting into FONTSET-NAME. For instance, with the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2073 following resource,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2074 Emacs*Fontset-0: -*-fixed-medium-r-normal-*-24-*-*-*-*-*-fontset-24
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2075 the font for ASCII is generated as below:
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2076 -*-fixed-medium-r-normal-*-24-*-ISO8859-1
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2077 Here is the substitution rule:
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2078 Change CHARSET_REGISTRY and CHARSET_ENCODING to that of the charset
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2079 defined in the variable x-charset-registries. For instance, ASCII has
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2080 the entry (ascii . "ISO8859-1") in this variable. Then, reduce
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2081 sequences of wild cards -*-...-*- with a single wildcard -*-.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2082 (This is to prevent use of auto-scaled fonts.)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2083
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2084 The function which processes the fontset resource value to create the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2085 fontset is called create-fontset-from-fontset-spec. You can also call
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2086 that function explicitly to create a fontset.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2087
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2088 With the X resource Emacs.Font, you can specify a fontset name just
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2089 like an actual font name. But be careful not to specify a fontset
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2090 name in a wildcard resource like Emacs*Font--that tries to specify the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2091 fontset for other purposes including menus, and they cannot handle
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2092 fontsets.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2093
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2094 *** The command M-x set-language-environment sets certain global Emacs
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2095 defaults for a particular choice of language.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2096
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2097 Selecting a language environment typically specifies a default input
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2098 method and which coding systems to recognize automatically when
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2099 visiting files. However, it does not try to reread files you have
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2100 already visited; the text in those buffers is not affected. The
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2101 language environment may also specify a default choice of coding
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2102 system for new files that you create.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2103
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2104 It makes no difference which buffer is current when you use
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2105 set-language-environment, because these defaults apply globally to the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2106 whole Emacs session.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2107
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2108 For example, M-x set-language-environment RET Latin-1 RET
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2109 chooses the Latin-1 character set. In the .emacs file, you can do this
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2110 with (set-language-environment "Latin-1").
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2111
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2112 *** The command C-x RET f (set-buffer-file-coding-system)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2113 specifies the file coding system for the current buffer. This
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2114 specifies what sort of character code translation to do when saving
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2115 the file. As an argument, you must specify the name of one of the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2116 coding systems that Emacs supports.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2117
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2118 *** The command C-x RET c (universal-coding-system-argument)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2119 lets you specify a coding system when you read or write a file.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2120 This command uses the minibuffer to read a coding system name.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2121 After you exit the minibuffer, the specified coding system
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2122 is used for *the immediately following command*.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2123
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2124 So if the immediately following command is a command to read or
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2125 write a file, it uses the specified coding system for that file.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2126
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2127 If the immediately following command does not use the coding system,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2128 then C-x RET c ultimately has no effect.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2129
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2130 For example, C-x RET c iso-8859-1 RET C-x C-f temp RET
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2131 visits the file `temp' treating it as ISO Latin-1.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2132
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2133 *** You can specify the coding system for a file using the -*-
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2134 construct. Include `coding: CODINGSYSTEM;' inside the -*-...-*-
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2135 to specify use of coding system CODINGSYSTEM. You can also
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2136 specify the coding system in a local variable list at the end
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2137 of the file.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2138
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2139 *** The command C-x RET t (set-terminal-coding-system) specifies
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2140 the coding system for terminal output. If you specify a character
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2141 code for terminal output, all characters output to the terminal are
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2142 translated into that character code.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2143
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2144 This feature is useful for certain character-only terminals built in
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2145 various countries to support the languages of those countries.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2146
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2147 By default, output to the terminal is not translated at all.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2148
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2149 *** The command C-x RET k (set-keyboard-coding-system) specifies
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2150 the coding system for keyboard input.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2151
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2152 Character code translation of keyboard input is useful for terminals
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2153 with keys that send non-ASCII graphic characters--for example,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2154 some terminals designed for ISO Latin-1 or subsets of it.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2155
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2156 By default, keyboard input is not translated at all.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2157
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2158 Character code translation of keyboard input is similar to using an
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2159 input method, in that both define sequences of keyboard input that
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2160 translate into single characters. However, input methods are designed
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2161 to be convenient for interactive use, while the code translations are
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2162 designed to work with terminals.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2163
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2164 *** The command C-x RET p (set-buffer-process-coding-system)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2165 specifies the coding system for input and output to a subprocess.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2166 This command applies to the current buffer; normally, each subprocess
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2167 has its own buffer, and thus you can use this command to specify
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2168 translation to and from a particular subprocess by giving the command
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2169 in the corresponding buffer.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2170
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2171 By default, process input and output are not translated at all.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2172
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2173 *** The variable file-name-coding-system specifies the coding system
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2174 to use for encoding file names before operating on them.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2175 It is also used for decoding file names obtained from the system.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2176
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2177 *** The command C-\ (toggle-input-method) activates or deactivates
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2178 an input method. If no input method has been selected before, the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2179 command prompts for you to specify the language and input method you
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2180 want to use.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2181
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2182 C-u C-\ (select-input-method) lets you switch to a different input
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2183 method. C-h C-\ (or C-h I) describes the current input method.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2184
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2185 *** Some input methods remap the keyboard to emulate various keyboard
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2186 layouts commonly used for particular scripts. How to do this
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2187 remapping properly depends on your actual keyboard layout. To specify
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2188 which layout your keyboard has, use M-x quail-set-keyboard-layout.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2189
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2190 *** The command C-h C (describe-coding-system) displays
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2191 the coding systems currently selected for various purposes, plus
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2192 related information.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2193
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2194 *** The command C-h h (view-hello-file) displays a file called
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2195 HELLO, which has examples of text in many languages, using various
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2196 scripts.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2197
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2198 *** The command C-h L (describe-language-support) displays
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2199 information about the support for a particular language.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2200 You specify the language as an argument.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2201
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2202 *** The mode line now contains a letter or character that identifies
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2203 the coding system used in the visited file. It normally follows the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2204 first dash.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2205
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2206 A dash indicates the default state of affairs: no code conversion
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2207 (except CRLF => newline if appropriate). `=' means no conversion
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2208 whatsoever. The ISO 8859 coding systems are represented by digits
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2209 1 through 9. Other coding systems are represented by letters:
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2210
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2211 A alternativnyj (Russian)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2212 B big5 (Chinese)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2213 C cn-gb-2312 (Chinese)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2214 C iso-2022-cn (Chinese)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2215 D in-is13194-devanagari (Indian languages)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2216 E euc-japan (Japanese)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2217 I iso-2022-cjk or iso-2022-ss2 (Chinese, Japanese, Korean)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2218 J junet (iso-2022-7) or old-jis (iso-2022-jp-1978-irv) (Japanese)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2219 K euc-korea (Korean)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2220 R koi8 (Russian)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2221 Q tibetan
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2222 S shift_jis (Japanese)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2223 T lao
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2224 T tis620 (Thai)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2225 V viscii or vscii (Vietnamese)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2226 i iso-2022-lock (Chinese, Japanese, Korean)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2227 k iso-2022-kr (Korean)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2228 v viqr (Vietnamese)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2229 z hz (Chinese)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2230
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2231 When you are using a character-only terminal (not a window system),
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2232 two additional characters appear in between the dash and the file
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2233 coding system. These two characters describe the coding system for
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2234 keyboard input, and the coding system for terminal output.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2235
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2236 *** The new variable rmail-file-coding-system specifies the code
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2237 conversion to use for RMAIL files. The default value is nil.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2238
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2239 When you read mail with Rmail, each message is decoded automatically
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2240 into Emacs' internal format. This has nothing to do with
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2241 rmail-file-coding-system. That variable controls reading and writing
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2242 Rmail files themselves.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2243
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2244 *** The new variable sendmail-coding-system specifies the code
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2245 conversion for outgoing mail. The default value is nil.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2246
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2247 Actually, there are three different ways of specifying the coding system
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2248 for sending mail:
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2249
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2250 - If you use C-x RET f in the mail buffer, that takes priority.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2251 - Otherwise, if you set sendmail-coding-system non-nil, that specifies it.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2252 - Otherwise, the default coding system for new files is used,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2253 if that is non-nil. That comes from your language environment.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2254 - Otherwise, Latin-1 is used.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2255
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2256 *** The command C-h t (help-with-tutorial) accepts a prefix argument
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2257 to specify the language for the tutorial file. Currently, English,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2258 Japanese, Korean and Thai are supported. We welcome additional
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2259 translations.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2260
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2261 ** An easy new way to visit a file with no code or format conversion
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2262 of any kind: Use M-x find-file-literally. There is also a command
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2263 insert-file-literally which inserts a file into the current buffer
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2264 without any conversion.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2265
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2266 ** C-q's handling of octal character codes is changed.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2267 You can now specify any number of octal digits.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2268 RET terminates the digits and is discarded;
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2269 any other non-digit terminates the digits and is then used as input.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2270
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2271 ** There are new commands for looking up Info documentation for
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2272 functions, variables and file names used in your programs.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2273
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2274 Type M-x info-lookup-symbol to look up a symbol in the buffer at point.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2275 Type M-x info-lookup-file to look up a file in the buffer at point.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2276
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2277 Precisely which Info files are used to look it up depends on the major
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2278 mode. For example, in C mode, the GNU libc manual is used.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2279
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2280 ** M-TAB in most programming language modes now runs the command
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2281 complete-symbol. This command performs completion on the symbol name
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2282 in the buffer before point.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2283
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2284 With a numeric argument, it performs completion based on the set of
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2285 symbols documented in the Info files for the programming language that
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2286 you are using.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2287
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2288 With no argument, it does completion based on the current tags tables,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2289 just like the old binding of M-TAB (complete-tag).
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2290
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2291 ** File locking works with NFS now.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2292
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2293 The lock file for FILENAME is now a symbolic link named .#FILENAME,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2294 in the same directory as FILENAME.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2295
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2296 This means that collision detection between two different machines now
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2297 works reasonably well; it also means that no file server or directory
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2298 can become a bottleneck.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2299
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2300 The new method does have drawbacks. It means that collision detection
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2301 does not operate when you edit a file in a directory where you cannot
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2302 create new files. Collision detection also doesn't operate when the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2303 file server does not support symbolic links. But these conditions are
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2304 rare, and the ability to have collision detection while using NFS is
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2305 so useful that the change is worth while.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2306
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2307 When Emacs or a system crashes, this may leave behind lock files which
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2308 are stale. So you may occasionally get warnings about spurious
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2309 collisions. When you determine that the collision is spurious, just
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2310 tell Emacs to go ahead anyway.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2311
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2312 ** If you wish to use Show Paren mode to display matching parentheses,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2313 it is no longer sufficient to load paren.el. Instead you must call
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2314 show-paren-mode.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2315
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2316 ** If you wish to use Delete Selection mode to replace a highlighted
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2317 selection when you insert new text, it is no longer sufficient to load
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2318 delsel.el. Instead you must call the function delete-selection-mode.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2319
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2320 ** If you wish to use Partial Completion mode to complete partial words
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2321 within symbols or filenames, it is no longer sufficient to load
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2322 complete.el. Instead you must call the function partial-completion-mode.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2323
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2324 ** If you wish to use uniquify to rename buffers for you,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2325 it is no longer sufficient to load uniquify.el. You must also
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2326 set uniquify-buffer-name-style to one of the non-nil legitimate values.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2327
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2328 ** Changes in View mode.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2329
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2330 *** Several new commands are available in View mode.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2331 Do H in view mode for a list of commands.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2332
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2333 *** There are two new commands for entering View mode:
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2334 view-file-other-frame and view-buffer-other-frame.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2335
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2336 *** Exiting View mode does a better job of restoring windows to their
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2337 previous state.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2338
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2339 *** New customization variable view-scroll-auto-exit. If non-nil,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2340 scrolling past end of buffer makes view mode exit.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2341
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2342 *** New customization variable view-exits-all-viewing-windows. If
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2343 non-nil, view-mode will at exit restore all windows viewing buffer,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2344 not just the selected window.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2345
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2346 *** New customization variable view-read-only. If non-nil, visiting a
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2347 read-only file automatically enters View mode, and toggle-read-only
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2348 turns View mode on or off.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2349
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2350 *** New customization variable view-remove-frame-by-deleting controls
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2351 how to remove a not needed frame at view mode exit. If non-nil,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2352 delete the frame, if nil make an icon of it.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2353
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2354 ** C-x v l, the command to print a file's version control log,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2355 now positions point at the entry for the file's current branch version.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2356
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2357 ** C-x v =, the command to compare a file with the last checked-in version,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2358 has a new feature. If the file is currently not locked, so that it is
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2359 presumably identical to the last checked-in version, the command now asks
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2360 which version to compare with.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2361
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2362 ** When using hideshow.el, incremental search can temporarily show hidden
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2363 blocks if a match is inside the block.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2364
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2365 The block is hidden again if the search is continued and the next match
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2366 is outside the block. By customizing the variable
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2367 isearch-hide-immediately you can choose to hide all the temporarily
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2368 shown blocks only when exiting from incremental search.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2369
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2370 By customizing the variable hs-isearch-open you can choose what kind
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2371 of blocks to temporarily show during isearch: comment blocks, code
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2372 blocks, all of them or none.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2373
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2374 ** The new command C-x 4 0 (kill-buffer-and-window) kills the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2375 current buffer and deletes the selected window. It asks for
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2376 confirmation first.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2377
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2378 ** C-x C-w, which saves the buffer into a specified file name,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2379 now changes the major mode according to that file name.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2380 However, the mode will not be changed if
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2381 (1) a local variables list or the `-*-' line specifies a major mode, or
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2382 (2) the current major mode is a "special" mode,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2383 not suitable for ordinary files, or
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2384 (3) the new file name does not particularly specify any mode.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2385
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2386 This applies to M-x set-visited-file-name as well.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2387
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2388 However, if you set change-major-mode-with-file-name to nil, then
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2389 these commands do not change the major mode.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2390
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2391 ** M-x occur changes.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2392
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2393 *** If the argument to M-x occur contains upper case letters,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2394 it performs a case-sensitive search.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2395
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2396 *** In the *Occur* buffer made by M-x occur,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2397 if you type g or M-x revert-buffer, this repeats the search
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2398 using the same regular expression and the same buffer as before.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2399
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2400 ** In Transient Mark mode, the region in any one buffer is highlighted
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2401 in just one window at a time. At first, it is highlighted in the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2402 window where you set the mark. The buffer's highlighting remains in
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2403 that window unless you select to another window which shows the same
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2404 buffer--then the highlighting moves to that window.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2405
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2406 ** The feature to suggest key bindings when you use M-x now operates
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2407 after the command finishes. The message suggesting key bindings
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2408 appears temporarily in the echo area. The previous echo area contents
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2409 come back after a few seconds, in case they contain useful information.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2410
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2411 ** Each frame now independently records the order for recently
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2412 selected buffers, so that the default for C-x b is now based on the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2413 buffers recently selected in the selected frame.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2414
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2415 ** Outline mode changes.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2416
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2417 *** Outline mode now uses overlays (this is the former noutline.el).
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2418
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2419 *** Incremental searches skip over invisible text in Outline mode.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2420
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2421 ** When a minibuffer window is active but not the selected window, if
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2422 you try to use the minibuffer, you used to get a nested minibuffer.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2423 Now, this not only gives an error, it also cancels the minibuffer that
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2424 was already active.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2425
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2426 The motive for this change is so that beginning users do not
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2427 unknowingly move away from minibuffers, leaving them active, and then
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2428 get confused by it.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2429
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2430 If you want to be able to have recursive minibuffers, you must
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2431 set enable-recursive-minibuffers to non-nil.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2432
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2433 ** Changes in dynamic abbrevs.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2434
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2435 *** Expanding dynamic abbrevs with M-/ is now smarter about case
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2436 conversion. If the expansion has mixed case not counting the first
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2437 character, and the abbreviation matches the beginning of the expansion
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2438 including case, then the expansion is copied verbatim.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2439
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2440 The expansion is also copied verbatim if the abbreviation itself has
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2441 mixed case. And using SPC M-/ to copy an additional word always
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2442 copies it verbatim except when the previous copied word is all caps.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2443
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2444 *** The values of `dabbrev-case-replace' and `dabbrev-case-fold-search'
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2445 are no longer Lisp expressions. They have simply three possible
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2446 values.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2447
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2448 `dabbrev-case-replace' has these three values: nil (don't preserve
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2449 case), t (do), or `case-replace' (do like M-x query-replace).
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2450 `dabbrev-case-fold-search' has these three values: nil (don't ignore
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2451 case), t (do), or `case-fold-search' (do like search).
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2452
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2453 ** Minibuffer history lists are truncated automatically now to a
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2454 certain length. The variable history-length specifies how long they
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2455 can be. The default value is 30.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2456
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2457 ** Changes in Mail mode.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2458
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2459 *** The key C-x m no longer runs the `mail' command directly.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2460 Instead, it runs the command `compose-mail', which invokes the mail
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2461 composition mechanism you have selected with the variable
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2462 `mail-user-agent'. The default choice of user agent is
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2463 `sendmail-user-agent', which gives behavior compatible with the old
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2464 behavior.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2465
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2466 C-x 4 m now runs compose-mail-other-window, and C-x 5 m runs
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2467 compose-mail-other-frame.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2468
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2469 *** While composing a reply to a mail message, from Rmail, you can use
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2470 the command C-c C-r to cite just the region from the message you are
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2471 replying to. This copies the text which is the selected region in the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2472 buffer that shows the original message.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2473
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2474 *** The command C-c C-i inserts a file at the end of the message,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2475 with separator lines around the contents.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2476
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2477 *** The command M-x expand-mail-aliases expands all mail aliases
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2478 in suitable mail headers. Emacs automatically extracts mail alias
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2479 definitions from your mail alias file (e.g., ~/.mailrc). You do not
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2480 need to expand mail aliases yourself before sending mail.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2481
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2482 *** New features in the mail-complete command.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2483
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2484 **** The mail-complete command now inserts the user's full name,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2485 for local users or if that is known. The variable mail-complete-style
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2486 controls the style to use, and whether to do this at all.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2487 Its values are like those of mail-from-style.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2488
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2489 **** The variable mail-passwd-command lets you specify a shell command
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2490 to run to fetch a set of password-entries that add to the ones in
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2491 /etc/passwd.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2492
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2493 **** The variable mail-passwd-file now specifies a list of files to read
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2494 to get the list of user ids. By default, one file is used:
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2495 /etc/passwd.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2496
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2497 ** You can "quote" a file name to inhibit special significance of
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2498 special syntax, by adding `/:' to the beginning. Thus, if you have a
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2499 directory named `/foo:', you can prevent it from being treated as a
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2500 reference to a remote host named `foo' by writing it as `/:/foo:'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2501
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2502 Emacs uses this new construct automatically when necessary, such as
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2503 when you start it with a working directory whose name might otherwise
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2504 be taken to be magic.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2505
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2506 ** There is a new command M-x grep-find which uses find to select
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2507 files to search through, and grep to scan them. The output is
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2508 available in a Compile mode buffer, as with M-x grep.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2509
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2510 M-x grep now uses the -e option if the grep program supports that.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2511 (-e prevents problems if the search pattern starts with a dash.)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2512
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2513 ** In Dired, the & command now flags for deletion the files whose names
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2514 suggest they are probably not needed in the long run.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2515
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2516 In Dired, * is now a prefix key for mark-related commands.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2517
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2518 new key dired.el binding old key
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2519 ------- ---------------- -------
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2520 * c dired-change-marks c
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2521 * m dired-mark m
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2522 * * dired-mark-executables * (binding deleted)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2523 * / dired-mark-directories / (binding deleted)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2524 * @ dired-mark-symlinks @ (binding deleted)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2525 * u dired-unmark u
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2526 * DEL dired-unmark-backward DEL
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2527 * ? dired-unmark-all-files C-M-?
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2528 * ! dired-unmark-all-marks
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2529 * % dired-mark-files-regexp % m
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2530 * C-n dired-next-marked-file M-}
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2531 * C-p dired-prev-marked-file M-{
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2532
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2533 ** Rmail changes.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2534
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2535 *** When Rmail cannot convert your incoming mail into Babyl format, it
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2536 saves the new mail in the file RMAILOSE.n, where n is an integer
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2537 chosen to make a unique name. This way, Rmail will not keep crashing
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2538 each time you run it.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2539
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2540 *** In Rmail, the variable rmail-summary-line-count-flag now controls
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2541 whether to include the line count in the summary. Non-nil means yes.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2542
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2543 *** In Rmail summary buffers, d and C-d (the commands to delete
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2544 messages) now take repeat counts as arguments. A negative argument
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2545 means to move in the opposite direction.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2546
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2547 *** In Rmail, the t command now takes an optional argument which lets
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2548 you specify whether to show the message headers in full or pruned.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2549
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2550 *** In Rmail, the new command w (rmail-output-body-to-file) writes
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2551 just the body of the current message into a file, without the headers.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2552 It takes the file name from the message subject, by default, but you
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2553 can edit that file name in the minibuffer before it is actually used
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2554 for output.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2555
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2556 ** Gnus changes.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2557
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2558 *** nntp.el has been totally rewritten in an asynchronous fashion.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2559
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2560 *** Article prefetching functionality has been moved up into
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2561 Gnus.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2562
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2563 *** Scoring can now be performed with logical operators like
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2564 `and', `or', `not', and parent redirection.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2565
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2566 *** Article washing status can be displayed in the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2567 article mode line.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2568
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2569 *** gnus.el has been split into many smaller files.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2570
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2571 *** Suppression of duplicate articles based on Message-ID.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2572
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2573 (setq gnus-suppress-duplicates t)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2574
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2575 *** New variables for specifying what score and adapt files
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2576 are to be considered home score and adapt files. See
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2577 `gnus-home-score-file' and `gnus-home-adapt-files'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2578
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2579 *** Groups can inherit group parameters from parent topics.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2580
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2581 *** Article editing has been revamped and is now usable.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2582
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2583 *** Signatures can be recognized in more intelligent fashions.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2584 See `gnus-signature-separator' and `gnus-signature-limit'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2585
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2586 *** Summary pick mode has been made to look more nn-like.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2587 Line numbers are displayed and the `.' command can be
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2588 used to pick articles.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2589
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2590 *** Commands for moving the .newsrc.eld from one server to
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2591 another have been added.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2592
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2593 `M-x gnus-change-server'
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2594
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2595 *** A way to specify that "uninteresting" fields be suppressed when
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2596 generating lines in buffers.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2597
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2598 *** Several commands in the group buffer can be undone with
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2599 `C-M-_'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2600
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2601 *** Scoring can be done on words using the new score type `w'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2602
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2603 *** Adaptive scoring can be done on a Subject word-by-word basis:
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2604
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2605 (setq gnus-use-adaptive-scoring '(word))
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2606
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2607 *** Scores can be decayed.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2608
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2609 (setq gnus-decay-scores t)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2610
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2611 *** Scoring can be performed using a regexp on the Date header. The
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2612 Date is normalized to compact ISO 8601 format first.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2613
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2614 *** A new command has been added to remove all data on articles from
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2615 the native server.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2616
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2617 `M-x gnus-group-clear-data-on-native-groups'
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2618
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2619 *** A new command for reading collections of documents
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2620 (nndoc with nnvirtual on top) has been added -- `C-M-d'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2621
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2622 *** Process mark sets can be pushed and popped.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2623
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2624 *** A new mail-to-news backend makes it possible to post
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2625 even when the NNTP server doesn't allow posting.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2626
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2627 *** A new backend for reading searches from Web search engines
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2628 (DejaNews, Alta Vista, InReference) has been added.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2629
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2630 Use the `G w' command in the group buffer to create such
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2631 a group.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2632
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2633 *** Groups inside topics can now be sorted using the standard
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2634 sorting functions, and each topic can be sorted independently.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2635
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2636 See the commands under the `T S' submap.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2637
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2638 *** Subsets of the groups can be sorted independently.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2639
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2640 See the commands under the `G P' submap.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2641
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2642 *** Cached articles can be pulled into the groups.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2643
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2644 Use the `Y c' command.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2645
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2646 *** Score files are now applied in a more reliable order.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2647
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2648 *** Reports on where mail messages end up can be generated.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2649
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2650 `M-x nnmail-split-history'
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2651
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2652 *** More hooks and functions have been added to remove junk
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2653 from incoming mail before saving the mail.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2654
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2655 See `nnmail-prepare-incoming-header-hook'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2656
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2657 *** The nnml mail backend now understands compressed article files.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2658
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2659 *** To enable Gnus to read/post multi-lingual articles, you must execute
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2660 the following code, for instance, in your .emacs.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2661
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2662 (add-hook 'gnus-startup-hook 'gnus-mule-initialize)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2663
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2664 Then, when you start Gnus, it will decode non-ASCII text automatically
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2665 and show appropriate characters. (Note: if you are using gnus-mime
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2666 from the SEMI package, formerly known as TM, you should NOT add this
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2667 hook to gnus-startup-hook; gnus-mime has its own method of handling
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2668 this issue.)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2669
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2670 Since it is impossible to distinguish all coding systems
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2671 automatically, you may need to specify a choice of coding system for a
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2672 particular news group. This can be done by:
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2673
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2674 (gnus-mule-add-group NEWSGROUP 'CODING-SYSTEM)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2675
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2676 Here NEWSGROUP should be a string which names a newsgroup or a tree
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2677 of newsgroups. If NEWSGROUP is "XXX.YYY", all news groups under
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2678 "XXX.YYY" (including "XXX.YYY.ZZZ") will use the specified coding
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2679 system. CODING-SYSTEM specifies which coding system to use (for both
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2680 for reading and posting).
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2681
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2682 CODING-SYSTEM can also be a cons cell of the form
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2683 (READ-CODING-SYSTEM . POST-CODING-SYSTEM)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2684 Then READ-CODING-SYSTEM is used when you read messages from the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2685 newsgroups, while POST-CODING-SYSTEM is used when you post messages
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2686 there.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2687
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2688 Emacs knows the right coding systems for certain newsgroups by
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2689 default. Here are some of these default settings:
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2690
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2691 (gnus-mule-add-group "fj" 'iso-2022-7)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2692 (gnus-mule-add-group "alt.chinese.text" 'hz-gb-2312)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2693 (gnus-mule-add-group "alt.hk" 'hz-gb-2312)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2694 (gnus-mule-add-group "alt.chinese.text.big5" 'cn-big5)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2695 (gnus-mule-add-group "soc.culture.vietnamese" '(nil . viqr))
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2696
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2697 When you reply by mail to an article, these settings are ignored;
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2698 the mail is encoded according to sendmail-coding-system, as usual.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2699
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2700 ** CC mode changes.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2701
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2702 *** If you edit primarily one style of C (or C++, Objective-C, Java)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2703 code, you may want to make the CC Mode style variables have global
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2704 values so that you can set them directly in your .emacs file. To do
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2705 this, set c-style-variables-are-local-p to nil in your .emacs file.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2706 Note that this only takes effect if you do it *before* cc-mode.el is
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2707 loaded.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2708
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2709 If you typically edit more than one style of C (or C++, Objective-C,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2710 Java) code in a single Emacs session, you may want to make the CC Mode
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2711 style variables have buffer local values. By default, all buffers
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2712 share the same style variable settings; to make them buffer local, set
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2713 c-style-variables-are-local-p to t in your .emacs file. Note that you
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2714 must do this *before* CC Mode is loaded.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2715
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2716 *** The new variable c-indentation-style holds the C style name
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2717 of the current buffer.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2718
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2719 *** The variable c-block-comments-indent-p has been deleted, because
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2720 it is no longer necessary. C mode now handles all the supported styles
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2721 of block comments, with no need to say which one you will use.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2722
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2723 *** There is a new indentation style "python", which specifies the C
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2724 style that the Python developers like.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2725
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2726 *** There is a new c-cleanup-list option: brace-elseif-brace.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2727 This says to put ...} else if (...) {... on one line,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2728 just as brace-else-brace says to put ...} else {... on one line.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2729
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2730 ** VC Changes [new]
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2731
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2732 *** In vc-retrieve-snapshot (C-x v r), if you don't specify a snapshot
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2733 name, it retrieves the *latest* versions of all files in the current
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2734 directory and its subdirectories (aside from files already locked).
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2735
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2736 This feature is useful if your RCS directory is a link to a common
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2737 master directory, and you want to pick up changes made by other
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2738 developers.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2739
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2740 You can do the same thing for an individual file by typing C-u C-x C-q
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2741 RET in a buffer visiting that file.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2742
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2743 *** VC can now handle files under CVS that are being "watched" by
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2744 other developers. Such files are made read-only by CVS. To get a
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2745 writable copy, type C-x C-q in a buffer visiting such a file. VC then
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2746 calls "cvs edit", which notifies the other developers of it.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2747
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2748 *** vc-version-diff (C-u C-x v =) now suggests reasonable defaults for
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2749 version numbers, based on the current state of the file.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2750
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2751 ** Calendar changes.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2752
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2753 *** A new function, list-holidays, allows you list holidays or
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2754 subclasses of holidays for ranges of years. Related menu items allow
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2755 you do this for the year of the selected date, or the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2756 following/previous years.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2757
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2758 *** There is now support for the Baha'i calendar system. Use `pb' in
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2759 the *Calendar* buffer to display the current Baha'i date. The Baha'i
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2760 calendar, or "Badi calendar" is a system of 19 months with 19 days
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2761 each, and 4 intercalary days (5 during a Gregorian leap year). The
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2762 calendar begins May 23, 1844, with each of the months named after a
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2763 supposed attribute of God.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2764
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2765 ** ps-print changes
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2766
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2767 There are some new user variables and subgroups for customizing the page
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2768 layout.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2769
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2770 *** Headers & Footers (subgroup)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2771
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2772 Some printer systems print a header page and force the first page to
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2773 be printed on the back of the header page when using duplex. If your
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2774 printer system has this behavior, set variable
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2775 `ps-banner-page-when-duplexing' to t.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2776
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2777 If variable `ps-banner-page-when-duplexing' is non-nil, it prints a
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2778 blank page as the very first printed page. So, it behaves as if the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2779 very first character of buffer (or region) were a form feed ^L (\014).
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2780
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2781 The variable `ps-spool-config' specifies who is responsible for
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2782 setting duplex mode and page size. Valid values are:
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2783
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2784 lpr-switches duplex and page size are configured by `ps-lpr-switches'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2785 Don't forget to set `ps-lpr-switches' to select duplex
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2786 printing for your printer.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2787
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2788 setpagedevice duplex and page size are configured by ps-print using the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2789 setpagedevice PostScript operator.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2790
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2791 nil duplex and page size are configured by ps-print *not* using
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2792 the setpagedevice PostScript operator.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2793
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2794 The variable `ps-spool-tumble' specifies how the page images on
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2795 opposite sides of a sheet are oriented with respect to each other. If
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2796 `ps-spool-tumble' is nil, ps-print produces output suitable for
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2797 bindings on the left or right. If `ps-spool-tumble' is non-nil,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2798 ps-print produces output suitable for bindings at the top or bottom.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2799 This variable takes effect only if `ps-spool-duplex' is non-nil.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2800 The default value is nil.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2801
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2802 The variable `ps-header-frame-alist' specifies a header frame
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2803 properties alist. Valid frame properties are:
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2804
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2805 fore-color Specify the foreground frame color.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2806 Value should be a float number between 0.0 (black
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2807 color) and 1.0 (white color), or a string which is a
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2808 color name, or a list of 3 float numbers which
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2809 correspond to the Red Green Blue color scale, each
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2810 float number between 0.0 (dark color) and 1.0 (bright
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2811 color). The default is 0 ("black").
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2812
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2813 back-color Specify the background frame color (similar to fore-color).
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2814 The default is 0.9 ("gray90").
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2815
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2816 shadow-color Specify the shadow color (similar to fore-color).
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2817 The default is 0 ("black").
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2818
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2819 border-color Specify the border color (similar to fore-color).
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2820 The default is 0 ("black").
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2821
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2822 border-width Specify the border width.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2823 The default is 0.4.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2824
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2825 Any other property is ignored.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2826
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2827 Don't change this alist directly; instead use Custom, or the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2828 `ps-value', `ps-get', `ps-put' and `ps-del' functions (see there for
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2829 documentation).
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2830
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2831 Ps-print can also print footers. The footer variables are:
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2832 `ps-print-footer', `ps-footer-offset', `ps-print-footer-frame',
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2833 `ps-footer-font-family', `ps-footer-font-size', `ps-footer-line-pad',
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2834 `ps-footer-lines', `ps-left-footer', `ps-right-footer' and
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2835 `ps-footer-frame-alist'. These variables are similar to those
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2836 controlling headers.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2837
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2838 *** Color management (subgroup)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2839
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2840 If `ps-print-color-p' is non-nil, the buffer's text will be printed in
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2841 color.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2842
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2843 *** Face Management (subgroup)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2844
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2845 If you need to print without worrying about face background colors,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2846 set the variable `ps-use-face-background' which specifies if face
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2847 background should be used. Valid values are:
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2848
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2849 t always use face background color.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2850 nil never use face background color.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2851 (face...) list of faces whose background color will be used.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2852
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2853 *** N-up printing (subgroup)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2854
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2855 The variable `ps-n-up-printing' specifies the number of pages per
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2856 sheet of paper.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2857
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2858 The variable `ps-n-up-margin' specifies the margin in points (pt)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2859 between the sheet border and the n-up printing.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2860
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2861 If variable `ps-n-up-border-p' is non-nil, a border is drawn around
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2862 each page.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2863
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2864 The variable `ps-n-up-filling' specifies how the page matrix is filled
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2865 on each sheet of paper. Following are the valid values for
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2866 `ps-n-up-filling' with a filling example using a 3x4 page matrix:
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2867
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2868 `left-top' 1 2 3 4 `left-bottom' 9 10 11 12
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2869 5 6 7 8 5 6 7 8
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2870 9 10 11 12 1 2 3 4
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2871
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2872 `right-top' 4 3 2 1 `right-bottom' 12 11 10 9
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2873 8 7 6 5 8 7 6 5
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2874 12 11 10 9 4 3 2 1
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2875
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2876 `top-left' 1 4 7 10 `bottom-left' 3 6 9 12
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2877 2 5 8 11 2 5 8 11
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2878 3 6 9 12 1 4 7 10
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2879
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2880 `top-right' 10 7 4 1 `bottom-right' 12 9 6 3
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2881 11 8 5 2 11 8 5 2
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2882 12 9 6 3 10 7 4 1
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2883
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2884 Any other value is treated as `left-top'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2885
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2886 *** Zebra stripes (subgroup)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2887
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2888 The variable `ps-zebra-color' controls the zebra stripes grayscale or
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2889 RGB color.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2890
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2891 The variable `ps-zebra-stripe-follow' specifies how zebra stripes
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2892 continue on next page. Visually, valid values are (the character `+'
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2893 to the right of each column indicates that a line is printed):
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2894
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2895 `nil' `follow' `full' `full-follow'
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2896 Current Page -------- ----------- --------- ----------------
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2897 1 XXXXX + 1 XXXXXXXX + 1 XXXXXX + 1 XXXXXXXXXXXXX +
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2898 2 XXXXX + 2 XXXXXXXX + 2 XXXXXX + 2 XXXXXXXXXXXXX +
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2899 3 XXXXX + 3 XXXXXXXX + 3 XXXXXX + 3 XXXXXXXXXXXXX +
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2900 4 + 4 + 4 + 4 +
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2901 5 + 5 + 5 + 5 +
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2902 6 + 6 + 6 + 6 +
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2903 7 XXXXX + 7 XXXXXXXX + 7 XXXXXX + 7 XXXXXXXXXXXXX +
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2904 8 XXXXX + 8 XXXXXXXX + 8 XXXXXX + 8 XXXXXXXXXXXXX +
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2905 9 XXXXX + 9 XXXXXXXX + 9 XXXXXX + 9 XXXXXXXXXXXXX +
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2906 10 + 10 +
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2907 11 + 11 +
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2908 -------- ----------- --------- ----------------
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2909 Next Page -------- ----------- --------- ----------------
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2910 12 XXXXX + 12 + 10 XXXXXX + 10 +
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2911 13 XXXXX + 13 XXXXXXXX + 11 XXXXXX + 11 +
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2912 14 XXXXX + 14 XXXXXXXX + 12 XXXXXX + 12 +
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2913 15 + 15 XXXXXXXX + 13 + 13 XXXXXXXXXXXXX +
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2914 16 + 16 + 14 + 14 XXXXXXXXXXXXX +
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2915 17 + 17 + 15 + 15 XXXXXXXXXXXXX +
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2916 18 XXXXX + 18 + 16 XXXXXX + 16 +
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2917 19 XXXXX + 19 XXXXXXXX + 17 XXXXXX + 17 +
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2918 20 XXXXX + 20 XXXXXXXX + 18 XXXXXX + 18 +
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2919 21 + 21 XXXXXXXX +
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2920 22 + 22 +
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2921 -------- ----------- --------- ----------------
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2922
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2923 Any other value is treated as `nil'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2924
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2925
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2926 *** Printer management (subgroup)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2927
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2928 The variable `ps-printer-name-option' determines the option used by
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2929 some utilities to indicate the printer name; it's used only when
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2930 `ps-printer-name' is a non-empty string. If you're using the lpr
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2931 utility to print, for example, `ps-printer-name-option' should be set
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2932 to "-P".
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2933
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2934 The variable `ps-manual-feed' indicates if the printer requires manual
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2935 paper feeding. If it's nil, automatic feeding takes place. If it's
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2936 non-nil, manual feeding takes place.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2937
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2938 The variable `ps-end-with-control-d' specifies whether C-d (\x04)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2939 should be inserted at end of the generated PostScript. Non-nil means
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2940 do so.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2941
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2942 *** Page settings (subgroup)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2943
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2944 If variable `ps-warn-paper-type' is nil, it's *not* treated as an
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2945 error if the PostScript printer doesn't have a paper with the size
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2946 indicated by `ps-paper-type'; the default paper size will be used
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2947 instead. If `ps-warn-paper-type' is non-nil, an error is signaled if
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2948 the PostScript printer doesn't support a paper with the size indicated
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2949 by `ps-paper-type'. This is used when `ps-spool-config' is set to
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2950 `setpagedevice'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2951
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2952 The variable `ps-print-upside-down' determines the orientation for
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2953 printing pages: nil means `normal' printing, non-nil means
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2954 `upside-down' printing (that is, the page is rotated by 180 degrees).
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2955
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2956 The variable `ps-selected-pages' specifies which pages to print. If
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2957 it's nil, all pages are printed. If it's a list, list elements may be
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2958 integers specifying a single page to print, or cons cells (FROM . TO)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2959 specifying to print from page FROM to TO. Invalid list elements, that
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2960 is integers smaller than one, or elements whose FROM is greater than
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2961 its TO, are ignored.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2962
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2963 The variable `ps-even-or-odd-pages' specifies how to print even/odd
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2964 pages. Valid values are:
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2965
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2966 nil print all pages.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2967
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2968 `even-page' print only even pages.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2969
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2970 `odd-page' print only odd pages.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2971
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2972 `even-sheet' print only even sheets.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2973 That is, if `ps-n-up-printing' is 1, it behaves like
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2974 `even-page', but for values greater than 1, it'll
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2975 print only the even sheet of paper.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2976
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2977 `odd-sheet' print only odd sheets.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2978 That is, if `ps-n-up-printing' is 1, it behaves like
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2979 `odd-page'; but for values greater than 1, it'll print
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2980 only the odd sheet of paper.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2981
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2982 Any other value is treated as nil.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2983
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2984 If you set `ps-selected-pages' (see there for documentation), pages
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2985 are filtered by `ps-selected-pages', and then by
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2986 `ps-even-or-odd-pages'. For example, if we have:
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2987
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2988 (setq ps-selected-pages '(1 4 (6 . 10) (12 . 16) 20))
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2989
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2990 and we combine this with `ps-even-or-odd-pages' and
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2991 `ps-n-up-printing', we get:
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2992
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2993 `ps-n-up-printing' = 1:
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2994 `ps-even-or-odd-pages' PAGES PRINTED
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2995 nil 1, 4, 6, 7, 8, 9, 10, 12, 13, 14, 15, 16, 20
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2996 even-page 4, 6, 8, 10, 12, 14, 16, 20
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2997 odd-page 1, 7, 9, 13, 15
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2998 even-sheet 4, 6, 8, 10, 12, 14, 16, 20
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2999 odd-sheet 1, 7, 9, 13, 15
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3000
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3001 `ps-n-up-printing' = 2:
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3002 `ps-even-or-odd-pages' PAGES PRINTED
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3003 nil 1/4, 6/7, 8/9, 10/12, 13/14, 15/16, 20
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3004 even-page 4/6, 8/10, 12/14, 16/20
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3005 odd-page 1/7, 9/13, 15
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3006 even-sheet 6/7, 10/12, 15/16
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3007 odd-sheet 1/4, 8/9, 13/14, 20
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3008
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3009 *** Miscellany (subgroup)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3010
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3011 The variable `ps-error-handler-message' specifies where error handler
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3012 messages should be sent.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3013
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3014 It is also possible to add a user-defined PostScript prologue code in
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3015 front of all generated prologue code by setting the variable
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3016 `ps-user-defined-prologue'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3017
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3018 The variable `ps-line-number-font' specifies the font for line numbers.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3019
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3020 The variable `ps-line-number-font-size' specifies the font size in
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3021 points for line numbers.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3022
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3023 The variable `ps-line-number-color' specifies the color for line
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3024 numbers. See `ps-zebra-color' for documentation.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3025
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3026 The variable `ps-line-number-step' specifies the interval in which
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3027 line numbers are printed. For example, if `ps-line-number-step' is set
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3028 to 2, the printing will look like:
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3029
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3030 1 one line
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3031 one line
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3032 3 one line
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3033 one line
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3034 5 one line
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3035 one line
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3036 ...
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3037
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3038 Valid values are:
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3039
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3040 integer an integer specifying the interval in which line numbers are
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3041 printed. If it's smaller than or equal to zero, 1
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3042 is used.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3043
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3044 `zebra' specifies that only the line number of the first line in a
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3045 zebra stripe is to be printed.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3046
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3047 Any other value is treated as `zebra'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3048
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3049 The variable `ps-line-number-start' specifies the starting point in
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3050 the interval given by `ps-line-number-step'. For example, if
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3051 `ps-line-number-step' is set to 3, and `ps-line-number-start' is set to
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3052 3, the output will look like:
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3053
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3054 one line
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3055 one line
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3056 3 one line
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3057 one line
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3058 one line
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3059 6 one line
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3060 one line
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3061 one line
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3062 9 one line
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3063 one line
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3064 ...
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3065
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3066 The variable `ps-postscript-code-directory' specifies the directory
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3067 where the PostScript prologue file used by ps-print is found.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3068
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3069 The variable `ps-line-spacing' determines the line spacing in points,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3070 for ordinary text, when generating PostScript (similar to
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3071 `ps-font-size').
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3072
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3073 The variable `ps-paragraph-spacing' determines the paragraph spacing,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3074 in points, for ordinary text, when generating PostScript (similar to
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3075 `ps-font-size').
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3076
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3077 The variable `ps-paragraph-regexp' specifies the paragraph delimiter.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3078
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3079 The variable `ps-begin-cut-regexp' and `ps-end-cut-regexp' specify the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3080 start and end of a region to cut out when printing.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3081
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3082 ** hideshow changes.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3083
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3084 *** now supports hiding of blocks of single line comments (like // for
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3085 C++, ; for lisp).
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3086
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3087 *** Support for java-mode added.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3088
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3089 *** When doing `hs-hide-all' it is now possible to also hide the comments
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3090 in the file if `hs-hide-comments-when-hiding-all' is set.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3091
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3092 *** The new function `hs-hide-initial-comment' hides the comments at
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3093 the beginning of the files. Finally those huge RCS logs don't stay in your
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3094 way! This is run by default when entering the `hs-minor-mode'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3095
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3096 *** Now uses overlays instead of `selective-display', so is more
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3097 robust and a lot faster.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3098
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3099 *** A block beginning can span multiple lines.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3100
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3101 *** The new variable `hs-show-hidden-short-form' if t, directs hideshow
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3102 to show only the beginning of a block when it is hidden. See the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3103 documentation for more details.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3104
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3105 ** Changes in Enriched mode.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3106
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3107 *** When you visit a file in enriched-mode, Emacs will make sure it is
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3108 filled to the current fill-column. This behavior is now independent
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3109 of the size of the window. When you save the file, the fill-column in
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3110 use is stored as well, so that the whole buffer need not be refilled
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3111 the next time unless the fill-column is different.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3112
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3113 *** use-hard-newlines is now a minor mode. When it is enabled, Emacs
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3114 distinguishes between hard and soft newlines, and treats hard newlines
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3115 as paragraph boundaries. Otherwise all newlines inserted are marked
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3116 as soft, and paragraph boundaries are determined solely from the text.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3117
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3118 ** Font Lock mode
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3119
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3120 *** Custom support
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3121
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3122 The variables font-lock-face-attributes, font-lock-display-type and
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3123 font-lock-background-mode are now obsolete; the recommended way to specify
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3124 the faces to use for Font Lock mode is with M-x customize-group on the new
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3125 custom group font-lock-faces. If you set font-lock-face-attributes in your
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3126 ~/.emacs file, Font Lock mode will respect its value. However, you should
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3127 consider converting from setting that variable to using M-x customize.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3128
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3129 You can still use X resources to specify Font Lock face appearances.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3130
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3131 *** Maximum decoration
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3132
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3133 Fontification now uses the maximum level of decoration supported by
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3134 default. Previously, fontification used a mode-specific default level
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3135 of decoration, which is typically the minimum level of decoration
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3136 supported. You can set font-lock-maximum-decoration to nil
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3137 to get the old behavior.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3138
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3139 *** New support
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3140
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3141 Support is now provided for Java, Objective-C, AWK and SIMULA modes.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3142
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3143 Note that Font Lock mode can be turned on without knowing exactly what modes
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3144 support Font Lock mode, via the command global-font-lock-mode.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3145
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3146 *** Configurable support
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3147
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3148 Support for C, C++, Objective-C and Java can be more easily configured for
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3149 additional types and classes via the new variables c-font-lock-extra-types,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3150 c++-font-lock-extra-types, objc-font-lock-extra-types and, you guessed it,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3151 java-font-lock-extra-types. These value of each of these variables should be a
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3152 list of regexps matching the extra type names. For example, the default value
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3153 of c-font-lock-extra-types is ("\\sw+_t") which means fontification follows the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3154 convention that C type names end in _t. This results in slower fontification.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3155
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3156 Of course, you can change the variables that specify fontification in whatever
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3157 way you wish, typically by adding regexps. However, these new variables make
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3158 it easier to make specific and common changes for the fontification of types.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3159
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3160 *** Adding highlighting patterns to existing support
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3161
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3162 You can use the new function font-lock-add-keywords to add your own
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3163 highlighting patterns, such as for project-local or user-specific constructs,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3164 for any mode.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3165
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3166 For example, to highlight `FIXME:' words in C comments, put:
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3167
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3168 (font-lock-add-keywords 'c-mode '(("\\<FIXME:" 0 font-lock-warning-face t)))
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3169
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3170 in your ~/.emacs.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3171
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3172 *** New faces
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3173
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3174 Font Lock now defines two new faces, font-lock-builtin-face and
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3175 font-lock-warning-face. These are intended to highlight builtin keywords,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3176 distinct from a language's normal keywords, and objects that should be brought
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3177 to user attention, respectively. Various modes now use these new faces.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3178
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3179 *** Changes to fast-lock support mode
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3180
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3181 The fast-lock package, one of the two Font Lock support modes, can now process
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3182 cache files silently. You can use the new variable fast-lock-verbose, in the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3183 same way as font-lock-verbose, to control this feature.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3184
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3185 *** Changes to lazy-lock support mode
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3186
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3187 The lazy-lock package, one of the two Font Lock support modes, can now fontify
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3188 according to the true syntactic context relative to other lines. You can use
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3189 the new variable lazy-lock-defer-contextually to control this feature. If
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3190 non-nil, changes to the buffer will cause subsequent lines in the buffer to be
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3191 refontified after lazy-lock-defer-time seconds of idle time. If nil, then only
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3192 the modified lines will be refontified; this is the same as the previous Lazy
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3193 Lock mode behavior and the behavior of Font Lock mode.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3194
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3195 This feature is useful in modes where strings or comments can span lines.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3196 For example, if a string or comment terminating character is deleted, then if
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3197 this feature is enabled subsequent lines in the buffer will be correctly
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3198 refontified to reflect their new syntactic context. Previously, only the line
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3199 containing the deleted character would be refontified and you would have to use
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3200 the command M-o M-o (font-lock-fontify-block) to refontify some lines.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3201
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3202 As a consequence of this new feature, two other variables have changed:
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3203
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3204 Variable `lazy-lock-defer-driven' is renamed `lazy-lock-defer-on-scrolling'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3205 Variable `lazy-lock-defer-time' can now only be a time, i.e., a number.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3206 Buffer modes for which on-the-fly deferral applies can be specified via the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3207 new variable `lazy-lock-defer-on-the-fly'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3208
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3209 If you set these variables in your ~/.emacs, then you may have to change those
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3210 settings.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3211
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3212 ** Ada mode changes.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3213
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3214 *** There is now better support for using find-file.el with Ada mode.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3215 If you switch between spec and body, the cursor stays in the same
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3216 procedure (modulo overloading). If a spec has no body file yet, but
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3217 you try to switch to its body file, Ada mode now generates procedure
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3218 stubs.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3219
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3220 *** There are two new commands:
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3221 - `ada-make-local' : invokes gnatmake on the current buffer
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3222 - `ada-check-syntax' : check syntax of current buffer.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3223
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3224 The user options `ada-compiler-make', `ada-make-options',
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3225 `ada-language-version', `ada-compiler-syntax-check', and
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3226 `ada-compile-options' are used within these commands.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3227
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3228 *** Ada mode can now work with Outline minor mode. The outline level
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3229 is calculated from the indenting, not from syntactic constructs.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3230 Outlining does not work if your code is not correctly indented.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3231
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3232 *** The new function `ada-gnat-style' converts the buffer to the style of
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3233 formatting used in GNAT. It places two blanks after a comment start,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3234 places one blank between a word end and an opening '(', and puts one
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3235 space between a comma and the beginning of a word.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3236
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3237 ** Scheme mode changes.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3238
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3239 *** Scheme mode indentation now uses many of the facilities of Lisp
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3240 mode; therefore, the variables to customize it are the variables used
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3241 for Lisp mode which have names starting with `lisp-'. The variables
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3242 with names starting with `scheme-' which used to do this no longer
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3243 have any effect.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3244
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3245 If you want to use different indentation for Scheme and Lisp, this is
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3246 still possible, but now you must do it by adding a hook to
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3247 scheme-mode-hook, which could work by setting the `lisp-' indentation
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3248 variables as buffer-local variables.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3249
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3250 *** DSSSL mode is a variant of Scheme mode, for editing DSSSL scripts.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3251 Use M-x dsssl-mode.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3252
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3253 ** Changes to the emacsclient program
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3254
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3255 *** If a socket can't be found, and environment variables LOGNAME or
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3256 USER are set, emacsclient now looks for a socket based on the UID
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3257 associated with the name. That is an emacsclient running as root
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3258 can connect to an Emacs server started by a non-root user.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3259
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3260 *** The emacsclient program now accepts an option --no-wait which tells
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3261 it to return immediately without waiting for you to "finish" the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3262 buffer in Emacs.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3263
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3264 *** The new option --alternate-editor allows to specify an editor to
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3265 use if Emacs is not running. The environment variable
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3266 ALTERNATE_EDITOR can be used for the same effect; the command line
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3267 option takes precedence.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3268
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3269 ** M-x eldoc-mode enables a minor mode in which the echo area
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3270 constantly shows the parameter list for function being called at point
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3271 (in Emacs Lisp and Lisp Interaction modes only).
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3272
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3273 ** C-x n d now runs the new command narrow-to-defun,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3274 which narrows the accessible parts of the buffer to just
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3275 the current defun.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3276
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3277 ** Emacs now handles the `--' argument in the standard way; all
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3278 following arguments are treated as ordinary file names.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3279
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3280 ** On MSDOS and Windows, the bookmark file is now called _emacs.bmk,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3281 and the saved desktop file is now called _emacs.desktop (truncated if
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3282 necessary).
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3283
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3284 ** When you kill a buffer that visits a file,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3285 if there are any registers that save positions in the file,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3286 these register values no longer become completely useless.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3287 If you try to go to such a register with C-x j, then you are
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3288 asked whether to visit the file again. If you say yes,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3289 it visits the file and then goes to the same position.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3290
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3291 ** When you visit a file that changes frequently outside Emacs--for
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3292 example, a log of output from a process that continues to run--it may
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3293 be useful for Emacs to revert the file without querying you whenever
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3294 you visit the file afresh with C-x C-f.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3295
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3296 You can request this behavior for certain files by setting the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3297 variable revert-without-query to a list of regular expressions. If a
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3298 file's name matches any of these regular expressions, find-file and
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3299 revert-buffer revert the buffer without asking for permission--but
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3300 only if you have not edited the buffer text yourself.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3301
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3302 ** set-default-font has been renamed to set-frame-font
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3303 since it applies only to the current frame.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3304
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3305 ** In TeX mode, you can use the variable tex-main-file to specify the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3306 file for tex-file to run TeX on. (By default, tex-main-file is nil,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3307 and tex-file runs TeX on the current visited file.)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3308
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3309 This is useful when you are editing a document that consists of
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3310 multiple files. In each of the included files, you can set up a local
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3311 variable list which specifies the top-level file of your document for
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3312 tex-main-file. Then tex-file will run TeX on the whole document
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3313 instead of just the file you are editing.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3314
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3315 ** RefTeX mode
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3316
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3317 RefTeX mode is a new minor mode with special support for \label, \ref
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3318 and \cite macros in LaTeX documents. RefTeX distinguishes labels of
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3319 different environments (equation, figure, ...) and has full support for
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3320 multifile documents. To use it, select a buffer with a LaTeX document and
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3321 turn the mode on with M-x reftex-mode. Here are the main user commands:
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3322
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3323 C-c ( reftex-label
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3324 Creates a label semi-automatically. RefTeX is context sensitive and
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3325 knows which kind of label is needed.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3326
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3327 C-c ) reftex-reference
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3328 Offers in a menu all labels in the document, along with context of the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3329 label definition. The selected label is referenced as \ref{LABEL}.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3330
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3331 C-c [ reftex-citation
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3332 Prompts for a regular expression and displays a list of matching BibTeX
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3333 database entries. The selected entry is cited with a \cite{KEY} macro.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3334
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3335 C-c & reftex-view-crossref
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3336 Views the cross reference of a \ref or \cite command near point.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3337
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3338 C-c = reftex-toc
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3339 Shows a table of contents of the (multifile) document. From there you
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3340 can quickly jump to every section.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3341
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3342 Under X, RefTeX installs a "Ref" menu in the menu bar, with additional
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3343 commands. Press `?' to get help when a prompt mentions this feature.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3344 Full documentation and customization examples are in the file
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3345 reftex.el. You can use the finder to view the file documentation:
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3346 C-h p --> tex --> reftex.el
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3347
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3348 ** Changes in BibTeX mode.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3349
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3350 *** Info documentation is now available.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3351
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3352 *** Don't allow parentheses in string constants anymore. This confused
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3353 both the BibTeX program and Emacs BibTeX mode.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3354
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3355 *** Renamed variable bibtex-mode-user-optional-fields to
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3356 bibtex-user-optional-fields.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3357
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3358 *** Removed variable bibtex-include-OPTannote
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3359 (use bibtex-user-optional-fields instead).
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3360
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3361 *** New interactive functions to copy and kill fields and complete
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3362 entries to the BibTeX kill ring, from where they can be yanked back by
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3363 appropriate functions.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3364
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3365 *** New interactive functions for repositioning and marking of
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3366 entries. They are bound by default to C-M-l and C-M-h.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3367
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3368 *** New hook bibtex-clean-entry-hook. It is called after entry has
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3369 been cleaned.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3370
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3371 *** New variable bibtex-field-delimiters, which replaces variables
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3372 bibtex-field-{left|right}-delimiter.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3373
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3374 *** New variable bibtex-entry-delimiters to determine how entries
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3375 shall be delimited.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3376
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3377 *** Allow preinitialization of fields. See documentation of
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3378 bibtex-user-optional-fields, bibtex-entry-field-alist, and
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3379 bibtex-include-OPTkey for details.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3380
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3381 *** Book and InBook entries require either an author or an editor
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3382 field. This is now supported by bibtex.el. Alternative fields are
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3383 prefixed with `ALT'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3384
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3385 *** New variable bibtex-entry-format, which replaces variable
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3386 bibtex-clean-entry-zap-empty-opts and allows specification of many
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3387 formatting options performed on cleaning an entry (see variable
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3388 documentation).
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3389
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3390 *** Even more control on how automatic keys are generated. See
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3391 documentation of bibtex-generate-autokey for details. Transcriptions
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3392 for foreign languages other than German are now handled, too.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3393
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3394 *** New boolean user option bibtex-comma-after-last-field to decide if
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3395 comma should be inserted at end of last field.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3396
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3397 *** New boolean user option bibtex-align-at-equal-sign to determine if
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3398 alignment should be made at left side of field contents or at equal
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3399 signs. New user options to control entry layout (e.g. indentation).
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3400
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3401 *** New function bibtex-fill-entry to realign entries.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3402
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3403 *** New function bibtex-reformat to reformat region or buffer.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3404
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3405 *** New function bibtex-convert-alien to convert a BibTeX database
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3406 from alien sources.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3407
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3408 *** New function bibtex-complete-key (similar to bibtex-complete-string)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3409 to complete prefix to a key defined in buffer. Mainly useful in
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3410 crossref entries.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3411
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3412 *** New function bibtex-count-entries to count entries in buffer or
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3413 region.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3414
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3415 *** Added support for imenu.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3416
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3417 *** The function `bibtex-validate' now checks current region instead
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3418 of buffer if mark is active. Now it shows all errors of buffer in a
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3419 `compilation mode' buffer. You can use the normal commands (e.g.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3420 `next-error') for compilation modes to jump to errors.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3421
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3422 *** New variable `bibtex-string-file-path' to determine where the files
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3423 from `bibtex-string-files' are searched.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3424
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3425 ** Iso Accents mode now supports Latin-3 as an alternative.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3426
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3427 ** The command next-error now opens blocks hidden by hideshow.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3428
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3429 ** The function using-unix-filesystems has been replaced by the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3430 functions add-untranslated-filesystem and remove-untranslated-filesystem.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3431 Each of these functions takes the name of a drive letter or directory
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3432 as an argument.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3433
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3434 When a filesystem is added as untranslated, all files on it are read
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3435 and written in binary mode (no cr/lf translation is performed).
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3436
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3437 ** browse-url changes
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3438
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3439 *** New methods for: Grail (browse-url-generic), MMM (browse-url-mmm),
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3440 Lynx in a separate xterm (browse-url-lynx-xterm) or in an Emacs window
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3441 (browse-url-lynx-emacs), remote W3 (browse-url-w3-gnudoit), generic
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3442 non-remote-controlled browsers (browse-url-generic) and associated
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3443 customization variables.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3444
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3445 *** New commands `browse-url-of-region' and `browse-url'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3446
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3447 *** URLs marked up with <URL:...> (RFC1738) work if broken across
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3448 lines. Browsing methods can be associated with URL regexps
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3449 (e.g. mailto: URLs) via `browse-url-browser-function'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3450
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3451 ** Changes in Ediff
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3452
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3453 *** Clicking Mouse-2 on a brief command description in Ediff control panel
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3454 pops up the Info file for this command.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3455
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3456 *** There is now a variable, ediff-autostore-merges, which controls whether
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3457 the result of a merge is saved in a file. By default, this is done only when
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3458 merge is done from a session group (eg, when merging files in two different
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3459 directories).
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3460
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3461 *** Since Emacs 19.31 (this hasn't been announced before), Ediff can compare
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3462 and merge groups of files residing in different directories, or revisions of
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3463 files in the same directory.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3464
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3465 *** Since Emacs 19.31, Ediff can apply multi-file patches interactively.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3466 The patches must be in the context format or GNU unified format. (The bug
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3467 related to the GNU format has now been fixed.)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3468
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3469 ** Changes in Viper
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3470
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3471 *** The startup file is now .viper instead of .vip
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3472 *** All variable/function names have been changed to start with viper-
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3473 instead of vip-.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3474 *** C-\ now simulates the meta-key in all Viper states.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3475 *** C-z in Insert state now escapes to Vi for the duration of the next
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3476 Viper command. In Vi and Insert states, C-z behaves as before.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3477 *** C-c \ escapes to Vi for one command if Viper is in Insert or Emacs states.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3478 *** _ is no longer the meta-key in Vi state.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3479 *** The variable viper-insert-state-cursor-color can be used to change cursor
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3480 color when Viper is in insert state.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3481 *** If search lands the cursor near the top or the bottom of the window,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3482 Viper pulls the window up or down to expose more context. The variable
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3483 viper-adjust-window-after-search controls this behavior.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3484
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3485 ** Etags changes.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3486
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3487 *** In C, C++, Objective C and Java, Etags tags global variables by
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3488 default. The resulting tags files are inflated by 30% on average.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3489 Use --no-globals to turn this feature off. Etags can also tag
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3490 variables which are members of structure-like constructs, but it does
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3491 not by default. Use --members to turn this feature on.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3492
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3493 *** C++ member functions are now recognized as tags.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3494
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3495 *** Java is tagged like C++. In addition, "extends" and "implements"
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3496 constructs are tagged. Files are recognized by the extension .java.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3497
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3498 *** Etags can now handle programs written in Postscript. Files are
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3499 recognized by the extensions .ps and .pdb (Postscript with C syntax).
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3500 In Postscript, tags are lines that start with a slash.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3501
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3502 *** Etags now handles Objective C and Objective C++ code. The usual C and
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3503 C++ tags are recognized in these languages; in addition, etags
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3504 recognizes special Objective C syntax for classes, class categories,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3505 methods and protocols.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3506
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3507 *** Etags also handles Cobol. Files are recognized by the extension
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3508 .cobol. The tagged lines are those containing a word that begins in
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3509 column 8 and ends in a full stop, i.e. anything that could be a
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3510 paragraph name.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3511
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3512 *** Regexps in Etags now support intervals, as in ed or grep. The syntax of
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3513 an interval is \{M,N\}, and it means to match the preceding expression
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3514 at least M times and as many as N times.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3515
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3516 ** The format for specifying a custom format for time-stamp to insert
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3517 in files has changed slightly.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3518
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3519 With the new enhancements to the functionality of format-time-string,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3520 time-stamp-format will change to be eventually compatible with it.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3521 This conversion is being done in two steps to maintain compatibility
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3522 with old time-stamp-format values.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3523
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3524 In the new scheme, alternate case is signified by the number-sign
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3525 (`#') modifier, rather than changing the case of the format character.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3526 This feature is as yet incompletely implemented for compatibility
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3527 reasons.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3528
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3529 In the old time-stamp-format, all numeric fields defaulted to their
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3530 natural width. (With format-time-string, each format has a
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3531 fixed-width default.) In this version, you can specify the colon
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3532 (`:') modifier to a numeric conversion to mean "give me the historical
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3533 time-stamp-format width default." Do not use colon if you are
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3534 specifying an explicit width, as in "%02d".
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3535
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3536 Numbers are no longer truncated to the requested width, except in the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3537 case of "%02y", which continues to give a two-digit year. Digit
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3538 truncation probably wasn't being used for anything else anyway.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3539
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3540 The new formats will work with old versions of Emacs. New formats are
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3541 being recommended now to allow time-stamp-format to change in the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3542 future to be compatible with format-time-string. The new forms being
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3543 recommended now will continue to work then.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3544
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3545 See the documentation string for the variable time-stamp-format for
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3546 details.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3547
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3548 ** There are some additional major modes:
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3549
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3550 dcl-mode, for editing VMS DCL files.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3551 m4-mode, for editing files of m4 input.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3552 meta-mode, for editing MetaFont and MetaPost source files.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3553
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3554 ** In Shell mode, the command shell-copy-environment-variable lets you
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3555 copy the value of a specified environment variable from the subshell
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3556 into Emacs.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3557
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3558 ** New Lisp packages include:
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3559
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3560 *** battery.el displays battery status for laptops.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3561
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3562 *** M-x bruce (named after Lenny Bruce) is a program that might
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3563 be used for adding some indecent words to your email.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3564
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3565 *** M-x crisp-mode enables an emulation for the CRiSP editor.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3566
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3567 *** M-x dirtrack arranges for better tracking of directory changes
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3568 in shell buffers.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3569
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3570 *** The new library elint.el provides for linting of Emacs Lisp code.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3571 See the documentation for `elint-initialize', `elint-current-buffer'
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3572 and `elint-defun'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3573
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3574 *** M-x expand-add-abbrevs defines a special kind of abbrev which is
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3575 meant for programming constructs. These abbrevs expand like ordinary
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3576 ones, when you type SPC, but only at the end of a line and not within
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3577 strings or comments.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3578
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3579 These abbrevs can act as templates: you can define places within an
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3580 abbrev for insertion of additional text. Once you expand the abbrev,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3581 you can then use C-x a p and C-x a n to move back and forth to these
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3582 insertion points. Thus you can conveniently insert additional text
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3583 at these points.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3584
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3585 *** filecache.el remembers the location of files so that you
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3586 can visit them by short forms of their names.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3587
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3588 *** find-func.el lets you find the definition of the user-loaded
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3589 Emacs Lisp function at point.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3590
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3591 *** M-x handwrite converts text to a "handwritten" picture.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3592
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3593 *** M-x iswitchb-buffer is a command for switching to a buffer, much like
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3594 switch-buffer, but it reads the argument in a more helpful way.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3595
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3596 *** M-x landmark implements a neural network for landmark learning.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3597
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3598 *** M-x locate provides a convenient interface to the `locate' program.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3599
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3600 *** M4 mode is a new mode for editing files of m4 input.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3601
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3602 *** mantemp.el creates C++ manual template instantiations
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3603 from the GCC error messages which indicate which instantiations are needed.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3604
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3605 *** mouse-copy.el provides a one-click copy and move feature.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3606 You can drag a region with M-mouse-1, and it is automatically
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3607 inserted at point. M-Shift-mouse-1 deletes the text from its
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3608 original place after inserting the copy.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3609
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3610 *** mouse-drag.el lets you do scrolling by dragging Mouse-2
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3611 on the buffer.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3612
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3613 You click the mouse and move; that distance either translates into the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3614 velocity to scroll (with mouse-drag-throw) or the distance to scroll
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3615 (with mouse-drag-drag). Horizontal scrolling is enabled when needed.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3616
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3617 Enable mouse-drag with:
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3618 (global-set-key [down-mouse-2] 'mouse-drag-throw)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3619 -or-
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3620 (global-set-key [down-mouse-2] 'mouse-drag-drag)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3621
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3622 *** mspools.el is useful for determining which mail folders have
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3623 mail waiting to be read in them. It works with procmail.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3624
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3625 *** Octave mode is a major mode for editing files of input for Octave.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3626 It comes with a facility for communicating with an Octave subprocess.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3627
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3628 *** ogonek
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3629
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3630 The ogonek package provides functions for changing the coding of
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3631 Polish diacritic characters in buffers. Codings known from various
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3632 platforms are supported such as ISO8859-2, Mazovia, IBM Latin2, and
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3633 TeX. For example, you can change the coding from Mazovia to
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3634 ISO8859-2. Another example is a change of coding from ISO8859-2 to
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3635 prefix notation (in which `/a' stands for the aogonek character, for
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3636 instance) and vice versa.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3637
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3638 To use this package load it using
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3639 M-x load-library [enter] ogonek
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3640 Then, you may get an explanation by calling one of
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3641 M-x ogonek-jak -- in Polish
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3642 M-x ogonek-how -- in English
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3643 The info specifies the commands and variables provided as well as the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3644 ways of customization in `.emacs'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3645
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3646 *** Interface to ph.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3647
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3648 Emacs provides a client interface to CCSO Nameservers (ph/qi)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3649
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3650 The CCSO nameserver is used in many universities to provide directory
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3651 services about people. ph.el provides a convenient Emacs interface to
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3652 these servers.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3653
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3654 *** uce.el is useful for replying to unsolicited commercial email.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3655
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3656 *** vcursor.el implements a "virtual cursor" feature.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3657 You can move the virtual cursor with special commands
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3658 while the real cursor does not move.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3659
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3660 *** webjump.el is a "hot list" package which you can set up
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3661 for visiting your favorite web sites.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3662
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3663 *** M-x winner-mode is a minor mode which saves window configurations,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3664 so you can move back to other configurations that you have recently used.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3665
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3666 ** movemail change
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3667
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3668 Movemail no longer needs to be installed setuid root in order for POP
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3669 mail retrieval to function properly. This is because it no longer
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3670 supports the RPOP (reserved-port POP) protocol; instead, it uses the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3671 user's POP password to authenticate to the mail server.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3672
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3673 This change was made earlier, but not reported in NEWS before.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3674
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3675
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3676 * Emacs 20.1 changes for MS-DOS and MS-Windows.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3677
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3678 ** Changes in handling MS-DOS/MS-Windows text files.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3679
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3680 Emacs handles three different conventions for representing
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3681 end-of-line: CRLF for MSDOS, LF for Unix and GNU, and CR (used on the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3682 Macintosh). Emacs determines which convention is used in a specific
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3683 file based on the contents of that file (except for certain special
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3684 file names), and when it saves the file, it uses the same convention.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3685
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3686 To save the file and change the end-of-line convention, you can use
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3687 C-x RET f (set-buffer-file-coding-system) to specify a different
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3688 coding system for the buffer. Then, when you save the file, the newly
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3689 specified coding system will take effect. For example, to save with
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3690 LF, specify undecided-unix (or some other ...-unix coding system); to
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3691 save with CRLF, specify undecided-dos.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3692
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3693
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3694 * Lisp Changes in Emacs 20.1
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3695
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3696 ** Byte-compiled files made with Emacs 20 will, in general, work in
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3697 Emacs 19 as well, as long as the source code runs in Emacs 19. And
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3698 vice versa: byte-compiled files made with Emacs 19 should also run in
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3699 Emacs 20, as long as the program itself works in Emacs 20.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3700
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3701 ** Windows-specific functions and variables have been renamed
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3702 to start with w32- instead of win32-.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3703
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3704 In hacker language, calling something a "win" is a form of praise. We
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3705 don't want to praise a non-free Microsoft system, so we don't call it
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3706 "win".
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3707
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3708 ** Basic Lisp changes
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3709
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3710 *** A symbol whose name starts with a colon now automatically
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3711 evaluates to itself. Therefore such a symbol can be used as a constant.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3712
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3713 *** The defined purpose of `defconst' has been changed. It should now
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3714 be used only for values that should not be changed whether by a program
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3715 or by the user.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3716
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3717 The actual behavior of defconst has not been changed.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3718
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3719 *** There are new macros `when' and `unless'
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3720
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3721 (when CONDITION BODY...) is short for (if CONDITION (progn BODY...))
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3722 (unless CONDITION BODY...) is short for (if CONDITION nil BODY...)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3723
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3724 *** Emacs now defines functions caar, cadr, cdar and cddr with their
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3725 usual Lisp meanings. For example, caar returns the car of the car of
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3726 its argument.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3727
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3728 *** equal, when comparing strings, now ignores their text properties.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3729
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3730 *** The new function `functionp' tests whether an object is a function.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3731
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3732 *** arrayp now returns t for char-tables and bool-vectors.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3733
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3734 *** Certain primitives which use characters (as integers) now get an
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3735 error if the integer is not a valid character code. These primitives
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3736 include insert-char, char-to-string, and the %c construct in the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3737 `format' function.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3738
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3739 *** The `require' function now insists on adding a suffix, either .el
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3740 or .elc, to the file name. Thus, (require 'foo) will not use a file
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3741 whose name is just foo. It insists on foo.el or foo.elc.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3742
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3743 *** The `autoload' function, when the file name does not contain
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3744 either a directory name or the suffix .el or .elc, insists on
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3745 adding one of these suffixes.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3746
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3747 *** string-to-number now takes an optional second argument BASE
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3748 which specifies the base to use when converting an integer.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3749 If BASE is omitted, base 10 is used.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3750
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3751 We have not implemented other radices for floating point numbers,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3752 because that would be much more work and does not seem useful.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3753
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3754 *** substring now handles vectors as well as strings.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3755
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3756 *** The Common Lisp function eql is no longer defined normally.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3757 You must load the `cl' library to define it.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3758
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3759 *** The new macro `with-current-buffer' lets you evaluate an expression
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3760 conveniently with a different current buffer. It looks like this:
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3761
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3762 (with-current-buffer BUFFER BODY-FORMS...)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3763
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3764 BUFFER is the expression that says which buffer to use.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3765 BODY-FORMS say what to do in that buffer.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3766
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3767 *** The new primitive `save-current-buffer' saves and restores the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3768 choice of current buffer, like `save-excursion', but without saving or
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3769 restoring the value of point or the mark. `with-current-buffer'
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3770 works using `save-current-buffer'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3771
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3772 *** The new macro `with-temp-file' lets you do some work in a new buffer and
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3773 write the output to a specified file. Like `progn', it returns the value
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3774 of the last form.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3775
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3776 *** The new macro `with-temp-buffer' lets you do some work in a new buffer,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3777 which is discarded after use. Like `progn', it returns the value of the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3778 last form. If you wish to return the buffer contents, use (buffer-string)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3779 as the last form.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3780
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3781 *** The new function split-string takes a string, splits it at certain
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3782 characters, and returns a list of the substrings in between the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3783 matches.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3784
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3785 For example, (split-string "foo bar lose" " +") returns ("foo" "bar" "lose").
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3786
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3787 *** The new macro with-output-to-string executes some Lisp expressions
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3788 with standard-output set up so that all output feeds into a string.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3789 Then it returns that string.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3790
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3791 For example, if the current buffer name is `foo',
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3792
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3793 (with-output-to-string
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3794 (princ "The buffer is ")
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3795 (princ (buffer-name)))
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3796
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3797 returns "The buffer is foo".
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3798
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3799 ** Non-ASCII characters are now supported, if enable-multibyte-characters
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3800 is non-nil.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3801
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3802 These characters have character codes above 256. When inserted in the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3803 buffer or stored in a string, they are represented as multibyte
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3804 characters that occupy several buffer positions each.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3805
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3806 *** When enable-multibyte-characters is non-nil, a single character in
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3807 a buffer or string can be two or more bytes (as many as four).
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3808
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3809 Buffers and strings are still made up of unibyte elements;
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3810 character positions and string indices are always measured in bytes.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3811 Therefore, moving forward one character can increase the buffer
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3812 position by 2, 3 or 4. The function forward-char moves by whole
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3813 characters, and therefore is no longer equivalent to
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3814 (lambda (n) (goto-char (+ (point) n))).
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3815
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3816 ASCII characters (codes 0 through 127) are still single bytes, always.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3817 Sequences of byte values 128 through 255 are used to represent
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3818 non-ASCII characters. These sequences are called "multibyte
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3819 characters".
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3820
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3821 The first byte of a multibyte character is always in the range 128
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3822 through 159 (octal 0200 through 0237). These values are called
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3823 "leading codes". The second and subsequent bytes are always in the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3824 range 160 through 255 (octal 0240 through 0377). The first byte, the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3825 leading code, determines how many bytes long the sequence is.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3826
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3827 *** The function forward-char moves over characters, and therefore
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3828 (forward-char 1) may increase point by more than 1 if it moves over a
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3829 multibyte character. Likewise, delete-char always deletes a
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3830 character, which may be more than one buffer position.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3831
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3832 This means that some Lisp programs, which assume that a character is
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3833 always one buffer position, need to be changed.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3834
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3835 However, all ASCII characters are always one buffer position.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3836
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3837 *** The regexp [\200-\377] no longer matches all non-ASCII characters,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3838 because when enable-multibyte-characters is non-nil, these characters
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3839 have codes that are not in the range octal 200 to octal 377. However,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3840 the regexp [^\000-\177] does match all non-ASCII characters,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3841 guaranteed.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3842
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3843 *** The function char-boundary-p returns non-nil if position POS is
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3844 between two characters in the buffer (not in the middle of a
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3845 character).
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3846
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3847 When the value is non-nil, it says what kind of character follows POS:
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3848
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3849 0 if POS is at an ASCII character or at the end of range,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3850 1 if POS is before a 2-byte length multi-byte form,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3851 2 if POS is at a head of 3-byte length multi-byte form,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3852 3 if POS is at a head of 4-byte length multi-byte form,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3853 4 if POS is at a head of multi-byte form of a composite character.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3854
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3855 *** The function char-bytes returns how many bytes the character CHAR uses.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3856
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3857 *** Strings can contain multibyte characters. The function
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3858 `length' returns the string length counting bytes, which may be
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3859 more than the number of characters.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3860
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3861 You can include a multibyte character in a string constant by writing
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3862 it literally. You can also represent it with a hex escape,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3863 \xNNNNNNN..., using as many digits as necessary. Any character which
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3864 is not a valid hex digit terminates this construct. If you want to
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3865 follow it with a character that is a hex digit, write backslash and
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3866 newline in between; that will terminate the hex escape.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3867
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3868 *** The function concat-chars takes arguments which are characters
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3869 and returns a string containing those characters.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3870
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3871 *** The function sref access a multibyte character in a string.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3872 (sref STRING INDX) returns the character in STRING at INDEX. INDEX
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3873 counts from zero. If INDEX is at a position in the middle of a
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3874 character, sref signals an error.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3875
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3876 *** The function chars-in-string returns the number of characters
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3877 in a string. This is less than the length of the string, if the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3878 string contains multibyte characters (the length counts bytes).
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3879
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3880 *** The function chars-in-region returns the number of characters
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3881 in a region from BEG to END. This is less than (- END BEG) if the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3882 region contains multibyte characters (the length counts bytes).
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3883
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3884 *** The function string-to-list converts a string to a list of
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3885 the characters in it. string-to-vector converts a string
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3886 to a vector of the characters in it.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3887
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3888 *** The function store-substring alters part of the contents
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3889 of a string. You call it as follows:
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3890
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3891 (store-substring STRING IDX OBJ)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3892
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3893 This says to alter STRING, by storing OBJ starting at index IDX in
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3894 STRING. OBJ may be either a character or a (smaller) string.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3895 This function really does alter the contents of STRING.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3896 Since it is impossible to change the length of an existing string,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3897 it is an error if OBJ doesn't fit within STRING's actual length.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3898
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3899 *** char-width returns the width (in columns) of the character CHAR,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3900 if it were displayed in the current buffer and the selected window.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3901
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3902 *** string-width returns the width (in columns) of the text in STRING,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3903 if it were displayed in the current buffer and the selected window.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3904
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3905 *** truncate-string-to-width shortens a string, if necessary,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3906 to fit within a certain number of columns. (Of course, it does
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3907 not alter the string that you give it; it returns a new string
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3908 which contains all or just part of the existing string.)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3909
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3910 (truncate-string-to-width STR END-COLUMN &optional START-COLUMN PADDING)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3911
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3912 This returns the part of STR up to column END-COLUMN.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3913
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3914 The optional argument START-COLUMN specifies the starting column.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3915 If this is non-nil, then the first START-COLUMN columns of the string
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3916 are not included in the resulting value.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3917
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3918 The optional argument PADDING, if non-nil, is a padding character to be added
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3919 at the beginning and end the resulting string, to extend it to exactly
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3920 WIDTH columns. If PADDING is nil, that means do not pad; then, if STRING
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3921 is narrower than WIDTH, the value is equal to STRING.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3922
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3923 If PADDING and START-COLUMN are both non-nil, and if there is no clean
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3924 place in STRING that corresponds to START-COLUMN (because one
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3925 character extends across that column), then the padding character
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3926 PADDING is added one or more times at the beginning of the result
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3927 string, so that its columns line up as if it really did start at
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3928 column START-COLUMN.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3929
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3930 *** When the functions in the list after-change-functions are called,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3931 the third argument is the number of bytes in the pre-change text, not
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3932 necessarily the number of characters. It is, in effect, the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3933 difference in buffer position between the beginning and the end of the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3934 changed text, before the change.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3935
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3936 *** The characters Emacs uses are classified in various character
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3937 sets, each of which has a name which is a symbol. In general there is
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3938 one character set for each script, not for each language.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3939
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3940 **** The function charsetp tests whether an object is a character set name.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3941
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3942 **** The variable charset-list holds a list of character set names.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3943
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3944 **** char-charset, given a character code, returns the name of the character
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3945 set that the character belongs to. (The value is a symbol.)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3946
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3947 **** split-char, given a character code, returns a list containing the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3948 name of the character set, followed by one or two byte-values
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3949 which identify the character within that character set.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3950
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3951 **** make-char, given a character set name and one or two subsequent
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3952 byte-values, constructs a character code. This is roughly the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3953 opposite of split-char.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3954
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3955 **** find-charset-region returns a list of the character sets
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3956 of all the characters between BEG and END.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3957
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3958 **** find-charset-string returns a list of the character sets
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3959 of all the characters in a string.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3960
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3961 *** Here are the Lisp facilities for working with coding systems
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3962 and specifying coding systems.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3963
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3964 **** The function coding-system-list returns a list of all coding
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3965 system names (symbols). With optional argument t, it returns a list
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3966 of all distinct base coding systems, not including variants.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3967 (Variant coding systems are those like latin-1-dos, latin-1-unix
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3968 and latin-1-mac which specify the end-of-line conversion as well
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3969 as what to do about code conversion.)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3970
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3971 **** coding-system-p tests a symbol to see if it is a coding system
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3972 name. It returns t if so, nil if not.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3973
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3974 **** file-coding-system-alist specifies which coding systems to use
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3975 for certain file names. It works like network-coding-system-alist,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3976 except that the PATTERN is matched against the file name.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3977
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3978 Each element has the format (PATTERN . VAL), where PATTERN determines
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3979 which file names the element applies to. PATTERN should be a regexp
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3980 to match against a file name.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3981
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3982 VAL is a coding system, a cons cell containing two coding systems, or
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3983 a function symbol. If VAL is a coding system, it is used for both
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3984 decoding what received from the network stream and encoding what sent
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3985 to the network stream. If VAL is a cons cell containing two coding
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3986 systems, the car specifies the coding system for decoding, and the cdr
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3987 specifies the coding system for encoding.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3988
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3989 If VAL is a function symbol, the function must return a coding system
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3990 or a cons cell containing two coding systems, which is used as above.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3991
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3992 **** The variable network-coding-system-alist specifies
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3993 the coding system to use for network sockets.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3994
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3995 Each element has the format (PATTERN . VAL), where PATTERN determines
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3996 which network sockets the element applies to. PATTERN should be
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3997 either a port number or a regular expression matching some network
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3998 service names.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3999
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4000 VAL is a coding system, a cons cell containing two coding systems, or
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4001 a function symbol. If VAL is a coding system, it is used for both
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4002 decoding what received from the network stream and encoding what sent
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4003 to the network stream. If VAL is a cons cell containing two coding
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4004 systems, the car specifies the coding system for decoding, and the cdr
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4005 specifies the coding system for encoding.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4006
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4007 If VAL is a function symbol, the function must return a coding system
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4008 or a cons cell containing two coding systems, which is used as above.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4009
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4010 **** process-coding-system-alist specifies which coding systems to use
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4011 for certain subprocess. It works like network-coding-system-alist,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4012 except that the PATTERN is matched against the program name used to
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4013 start the subprocess.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4014
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4015 **** The variable default-process-coding-system specifies the coding
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4016 systems to use for subprocess (and net connection) input and output,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4017 when nothing else specifies what to do. The value is a cons cell
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4018 (OUTPUT-CODING . INPUT-CODING). OUTPUT-CODING applies to output
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4019 to the subprocess, and INPUT-CODING applies to input from it.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4020
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4021 **** The variable coding-system-for-write, if non-nil, specifies the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4022 coding system to use for writing a file, or for output to a synchronous
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4023 subprocess.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4024
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4025 It also applies to any asynchronous subprocess or network connection,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4026 but in a different way: the value of coding-system-for-write when you
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4027 start the subprocess or connection affects that subprocess or
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4028 connection permanently or until overridden.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4029
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4030 The variable coding-system-for-write takes precedence over
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4031 file-coding-system-alist, process-coding-system-alist and
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4032 network-coding-system-alist, and all other methods of specifying a
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4033 coding system for output. But most of the time this variable is nil.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4034 It exists so that Lisp programs can bind it to a specific coding
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4035 system for one operation at a time.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4036
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4037 **** coding-system-for-read applies similarly to input from
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4038 files, subprocesses or network connections.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4039
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4040 **** The function process-coding-system tells you what
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4041 coding systems(s) an existing subprocess is using.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4042 The value is a cons cell,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4043 (DECODING-CODING-SYSTEM . ENCODING-CODING-SYSTEM)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4044 where DECODING-CODING-SYSTEM is used for decoding output from
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4045 the subprocess, and ENCODING-CODING-SYSTEM is used for encoding
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4046 input to the subprocess.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4047
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4048 **** The function set-process-coding-system can be used to
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4049 change the coding systems in use for an existing subprocess.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4050
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4051 ** Emacs has a new facility to help users manage the many
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4052 customization options. To make a Lisp program work with this facility,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4053 you need to use the new macros defgroup and defcustom.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4054
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4055 You use defcustom instead of defvar, for defining a user option
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4056 variable. The difference is that you specify two additional pieces of
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4057 information (usually): the "type" which says what values are
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4058 legitimate, and the "group" which specifies the hierarchy for
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4059 customization.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4060
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4061 Thus, instead of writing
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4062
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4063 (defvar foo-blurgoze nil
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4064 "*Non-nil means that foo will act very blurgozely.")
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4065
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4066 you would now write this:
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4067
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4068 (defcustom foo-blurgoze nil
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4069 "*Non-nil means that foo will act very blurgozely."
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4070 :type 'boolean
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4071 :group foo)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4072
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4073 The type `boolean' means that this variable has only
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4074 two meaningful states: nil and non-nil. Other type values
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4075 describe other possibilities; see the manual for Custom
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4076 for a description of them.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4077
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4078 The "group" argument is used to specify a group which the option
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4079 should belong to. You define a new group like this:
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4080
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4081 (defgroup ispell nil
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4082 "Spell checking using Ispell."
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4083 :group 'processes)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4084
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4085 The "group" argument in defgroup specifies the parent group. The root
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4086 group is called `emacs'; it should not contain any variables itself,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4087 but only other groups. The immediate subgroups of `emacs' correspond
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4088 to the keywords used by C-h p. Under these subgroups come
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4089 second-level subgroups that belong to individual packages.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4090
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4091 Each Emacs package should have its own set of groups. A simple
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4092 package should have just one group; a more complex package should
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4093 have a hierarchy of its own groups. The sole or root group of a
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4094 package should be a subgroup of one or more of the "keyword"
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4095 first-level subgroups.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4096
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4097 ** New `widget' library for inserting UI components in buffers.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4098
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4099 This library, used by the new custom library, is documented in a
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4100 separate manual that accompanies Emacs.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4101
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4102 ** easy-mmode
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4103
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4104 The easy-mmode package provides macros and functions that make
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4105 developing minor modes easier. Roughly, the programmer has to code
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4106 only the functionality of the minor mode. All the rest--toggles,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4107 predicate, and documentation--can be done in one call to the macro
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4108 `easy-mmode-define-minor-mode' (see the documentation). See also
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4109 `easy-mmode-define-keymap'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4110
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4111 ** Text property changes
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4112
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4113 *** The `intangible' property now works on overlays as well as on a
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4114 text property.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4115
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4116 *** The new functions next-char-property-change and
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4117 previous-char-property-change scan through the buffer looking for a
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4118 place where either a text property or an overlay might change. The
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4119 functions take two arguments, POSITION and LIMIT. POSITION is the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4120 starting position for the scan. LIMIT says where to stop the scan.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4121
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4122 If no property change is found before LIMIT, the value is LIMIT. If
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4123 LIMIT is nil, scan goes to the beginning or end of the accessible part
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4124 of the buffer. If no property change is found, the value is the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4125 position of the beginning or end of the buffer.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4126
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4127 *** In the `local-map' text property or overlay property, the property
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4128 value can now be a symbol whose function definition is a keymap. This
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4129 is an alternative to using the keymap itself.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4130
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4131 ** Changes in invisibility features
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4132
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4133 *** Isearch can now temporarily show parts of the buffer which are
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4134 hidden by an overlay with a invisible property, when the search match
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4135 is inside that portion of the buffer. To enable this the overlay
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4136 should have a isearch-open-invisible property which is a function that
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4137 would be called having the overlay as an argument, the function should
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4138 make the overlay visible.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4139
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4140 During incremental search the overlays are shown by modifying the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4141 invisible and intangible properties, if beside this more actions are
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4142 needed the overlay should have a isearch-open-invisible-temporary
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4143 which is a function. The function is called with 2 arguments: one is
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4144 the overlay and the second is nil when it should show the overlay and
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4145 t when it should hide it.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4146
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4147 *** add-to-invisibility-spec, remove-from-invisibility-spec
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4148
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4149 Modes that use overlays to hide portions of a buffer should set the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4150 invisible property of the overlay to the mode's name (or another symbol)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4151 and modify the `buffer-invisibility-spec' to include that symbol.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4152 Use `add-to-invisibility-spec' and `remove-from-invisibility-spec' to
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4153 manipulate the `buffer-invisibility-spec'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4154 Here is an example of how to do this:
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4155
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4156 ;; If we want to display an ellipsis:
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4157 (add-to-invisibility-spec '(my-symbol . t))
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4158 ;; If you don't want ellipsis:
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4159 (add-to-invisibility-spec 'my-symbol)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4160
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4161 ...
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4162 (overlay-put (make-overlay beginning end) 'invisible 'my-symbol)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4163
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4164 ...
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4165 ;; When done with the overlays:
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4166 (remove-from-invisibility-spec '(my-symbol . t))
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4167 ;; Or respectively:
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4168 (remove-from-invisibility-spec 'my-symbol)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4169
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4170 ** Changes in syntax parsing.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4171
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4172 *** The syntax-directed buffer-scan functions (such as
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4173 `parse-partial-sexp', `forward-word' and similar functions) can now
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4174 obey syntax information specified by text properties, if the variable
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4175 `parse-sexp-lookup-properties' is non-nil.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4176
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4177 If the value of `parse-sexp-lookup-properties' is nil, the behavior
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4178 is as before: the syntax-table of the current buffer is always
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4179 used to determine the syntax of the character at the position.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4180
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4181 When `parse-sexp-lookup-properties' is non-nil, the syntax of a
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4182 character in the buffer is calculated thus:
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4183
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4184 a) if the `syntax-table' text-property of that character
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4185 is a cons, this cons becomes the syntax-type;
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4186
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4187 Valid values of `syntax-table' text-property are: nil, a valid
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4188 syntax-table, and a valid syntax-table element, i.e.,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4189 a cons cell of the form (SYNTAX-CODE . MATCHING-CHAR).
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4190
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4191 b) if the character's `syntax-table' text-property
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4192 is a syntax table, this syntax table is used
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4193 (instead of the syntax-table of the current buffer) to
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4194 determine the syntax type of the character.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4195
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4196 c) otherwise the syntax-type is determined by the syntax-table
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4197 of the current buffer.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4198
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4199 *** The meaning of \s in regular expressions is also affected by the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4200 value of `parse-sexp-lookup-properties'. The details are the same as
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4201 for the syntax-directed buffer-scan functions.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4202
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4203 *** There are two new syntax-codes, `!' and `|' (numeric values 14
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4204 and 15). A character with a code `!' starts a comment which is ended
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4205 only by another character with the same code (unless quoted). A
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4206 character with a code `|' starts a string which is ended only by
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4207 another character with the same code (unless quoted).
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4208
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4209 These codes are mainly meant for use as values of the `syntax-table'
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4210 text property.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4211
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4212 *** The function `parse-partial-sexp' has new semantics for the sixth
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4213 arg COMMENTSTOP. If it is `syntax-table', parse stops after the start
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4214 of a comment or a string, or after end of a comment or a string.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4215
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4216 *** The state-list which the return value from `parse-partial-sexp'
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4217 (and can also be used as an argument) now has an optional ninth
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4218 element: the character address of the start of last comment or string;
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4219 nil if none. The fourth and eighth elements have special values if the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4220 string/comment is started by a "!" or "|" syntax-code.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4221
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4222 *** Since new features of `parse-partial-sexp' allow a complete
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4223 syntactic parsing, `font-lock' no longer supports
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4224 `font-lock-comment-start-regexp'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4225
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4226 ** Changes in face features
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4227
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4228 *** The face functions are now unconditionally defined in Emacs, even
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4229 if it does not support displaying on a device that supports faces.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4230
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4231 *** The function face-documentation returns the documentation string
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4232 of a face (or nil if it doesn't have one).
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4233
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4234 *** The function face-bold-p returns t if a face should be bold.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4235 set-face-bold-p sets that flag.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4236
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4237 *** The function face-italic-p returns t if a face should be italic.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4238 set-face-italic-p sets that flag.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4239
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4240 *** You can now specify foreground and background colors for text
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4241 by adding elements of the form (foreground-color . COLOR-NAME)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4242 and (background-color . COLOR-NAME) to the list of faces in
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4243 the `face' property (either the character's text property or an
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4244 overlay property).
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4245
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4246 This means that you no longer need to create named faces to use
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4247 arbitrary colors in a Lisp package.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4248
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4249 ** Changes in file-handling functions
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4250
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4251 *** File-access primitive functions no longer discard an extra redundant
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4252 directory name from the beginning of the file name. In other words,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4253 they no longer do anything special with // or /~. That conversion
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4254 is now done only in substitute-in-file-name.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4255
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4256 This makes it possible for a Lisp program to open a file whose name
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4257 begins with ~.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4258
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4259 *** If copy-file is unable to set the date of the output file,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4260 it now signals an error with the condition file-date-error.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4261
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4262 *** The inode number returned by file-attributes may be an integer (if
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4263 the number fits in a Lisp integer) or a list of integers.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4264
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4265 *** insert-file-contents can now read from a special file,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4266 as long as the arguments VISIT and REPLACE are nil.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4267
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4268 *** The RAWFILE arg to find-file-noselect, if non-nil, now suppresses
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4269 character code conversion as well as other things.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4270
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4271 Meanwhile, this feature does work with remote file names
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4272 (formerly it did not).
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4273
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4274 *** Lisp packages which create temporary files should use the TMPDIR
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4275 environment variable to decide which directory to put them in.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4276
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4277 *** interpreter-mode-alist elements now specify regexps
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4278 instead of constant strings.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4279
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4280 *** expand-file-name no longer treats `//' or `/~' specially. It used
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4281 to delete all the text of a file name up through the first slash of
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4282 any `//' or `/~' sequence. Now it passes them straight through.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4283
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4284 substitute-in-file-name continues to treat those sequences specially,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4285 in the same way as before.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4286
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4287 *** The variable `format-alist' is more general now.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4288 The FROM-FN and TO-FN in a format definition can now be strings
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4289 which specify shell commands to use as filters to perform conversion.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4290
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4291 *** The new function access-file tries to open a file, and signals an
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4292 error if that fails. If the open succeeds, access-file does nothing
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4293 else, and returns nil.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4294
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4295 *** The function insert-directory now signals an error if the specified
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4296 directory cannot be listed.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4297
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4298 ** Changes in minibuffer input
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4299
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4300 *** The functions read-buffer, read-variable, read-command, read-string
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4301 read-file-name, read-from-minibuffer and completing-read now take an
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4302 additional argument which specifies the default value. If this
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4303 argument is non-nil, it should be a string; that string is used in two
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4304 ways:
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4305
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4306 It is returned if the user enters empty input.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4307 It is available through the history command M-n.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4308
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4309 *** The functions read-string, read-from-minibuffer,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4310 read-no-blanks-input and completing-read now take an additional
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4311 argument INHERIT-INPUT-METHOD. If this is non-nil, then the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4312 minibuffer inherits the current input method and the setting of
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4313 enable-multibyte-characters from the previously current buffer.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4314
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4315 In an interactive spec, you can use M instead of s to read an
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4316 argument in this way.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4317
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4318 *** All minibuffer input functions discard text properties
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4319 from the text you enter in the minibuffer, unless the variable
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4320 minibuffer-allow-text-properties is non-nil.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4321
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4322 ** Echo area features
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4323
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4324 *** Clearing the echo area now runs the normal hook
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4325 echo-area-clear-hook. Note that the echo area can be used while the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4326 minibuffer is active; in that case, the minibuffer is still active
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4327 after the echo area is cleared.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4328
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4329 *** The function current-message returns the message currently displayed
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4330 in the echo area, or nil if there is none.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4331
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4332 ** Keyboard input features
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4333
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4334 *** tty-erase-char is a new variable that reports which character was
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4335 set up as the terminal's erase character when time Emacs was started.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4336
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4337 *** num-nonmacro-input-events is the total number of input events
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4338 received so far from the terminal. It does not count those generated
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4339 by keyboard macros.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4340
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4341 ** Frame-related changes
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4342
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4343 *** make-frame runs the normal hook before-make-frame-hook just before
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4344 creating a frame, and just after creating a frame it runs the abnormal
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4345 hook after-make-frame-functions with the new frame as arg.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4346
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4347 *** The new hook window-configuration-change-hook is now run every time
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4348 the window configuration has changed. The frame whose configuration
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4349 has changed is the selected frame when the hook is run.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4350
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4351 *** Each frame now independently records the order for recently
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4352 selected buffers, in its buffer-list frame parameter, so that the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4353 value of other-buffer is now based on the buffers recently displayed
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4354 in the selected frame.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4355
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4356 *** The value of the frame parameter vertical-scroll-bars
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4357 is now `left', `right' or nil. A non-nil value specifies
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4358 which side of the window to put the scroll bars on.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4359
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4360 ** X Windows features
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4361
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4362 *** You can examine X resources for other applications by binding
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4363 x-resource-class around a call to x-get-resource. The usual value of
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4364 x-resource-class is "Emacs", which is the correct value for Emacs.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4365
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4366 *** In menus, checkboxes and radio buttons now actually work.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4367 The menu displays the current status of the box or button.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4368
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4369 *** The function x-list-fonts now takes an optional fourth argument
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4370 MAXIMUM which sets a limit on how many matching fonts to return.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4371 A smaller value of MAXIMUM makes the function faster.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4372
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4373 If the only question is whether *any* font matches the pattern,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4374 it is good to supply 1 for this argument.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4375
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4376 ** Subprocess features
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4377
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4378 *** A reminder: it is no longer necessary for subprocess filter
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4379 functions and sentinels to do save-match-data, because Emacs does this
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4380 automatically.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4381
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4382 *** The new function shell-command-to-string executes a shell command
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4383 and returns the output from the command as a string.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4384
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4385 *** The new function process-contact returns t for a child process,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4386 and (HOSTNAME SERVICE) for a net connection.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4387
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4388 ** An error in running pre-command-hook or post-command-hook
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4389 does clear the variable to nil. The documentation was wrong before.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4390
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4391 ** In define-key-after, if AFTER is t, the new binding now always goes
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4392 at the end of the keymap. If the keymap is a menu, this means it
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4393 goes after the other menu items.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4394
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4395 ** If you have a program that makes several changes in the same area
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4396 of the buffer, you can use the macro combine-after-change-calls
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4397 around that Lisp code to make it faster when after-change hooks
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4398 are in use.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4399
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4400 The macro arranges to call the after-change functions just once for a
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4401 series of several changes--if that seems safe.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4402
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4403 Don't alter the variables after-change-functions and
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4404 after-change-function within the body of a combine-after-change-calls
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4405 form.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4406
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4407 ** If you define an abbrev (with define-abbrev) whose EXPANSION
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4408 is not a string, then the abbrev does not expand in the usual sense,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4409 but its hook is still run.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4410
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4411 ** Normally, the Lisp debugger is not used (even if you have enabled it)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4412 for errors that are handled by condition-case.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4413
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4414 If you set debug-on-signal to a non-nil value, then the debugger is called
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4415 regardless of whether there is a handler for the condition. This is
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4416 useful for debugging problems that happen inside of a condition-case.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4417
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4418 This mode of operation seems to be unreliable in other ways. Errors that
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4419 are normal and ought to be handled, perhaps in timers or process
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4420 filters, will instead invoke the debugger. So don't say you weren't
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4421 warned.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4422
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4423 ** The new variable ring-bell-function lets you specify your own
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4424 way for Emacs to "ring the bell".
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4425
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4426 ** If run-at-time's TIME argument is t, the action is repeated at
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4427 integral multiples of REPEAT from the epoch; this is useful for
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4428 functions like display-time.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4429
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4430 ** You can use the function locate-library to find the precise file
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4431 name of a Lisp library. This isn't new, but wasn't documented before.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4432
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4433 ** Commands for entering view mode have new optional arguments that
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4434 can be used from Lisp. Low-level entrance to and exit from view mode
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4435 is done by functions view-mode-enter and view-mode-exit.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4436
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4437 ** batch-byte-compile-file now makes Emacs return a nonzero status code
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4438 if there is an error in compilation.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4439
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4440 ** pop-to-buffer, switch-to-buffer-other-window and
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4441 switch-to-buffer-other-frame now accept an additional optional
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4442 argument NORECORD, much like switch-to-buffer. If it is non-nil,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4443 they don't put the buffer at the front of the buffer list.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4444
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4445 ** If your .emacs file leaves the *scratch* buffer non-empty,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4446 Emacs does not display the startup message, so as to avoid changing
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4447 the *scratch* buffer.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4448
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4449 ** The new function regexp-opt returns an efficient regexp to match a string.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4450 The arguments are STRINGS and (optionally) PAREN. This function can be used
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4451 where regexp matching or searching is intensively used and speed is important,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4452 e.g., in Font Lock mode.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4453
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4454 ** The variable buffer-display-count is local to each buffer,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4455 and is incremented each time the buffer is displayed in a window.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4456 It starts at 0 when the buffer is created.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4457
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4458 ** The new function compose-mail starts composing a mail message
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4459 using the user's chosen mail composition agent (specified with the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4460 variable mail-user-agent). It has variants compose-mail-other-window
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4461 and compose-mail-other-frame.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4462
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4463 ** The `user-full-name' function now takes an optional parameter which
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4464 can either be a number (the UID) or a string (the login name). The
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4465 full name of the specified user will be returned.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4466
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4467 ** Lisp packages that load files of customizations, or any other sort
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4468 of user profile, should obey the variable init-file-user in deciding
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4469 where to find it. They should load the profile of the user name found
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4470 in that variable. If init-file-user is nil, meaning that the -q
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4471 option was used, then Lisp packages should not load the customization
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4472 files at all.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4473
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4474 ** format-time-string now allows you to specify the field width
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4475 and type of padding. This works as in printf: you write the field
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4476 width as digits in the middle of a %-construct. If you start
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4477 the field width with 0, it means to pad with zeros.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4478
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4479 For example, %S normally specifies the number of seconds since the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4480 minute; %03S means to pad this with zeros to 3 positions, %_3S to pad
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4481 with spaces to 3 positions. Plain %3S pads with zeros, because that
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4482 is how %S normally pads to two positions.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4483
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4484 ** thing-at-point now supports a new kind of "thing": url.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4485
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4486 ** imenu.el changes.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4487
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4488 You can now specify a function to be run when selecting an
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4489 item from menu created by imenu.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4490
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4491 An example of using this feature: if we define imenu items for the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4492 #include directives in a C file, we can open the included file when we
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4493 select one of those items.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4494
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4495
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4496 ----------------------------------------------------------------------
75774
dc23aaa67696 Switch to standard GPL text for license.
Glenn Morris <rgm@gnu.org>
parents: 75256
diff changeset
4497 This file is part of GNU Emacs.
dc23aaa67696 Switch to standard GPL text for license.
Glenn Morris <rgm@gnu.org>
parents: 75256
diff changeset
4498
dc23aaa67696 Switch to standard GPL text for license.
Glenn Morris <rgm@gnu.org>
parents: 75256
diff changeset
4499 GNU Emacs is free software; you can redistribute it and/or modify
dc23aaa67696 Switch to standard GPL text for license.
Glenn Morris <rgm@gnu.org>
parents: 75256
diff changeset
4500 it under the terms of the GNU General Public License as published by
78271
713172dcf518 Switch license to GPLv3 or later.
Glenn Morris <rgm@gnu.org>
parents: 75774
diff changeset
4501 the Free Software Foundation; either version 3, or (at your option)
75774
dc23aaa67696 Switch to standard GPL text for license.
Glenn Morris <rgm@gnu.org>
parents: 75256
diff changeset
4502 any later version.
dc23aaa67696 Switch to standard GPL text for license.
Glenn Morris <rgm@gnu.org>
parents: 75256
diff changeset
4503
dc23aaa67696 Switch to standard GPL text for license.
Glenn Morris <rgm@gnu.org>
parents: 75256
diff changeset
4504 GNU Emacs is distributed in the hope that it will be useful,
dc23aaa67696 Switch to standard GPL text for license.
Glenn Morris <rgm@gnu.org>
parents: 75256
diff changeset
4505 but WITHOUT ANY WARRANTY; without even the implied warranty of
dc23aaa67696 Switch to standard GPL text for license.
Glenn Morris <rgm@gnu.org>
parents: 75256
diff changeset
4506 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
dc23aaa67696 Switch to standard GPL text for license.
Glenn Morris <rgm@gnu.org>
parents: 75256
diff changeset
4507 GNU General Public License for more details.
dc23aaa67696 Switch to standard GPL text for license.
Glenn Morris <rgm@gnu.org>
parents: 75256
diff changeset
4508
dc23aaa67696 Switch to standard GPL text for license.
Glenn Morris <rgm@gnu.org>
parents: 75256
diff changeset
4509 You should have received a copy of the GNU General Public License
dc23aaa67696 Switch to standard GPL text for license.
Glenn Morris <rgm@gnu.org>
parents: 75256
diff changeset
4510 along with GNU Emacs; see the file COPYING. If not, write to the
dc23aaa67696 Switch to standard GPL text for license.
Glenn Morris <rgm@gnu.org>
parents: 75256
diff changeset
4511 Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
dc23aaa67696 Switch to standard GPL text for license.
Glenn Morris <rgm@gnu.org>
parents: 75256
diff changeset
4512 Boston, MA 02110-1301, USA.
dc23aaa67696 Switch to standard GPL text for license.
Glenn Morris <rgm@gnu.org>
parents: 75256
diff changeset
4513
71203
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4514
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4515 Local variables:
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4516 mode: outline
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4517 paragraph-separate: "[ ]*$"
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4518 end: