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