annotate etc/NEWS @ 414:da8ed4261e83 r21-2-15

Import from CVS: tag r21-2-15
author cvs
date Mon, 13 Aug 2007 11:21:38 +0200
parents 697ef44129c6
children e804706bfb8c
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
126
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1 -*- mode:outline -*-
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
2
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3 * Introduction
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4 ==============
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
5
223
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
6 This file presents some general information about XEmacs. It is
276
6330739388db Import from CVS: tag r21-0b36
cvs
parents: 274
diff changeset
7 primarily about the changes in recent XEmacs versions and its release
6330739388db Import from CVS: tag r21-0b36
cvs
parents: 274
diff changeset
8 history.
223
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
9
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
10 Use `C-c C-f' to move to the next equal level of outline, and
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
11 `C-c C-b' to move to previous equal level. `C-h m' will give more
380
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 377
diff changeset
12 info about the Outline mode. Many commands are also available through
223
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
13 the menubar.
126
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
14
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
15 Users who would like to know which capabilities have been introduced
223
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
16 in each release should look at the appropriate section of this file.
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
17 Starting with version 20.0, XEmacs includes ChangeLogs, which can be
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
18 consulted for a more detailed list of changes.
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
19
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
20 Users interested in some of the details of how XEmacs differs from GNU
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
21 Emacs should read the section "What's Different?" near the end of this
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
22 file.
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
23
225
12579d965149 Import from CVS: tag r20-4b11
cvs
parents: 223
diff changeset
24 N.B. The term "GNU Emacs" refers to any release of Emacs Version
12579d965149 Import from CVS: tag r20-4b11
cvs
parents: 223
diff changeset
25 19 from the Free Software Foundation's GNU Project. (We do not
12579d965149 Import from CVS: tag r20-4b11
cvs
parents: 223
diff changeset
26 say just "Emacs" as Richard M. Stallman ["RMS"] prefers, because
12579d965149 Import from CVS: tag r20-4b11
cvs
parents: 223
diff changeset
27 it is clearly a more generic term.) The term "XEmacs" refers to
223
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
28 this program or to its predecessors "Era" and "Lucid Emacs". The
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
29 predecessor of all these program is called "Emacs 18". When no
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
30 particular version is implied, "Emacs" will be used.
126
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
31
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
32
371
cc15677e0335 Import from CVS: tag r21-2b1
cvs
parents: 367
diff changeset
33 * Changes in XEmacs 21.2
cc15677e0335 Import from CVS: tag r21-2b1
cvs
parents: 367
diff changeset
34 ========================
373
6240c7796c7a Import from CVS: tag r21-2b2
cvs
parents: 371
diff changeset
35
412
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
36 ** `delete-key-deletes-forward' now defaults to t.
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
37
412
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
38 `delete-key-deletes-forward' is the variable that regulates the
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
39 behaviour of the delete key on the systems that offer both a backspace
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
40 and a delete key. If set to nil, the key labeled "Delete" will delete
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
41 backward. If set to non-nil, the "Delete" key will delete forward,
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
42 except on keyboards where a "Backspace" key is not provided.
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
43
412
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
44 Unless our implementation has bugs, the only reason why you would want
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
45 to set `delete-key-deletes-forward' to nil is if you want to use the
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
46 Delete key to delete backwards, despite the presence (according to
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
47 Xlib) of a BackSpace key on the keyboard.
412
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
48
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
49 ** Interactive searching and matching case improvements.
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
50
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
51 Case sensitiveness in searching operations is normally controlled by
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
52 the variable `case-fold-search' (if non-nil, case is ignored while
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
53 searching). This mechanism has now been slightly improved for
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
54 interactive searches: if the search string (or regexp) contains
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
55 uppercase characters, the searching is forced to be case-sensitive,
412
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
56 `case-fold-search'.
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
57
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
58 The new behavior affects all functions performing interactive
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
59 searches, like `zap-to-char', `list-matching-lines', `tags-search'
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
60 etc. The incremental search facility has always behaved that way.
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
61
377
d883f39b8495 Import from CVS: tag r21-2b4
cvs
parents: 373
diff changeset
62 ** You can now create "indirect buffers", like in GNU Emacs. An
373
6240c7796c7a Import from CVS: tag r21-2b2
cvs
parents: 371
diff changeset
63 indirect buffer shares its text with another buffer ("base buffer"),
6240c7796c7a Import from CVS: tag r21-2b2
cvs
parents: 371
diff changeset
64 but has its own major mode, local variables, extents, and narrowing.
6240c7796c7a Import from CVS: tag r21-2b2
cvs
parents: 371
diff changeset
65 An indirect buffer has a name of its own, distinct from those of the
6240c7796c7a Import from CVS: tag r21-2b2
cvs
parents: 371
diff changeset
66 base buffer and all other buffers. An indirect buffer cannot itself
6240c7796c7a Import from CVS: tag r21-2b2
cvs
parents: 371
diff changeset
67 be visiting a file (though its base buffer can be). The base buffer
6240c7796c7a Import from CVS: tag r21-2b2
cvs
parents: 371
diff changeset
68 cannot itself be indirect.
6240c7796c7a Import from CVS: tag r21-2b2
cvs
parents: 371
diff changeset
69
6240c7796c7a Import from CVS: tag r21-2b2
cvs
parents: 371
diff changeset
70 Use (make-indirect-buffer BASE-BUFFER NAME) to make an indirect buffer
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
71 named NAME whose base is BASE-BUFFER. If BASE-BUFFER is itself an
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
72 indirect buffer, its base buffer is used as the base for the new
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
73 buffer.
371
cc15677e0335 Import from CVS: tag r21-2b1
cvs
parents: 367
diff changeset
74
373
6240c7796c7a Import from CVS: tag r21-2b2
cvs
parents: 371
diff changeset
75 You can make an indirect buffer current, or switch to it in a window,
6240c7796c7a Import from CVS: tag r21-2b2
cvs
parents: 371
diff changeset
76 just as you would a non-indirect buffer.
6240c7796c7a Import from CVS: tag r21-2b2
cvs
parents: 371
diff changeset
77
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
78 The function `buffer-base-buffer' returns a buffer's base buffer or
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
79 nil, if given an ordinary (non-indirect) buffer. The function
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
80 `buffer-indirect-children' returns a list of the indirect children of
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
81 a base buffer.
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
82
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
83 ** User names following the tilde character can now be completed at
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
84 file name prompts; e.g. `C-x C-f ~hni<TAB>' will complete to
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
85 `~hniksic/'. To make this operation faster, a cache of user names is
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
86 maintained internally.
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
87
414
da8ed4261e83 Import from CVS: tag r21-2-15
cvs
parents: 412
diff changeset
88 The new primitives available for this purpose are functions named
da8ed4261e83 Import from CVS: tag r21-2-15
cvs
parents: 412
diff changeset
89 `user-name-completion' and `user-name-all-completions'.
da8ed4261e83 Import from CVS: tag r21-2-15
cvs
parents: 412
diff changeset
90
377
d883f39b8495 Import from CVS: tag r21-2b4
cvs
parents: 373
diff changeset
91
380
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 377
diff changeset
92 * Lisp and internal changes in XEmacs 21.2
377
d883f39b8495 Import from CVS: tag r21-2b4
cvs
parents: 373
diff changeset
93 ==========================================
d883f39b8495 Import from CVS: tag r21-2b4
cvs
parents: 373
diff changeset
94
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
95 ** Much effort has been invested to make XEmacs Lisp faster:
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
96
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
97 *** Many basic lisp operations are now faster.
380
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 377
diff changeset
98 This is especially the case when running a Mule-enabled XEmacs.
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 377
diff changeset
99
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 377
diff changeset
100 A general overhaul of the lisp engine should produce a speedup of 1.4
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 377
diff changeset
101 in a Latin-1 XEmacs, and 2.1 in a Mule XEmacs. These numbers were
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
102 obtained running `(byte-compile "simple.el")', which should be a
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
103 pretty typical test of "pure" Lisp.
380
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 377
diff changeset
104
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
105 *** Lisp hash tables have been re-implemented. The Common Lisp style
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
106 hash table interface has been made standard, and moved from cl.el into
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
107 fast C code (See the section on hash tables in the XEmacs Lisp
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
108 Reference). A speedup factor of 3 can be expected with code that
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
109 makes intensive use of hash tables.
380
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 377
diff changeset
110
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
111 *** The garbage collector has been tuned, leading to a speedup of
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
112 1.16.
380
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 377
diff changeset
113
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
114 *** The family of functions that iterate over lists, like `memq', and
380
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 377
diff changeset
115 `rassq', have been made a little faster (typically 1.3).
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 377
diff changeset
116
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
117 *** Lisp function calls are faster, by approximately a factor of two.
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
118 However, defining inline functions (via defsubst) still makes sense
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
119 for tight loops.
380
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 377
diff changeset
120
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
121 *** Finally, a few functions have had dramatic performance
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
122 improvements. For example, `(last long-list)' is now 30 times faster.
380
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 377
diff changeset
123
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 377
diff changeset
124 Of course, your mileage will vary.
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 377
diff changeset
125
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 377
diff changeset
126 Many operations do not see any improvement. Surprisingly, running
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
127 (font-lock-fontify-buffer) does not use the Lisp engine much at all.
380
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 377
diff changeset
128 Speeding up your favorite slow operation is an excellent project to
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 377
diff changeset
129 improve XEmacs. Don't forget to profile!
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 377
diff changeset
130
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 377
diff changeset
131 ** XEmacs finally has an automated test suite!
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 377
diff changeset
132 Although this is not yet very sophisticated, it is already responsible
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 377
diff changeset
133 for several important bug fixes in XEmacs. To try it out, simply use
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 377
diff changeset
134 the makefile target `make check' after building XEmacs.
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 377
diff changeset
135
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
136 ** Hash tables have been reimplemented.
380
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 377
diff changeset
137 As was pointed out above, the standard interface to hash tables is now
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 377
diff changeset
138 the Common Lisp interface, as described in Common Lisp, the Language
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 377
diff changeset
139 (CLtL2, by Steele). The older interface (functions with names
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 377
diff changeset
140 containing the phrase `hashtable') will continue to work, but the
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 377
diff changeset
141 preferred interface now has names containing the phrase `hash-table'.
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 377
diff changeset
142
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 377
diff changeset
143 Here's the executive overview: create hash tables using
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 377
diff changeset
144 make-hash-table, and use gethash, puthash, remhash, maphash and
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 377
diff changeset
145 clrhash to manipulate entries in the hash table. See the (updated)
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 377
diff changeset
146 Lisp Reference Manual for details.
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 377
diff changeset
147
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 377
diff changeset
148 ** Lisp code handles circular lists much more robustly.
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 377
diff changeset
149 Many basic lisp functions used to loop forever when given a circular
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
150 list, expecting you to C-g (quit) out of the loop. Now this is more
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
151 likely to trigger a `circular-list' error. Printing a circular list
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
152 now results in something like this:
380
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 377
diff changeset
153
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
154 (let ((x (cons 'foo 'foo)))
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
155 (setcdr x x)
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
156 x)
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
157 => (foo ... <circular list>)
380
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 377
diff changeset
158
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 377
diff changeset
159 An extra bonus is that checking for circularities is not just
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
160 friendlier, but actually faster than checking for C-g.
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
161
412
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
162 ** The new form `ignore-file-errors', similar to `ignore-errors' may
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
163 be used as a short-hand for condition-case when you wish to ignore
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
164 file-related error. For example:
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
165
412
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
166 (ignore-file-errors (delete-file "foo"))
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
167
412
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
168 ** The arguments to `locate-file' are now much more "lispy". As
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
169 before, the usage is:
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
170
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
171 (locate-file FILENAME PATH-LIST &optional SUFFIXES MODE)
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
172
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
173 Except that SUFFIXES are now a list of strings instead of a single,
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
174 colon-separated string. MODE is now a symbol or a list of symbols
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
175 (symbols `exists', `executable', `writable', and `readable' are
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
176 supported) instead of an integer code. See the documentation for
412
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
177 details.
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
178
412
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
179 Of course, the old form is still accepted for backward compatibility.
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
180
414
da8ed4261e83 Import from CVS: tag r21-2-15
cvs
parents: 412
diff changeset
181 ** `translate-region' has been improved in several ways. Its TABLE
da8ed4261e83 Import from CVS: tag r21-2-15
cvs
parents: 412
diff changeset
182 argument used to be a 256-character string. In addition to this, it
da8ed4261e83 Import from CVS: tag r21-2-15
cvs
parents: 412
diff changeset
183 can now also be a vector or a char-table (which is useful for Mule.)
da8ed4261e83 Import from CVS: tag r21-2-15
cvs
parents: 412
diff changeset
184 If TABLE a vector or a generic char-table, you can map characters to
da8ed4261e83 Import from CVS: tag r21-2-15
cvs
parents: 412
diff changeset
185 strings instead of to other characters. For instance:
da8ed4261e83 Import from CVS: tag r21-2-15
cvs
parents: 412
diff changeset
186
da8ed4261e83 Import from CVS: tag r21-2-15
cvs
parents: 412
diff changeset
187 (let ((table (make-char-table 'generic)))
da8ed4261e83 Import from CVS: tag r21-2-15
cvs
parents: 412
diff changeset
188 (put-char-table ?a "the letter a" table)
da8ed4261e83 Import from CVS: tag r21-2-15
cvs
parents: 412
diff changeset
189 (put-char-table ?b "" table)
da8ed4261e83 Import from CVS: tag r21-2-15
cvs
parents: 412
diff changeset
190 (put-char-table ?c ?\n table)
da8ed4261e83 Import from CVS: tag r21-2-15
cvs
parents: 412
diff changeset
191 (translate-region (point-min) (point-max) table))
da8ed4261e83 Import from CVS: tag r21-2-15
cvs
parents: 412
diff changeset
192
412
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
193 ** The `keywordp' function now returns non-nil only on symbols
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
194 interned in the global obarray. For example:
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
195
412
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
196 (keywordp (intern ":foo" [0]))
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
197 => nil
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
198 (keywordp (intern ":foo")) ; The same as (keywordp :foo)
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
199 => t
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
200
412
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
201 This behaviour is compatible with other code which treats symbols
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
202 beginning with colon as keywords only if they are interned in the
414
da8ed4261e83 Import from CVS: tag r21-2-15
cvs
parents: 412
diff changeset
203 global obarray. `keywordp' used to wrongly return t in both cases
412
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
204 above.
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
205
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
206 ** The first argument to `intern-soft' may now also be a symbol, like
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
207 with `unintern'. If given a symbol, `intern-soft' will look for that
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
208 exact symbol rather than for any string. This is useful when you want
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
209 to check whether a specific symbol is interned in an obarray, e.g.:
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
210
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
211 (intern "foo")
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
212 (intern-soft "foo")
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
213 => foo
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
214 (intern-soft (make-symbol "foo"))
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
215 => nil
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
216
412
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
217 ** Functions for decoding base64 encoding are now available; see
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
218 `base64-encode-region', `base64-encode-string', `base64-decode-region'
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
219 and `base64-decode-string'.
404
2f8bb876ab1d Import from CVS: tag r21-2-32
cvs
parents: 398
diff changeset
220
373
6240c7796c7a Import from CVS: tag r21-2b2
cvs
parents: 371
diff changeset
221
274
ca9a9ec9c1c1 Import from CVS: tag r21-0b35
cvs
parents: 259
diff changeset
222 * Changes in XEmacs 21.0
209
41ff10fd062f Import from CVS: tag r20-4b3
cvs
parents: 207
diff changeset
223 ========================
41ff10fd062f Import from CVS: tag r20-4b3
cvs
parents: 207
diff changeset
224
219
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents: 215
diff changeset
225 ** XEmacs has been unbundled into constituent installable packages.
298
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
226 See the Info documentation under "Packages" for more information.
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
227 See the file `etc/PACKAGES' in the distribution for a partial list of
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
228 packages available at the time of the 21.0 release.
219
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents: 215
diff changeset
229
290
c9fe270a4101 Import from CVS: tag r21-0b43
cvs
parents: 286
diff changeset
230 ** XEmacs is now supported under Microsoft Windows 95/98 and Windows
c9fe270a4101 Import from CVS: tag r21-0b43
cvs
parents: 286
diff changeset
231 NT operating systems. For starters, look at the XEmacs on Windows FAQ
294
4b85ae5eabfb Import from CVS: tag r21-0b45
cvs
parents: 292
diff changeset
232 at <URL:http://jagor.srce.hr/~hniksic/xemacs-on-windows-faq.txt>. To
290
c9fe270a4101 Import from CVS: tag r21-0b43
cvs
parents: 286
diff changeset
233 discuss Windows-specific issues, subscribe to the mailing list at
c9fe270a4101 Import from CVS: tag r21-0b43
cvs
parents: 286
diff changeset
234 <xemacs-nt-request@xemacs.org>.
c9fe270a4101 Import from CVS: tag r21-0b43
cvs
parents: 286
diff changeset
235
c9fe270a4101 Import from CVS: tag r21-0b43
cvs
parents: 286
diff changeset
236 ** XEmacs will now use `XEmacs' as its application class if it finds
c9fe270a4101 Import from CVS: tag r21-0b43
cvs
parents: 286
diff changeset
237 any `XEmacs' resources in the resource database. Otherwise, it will
c9fe270a4101 Import from CVS: tag r21-0b43
cvs
parents: 286
diff changeset
238 continue to use the `Emacs' class.
c9fe270a4101 Import from CVS: tag r21-0b43
cvs
parents: 286
diff changeset
239
294
4b85ae5eabfb Import from CVS: tag r21-0b45
cvs
parents: 292
diff changeset
240 ** The options menu has been ported to Custom.
4b85ae5eabfb Import from CVS: tag r21-0b45
cvs
parents: 292
diff changeset
241 This means that each entry in the options menu acts as if you had customized
4b85ae5eabfb Import from CVS: tag r21-0b45
cvs
parents: 292
diff changeset
242 the corresponding variable by hand. ### WARNING: there is currently no
4b85ae5eabfb Import from CVS: tag r21-0b45
cvs
parents: 292
diff changeset
243 upgrading function to help you port your old options settings to the new
4b85ae5eabfb Import from CVS: tag r21-0b45
cvs
parents: 292
diff changeset
244 format. Consequently, if you want to modify the options for XEmacs 21, you
4b85ae5eabfb Import from CVS: tag r21-0b45
cvs
parents: 292
diff changeset
245 will have to set them all again through the menu, and remove the code loading
4b85ae5eabfb Import from CVS: tag r21-0b45
cvs
parents: 292
diff changeset
246 .xemacs-options from your .emacs.
4b85ae5eabfb Import from CVS: tag r21-0b45
cvs
parents: 292
diff changeset
247
278
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
248 ** When the Zmacs region is active, `M-x query-replace' and the other
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
249 replace commands now operate on the region contents only.
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
250
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
251 ** XEmacs now is able to choose X visuals and use private colormaps.
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
252 The '-visual <visualStr>' command line option or the '.EmacsVisual'
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
253 Xresource controls which visual XEmacs will use, and
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
254 '-privateColormap' or '.privateColormap' will force XEmacs to create a
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
255 private colormap for use. The syntax for the visual string is
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
256 "<visual><bitdepth>" where <visual> is one of 'StaticColor',
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
257 'TrueColor', 'GrayScale', 'PseudoColor' or 'DirectColor' and
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
258 <bitdepth> is the appropriate number of bits per pixel. If an invalid
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
259 or non-supported combination is entered, XEmacs attempts to find a happy
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
260 medium. The X creation mechanism will then determine if it needs to
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
261 create a colormap for use, or the presence of the private flags will
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
262 force it to create it.
223
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
263
284
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
264 ** The `imenu' package has been ported to XEmacs and is available as a
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
265 package.
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
266
219
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents: 215
diff changeset
267 ** `echo-keystrokes' can now be a floating-point number, so that you
276
6330739388db Import from CVS: tag r21-0b36
cvs
parents: 274
diff changeset
268 can set it to intervals shorter than one second.
219
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents: 215
diff changeset
269
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents: 215
diff changeset
270 (setq echo-keystrokes 0.1)
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents: 215
diff changeset
271
280
7df0dd720c89 Import from CVS: tag r21-0b38
cvs
parents: 278
diff changeset
272 ** The new command `center-to-window-line' works like `recenter'
7df0dd720c89 Import from CVS: tag r21-0b38
cvs
parents: 278
diff changeset
273 (bound to `C-l'), only it does not redisplay the whole display area.
7df0dd720c89 Import from CVS: tag r21-0b38
cvs
parents: 278
diff changeset
274
284
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
275 ** The M-. command will now first search through exact tags matches,
219
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents: 215
diff changeset
276 and then through inexact matches, as one would expect.
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents: 215
diff changeset
277
223
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
278 ** The new variable `user-full-name' can be used to customize one's
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
279 name when using the Emacs mail and news reading facilities.
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
280
380
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 377
diff changeset
281 Normally, `user-full-name' is a function that returns the full name of
223
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
282 a user or UID, as specified by the system -- for instance,
380
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 377
diff changeset
283 (user-full-name "root") returns something like "Super-User". However,
223
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
284 when the function is called without arguments, it will return the
380
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 377
diff changeset
285 value of the `user-full-name' variable. The `user-full-name' variable
223
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
286 is initialized using the environment variable NAME and (failing that)
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
287 the user's system name.
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
288
380
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 377
diff changeset
289 The behavior of the `user-full-name' function with an argument
225
12579d965149 Import from CVS: tag r20-4b11
cvs
parents: 223
diff changeset
290 specified is unchanged.
223
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
291
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
292 ** The new command `M-x customize-changed-options' lets you customize
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
293 all the options whose default values have changed in recent Emacs
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
294 versions. You specify a previous Emacs version number as argument,
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
295 and the command creates a customization buffer showing all the
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
296 customizable options whose default values were changed since that
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
297 version.
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
298
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
299 If you don't specify a particular version number argument, then the
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
300 customization buffer shows all the customizable options for which
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
301 Emacs versions of changes are recorded.
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
302
249
83b3d10dcba9 Import from CVS: tag r20-5b23
cvs
parents: 243
diff changeset
303 ** The new command `add-log-convert' can be used to convert the
83b3d10dcba9 Import from CVS: tag r20-5b23
cvs
parents: 243
diff changeset
304 old-style (pre-20.3) ChangeLog buffers to new style, for
83b3d10dcba9 Import from CVS: tag r20-5b23
cvs
parents: 243
diff changeset
305 consistency. A reminder: if you wish to revert to old-style
83b3d10dcba9 Import from CVS: tag r20-5b23
cvs
parents: 243
diff changeset
306 ChangeLogs instead, customize the value of `add-log-time-format'
83b3d10dcba9 Import from CVS: tag r20-5b23
cvs
parents: 243
diff changeset
307 variable.
83b3d10dcba9 Import from CVS: tag r20-5b23
cvs
parents: 243
diff changeset
308
284
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
309 ** The new command `zap-up-to-char' is now available. It is similar
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
310 to `zap-to-char', except that it does not delete the searched-for
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
311 character. It is not bound to a key by default.
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
312
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
313 ** You can now store a number into a register with `C-u NUMBER C-x r n'
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
314 REG, increment it by INC with `C-u INC C-x r + REG' (to increment by
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
315 one, omit C-u INC), and insert it in the buffer with `C-x r g REG'.
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
316 This is useful for writing keyboard macros.
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
317
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
318 ** The M-: command, when given a prefix argument, will now insert its
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
319 result to the current buffer.
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
320
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
321 ** The `C-h c' command, when given a prefix argument, will now insert
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
322 the message into the current buffer.
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
323
298
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
324 ** Horizontally split windows may now be dragged using the mouse.
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
325 Because of this, the dividers between vertical windows are always
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
326 visible. To turn it off, set `vertical-divider-always-visible-p' to
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
327 nil.
286
57709be46d1b Import from CVS: tag r21-0b41
cvs
parents: 284
diff changeset
328
223
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
329 ** XEmacs/Mule (internationalization) changes.
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
330
284
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
331 *** Mule support now works on TTY's. Use `set-terminal-coding-system'
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
332 and `set-keyboard-coding-system' to specify the coding system of your
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
333 display and keyboard.
274
ca9a9ec9c1c1 Import from CVS: tag r21-0b35
cvs
parents: 259
diff changeset
334
225
12579d965149 Import from CVS: tag r20-4b11
cvs
parents: 223
diff changeset
335 *** Egg/SJ3 input method is now officially supported. Quail and
12579d965149 Import from CVS: tag r20-4b11
cvs
parents: 223
diff changeset
336 Egg/Skk have been available through the generalized Leim since 20.3.
223
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
337
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
338 *** Localized Japanese menubars are available if XEmacs is built with
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
339 XFONTSET and either the X11 libraries are built with X_LOCALE defined
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
340 or the native C libraries support Japanese localization. This has
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
341 been available since 20.3, only it hasn't been announced before.
219
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents: 215
diff changeset
342
290
c9fe270a4101 Import from CVS: tag r21-0b43
cvs
parents: 286
diff changeset
343 ** Jamie Zawinski's `gdb-highlight' extension is now distributed with
284
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
344 the `debug' package. gdb-highlight makes most objects printed in a
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
345 gdb buffer be mouse-sensitive: as text shows up in the buffer, it is
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
346 parsed, and objects which are recognized have context-sensitive
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
347 commands attached to them. To use it, add the following to `.emacs':
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
348
286
57709be46d1b Import from CVS: tag r21-0b41
cvs
parents: 284
diff changeset
349 (add-hook 'gdb-mode-hook (lambda () (require 'gdb-highlight)))
284
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
350
290
c9fe270a4101 Import from CVS: tag r21-0b43
cvs
parents: 286
diff changeset
351 ** The package popper.el is now included in the edit-utils package.
c9fe270a4101 Import from CVS: tag r21-0b43
cvs
parents: 286
diff changeset
352 It has been greatly enhanced with respect to the one once included
c9fe270a4101 Import from CVS: tag r21-0b43
cvs
parents: 286
diff changeset
353 with the ilisp package and should work well under XEmacs 21.0.
c9fe270a4101 Import from CVS: tag r21-0b43
cvs
parents: 286
diff changeset
354
396
6719134a07c2 Import from CVS: tag r21-2-13
cvs
parents: 388
diff changeset
355 ** Gnuserv changes
6719134a07c2 Import from CVS: tag r21-2-13
cvs
parents: 388
diff changeset
356
6719134a07c2 Import from CVS: tag r21-2-13
cvs
parents: 388
diff changeset
357 *** Like the old 'gnudoit' program. Gnuclient -batch now can read from stdin.
6719134a07c2 Import from CVS: tag r21-2-13
cvs
parents: 388
diff changeset
358
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
359 *** Gnuclient -batch no longer breaks off the output at the first LF.
396
6719134a07c2 Import from CVS: tag r21-2-13
cvs
parents: 388
diff changeset
360
278
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
361 ** C mode changes
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
362
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
363 *** Multiline macros are now handled, both as they affect indentation,
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
364 and as recognized syntax. New syntactic symbol cpp-macro-cont is
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
365 assigned to second and subsequent lines of a multiline macro
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
366 definition.
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
367
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
368 *** A new style "user" which captures all non-hook-ified
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
369 (i.e. top-level) .emacs file variable setings and customizations.
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
370 Style "cc-mode" is an alias for "user" and is deprecated. "gnu" style
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
371 is still the default however.
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
372
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
373 *** "java" style now conforms to Sun's JDK coding style.
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
374
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
375 *** There are new commands c-beginning-of-defun, c-end-of-defun which
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
376 are alternatives which you could bind to C-M-a and C-M-e if you prefer
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
377 them. They do not have key bindings by default.
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
378
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
379 *** New and improved implementations of M-a (c-beginning-of-statement)
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
380 and M-e (c-end-of-statement).
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
381
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
382 *** C++ namespace blocks are supported, with new syntactic symbols
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
383 namespace-open, namespace-close, and innamespace.
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
384
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
385 *** File local variable settings of c-file-style and c-file-offsets
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
386 makes the style variables local to that buffer only.
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
387
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
388 *** New indentation functions c-lineup-close-paren,
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
389 c-indent-one-line-block, c-lineup-dont-change.
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
390
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
391 *** Improvements (hopefully!) to the way CC Mode is loaded. You
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
392 should now be able to do a (require 'cc-mode) to get the entire
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
393 package loaded properly for customization in your .emacs file. A new
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
394 variable c-initialize-on-load controls this and is t by default.
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
395
251
677f6a0ee643 Import from CVS: tag r20-5b24
cvs
parents: 249
diff changeset
396 ** In Text mode, now only blank lines separate paragraphs.
677f6a0ee643 Import from CVS: tag r20-5b24
cvs
parents: 249
diff changeset
397 This makes it possible to get the full benefit of Adaptive Fill mode
677f6a0ee643 Import from CVS: tag r20-5b24
cvs
parents: 249
diff changeset
398 in Text mode, and other modes derived from it (such as Mail mode).
278
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
399 TAB in Text mode now runs the command indent-relative; this makes a
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
400 practical difference only when you use indented paragraphs.
251
677f6a0ee643 Import from CVS: tag r20-5b24
cvs
parents: 249
diff changeset
401
677f6a0ee643 Import from CVS: tag r20-5b24
cvs
parents: 249
diff changeset
402 As a result, the old Indented Text mode is now identical to Text mode,
677f6a0ee643 Import from CVS: tag r20-5b24
cvs
parents: 249
diff changeset
403 and is an alias for it.
677f6a0ee643 Import from CVS: tag r20-5b24
cvs
parents: 249
diff changeset
404
677f6a0ee643 Import from CVS: tag r20-5b24
cvs
parents: 249
diff changeset
405 If you want spaces at the beginning of a line to start a paragraph,
677f6a0ee643 Import from CVS: tag r20-5b24
cvs
parents: 249
diff changeset
406 use the new mode, Paragraph Indent Text mode.
677f6a0ee643 Import from CVS: tag r20-5b24
cvs
parents: 249
diff changeset
407
298
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
408 ** Changes to Gnus, the XEmacs newsreader.
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
409
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
410 *** New functionality for using Gnus as an offline newsreader has been
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
411 added. A plethora of new commands and modes have been added. See the
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
412 Gnus manual for the full story.
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
413
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
414 *** The nndraft backend has returned, but works differently than
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
415 before. All Message buffers are now also articles in the nndraft
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
416 group, which is created automatically.
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
417
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
418 *** `gnus-alter-header-function' can now be used to alter header
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
419 values.
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
420
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
421 *** `gnus-summary-goto-article' now accept Message-ID's.
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
422
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
423 *** A new Message command for deleting text in the body of a message
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
424 outside the region: `C-c C-v'.
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
425
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
426 *** You can now post to component group in nnvirtual groups with
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
427 `C-u C-c C-c'.
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
428
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
429 *** `nntp-rlogin-program' -- new variable to ease customization.
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
430
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
431 *** `C-u C-c C-c' in `gnus-article-edit-mode' will now inhibit
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
432 re-highlighting of the article buffer.
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
433
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
434 *** New element in `gnus-boring-article-headers' -- `long-to'.
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
435
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
436 *** `M-i' symbolic prefix command. See the section "Symbolic
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
437 Prefixes" in the Gnus manual for details.
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
438
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
439 *** `L' and `I' in the summary buffer now take the symbolic prefix
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
440 `a' to add the score rule to the "all.SCORE" file.
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
441
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
442 *** `gnus-simplify-subject-functions' variable to allow greater
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
443 control over simplification.
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
444
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
445 *** `A T' -- new command for fetching the current thread.
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
446
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
447 *** `/ T' -- new command for including the current thread in the
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
448 limit.
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
449
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
450 *** `M-RET' is a new Message command for breaking cited text.
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
451
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
452 *** \\1-expressions are now valid in `nnmail-split-methods'.
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
453
380
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 377
diff changeset
454 *** The `custom-face-lookup' function has been removed.
298
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
455 If you used this function in your initialization files, you must
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
456 rewrite them to use `face-spec-set' instead.
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
457
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
458 *** Cancelling now uses the current select method. Symbolic prefix
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
459 `a' forces normal posting method.
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
460
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
461 *** New command to translate M******** sm*rtq**t*s into proper text
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
462 -- `W d'.
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
463
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
464 *** For easier debugging of nntp, you can set `nntp-record-commands'
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
465 to a non-nil value.
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
466
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
467 *** nntp now uses ~/.authinfo, a .netrc-like file, for controlling
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
468 where and how to send AUTHINFO to NNTP servers.
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
469
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
470 *** A command for editing group parameters from the summary buffer
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
471 has been added.
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
472
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
473 *** A history of where mails have been split is available.
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
474
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
475 *** A new article date command has been added -- `article-date-iso8601'.
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
476
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
477 *** Subjects can be simplified when threading by setting
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
478 `gnus-score-thread-simplify'.
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
479
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
480 *** A new function for citing in Message has been added --
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
481 `message-cite-original-without-signature'.
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
482
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
483 *** `article-strip-all-blank-lines' -- new article command.
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
484
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
485 *** A new Message command to kill to the end of the article has
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
486 been added.
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
487
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
488 *** A minimum adaptive score can be specified by using the
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
489 `gnus-adaptive-word-minimum' variable.
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
490
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
491 *** The "lapsed date" article header can be kept continually
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
492 updated by the `gnus-start-date-timer' command.
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
493
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
494 *** Web listserv archives can be read with the nnlistserv backend.
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
495
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
496 *** Old dejanews archives can now be read by nnweb.
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
497
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
498 *** Byte-compilation of user-specs now works under XEmacs.
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
499
290
c9fe270a4101 Import from CVS: tag r21-0b43
cvs
parents: 286
diff changeset
500 ** The `dir' files are no longer essential for functioning of the Info
c9fe270a4101 Import from CVS: tag r21-0b43
cvs
parents: 286
diff changeset
501 subsystem. If the `dir' file does not exist in an Info directory, the
c9fe270a4101 Import from CVS: tag r21-0b43
cvs
parents: 286
diff changeset
502 relevant information will be generated on-the-fly.
278
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
503
380
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 377
diff changeset
504 This behavior can be customized, look for `Info-auto-generate-directory'
292
6cb5e14cd98e Import from CVS: tag r21-0b44
cvs
parents: 290
diff changeset
505 and `Info-save-auto-generated-dir' in the `info' customization group.
278
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
506
219
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents: 215
diff changeset
507
274
ca9a9ec9c1c1 Import from CVS: tag r21-0b35
cvs
parents: 259
diff changeset
508 * Lisp and internal changes in XEmacs 21.0
219
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents: 215
diff changeset
509 ==========================================
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents: 215
diff changeset
510
274
ca9a9ec9c1c1 Import from CVS: tag r21-0b35
cvs
parents: 259
diff changeset
511 ** It is now possible to build XEmacs with support for 31-bit Lisp
ca9a9ec9c1c1 Import from CVS: tag r21-0b35
cvs
parents: 259
diff changeset
512 integers (normally, Lisp integers are only 28 bits wide on 32-bit
ca9a9ec9c1c1 Import from CVS: tag r21-0b35
cvs
parents: 259
diff changeset
513 machines.) Configure with --use-minimal-tagbits to test. With this
284
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
514 change, the maximum buffer size on 32-bit machines is increased from
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
515 128M to 1G. This setting will be made default in a future XEmacs
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
516 version.
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
517
286
57709be46d1b Import from CVS: tag r21-0b41
cvs
parents: 284
diff changeset
518 ** Specifier changes.
57709be46d1b Import from CVS: tag r21-0b41
cvs
parents: 284
diff changeset
519
57709be46d1b Import from CVS: tag r21-0b41
cvs
parents: 284
diff changeset
520 *** When instantiating a specifier, the window locale now has a higher
57709be46d1b Import from CVS: tag r21-0b41
cvs
parents: 284
diff changeset
521 precedence than the buffer locale. This is because the window locale
57709be46d1b Import from CVS: tag r21-0b41
cvs
parents: 284
diff changeset
522 is more specific than the buffer locale.
57709be46d1b Import from CVS: tag r21-0b41
cvs
parents: 284
diff changeset
523
290
c9fe270a4101 Import from CVS: tag r21-0b43
cvs
parents: 286
diff changeset
524 *** The new macro `let-specifier' can be used to temporarily add
c9fe270a4101 Import from CVS: tag r21-0b43
cvs
parents: 286
diff changeset
525 specifications to specifiers. See the documentation for details.
c9fe270a4101 Import from CVS: tag r21-0b43
cvs
parents: 286
diff changeset
526
286
57709be46d1b Import from CVS: tag r21-0b41
cvs
parents: 284
diff changeset
527 *** The new specifiers `vertical-scrollbar-visible-p' and
57709be46d1b Import from CVS: tag r21-0b41
cvs
parents: 284
diff changeset
528 `horizontal-scrollbar-visible-p' may be used to control scrollbar
290
c9fe270a4101 Import from CVS: tag r21-0b43
cvs
parents: 286
diff changeset
529 visibility. Previously, the only way to remove a scrollbar was to set
c9fe270a4101 Import from CVS: tag r21-0b43
cvs
parents: 286
diff changeset
530 its size to 0. This method is still supported for backward
c9fe270a4101 Import from CVS: tag r21-0b43
cvs
parents: 286
diff changeset
531 compatibility.
286
57709be46d1b Import from CVS: tag r21-0b41
cvs
parents: 284
diff changeset
532
57709be46d1b Import from CVS: tag r21-0b41
cvs
parents: 284
diff changeset
533 *** The new specifiers `scrollbar-on-left-p' and `scrollbar-on-top-p'
57709be46d1b Import from CVS: tag r21-0b41
cvs
parents: 284
diff changeset
534 may be used to control the position of the vertical and horizontal
57709be46d1b Import from CVS: tag r21-0b41
cvs
parents: 284
diff changeset
535 toolbar. Previously, their position could be changed only through the
57709be46d1b Import from CVS: tag r21-0b41
cvs
parents: 284
diff changeset
536 use of X resources.
57709be46d1b Import from CVS: tag r21-0b41
cvs
parents: 284
diff changeset
537
57709be46d1b Import from CVS: tag r21-0b41
cvs
parents: 284
diff changeset
538 *** The new draggable vertical dividers between windows may be turned
298
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
539 off using the `vertical-divider-always-visible-p' specifier. When
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
540 this is set to nil, the vertical dividers between windows are shown
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
541 only when needed, and they are not draggable.
286
57709be46d1b Import from CVS: tag r21-0b41
cvs
parents: 284
diff changeset
542
57709be46d1b Import from CVS: tag r21-0b41
cvs
parents: 284
diff changeset
543 Other properties of the vertical dividers may be controlled using
380
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 377
diff changeset
544 `vertical-divider-shadow-thickness', `vertical-divider-line-width' and
286
57709be46d1b Import from CVS: tag r21-0b41
cvs
parents: 284
diff changeset
545 `vertical-divider-spacing' specifiers, which see.
57709be46d1b Import from CVS: tag r21-0b41
cvs
parents: 284
diff changeset
546
284
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
547 ** Frame focus management changes.
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
548
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
549 *** When the variable focus-follows-mouse is non-nil, `select-frame'
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
550 no longer permanently selects a different frame. The frame selection
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
551 is temporary and is reverted when the current command terminates, much
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
552 like the buffer selected by `set-buffer'. This is the same as in FSF
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
553 Emacs.
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
554
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
555 *** The new function `focus-frame' sets the window system focus to
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
556 FRAME (and selects it), regardless of the value of
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
557 `focus-follows-mouse'. Doing this is not well behaved, so be
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
558 absolutely sure that you want this.
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
559
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
560 The code that uses `select-frame' only to get the window manager focus
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
561 should be changed to use `set-frame-focus' instead, so that they keep
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
562 working when `focus-follows-mouse' is non-nil.
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
563
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
564 *** The special forms `save-selected-frame' and `with-selected-frame'
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
565 can now be used to temporarily change selected frame.
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
566
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
567 *** The behavior of `other-frame' command (`C-x 5 o') is unaffected by
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
568 these changes.
280
7df0dd720c89 Import from CVS: tag r21-0b38
cvs
parents: 278
diff changeset
569
290
c9fe270a4101 Import from CVS: tag r21-0b43
cvs
parents: 286
diff changeset
570 ** The function `select-window' now has an optional second argument
c9fe270a4101 Import from CVS: tag r21-0b43
cvs
parents: 286
diff changeset
571 NORECORD which if non-nil inhibits the recording of a buffer change.
c9fe270a4101 Import from CVS: tag r21-0b43
cvs
parents: 286
diff changeset
572
c9fe270a4101 Import from CVS: tag r21-0b43
cvs
parents: 286
diff changeset
573 ** The function `vertical-motion' now correctly handles the second,
c9fe270a4101 Import from CVS: tag r21-0b43
cvs
parents: 286
diff changeset
574 optional WINDOW argument. A new third argument PIXELS, if non-nil,
c9fe270a4101 Import from CVS: tag r21-0b43
cvs
parents: 286
diff changeset
575 indicates that the returned motion should be in pixels.
c9fe270a4101 Import from CVS: tag r21-0b43
cvs
parents: 286
diff changeset
576
c9fe270a4101 Import from CVS: tag r21-0b43
cvs
parents: 286
diff changeset
577 ** The new function `vertical-motion-pixels' is similar to
c9fe270a4101 Import from CVS: tag r21-0b43
cvs
parents: 286
diff changeset
578 vertical-motion but takes as input a vertical motion in pixels.
c9fe270a4101 Import from CVS: tag r21-0b43
cvs
parents: 286
diff changeset
579
c9fe270a4101 Import from CVS: tag r21-0b43
cvs
parents: 286
diff changeset
580 ** The new functions window-text-area-pixel-{width,height,edges} can
c9fe270a4101 Import from CVS: tag r21-0b43
cvs
parents: 286
diff changeset
581 be used to obtain information about the text-displaying area of a
c9fe270a4101 Import from CVS: tag r21-0b43
cvs
parents: 286
diff changeset
582 window.
c9fe270a4101 Import from CVS: tag r21-0b43
cvs
parents: 286
diff changeset
583
c9fe270a4101 Import from CVS: tag r21-0b43
cvs
parents: 286
diff changeset
584 ** The new functions `shrink-window-pixels' and `enlarge-window-pixels'
c9fe270a4101 Import from CVS: tag r21-0b43
cvs
parents: 286
diff changeset
585 can be used to adjust the size of a window by a pixel amount.
c9fe270a4101 Import from CVS: tag r21-0b43
cvs
parents: 286
diff changeset
586
c9fe270a4101 Import from CVS: tag r21-0b43
cvs
parents: 286
diff changeset
587 ** The new function `window-displayed-text-pixel-height' can be used
c9fe270a4101 Import from CVS: tag r21-0b43
cvs
parents: 286
diff changeset
588 to determine the height of the text actually displayed in a window.
c9fe270a4101 Import from CVS: tag r21-0b43
cvs
parents: 286
diff changeset
589
284
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
590 ** The arithmetic comparison functions <, >, =, /= now accept a
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
591 variable number of arguments.
280
7df0dd720c89 Import from CVS: tag r21-0b38
cvs
parents: 278
diff changeset
592
7df0dd720c89 Import from CVS: tag r21-0b38
cvs
parents: 278
diff changeset
593 This means that if you want to test whether A < B < C, you can write
7df0dd720c89 Import from CVS: tag r21-0b38
cvs
parents: 278
diff changeset
594 it as (< A B C) instead of (and (< A B) (< B C)). Likewise,
371
cc15677e0335 Import from CVS: tag r21-2b1
cvs
parents: 367
diff changeset
595 (apply #'> LIST) now tests if LIST is monotonously increasing -- and
280
7df0dd720c89 Import from CVS: tag r21-0b38
cvs
parents: 278
diff changeset
596 so on.
7df0dd720c89 Import from CVS: tag r21-0b38
cvs
parents: 278
diff changeset
597
223
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
598 ** The XEmacs hashtables now have a consistent read/print syntax.
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
599 This means that a hashtable will be readably printed in a
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
600 structure-like form:
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
601
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
602 #s(hashtable size 2 data (key1 value1 key2 value2))
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
603
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
604 When XEmacs reads this form, it will create a new hashtable according
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
605 to description. This allows you to easily dump hashtables to files
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
606 using `prin1', and read them back in using `read'.
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
607
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
608 If `print-readably' is non-nil, a more relaxed syntax is used; for
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
609 instance:
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
610
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
611 #<hashtable size 2/13 data (key1 value1 key2 value2) 0x874d>
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
612
286
57709be46d1b Import from CVS: tag r21-0b41
cvs
parents: 284
diff changeset
613 ** It is now possible to build XEmacs with LDAP support.
57709be46d1b Import from CVS: tag r21-0b41
cvs
parents: 284
diff changeset
614 You will need to install a LDAP library first. The following have
57709be46d1b Import from CVS: tag r21-0b41
cvs
parents: 284
diff changeset
615 been tested:
380
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 377
diff changeset
616 - LDAP 3.3 from the University of Michigan
286
57709be46d1b Import from CVS: tag r21-0b41
cvs
parents: 284
diff changeset
617 (get it from <URL:http://www.umich.edu/~dirsvcs/ldap/>)
384
bbff43aa5eb7 Import from CVS: tag r21-2-7
cvs
parents: 380
diff changeset
618 - OpenLDAP 1.0.3 from the OpenLDAP Foundation
bbff43aa5eb7 Import from CVS: tag r21-2-7
cvs
parents: 380
diff changeset
619 (get it from <URL:http://www.openldap.org/>)
286
57709be46d1b Import from CVS: tag r21-0b41
cvs
parents: 284
diff changeset
620 - LDAP SDK 1.0 from Netscape Corp.
57709be46d1b Import from CVS: tag r21-0b41
cvs
parents: 284
diff changeset
621 (get it from <URL:http://developer.netscape.com/>)
284
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
622
241
f955c73f5258 Import from CVS: tag r20-5b19
cvs
parents: 227
diff changeset
623 ** When profiling is in effect, a call-count of all recorded functions
f955c73f5258 Import from CVS: tag r20-5b19
cvs
parents: 227
diff changeset
624 is now calculated. This information is stored in
f955c73f5258 Import from CVS: tag r20-5b19
cvs
parents: 227
diff changeset
625 `call-count-profile-table', and is utilized by `profile-results' as
286
57709be46d1b Import from CVS: tag r21-0b41
cvs
parents: 284
diff changeset
626 well as the new command `profile-call-count-results'.
241
f955c73f5258 Import from CVS: tag r20-5b19
cvs
parents: 227
diff changeset
627
284
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
628 ** It is now an error to change the value of a symbol whose name
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
629 starts with a colon, if it is interned in the standard obarray.
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
630
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
631 However, setting such a symbol to its proper value, which is that
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
632 symbol itself, is not an error. This is for the sake of programs that
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
633 support pre-19.12 XEmacs and pre-20 GNU Emacs by explicitly setting
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
634 these variables to themselves.
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
635
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
636 ** The `concat' function no longer accepts integer arguments.
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
637
278
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
638 ** The new function `string' concatenates all its argument characters
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
639 and returns the resulting string. This is consistent with other
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
640 functions, like `list', `vector', etc.
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
641
290
c9fe270a4101 Import from CVS: tag r21-0b43
cvs
parents: 286
diff changeset
642 ** The function `temp-directory' is now available to return the
c9fe270a4101 Import from CVS: tag r21-0b43
cvs
parents: 286
diff changeset
643 directory to store temporary files. On Unix this will be obtained
c9fe270a4101 Import from CVS: tag r21-0b43
cvs
parents: 286
diff changeset
644 from TMPDIR, defaulting to `/tmp'.
c9fe270a4101 Import from CVS: tag r21-0b43
cvs
parents: 286
diff changeset
645
284
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
646 ** The function load-average now accepts an optional argument
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
647 USE-FLOATS. If it is non-nil, the load average values are returned as
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
648 floating point numbers, rather than as integers to be divided by 100.
278
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
649
223
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
650 ** The `make-event' function now supports the TYPE and PLIST
276
6330739388db Import from CVS: tag r21-0b36
cvs
parents: 274
diff changeset
651 arguments, which can be used to create various events from Lisp. See
6330739388db Import from CVS: tag r21-0b36
cvs
parents: 274
diff changeset
652 the documentation for details.
223
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
653
219
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents: 215
diff changeset
654 ** `function-interactive' is a new function that returns the
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents: 215
diff changeset
655 interactive specification of a funcallable object.
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents: 215
diff changeset
656
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents: 215
diff changeset
657 ** The new `lmessage' function allows printing of a formatted message
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents: 215
diff changeset
658 with a particular label.
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents: 215
diff changeset
659
223
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
660 (lmessage 'progress "Processing... %d" counter)
219
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents: 215
diff changeset
661
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents: 215
diff changeset
662 This function is more convenient than `display-message' because it
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents: 215
diff changeset
663 automatically applies `format' to its arguments.
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents: 215
diff changeset
664
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents: 215
diff changeset
665 ** The new `lwarn' function, analogous to `lmessage', allows printing
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents: 215
diff changeset
666 a formatted warning, with a non-default CLASS or LABEL.
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents: 215
diff changeset
667
284
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
668 ** The new function `split-path' can now be used to explode the
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
669 components of a colon-separated search path into a list.
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
670
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
671 (split-path "foo:bar")
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
672 => ("foo" "bar")
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
673
274
ca9a9ec9c1c1 Import from CVS: tag r21-0b35
cvs
parents: 259
diff changeset
674 ** Specifiers and symbols whose value is a specifier are now allowed
276
6330739388db Import from CVS: tag r21-0b36
cvs
parents: 274
diff changeset
675 as modeline specifications.
274
ca9a9ec9c1c1 Import from CVS: tag r21-0b35
cvs
parents: 259
diff changeset
676
ca9a9ec9c1c1 Import from CVS: tag r21-0b35
cvs
parents: 259
diff changeset
677 ** defcustom now accepts the keyword `:version'. Use this to specify
ca9a9ec9c1c1 Import from CVS: tag r21-0b35
cvs
parents: 259
diff changeset
678 in which version of Emacs a certain variable's default value changed.
ca9a9ec9c1c1 Import from CVS: tag r21-0b35
cvs
parents: 259
diff changeset
679 For example,
ca9a9ec9c1c1 Import from CVS: tag r21-0b35
cvs
parents: 259
diff changeset
680
ca9a9ec9c1c1 Import from CVS: tag r21-0b35
cvs
parents: 259
diff changeset
681 (defcustom foo-max 34 "*Maximum number of foo's allowed."
ca9a9ec9c1c1 Import from CVS: tag r21-0b35
cvs
parents: 259
diff changeset
682 :type 'integer
ca9a9ec9c1c1 Import from CVS: tag r21-0b35
cvs
parents: 259
diff changeset
683 :group 'foo
276
6330739388db Import from CVS: tag r21-0b36
cvs
parents: 274
diff changeset
684 :version "21.0")
274
ca9a9ec9c1c1 Import from CVS: tag r21-0b35
cvs
parents: 259
diff changeset
685
ca9a9ec9c1c1 Import from CVS: tag r21-0b35
cvs
parents: 259
diff changeset
686 This information is used to control the customize-changed-options
ca9a9ec9c1c1 Import from CVS: tag r21-0b35
cvs
parents: 259
diff changeset
687 command.
ca9a9ec9c1c1 Import from CVS: tag r21-0b35
cvs
parents: 259
diff changeset
688
225
12579d965149 Import from CVS: tag r20-4b11
cvs
parents: 223
diff changeset
689 ** The line number tracking in modeline is now efficient, even for
12579d965149 Import from CVS: tag r20-4b11
cvs
parents: 223
diff changeset
690 very large buffers. This is achieved by caching the line numbers of
12579d965149 Import from CVS: tag r20-4b11
cvs
parents: 223
diff changeset
691 recent buffer positions, and reusing them. This cache is used only in
12579d965149 Import from CVS: tag r20-4b11
cvs
parents: 223
diff changeset
692 the buffers where `line-number-mode' is in effect.
259
11cf20601dec Import from CVS: tag r20-5b28
cvs
parents: 251
diff changeset
693
274
ca9a9ec9c1c1 Import from CVS: tag r21-0b35
cvs
parents: 259
diff changeset
694 ** When the new GNU Malloc aka Doug Lea Malloc is available, it will
ca9a9ec9c1c1 Import from CVS: tag r21-0b35
cvs
parents: 259
diff changeset
695 be used. This should result in better performance on Linux systems
ca9a9ec9c1c1 Import from CVS: tag r21-0b35
cvs
parents: 259
diff changeset
696 with libc6.
ca9a9ec9c1c1 Import from CVS: tag r21-0b35
cvs
parents: 259
diff changeset
697
276
6330739388db Import from CVS: tag r21-0b36
cvs
parents: 274
diff changeset
698 ** The code XEmacs uses to assemble its various paths into the
6330739388db Import from CVS: tag r21-0b36
cvs
parents: 274
diff changeset
699 directory hierarchy has been rewritten to support the package system.
298
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
700 Look under "Startup Paths" in the Info documentation for more
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
701 information.
276
6330739388db Import from CVS: tag r21-0b36
cvs
parents: 274
diff changeset
702
412
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
703 *** site-lisp is now longer part of the load-path by default.
276
6330739388db Import from CVS: tag r21-0b36
cvs
parents: 274
diff changeset
704 Its use is deprecated, but you can specify --with-site-lisp=yes at the
6330739388db Import from CVS: tag r21-0b36
cvs
parents: 274
diff changeset
705 configure command line to get it back.
6330739388db Import from CVS: tag r21-0b36
cvs
parents: 274
diff changeset
706
6330739388db Import from CVS: tag r21-0b36
cvs
parents: 274
diff changeset
707 *** `Info-default-directory-list' is now obsolete. If you want to
6330739388db Import from CVS: tag r21-0b36
cvs
parents: 274
diff changeset
708 change the path which XEmacs uses to search for info files, set
6330739388db Import from CVS: tag r21-0b36
cvs
parents: 274
diff changeset
709 `Info-directory-list' instead.