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