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