annotate etc/NEWS.20 @ 75716:8bfa58061d79

(gdb-if-arrow): New macro. (gdb-mouse-until, gdb-mouse-jump): Use it.
author Nick Roberts <nickrob@snap.net.nz>
date Wed, 07 Feb 2007 21:57:04 +0000
parents 64d67dc1e67a
children dc23aaa67696
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
75256
64d67dc1e67a Add 2007 and sync two Copyrights.
Glenn Morris <rgm@gnu.org>
parents: 71203
diff changeset
2 Copyright (C) 1999, 2000, 2001, 2006, 2007
71203
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3 Free Software Foundation, Inc.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4 See the end for copying conditions.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
5
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
6 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
7 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
8
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
9 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
10
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
11
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 * 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
14
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
15 ** 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
16 input.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
17
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
18 ** 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
19
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
20 ** 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
21
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
22 ** 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
23 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
24 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
25 (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
26 (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
27
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
28 ** 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
29 been added.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
30
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
31
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 * 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
34
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
35 ** 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
36
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
37
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 * 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
40
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
41 ** 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
42 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
43
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
44
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 * 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
47
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
48 ** 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
49
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
50 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
51 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
52 `.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
53
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
54 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
55 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
56
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
57 ** 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
58 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
59 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
60 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
61 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
62 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
63 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
64 the buffer name.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
65
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
66 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
67 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
68 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
69 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
70
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
71 ** 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
72 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
73 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
74 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
75
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
76 ** 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
77 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
78 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
79 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
80
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
81 ** 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
82 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
83 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
84 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
85
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
86 ** 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
87 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
88 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
89 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
90 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
91 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
92 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
93
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
94 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
95 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
96
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
97 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
98 `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
99
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
100 ** 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
101 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
102 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
103
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
104 ** 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
105 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
106 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
107 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
108 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
109 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
110 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
111
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
112 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
113 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
114 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
115 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
116
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
117 ** 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
118 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
119 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
120 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
121
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
122 ** 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
123 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
124 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
125
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
126 ** 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
127 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
128 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
129
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
130 ** 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
131 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
132
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
133 ** 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
134 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
135 (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
136
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
137 ** 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
138 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
139 `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
140
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
141 ** 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
142 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
143 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
144 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
145 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
146
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
147 ** 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
148 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
149
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
150 ** 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
151 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
152 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
153
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
154 ** 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
155 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
156 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
157 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
158
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
159 ** 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
160
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
161 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
162 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
163 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
164 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
165 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
166
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
167 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
168 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
169
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
170 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
171 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
172 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
173 `?' on other systems.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
174
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
175 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
176 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
177 Unix.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
178
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
179 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
180 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
181
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
182 ** Mail changes
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 *** 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
185 `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
186 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
187 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
188 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
189 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
190 latin-1:
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
191
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
192 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
193 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
194 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
195
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
196 *** 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
197 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
198 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
199 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
200 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
201
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
202 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
203 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
204 mail.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
205
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
206 *** 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
207 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
208 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
209 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
210
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
211 ** CC Mode changes
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 *** 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
214 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
215 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
216 docstring for details.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
217
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
218 *** 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
219 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
220 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
221 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
222 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
223
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
224 *** 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
225 "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
226
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
227 *** 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
228 "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
229
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
230 *** 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
231 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
232 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
233 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
234 anonymous classes.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
235
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
236 *** 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
237 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
238
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
239 *** 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
240 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
241 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
242 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
243
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
244 *** 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
245 (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
246 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
247 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
248 (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
249
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
250 *** 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
251
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
252 *** `#' 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
253
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
254 *** 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
255 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
256
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
257 *** 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
258
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
259 *** 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
260 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
261 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
262 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
263 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
264
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
265 ** Gnus changes.
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 *** 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
268 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
269 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
270
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
271 *** 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
272 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
273 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
274
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
275 *** `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
276 values.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
277
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
278 *** `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
279
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
280 *** 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
281 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
282
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
283 *** 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
284 `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
285
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
286 *** `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
287
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
288 *** `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
289 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
290
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
291 *** 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
292
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
293 *** `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
294 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
295
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
296 *** `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
297 `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
298
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
299 *** `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
300 control over simplification.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
301
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
302 *** `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
303
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
304 *** `/ 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
305 limit.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
306
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
307 *** `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
308
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
309 *** \\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
310
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
311 *** 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
312 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
313 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
314
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
315 *** 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
316 `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
317
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
318 *** 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
319 -- `W d'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
320
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
321 *** 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
322 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
323
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
324 *** 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
325 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
326
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
327 *** 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
328 has been added.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
329
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
330 *** 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
331
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
332 *** 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
333
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
334 *** 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
335 `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
336
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
337 *** 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
338 `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
339
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
340 *** `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
341
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
342 *** 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
343 been added.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
344
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
345 *** 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
346 `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
347
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
348 *** 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
349 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
350
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
351 *** 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
352
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
353 *** 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
354
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
355 *** `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
356
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
357 ** 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
358
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
359 *** 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
360 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
361 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
362
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
363 *** 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
364 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
365 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
366 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
367 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
368
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
369 *** 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
370 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
371 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
372 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
373
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
374 *** 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
375 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
376 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
377 mismatch.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
378
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
379 ** 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
380
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
381 *** 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
382 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
383
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
384 *** 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
385 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
386 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
387 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
388
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
389 *** 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
390 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
391
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
392 *** 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
393 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
394
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
395 *** 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
396 `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
397 expressions.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
398
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
399 *** 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
400
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
401 ** 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
402
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
403 *** 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
404 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
405
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
406 *** 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
407 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
408 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
409
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
410 *** 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
411 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
412 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
413
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
414
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
415 * 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
416
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
417 ** 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
418 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
419 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
420 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
421 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
422
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
423 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
424 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
425 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
426
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
427 ** 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
428 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
429 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
430 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
431 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
432 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
433 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
434 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
435 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
436
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
437 ** 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
438 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
439 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
440 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
441 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
442 program.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
443
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
444 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
445 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
446 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
447 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
448 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
449 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
450
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
451 ** 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
452 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
453 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
454 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
455
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
456 ** 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
457 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
458
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
459
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
460 * 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
461
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
462 ** 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
463 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
464 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
465 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
466
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
467 ** 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
468 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
469 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
470
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
471 ** 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
472
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
473 *** 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
474 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
475
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
476 *** 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
477 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
478 integers.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
479
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
480 ** 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
481 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
482 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
483 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
484
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
485 ** 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
486 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
487 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
488 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
489 returns the result.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
490
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
491 ** 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
492 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
493
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
494 ** 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
495
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
496 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
497 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
498 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
499 optionally.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
500
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
501 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
502 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
503
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
504 **
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
505 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
506 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
507 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
508
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
509 ** 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
510 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
511 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
512 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
513
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
514 ** 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
515 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
516
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
517 ** 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
518 :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
519
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
520 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
521 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
522 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
523
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
524 ** Multibyte editing changes
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 *** 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
527 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
528 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
529 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
530 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
531 (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
532 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
533 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
534
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
535 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
536 (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
537 (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
538
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
539 *** 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
540 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
541 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
542
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
543 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
544
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
545 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
546 across the boundary.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
547
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
548 *** 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
549 `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
550 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
551 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
552 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
553 contains invalid characters.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
554
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
555 *** 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
556 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
557 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
558 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
559 way.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
560
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
561 *** 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
562 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
563 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
564 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
565
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
566 *** 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
567 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
568
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
569 ** 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
570 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
571 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
572 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
573
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
574 ** 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
575 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
576 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
577 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
578
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
579 ** 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
580 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
581 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
582 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
583
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
584 ** 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
585 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
586 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
587 echo area contents.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
588
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
589 (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
590
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
591 ** 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
592 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
593 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
594
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
595 ** 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
596 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
597 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
598
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
599 ** 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
600 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
601
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
602 ** 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
603 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
604 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
605 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
606
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
607 ** 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
608 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
609
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
610 ** 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
611 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
612 current buffer.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
613
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
614 ** 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
615 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
616 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
617 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
618
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
619
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 * 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
622
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
623 ** 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
624 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
625 /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
626 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
627 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
628
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
629 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
630 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
631 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
632 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
633 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
634
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
635 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
636 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
637 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
638
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
639 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
640 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
641 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
642 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
643 `.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
644 results.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
645
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
646 ** 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
647 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
648 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
649 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
650
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
651
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
652 * 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
653
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
654 ** 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
655 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
656 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
657 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
658
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
659 ** 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
660 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
661 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
662 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
663 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
664 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
665 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
666 region.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
667
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
668 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
669 selective undo.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
670
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
671 ** 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
672 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
673 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
674 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
675 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
676
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
677 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
678 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
679 -*-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
680 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
681
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
682 ** 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
683 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
684 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
685 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
686
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
687 ** 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
688 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
689 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
690 applications.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
691
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
692 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
693 pasting operations.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
694
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
695 ** 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
696 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
697 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
698 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
699 `ps-printer-name'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
700
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
701 ** 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
702 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
703 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
704 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
705 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
706 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
707
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
708 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
709 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
710 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
711
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
712 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
713 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
714 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
715 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
716
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
717 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
718 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
719 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
720 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
721 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
722
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
723 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
724 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
725
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
726 ** 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
727
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
728 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
729 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
730 respectively.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
731
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
732 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
733
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
734 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
735 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
736
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
737 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
738 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
739
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
740 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
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 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
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 `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
745 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
746
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
747 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
748 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
749 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
750 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
751
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
752 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
753 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
754 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
755 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
756
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
757 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
758
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
759 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
760 keys:
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
761 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
762 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
763 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
764 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
765 environment.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
766
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
767 ** 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
768 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
769 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
770 get
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
771
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
772 /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
773
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
774 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
775
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
776 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
777 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
778
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
779 ** 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
780 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
781 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
782
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
783 ** 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
784 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
785
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
786 ** 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
787 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
788
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
789 ** 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
790 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
791 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
792 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
793
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
794 ** 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
795 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
796 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
797 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
798
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
799 ** 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
800 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
801 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
802 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
803 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
804 info.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
805
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
806 ** 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
807
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
808 ** 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
809 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
810 contents only.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
811
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
812 ** 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
813 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
814 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
815 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
816
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
817 ** 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
818 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
819 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
820
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
821 ** 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
822 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
823 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
824 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
825
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
826 ** 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
827 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
828
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
829 ** 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
830 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
831 the mouse.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
832
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
833 ** 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
834 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
835 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
836
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
837 ** 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
838 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
839 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
840
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
841 ** 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
842 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
843 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
844 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
845 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
846
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
847 ** 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
848
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
849 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
850 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
851 nonascii-insert-offset.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
852
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
853 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
854 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
855 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
856 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
857
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
858 ** 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
859 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
860
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
861 ** 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
862 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
863
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
864 ** 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
865 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
866 command keys.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
867
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
868 ** 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
869 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
870
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
871 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
872 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
873 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
874
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
875 ** 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
876 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
877 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
878 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
879 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
880
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
881 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
882 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
883 of your input.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
884
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
885 ** 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
886 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
887 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
888 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
889 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
890 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
891
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
892 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
893 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
894 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
895
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
896 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
897 Customize menu.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
898
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
899 ** 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
900 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
901
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
902 ** 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
903 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
904 invoked.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
905
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
906 ** 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
907 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
908 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
909
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
910 ** 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
911 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
912 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
913 (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
914 sensibly.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
915
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
916 ** 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
917
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
918 ** 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
919 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
920 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
921
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
922 ** 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
923 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
924 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
925 every night.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
926
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
927 ** Desktop changes
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 *** 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
930 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
931
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
932 *** 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
933 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
934
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
935 ** 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
936 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
937
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
938 ** 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
939 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
940 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
941 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
942 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
943 made invisible again.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
944
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
945 ** 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
946
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
947 *** 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
948 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
949 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
950 toggle.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
951
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
952 *** 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
953 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
954 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
955 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
956 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
957
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
958 *** 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
959 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
960 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
961
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
962 *** 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
963 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
964 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
965
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
966 *** 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
967 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
968 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
969 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
970 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
971 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
972
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
973 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
974 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
975 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
976
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
977 **** 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
978 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
979 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
980
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
981 **** 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
982 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
983
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
984 **** 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
985
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
986 **** 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
987 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
988 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
989
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
990 **** 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
991 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
992 /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
993 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
994
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
995 ** Dired changes
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 *** 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
998 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
999
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1000 *** 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
1001 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
1002
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1003 *** 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
1004 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
1005 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
1006
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1007 ** VC Changes
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 *** 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
1010 conveniently.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1011
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1012 *** 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
1013 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
1014 Dired.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1015
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1016 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
1017 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
1018 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
1019 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
1020
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1021 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
1022 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
1023 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
1024 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
1025 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
1026
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1027 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
1028 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
1029 `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
1030 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
1031 `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
1032
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1033 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
1034 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
1035 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
1036 `* 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
1037
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1038 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
1039 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
1040 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
1041
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1042 *** 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
1043 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
1044 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
1045
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1046 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
1047 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
1048 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
1049 uses as well).
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1050
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1051 *** 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
1052 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
1053 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
1054 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
1055 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
1056 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
1057 using ediff.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1058
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1059 ** 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
1060
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1061 *** 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
1062 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
1063 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
1064 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
1065 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
1066
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1067 ** 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
1068
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1069 *** 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
1070 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
1071 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
1072 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
1073
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1074 *** 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
1075 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
1076 menu.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1077
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1078 ** Comint (subshell) changes
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 *** 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
1081 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
1082 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
1083
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1084 *** 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
1085
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1086 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
1087 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
1088 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
1089
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1090 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
1091 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
1092 the following line.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1093
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1094 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
1095 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
1096 previously sent input.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1097
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1098 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
1099 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
1100 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
1101
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1102 *** 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
1103 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
1104
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1105 ** C mode changes
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 *** 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
1108 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
1109 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
1110 definition.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1111
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1112 *** 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
1113 (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
1114 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
1115 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
1116
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1117 *** "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
1118
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1119 *** 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
1120 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
1121 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
1122
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1123 *** 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
1124 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
1125
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1126 *** 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
1127 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
1128
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1129 *** 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
1130 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
1131
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1132 *** 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
1133 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
1134
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1135 *** 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
1136 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
1137 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
1138 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
1139
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1140 ** 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
1141
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1142 *** 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
1143 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
1144 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
1145
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1146 *** 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
1147 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
1148 expanding dynamically.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1149
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1150 *** 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
1151 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
1152
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1153 *** 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
1154 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
1155 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
1156 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
1157
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1158 *** 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
1159
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1160 ** 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
1161
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1162 *** 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
1163 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
1164 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
1165 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
1166 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
1167
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1168 *** 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
1169 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
1170 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
1171 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
1172 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
1173 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
1174
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1175 *** 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
1176 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
1177 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
1178 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
1179
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1180 ** 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
1181
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1182 *** 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
1183 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
1184 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
1185 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
1186 `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
1187 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
1188
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1189 *** 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
1190 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
1191
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1192 *** 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
1193 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
1194 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
1195
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1196 *** 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
1197 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
1198
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1199 ** Ispell changes.
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 *** 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
1202 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
1203 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
1204
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1205 *** 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
1206 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
1207 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
1208 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
1209 include:
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1210
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1211 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
1212 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
1213
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1214 *** 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
1215
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1216 ** 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
1217
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1218 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
1219 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
1220 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
1221 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
1222
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1223 *** New recursive parser.
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 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
1226 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
1227 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
1228
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1229 *** 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
1230
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1231 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
1232 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
1233 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
1234
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1235 (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
1236
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1237 *** 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
1238
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1239 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
1240
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1241 (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
1242
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1243 *** 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
1244
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1245 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
1246 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
1247
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1248 (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
1249
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1250 *** 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
1251
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1252 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
1253 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
1254 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
1255 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
1256 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
1257 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
1258 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
1259
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1260 *** 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
1261
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1262 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
1263 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
1264
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1265 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
1266 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
1267
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1268 *** 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
1269
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1270 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
1271 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
1272
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1273 *** 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
1274
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1275 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
1276 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
1277 `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
1278 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
1279 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
1280 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
1281 more.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1282
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1283 *** 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
1284
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1285 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
1286
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1287 *** New hooks
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 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
1290 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
1291 `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
1292 `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
1293
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1294 *** Citations outside LaTeX
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 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
1297 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
1298
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1299 *** 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
1300
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1301 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
1302 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
1303 fontified, use
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1304
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1305 (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
1306
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1307 ** 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
1308 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
1309 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
1310 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
1311
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1312 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
1313 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
1314 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
1315 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
1316 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
1317 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
1318 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
1319 directory.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1320
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1321 ** 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
1322
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1323 *** 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
1324 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
1325 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
1326
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1327 *** 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
1328 code.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1329
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1330 *** 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
1331 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
1332 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
1333
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1334 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
1335
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1336 *** 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
1337 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
1338 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
1339 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
1340
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1341 *** 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
1342 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
1343 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
1344
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1345 *** 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
1346 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
1347 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
1348 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
1349 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
1350 the like.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1351
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1352 *** 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
1353 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
1354
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1355 *** 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
1356 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
1357 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
1358 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
1359
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1360 *** 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
1361
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1362 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
1363 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
1364 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
1365 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
1366 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
1367 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
1368 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
1369 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
1370 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
1371 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
1372 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
1373
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1374 Platform-specific modes:
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 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
1377 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
1378 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
1379 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
1380 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
1381 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
1382 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
1383 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
1384 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
1385
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1386
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1387 * 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
1388
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1389 ** 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
1390 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
1391 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
1392 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
1393
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1394 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
1395 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
1396 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
1397
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1398 ** 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
1399 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
1400 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
1401 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
1402
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1403 ** 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
1404 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
1405 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
1406 environment.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1407
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1408 ** 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
1409 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
1410 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
1411 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
1412
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1413 ** 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
1414 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
1415 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
1416 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
1417 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
1418 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
1419
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1420
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1421 * 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
1422
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1423 ** 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
1424 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
1425
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1426 ** 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
1427 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
1428 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
1429
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1430 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
1431 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
1432
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1433 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
1434
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1435 ** 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
1436 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
1437 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
1438
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1439 (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
1440 :type 'integer
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1441 :group 'foo
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1442 :version "20.3")
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1443
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1444 (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
1445 :version "20.3")
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1446
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1447 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
1448 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
1449 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
1450 `: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
1451
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1452 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
1453
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1454 ** 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
1455 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
1456
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1457 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
1458 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
1459 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
1460 to themselves.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1461
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1462 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
1463 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
1464 values whatever.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1465
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1466 ** 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
1467 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
1468 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
1469
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1470 ** Frame-local variables.
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 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
1473 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
1474 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
1475
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1476 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
1477 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
1478 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
1479 parameter name.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1480
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1481 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
1482 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
1483 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
1484 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
1485
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1486 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
1487 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
1488 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
1489 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
1490
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1491 ** `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
1492 "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
1493 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
1494 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
1495 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
1496
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1497 ** 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
1498 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
1499 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
1500 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
1501
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1502 ** 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
1503 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
1504
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1505 ** 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
1506 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
1507 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
1508
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1509 ** 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
1510 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
1511 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
1512 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
1513
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1514 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
1515 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
1516 empty input.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1517
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1518 ** 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
1519 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
1520 `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
1521 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
1522 `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
1523
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1524 ** 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
1525 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
1526 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
1527 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
1528
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1529 ** 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
1530 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
1531 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
1532 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
1533 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
1534
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1535 ** 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
1536 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
1537 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
1538 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
1539
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1540 ** 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
1541 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
1542 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
1543
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1544 ** 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
1545 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
1546 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
1547
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1548 ** 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
1549 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
1550 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
1551 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
1552 set-window-configuration.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1553
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1554 ** 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
1555 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
1556 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
1557 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
1558
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1559 ** 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
1560 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
1561 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
1562
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1563 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
1564 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
1565 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
1566
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1567 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
1568 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
1569
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1570 ** 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
1571 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
1572
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1573 ** 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
1574 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
1575 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
1576
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1577 ** 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
1578 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
1579 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
1580 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
1581
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1582 ** Menu changes
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 *** 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
1585 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
1586 better supported.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1587
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1588 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
1589 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
1590 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
1591 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
1592 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
1593
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1594 *** 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
1595
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1596 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
1597 (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
1598 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
1599 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
1600
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1601 The format is:
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1602 (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
1603 (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
1604 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
1605 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
1606 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
1607
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1608 :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
1609 item is enabled.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1610 :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
1611 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
1612 :filter FILTER-FN
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1613 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
1614 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
1615 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
1616 :keys DESCRIPTION
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1617 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
1618 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
1619 `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
1620 :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
1621 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
1622 keyboard binding.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1623 :key-sequence nil
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1624 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
1625 keyboard equivalent.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1626 :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
1627 :button (TYPE . SELECTED)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1628 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
1629 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
1630 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
1631
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1632 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
1633 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
1634
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1635 (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
1636
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1637 ** New event types
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 *** 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
1640 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
1641 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
1642 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
1643
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1644 (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
1645
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1646 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
1647 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
1648 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
1649 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
1650 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
1651 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
1652
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1653 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
1654
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1655 *** 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
1656 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
1657 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
1658 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
1659 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
1660
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1661 (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
1662
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1663 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
1664 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
1665 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
1666
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1667 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
1668
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1669 ** 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
1670
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1671 *** 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
1672 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
1673 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
1674
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1675 *** 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
1676 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
1677 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
1678
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1679 *** 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
1680 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
1681
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1682 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
1683 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
1684
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1685 *** 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
1686 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
1687 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
1688 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
1689
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1690 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
1691 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
1692 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
1693 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
1694 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
1695
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1696 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
1697 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
1698 (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
1699 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
1700
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1701 *** 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
1702 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
1703 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
1704 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
1705
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1706 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
1707 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
1708 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
1709
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1710 *** 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
1711 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
1712 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
1713
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1714 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
1715 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
1716 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
1717
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1718 *** 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
1719 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
1720
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1721 *** 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
1722 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
1723
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1724 *** 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
1725 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
1726 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
1727 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
1728
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1729 *** 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
1730 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
1731
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1732 *** 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
1733 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
1734 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
1735
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1736 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
1737 [...] 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
1738 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
1739 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
1740 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
1741 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
1742 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
1743
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1744 *** 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
1745
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1746 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
1747 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
1748 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
1749 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
1750 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
1751 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
1752 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
1753
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1754 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
1755 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
1756 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
1757 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
1758 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
1759 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
1760 '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
1761 `iso-8859-1'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1762
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1763 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
1764 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
1765 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
1766 (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
1767
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1768 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
1769 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
1770 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
1771 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
1772
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1773 *** 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
1774 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
1775 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
1776
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1777 *** 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
1778 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
1779 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
1780 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
1781 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
1782 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
1783
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1784 *** 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
1785 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
1786 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
1787 was done.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1788
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1789 *** 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
1790 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
1791 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
1792
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1793 *** 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
1794 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
1795 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
1796 `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
1797
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1798 *** 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
1799 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
1800 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
1801 converted.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1802
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1803 *** 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
1804 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
1805
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1806 *** 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
1807 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
1808 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
1809 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
1810 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
1811 range of characters.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1812
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1813 *** 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
1814 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
1815
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1816 *** 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
1817 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
1818
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1819 *** 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
1820 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
1821 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
1822 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
1823 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
1824 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
1825
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1826 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
1827 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
1828 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
1829 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
1830 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
1831
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1832 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
1833 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
1834
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1835 *** 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
1836 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
1837
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1838 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
1839 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
1840 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
1841 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
1842 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
1843
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1844
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 * 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
1847
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1848 ** 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
1849 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
1850 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
1851 tree structure.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1852
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1853 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
1854 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
1855
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1856 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
1857 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
1858 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
1859
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1860 ** 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
1861 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
1862
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1863 ** 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
1864 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
1865
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1866 ** 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
1867 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
1868 kills the region.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1869
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1870 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
1871 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
1872
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1873 ** 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
1874 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
1875 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
1876
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1877 ** 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
1878 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
1879 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
1880 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
1881 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
1882 past.)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1883
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1884 ** 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
1885 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
1886 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
1887 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
1888 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
1889
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1890 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
1891 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
1892
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1893 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
1894 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
1895
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1896 ** Scrolling changes
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 *** 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
1899 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
1900
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1901 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
1902 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
1903 where it started.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1904
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1905 *** 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
1906 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
1907 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
1908 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
1909
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1910 *** 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
1911 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
1912 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
1913 recenters the window.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1914
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1915 ** 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
1916
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1917 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
1918 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
1919 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
1920 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
1921 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
1922 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
1923
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1924 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
1925 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
1926 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
1927 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
1928 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
1929
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1930 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
1931 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
1932 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
1933 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
1934
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1935 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
1936 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
1937
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1938 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
1939 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
1940
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1941 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
1942
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1943 (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
1944
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1945 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
1946 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
1947 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
1948 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
1949 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
1950
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1951 *** Input methods
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 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
1954 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
1955 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
1956 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
1957 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
1958
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1959 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
1960 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
1961 work.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1962
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1963 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
1964 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
1965 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
1966 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
1967 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
1968 letter.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1969
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1970 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
1971 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
1972 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
1973 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
1974 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
1975
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1976 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
1977 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
1978 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
1979 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
1980
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1981 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
1982 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
1983 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
1984 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
1985
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1986 *** 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
1987 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
1988
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1989 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
1990 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
1991 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
1992 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
1993
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1994 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
1995 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
1996 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
1997 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
1998
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
1999 *** 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
2000
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2001 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
2002 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
2003 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
2004 what you want.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2005
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2006 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
2007 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
2008 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
2009 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
2010
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2011 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
2012 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
2013
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2014 *** 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
2015
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2016 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
2017 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
2018 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
2019
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2020 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
2021 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
2022
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2023 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
2024 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
2025 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
2026 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
2027
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2028 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
2029 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
2030 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
2031
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2032 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
2033 (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
2034 characters).
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2035
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2036 *** Defining fontsets.
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 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
2039 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
2040 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
2041
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2042 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
2043 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
2044 `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
2045 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
2046
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2047 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
2048 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
2049 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
2050 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
2051 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
2052
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2053 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
2054 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
2055 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
2056 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
2057 * 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
2058 * 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
2059 * 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
2060 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
2061 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
2062 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
2063 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
2064
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2065 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
2066 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
2067 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
2068
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2069 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
2070 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
2071 following resource,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2072 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
2073 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
2074 -*-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
2075 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
2076 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
2077 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
2078 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
2079 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
2080 (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
2081
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2082 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
2083 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
2084 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
2085
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2086 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
2087 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
2088 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
2089 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
2090 fontsets.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2091
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2092 *** 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
2093 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
2094
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2095 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
2096 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
2097 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
2098 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
2099 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
2100 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
2101
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2102 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
2103 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
2104 whole Emacs session.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2105
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2106 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
2107 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
2108 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
2109
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2110 *** 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
2111 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
2112 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
2113 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
2114 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
2115
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2116 *** 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
2117 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
2118 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
2119 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
2120 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
2121
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2122 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
2123 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
2124
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2125 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
2126 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
2127
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2128 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
2129 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
2130
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2131 *** 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
2132 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
2133 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
2134 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
2135 of the file.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2136
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2137 *** 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
2138 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
2139 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
2140 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
2141
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2142 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
2143 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
2144
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2145 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
2146
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2147 *** 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
2148 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
2149
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2150 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
2151 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
2152 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
2153
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2154 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
2155
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2156 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
2157 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
2158 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
2159 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
2160 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
2161
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2162 *** 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
2163 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
2164 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
2165 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
2166 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
2167 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
2168
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2169 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
2170
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2171 *** 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
2172 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
2173 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
2174
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2175 *** 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
2176 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
2177 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
2178 want to use.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2179
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2180 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
2181 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
2182
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2183 *** 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
2184 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
2185 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
2186 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
2187
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2188 *** 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
2189 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
2190 related information.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2191
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2192 *** 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
2193 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
2194 scripts.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2195
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2196 *** 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
2197 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
2198 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
2199
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2200 *** 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
2201 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
2202 first dash.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2203
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2204 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
2205 (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
2206 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
2207 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
2208
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2209 A alternativnyj (Russian)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2210 B big5 (Chinese)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2211 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
2212 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
2213 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
2214 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
2215 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
2216 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
2217 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
2218 R koi8 (Russian)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2219 Q tibetan
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2220 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
2221 T lao
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2222 T tis620 (Thai)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2223 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
2224 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
2225 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
2226 v viqr (Vietnamese)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2227 z hz (Chinese)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2228
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2229 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
2230 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
2231 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
2232 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
2233
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2234 *** 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
2235 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
2236
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2237 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
2238 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
2239 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
2240 Rmail files themselves.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2241
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2242 *** 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
2243 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
2244
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2245 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
2246 for sending mail:
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2247
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2248 - 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
2249 - 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
2250 - 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
2251 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
2252 - 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
2253
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2254 *** 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
2255 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
2256 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
2257 translations.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2258
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2259 ** 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
2260 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
2261 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
2262 without any conversion.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2263
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2264 ** 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
2265 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
2266 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
2267 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
2268
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2269 ** 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
2270 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
2271
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2272 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
2273 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
2274
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2275 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
2276 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
2277
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2278 ** 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
2279 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
2280 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
2281
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2282 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
2283 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
2284 you are using.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2285
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2286 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
2287 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
2288
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2289 ** 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
2290
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2291 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
2292 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
2293
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2294 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
2295 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
2296 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
2297
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2298 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
2299 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
2300 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
2301 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
2302 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
2303 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
2304
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2305 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
2306 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
2307 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
2308 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
2309
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2310 ** 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
2311 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
2312 show-paren-mode.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2313
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2314 ** 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
2315 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
2316 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
2317
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2318 ** 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
2319 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
2320 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
2321
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2322 ** 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
2323 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
2324 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
2325
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2326 ** 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
2327
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2328 *** 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
2329 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
2330
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2331 *** 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
2332 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
2333
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2334 *** 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
2335 previous state.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2336
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2337 *** 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
2338 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
2339
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2340 *** 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
2341 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
2342 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
2343
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2344 *** 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
2345 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
2346 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
2347
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2348 *** 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
2349 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
2350 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
2351
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2352 ** 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
2353 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
2354
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2355 ** 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
2356 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
2357 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
2358 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
2359
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2360 ** 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
2361 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
2362
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2363 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
2364 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
2365 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
2366 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
2367
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2368 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
2369 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
2370 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
2371
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2372 ** 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
2373 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
2374 confirmation first.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2375
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2376 ** 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
2377 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
2378 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
2379 (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
2380 (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
2381 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
2382 (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
2383
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2384 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
2385
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2386 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
2387 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
2388
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2389 ** 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
2390
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2391 *** 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
2392 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
2393
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2394 *** 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
2395 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
2396 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
2397
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2398 ** 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
2399 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
2400 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
2401 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
2402 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
2403
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2404 ** 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
2405 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
2406 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
2407 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
2408
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2409 ** 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
2410 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
2411 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
2412
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2413 ** Outline mode changes.
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 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
2416
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2417 *** 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
2418
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2419 ** 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
2420 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
2421 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
2422 was already active.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2423
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2424 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
2425 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
2426 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
2427
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2428 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
2429 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
2430
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2431 ** 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
2432
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2433 *** 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
2434 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
2435 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
2436 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
2437
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2438 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
2439 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
2440 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
2441
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2442 *** 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
2443 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
2444 values.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2445
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2446 `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
2447 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
2448 `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
2449 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
2450
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2451 ** 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
2452 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
2453 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
2454
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2455 ** 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
2456
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2457 *** 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
2458 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
2459 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
2460 `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
2461 `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
2462 behavior.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2463
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2464 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
2465 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
2466
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2467 *** 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
2468 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
2469 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
2470 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
2471
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2472 *** 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
2473 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
2474
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2475 *** 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
2476 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
2477 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
2478 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
2479
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2480 *** 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
2481
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2482 **** 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
2483 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
2484 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
2485 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
2486
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2487 **** 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
2488 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
2489 /etc/passwd.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2490
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2491 **** 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
2492 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
2493 /etc/passwd.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2494
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2495 ** 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
2496 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
2497 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
2498 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
2499
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2500 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
2501 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
2502 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
2503
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2504 ** 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
2505 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
2506 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
2507
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2508 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
2509 (-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
2510
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2511 ** 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
2512 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
2513
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2514 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
2515
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2516 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
2517 ------- ---------------- -------
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2518 * 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
2519 * 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
2520 * * 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
2521 * / 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
2522 * @ 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
2523 * 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
2524 * 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
2525 * ? 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
2526 * ! 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
2527 * % 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
2528 * 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
2529 * 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
2530
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2531 ** Rmail changes.
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 *** 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
2534 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
2535 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
2536 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
2537
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2538 *** 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
2539 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
2540
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2541 *** 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
2542 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
2543 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
2544
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2545 *** 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
2546 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
2547
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2548 *** 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
2549 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
2550 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
2551 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
2552 for output.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2553
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2554 ** Gnus changes.
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 *** 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
2557
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2558 *** 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
2559 Gnus.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2560
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2561 *** 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
2562 `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
2563
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2564 *** 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
2565 article mode line.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2566
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2567 *** 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
2568
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2569 *** 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
2570
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2571 (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
2572
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2573 *** 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
2574 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
2575 `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
2576
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2577 *** 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
2578
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2579 *** 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
2580
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2581 *** 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
2582 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
2583
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2584 *** 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
2585 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
2586 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
2587
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2588 *** 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
2589 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
2590
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2591 `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
2592
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2593 *** 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
2594 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
2595
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2596 *** 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
2597 `C-M-_'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2598
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2599 *** 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
2600
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2601 *** 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
2602
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2603 (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
2604
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2605 *** 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
2606
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2607 (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
2608
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2609 *** 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
2610 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
2611
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2612 *** 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
2613 the native server.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2614
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2615 `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
2616
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2617 *** 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
2618 (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
2619
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2620 *** 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
2621
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2622 *** 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
2623 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
2624
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2625 *** 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
2626 (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
2627
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2628 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
2629 a group.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2630
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2631 *** 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
2632 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
2633
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2634 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
2635
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2636 *** 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
2637
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2638 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
2639
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2640 *** 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
2641
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2642 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
2643
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2644 *** 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
2645
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2646 *** 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
2647
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2648 `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
2649
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2650 *** 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
2651 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
2652
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2653 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
2654
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2655 *** 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
2656
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2657 *** 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
2658 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
2659
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2660 (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
2661
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2662 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
2663 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
2664 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
2665 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
2666 this issue.)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2667
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2668 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
2669 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
2670 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
2671
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2672 (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
2673
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2674 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
2675 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
2676 "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
2677 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
2678 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
2679
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2680 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
2681 (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
2682 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
2683 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
2684 there.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2685
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2686 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
2687 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
2688
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2689 (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
2690 (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
2691 (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
2692 (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
2693 (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
2694
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2695 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
2696 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
2697
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2698 ** CC mode changes.
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 *** 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
2701 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
2702 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
2703 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
2704 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
2705 loaded.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2706
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2707 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
2708 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
2709 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
2710 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
2711 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
2712 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
2713
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2714 *** 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
2715 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
2716
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2717 *** 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
2718 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
2719 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
2720
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2721 *** 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
2722 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
2723
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2724 *** 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
2725 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
2726 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
2727
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2728 ** VC Changes [new]
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 *** 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
2731 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
2732 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
2733
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2734 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
2735 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
2736 developers.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2737
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2738 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
2739 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
2740
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2741 *** 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
2742 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
2743 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
2744 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
2745
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2746 *** 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
2747 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
2748
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2749 ** Calendar changes.
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 *** 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
2752 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
2753 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
2754 following/previous years.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2755
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2756 *** 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
2757 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
2758 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
2759 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
2760 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
2761 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
2762
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2763 ** ps-print changes
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 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
2766 layout.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2767
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2768 *** Headers & Footers (subgroup)
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 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
2771 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
2772 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
2773 `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
2774
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2775 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
2776 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
2777 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
2778
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2779 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
2780 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
2781
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2782 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
2783 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
2784 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
2785
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2786 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
2787 setpagedevice PostScript operator.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2788
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2789 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
2790 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
2791
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2792 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
2793 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
2794 `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
2795 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
2796 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
2797 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
2798 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
2799
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2800 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
2801 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
2802
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2803 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
2804 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
2805 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
2806 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
2807 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
2808 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
2809 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
2810
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2811 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
2812 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
2813
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2814 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
2815 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
2816
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2817 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
2818 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
2819
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2820 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
2821 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
2822
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2823 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
2824
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2825 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
2826 `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
2827 documentation).
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2828
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2829 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
2830 `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
2831 `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
2832 `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
2833 `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
2834 controlling headers.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2835
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2836 *** Color management (subgroup)
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 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
2839 color.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2840
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2841 *** Face Management (subgroup)
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 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
2844 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
2845 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
2846
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2847 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
2848 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
2849 (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
2850
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2851 *** 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
2852
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2853 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
2854 sheet of paper.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2855
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2856 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
2857 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
2858
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2859 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
2860 each page.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2861
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2862 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
2863 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
2864 `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
2865
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2866 `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
2867 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
2868 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
2869
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2870 `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
2871 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
2872 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
2873
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2874 `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
2875 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
2876 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
2877
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2878 `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
2879 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
2880 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
2881
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2882 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
2883
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2884 *** Zebra stripes (subgroup)
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 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
2887 RGB color.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2888
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2889 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
2890 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
2891 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
2892
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2893 `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
2894 Current Page -------- ----------- --------- ----------------
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2895 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
2896 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
2897 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
2898 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
2899 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
2900 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
2901 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
2902 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
2903 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
2904 10 + 10 +
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2905 11 + 11 +
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2906 -------- ----------- --------- ----------------
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2907 Next Page -------- ----------- --------- ----------------
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2908 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
2909 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
2910 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
2911 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
2912 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
2913 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
2914 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
2915 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
2916 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
2917 21 + 21 XXXXXXXX +
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2918 22 + 22 +
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2919 -------- ----------- --------- ----------------
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2920
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2921 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
2922
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2923
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2924 *** Printer management (subgroup)
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 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
2927 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
2928 `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
2929 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
2930 to "-P".
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2931
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2932 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
2933 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
2934 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
2935
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2936 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
2937 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
2938 do so.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2939
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2940 *** Page settings (subgroup)
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 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
2943 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
2944 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
2945 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
2946 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
2947 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
2948 `setpagedevice'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2949
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2950 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
2951 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
2952 `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
2953
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2954 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
2955 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
2956 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
2957 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
2958 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
2959 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
2960
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2961 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
2962 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
2963
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2964 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
2965
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2966 `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
2967
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2968 `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
2969
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2970 `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
2971 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
2972 `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
2973 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
2974
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2975 `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
2976 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
2977 `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
2978 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
2979
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2980 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
2981
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2982 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
2983 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
2984 `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
2985
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2986 (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
2987
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2988 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
2989 `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
2990
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' = 1:
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2992 `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
2993 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
2994 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
2995 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
2996 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
2997 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
2998
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
2999 `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
3000 `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
3001 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
3002 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
3003 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
3004 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
3005 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
3006
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3007 *** Miscellany (subgroup)
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 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
3010 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
3011
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3012 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
3013 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
3014 `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
3015
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3016 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
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-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
3019 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
3020
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3021 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
3022 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
3023
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3024 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
3025 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
3026 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
3027
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3028 1 one line
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3029 one line
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3030 3 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 5 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 ...
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3035
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3036 Valid values are:
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 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
3039 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
3040 is used.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3041
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3042 `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
3043 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
3044
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3045 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
3046
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3047 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
3048 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
3049 `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
3050 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
3051
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3052 one line
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3053 one line
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3054 3 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 one line
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3057 6 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 one line
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3060 9 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 ...
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3063
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3064 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
3065 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
3066
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3067 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
3068 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
3069 `ps-font-size').
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3070
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3071 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
3072 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
3073 `ps-font-size').
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3074
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3075 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
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-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
3078 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
3079
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3080 ** hideshow changes.
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 *** 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
3083 C++, ; for lisp).
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3084
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3085 *** 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
3086
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3087 *** 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
3088 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
3089
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3090 *** 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
3091 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
3092 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
3093
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3094 *** 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
3095 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
3096
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3097 *** 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
3098
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3099 *** 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
3100 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
3101 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
3102
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3103 ** 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
3104
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3105 *** 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
3106 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
3107 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
3108 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
3109 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
3110
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3111 *** 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
3112 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
3113 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
3114 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
3115
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3116 ** Font Lock mode
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 *** Custom support
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 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
3121 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
3122 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
3123 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
3124 ~/.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
3125 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
3126
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3127 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
3128
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3129 *** Maximum decoration
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 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
3132 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
3133 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
3134 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
3135 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
3136
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3137 *** New support
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 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
3140
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3141 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
3142 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
3143
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3144 *** Configurable support
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 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
3147 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
3148 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
3149 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
3150 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
3151 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
3152 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
3153
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3154 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
3155 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
3156 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
3157
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3158 *** 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
3159
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3160 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
3161 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
3162 for any mode.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3163
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3164 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
3165
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3166 (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
3167
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3168 in your ~/.emacs.
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 *** New faces
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 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
3173 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
3174 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
3175 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
3176
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3177 *** 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
3178
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3179 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
3180 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
3181 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
3182
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3183 *** 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
3184
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3185 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
3186 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
3187 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
3188 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
3189 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
3190 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
3191 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
3192
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3193 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
3194 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
3195 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
3196 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
3197 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
3198 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
3199
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3200 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
3201
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3202 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
3203 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
3204 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
3205 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
3206
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3207 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
3208 settings.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3209
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3210 ** Ada mode changes.
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 *** 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
3213 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
3214 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
3215 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
3216 stubs.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3217
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3218 *** 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
3219 - `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
3220 - `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
3221
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3222 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
3223 `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
3224 `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
3225
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3226 *** 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
3227 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
3228 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
3229
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3230 *** 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
3231 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
3232 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
3233 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
3234
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3235 ** Scheme mode changes.
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 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
3238 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
3239 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
3240 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
3241 have any effect.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3242
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3243 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
3244 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
3245 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
3246 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
3247
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3248 *** 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
3249 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
3250
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3251 ** 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
3252
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3253 *** 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
3254 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
3255 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
3256 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
3257
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3258 *** 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
3259 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
3260 buffer in Emacs.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3261
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3262 *** 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
3263 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
3264 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
3265 option takes precedence.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3266
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3267 ** 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
3268 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
3269 (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
3270
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3271 ** 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
3272 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
3273 the current defun.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3274
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3275 ** 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
3276 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
3277
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3278 ** 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
3279 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
3280 necessary).
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3281
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3282 ** 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
3283 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
3284 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
3285 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
3286 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
3287 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
3288
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3289 ** 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
3290 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
3291 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
3292 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
3293
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3294 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
3295 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
3296 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
3297 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
3298 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
3299
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3300 ** 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
3301 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
3302
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3303 ** 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
3304 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
3305 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
3306
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3307 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
3308 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
3309 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
3310 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
3311 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
3312
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3313 ** RefTeX mode
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 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
3316 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
3317 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
3318 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
3319 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
3320
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3321 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
3322 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
3323 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
3324
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3325 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
3326 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
3327 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
3328
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3329 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
3330 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
3331 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
3332
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3333 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
3334 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
3335
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3336 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
3337 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
3338 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
3339
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3340 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
3341 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
3342 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
3343 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
3344 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
3345
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3346 ** 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
3347
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3348 *** 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
3349
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3350 *** 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
3351 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
3352
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3353 *** 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
3354 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
3355
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3356 *** 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
3357 (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
3358
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3359 *** 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
3360 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
3361 appropriate functions.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3362
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3363 *** 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
3364 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
3365
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3366 *** 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
3367 been cleaned.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3368
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3369 *** 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
3370 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
3371
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3372 *** 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
3373 shall be delimited.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3374
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3375 *** 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
3376 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
3377 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
3378
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3379 *** 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
3380 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
3381 prefixed with `ALT'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3382
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3383 *** 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
3384 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
3385 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
3386 documentation).
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3387
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3388 *** 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
3389 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
3390 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
3391
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3392 *** 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
3393 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
3394
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3395 *** 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
3396 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
3397 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
3398
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3399 *** 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
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-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
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-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
3404 from alien sources.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3405
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3406 *** 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
3407 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
3408 crossref entries.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3409
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3410 *** 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
3411 region.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3412
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3413 *** 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
3414
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3415 *** 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
3416 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
3417 `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
3418 `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
3419
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3420 *** 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
3421 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
3422
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3423 ** 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
3424
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3425 ** 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
3426
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3427 ** 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
3428 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
3429 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
3430 as an argument.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3431
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3432 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
3433 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
3434
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3435 ** browse-url changes
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 *** 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
3438 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
3439 (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
3440 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
3441 customization variables.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3442
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3443 *** 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
3444
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3445 *** 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
3446 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
3447 (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
3448
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3449 ** Changes in Ediff
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 *** 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
3452 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
3453
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3454 *** 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
3455 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
3456 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
3457 directories).
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3458
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3459 *** 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
3460 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
3461 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
3462
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3463 *** 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
3464 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
3465 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
3466
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3467 ** Changes in Viper
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 *** 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
3470 *** 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
3471 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 *** 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
3473 *** 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
3474 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
3475 *** 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
3476 *** _ 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
3477 *** 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
3478 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
3479 *** 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
3480 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
3481 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
3482
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3483 ** Etags changes.
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 *** 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
3486 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
3487 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
3488 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
3489 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
3490
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3491 *** 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
3492
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3493 *** 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
3494 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
3495
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3496 *** 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
3497 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
3498 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
3499
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3500 *** 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
3501 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
3502 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
3503 methods and protocols.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3504
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3505 *** 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
3506 .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
3507 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
3508 paragraph name.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3509
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3510 *** 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
3511 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
3512 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
3513
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3514 ** 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
3515 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
3516
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3517 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
3518 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
3519 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
3520 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
3521
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3522 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
3523 (`#') 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
3524 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
3525 reasons.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3526
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3527 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
3528 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
3529 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
3530 (`:') 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
3531 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
3532 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
3533
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3534 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
3535 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
3536 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
3537
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3538 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
3539 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
3540 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
3541 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
3542
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3543 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
3544 details.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3545
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3546 ** 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
3547
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3548 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
3549 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
3550 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
3551
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3552 ** 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
3553 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
3554 into Emacs.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3555
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3556 ** 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
3557
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3558 *** 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
3559
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3560 *** 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
3561 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
3562
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3563 *** 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
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 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
3566 in shell buffers.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3567
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3568 *** 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
3569 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
3570 and `elint-defun'.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3571
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3572 *** 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
3573 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
3574 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
3575 strings or comments.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3576
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3577 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
3578 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
3579 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
3580 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
3581 at these points.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3582
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3583 *** 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
3584 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
3585
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3586 *** 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
3587 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
3588
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3589 *** 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
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 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
3592 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
3593
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3594 *** 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
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 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
3597
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3598 *** 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
3599
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3600 *** 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
3601 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
3602
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3603 *** 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
3604 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
3605 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
3606 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
3607
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3608 *** 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
3609 on the buffer.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3610
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3611 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
3612 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
3613 (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
3614
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3615 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
3616 (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
3617 -or-
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-drag)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3619
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3620 *** 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
3621 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
3622
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3623 *** 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
3624 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
3625
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3626 *** ogonek
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 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
3629 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
3630 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
3631 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
3632 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
3633 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
3634 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
3635
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3636 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
3637 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
3638 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
3639 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
3640 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
3641 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
3642 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
3643
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3644 *** Interface to ph.
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 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
3647
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3648 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
3649 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
3650 these servers.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3651
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3652 *** 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
3653
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3654 *** 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
3655 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
3656 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
3657
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3658 *** 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
3659 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
3660
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3661 *** 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
3662 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
3663
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3664 ** movemail change
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 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
3667 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
3668 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
3669 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
3670
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3671 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
3672
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3673
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3674 * 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
3675
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3676 ** 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
3677
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3678 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
3679 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
3680 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
3681 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
3682 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
3683
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3684 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
3685 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
3686 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
3687 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
3688 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
3689 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
3690
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3691
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3692 * 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
3693
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3694 ** 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
3695 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
3696 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
3697 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
3698
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3699 ** 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
3700 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
3701
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3702 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
3703 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
3704 "win".
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3705
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3706 ** Basic Lisp changes
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 *** 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
3709 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
3710
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3711 *** 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
3712 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
3713 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
3714
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3715 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
3716
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3717 *** 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
3718
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3719 (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
3720 (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
3721
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3722 *** 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
3723 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
3724 its argument.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3725
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3726 *** 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
3727
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3728 *** 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
3729
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3730 *** 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
3731
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3732 *** 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
3733 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
3734 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
3735 `format' function.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3736
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3737 *** 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
3738 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
3739 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
3740
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3741 *** 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
3742 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
3743 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
3744
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3745 *** 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
3746 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
3747 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
3748
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3749 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
3750 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
3751
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3752 *** 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
3753
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3754 *** 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
3755 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
3756
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3757 *** 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
3758 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
3759
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3760 (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
3761
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3762 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
3763 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
3764
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3765 *** 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
3766 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
3767 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
3768 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
3769
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3770 *** 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
3771 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
3772 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
3773
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3774 *** 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
3775 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
3776 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
3777 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
3778
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3779 *** 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
3780 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
3781 matches.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3782
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3783 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
3784
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3785 *** 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
3786 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
3787 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
3788
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3789 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
3790
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3791 (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
3792 (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
3793 (princ (buffer-name)))
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3794
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3795 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
3796
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3797 ** 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
3798 is non-nil.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3799
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3800 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
3801 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
3802 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
3803
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3804 *** 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
3805 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
3806
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3807 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
3808 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
3809 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
3810 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
3811 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
3812 (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
3813
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3814 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
3815 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
3816 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
3817 characters".
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3818
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3819 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
3820 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
3821 "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
3822 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
3823 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
3824
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3825 *** 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
3826 (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
3827 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
3828 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
3829
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3830 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
3831 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
3832
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3833 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
3834
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3835 *** 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
3836 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
3837 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
3838 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
3839 guaranteed.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3840
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3841 *** 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
3842 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
3843 character).
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3844
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3845 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
3846
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3847 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
3848 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
3849 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
3850 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
3851 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
3852
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3853 *** 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
3854
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3855 *** 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
3856 `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
3857 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
3858
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3859 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
3860 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
3861 \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
3862 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
3863 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
3864 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
3865
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3866 *** 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
3867 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
3868
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3869 *** 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
3870 (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
3871 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
3872 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
3873
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3874 *** 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
3875 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
3876 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
3877
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3878 *** 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
3879 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
3880 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
3881
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3882 *** 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
3883 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
3884 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
3885
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3886 *** 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
3887 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
3888
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3889 (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
3890
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3891 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
3892 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
3893 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
3894 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
3895 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
3896
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3897 *** 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
3898 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
3899
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3900 *** 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
3901 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
3902
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3903 *** 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
3904 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
3905 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
3906 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
3907
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3908 (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
3909
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3910 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
3911
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3912 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
3913 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
3914 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
3915
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3916 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
3917 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
3918 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
3919 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
3920
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3921 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
3922 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
3923 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
3924 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
3925 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
3926 column START-COLUMN.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3927
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3928 *** 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
3929 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
3930 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
3931 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
3932 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
3933
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3934 *** 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
3935 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
3936 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
3937
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3938 **** 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
3939
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3940 **** 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
3941
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3942 **** 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
3943 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
3944
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3945 **** 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
3946 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
3947 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
3948
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3949 **** 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
3950 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
3951 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
3952
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3953 **** 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
3954 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
3955
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3956 **** 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
3957 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
3958
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3959 *** 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
3960 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
3961
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3962 **** 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
3963 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
3964 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
3965 (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
3966 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
3967 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
3968
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3969 **** 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
3970 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
3971
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3972 **** 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
3973 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
3974 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
3975
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3976 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
3977 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
3978 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
3979
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3980 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
3981 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
3982 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
3983 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
3984 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
3985 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
3986
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3987 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
3988 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
3989
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3990 **** 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
3991 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
3992
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3993 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
3994 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
3995 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
3996 service names.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3997
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
3998 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
3999 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
4000 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
4001 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
4002 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
4003 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
4004
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4005 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
4006 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
4007
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4008 **** 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
4009 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
4010 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
4011 start the subprocess.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4012
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4013 **** 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
4014 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
4015 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
4016 (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
4017 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
4018
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4019 **** 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
4020 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
4021 subprocess.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4022
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4023 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
4024 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
4025 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
4026 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
4027
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4028 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
4029 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
4030 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
4031 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
4032 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
4033 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
4034
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4035 **** 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
4036 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
4037
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4038 **** 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
4039 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
4040 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
4041 (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
4042 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
4043 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
4044 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
4045
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4046 **** 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
4047 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
4048
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4049 ** 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
4050 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
4051 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
4052
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4053 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
4054 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
4055 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
4056 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
4057 customization.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4058
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4059 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
4060
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4061 (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
4062 "*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
4063
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4064 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
4065
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4066 (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
4067 "*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
4068 :type 'boolean
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4069 :group foo)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4070
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4071 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
4072 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
4073 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
4074 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
4075
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4076 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
4077 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
4078
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4079 (defgroup ispell nil
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4080 "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
4081 :group 'processes)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4082
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4083 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
4084 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
4085 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
4086 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
4087 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
4088
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4089 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
4090 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
4091 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
4092 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
4093 first-level subgroups.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4094
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4095 ** 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
4096
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4097 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
4098 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
4099
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4100 ** easy-mmode
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 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
4103 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
4104 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
4105 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
4106 `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
4107 `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
4108
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4109 ** Text property changes
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 *** 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
4112 text property.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4113
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4114 *** 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
4115 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
4116 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
4117 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
4118 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
4119
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4120 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
4121 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
4122 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
4123 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
4124
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4125 *** 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
4126 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
4127 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
4128
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4129 ** 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
4130
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4131 *** 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
4132 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
4133 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
4134 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
4135 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
4136 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
4137
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4138 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
4139 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
4140 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
4141 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
4142 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
4143 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
4144
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4145 *** 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
4146
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4147 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
4148 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
4149 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
4150 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
4151 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
4152 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
4153
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4154 ;; 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
4155 (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
4156 ;; 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
4157 (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
4158
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4159 ...
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4160 (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
4161
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4162 ...
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4163 ;; 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
4164 (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
4165 ;; Or respectively:
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)
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4167
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4168 ** 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
4169
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4170 *** 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
4171 `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
4172 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
4173 `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
4174
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4175 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
4176 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
4177 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
4178
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4179 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
4180 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
4181
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4182 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
4183 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
4184
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4185 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
4186 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
4187 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
4188
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4189 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
4190 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
4191 (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
4192 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
4193
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4194 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
4195 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
4196
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4197 *** 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
4198 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
4199 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
4200
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4201 *** 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
4202 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
4203 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
4204 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
4205 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
4206
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4207 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
4208 text property.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4209
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4210 *** 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
4211 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
4212 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
4213
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4214 *** 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
4215 (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
4216 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
4217 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
4218 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
4219
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4220 *** 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
4221 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
4222 `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
4223
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4224 ** 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
4225
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4226 *** 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
4227 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
4228
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4229 *** 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
4230 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
4231
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4232 *** 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
4233 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
4234
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4235 *** 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
4236 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
4237
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4238 *** 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
4239 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
4240 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
4241 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
4242 overlay property).
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4243
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4244 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
4245 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
4246
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4247 ** 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
4248
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4249 *** 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
4250 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
4251 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
4252 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
4253
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4254 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
4255 begins with ~.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4256
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4257 *** 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
4258 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
4259
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4260 *** 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
4261 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
4262
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4263 *** 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
4264 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
4265
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4266 *** 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
4267 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
4268
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4269 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
4270 (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
4271
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4272 *** 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
4273 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
4274
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4275 *** 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
4276 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
4277
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4278 *** 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
4279 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
4280 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
4281
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4282 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
4283 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
4284
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4285 *** 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
4286 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
4287 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
4288
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4289 *** 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
4290 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
4291 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
4292
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4293 *** 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
4294 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
4295
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4296 ** 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
4297
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4298 *** 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
4299 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
4300 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
4301 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
4302 ways:
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4303
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4304 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
4305 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
4306
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4307 *** 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
4308 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
4309 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
4310 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
4311 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
4312
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4313 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
4314 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
4315
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4316 *** 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
4317 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
4318 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
4319
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4320 ** Echo area features
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 *** 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
4323 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
4324 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
4325 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
4326
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4327 *** 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
4328 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
4329
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4330 ** Keyboard input features
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 *** 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
4333 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
4334
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4335 *** 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
4336 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
4337 by keyboard macros.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4338
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4339 ** Frame-related changes
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 *** 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
4342 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
4343 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
4344
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4345 *** 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
4346 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
4347 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
4348
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4349 *** 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
4350 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
4351 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
4352 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
4353
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4354 *** 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
4355 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
4356 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
4357
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4358 ** X Windows features
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 *** 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
4361 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
4362 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
4363
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4364 *** 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
4365 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
4366
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4367 *** 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
4368 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
4369 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
4370
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4371 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
4372 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
4373
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4374 ** Subprocess features
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 *** 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
4377 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
4378 automatically.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4379
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4380 *** 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
4381 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
4382
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4383 *** 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
4384 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
4385
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4386 ** 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
4387 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
4388
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4389 ** 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
4390 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
4391 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
4392
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4393 ** 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
4394 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
4395 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
4396 are in use.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4397
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4398 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
4399 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
4400
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4401 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
4402 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
4403 form.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4404
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4405 ** 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
4406 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
4407 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
4408
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4409 ** 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
4410 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
4411
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4412 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
4413 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
4414 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
4415
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4416 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
4417 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
4418 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
4419 warned.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4420
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4421 ** 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
4422 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
4423
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4424 ** 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
4425 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
4426 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
4427
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4428 ** 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
4429 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
4430
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4431 ** 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
4432 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
4433 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
4434
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4435 ** 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
4436 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
4437
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4438 ** 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
4439 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
4440 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
4441 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
4442
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4443 ** 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
4444 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
4445 the *scratch* buffer.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4446
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4447 ** 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
4448 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
4449 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
4450 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
4451
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4452 ** 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
4453 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
4454 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
4455
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4456 ** 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
4457 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
4458 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
4459 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
4460
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4461 ** 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
4462 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
4463 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
4464
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4465 ** 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
4466 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
4467 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
4468 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
4469 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
4470 files at all.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4471
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4472 ** 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
4473 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
4474 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
4475 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
4476
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4477 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
4478 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
4479 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
4480 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
4481
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4482 ** 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
4483
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4484 ** imenu.el changes.
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 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
4487 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
4488
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4489 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
4490 #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
4491 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
4492
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4493
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 Copyright information:
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4496
75256
64d67dc1e67a Add 2007 and sync two Copyrights.
Glenn Morris <rgm@gnu.org>
parents: 71203
diff changeset
4497 Copyright (C) 1999, 2000, 2001, 2006, 2007
71203
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4498 Free Software Foundation, Inc.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4499
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4500 Permission is granted to anyone to make or distribute verbatim copies
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4501 of this document as received, in any medium, provided that the
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4502 copyright notice and this permission notice are preserved,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4503 thus giving the recipient permission to redistribute in turn.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4504
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4505 Permission is granted to distribute modified versions
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4506 of this document, or of portions of it,
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4507 under the above conditions, provided also that they
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4508 carry prominent notices stating who last changed them.
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4509
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4510 Local variables:
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4511 mode: outline
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4512 paragraph-separate: "[ ]*$"
25fa0038a52d Reorganize NEWS and ONEWS.* files into NEWS for current major version
Kim F. Storm <storm@cua.dk>
parents:
diff changeset
4513 end: