annotate etc/NEWS @ 2367:ecf1ebac70d8

[xemacs-hg @ 2004-11-04 23:05:23 by ben] commit mega-patch configure.in: Turn off -Winline and -Wchar-subscripts. Use the right set of cflags when compiling modules. Rewrite ldap configuration to separate the inclusion of lber (needed in recent Cygwin) from the basic checks for the needed libraries. add a function for MAKE_JUNK_C; initially code was added to generate xemacs.def using this, but it will need to be rewritten. add an rm -f for junk.c to avoid weird Cygwin bug with cp -f onto an existing file. Sort list of auto-detected functions and eliminate unused checks for stpcpy, setlocale and getwd. Add autodetection of Cygwin scanf problems BETA: Rewrite section on configure to indicate what flags are important and what not. digest-doc.c, make-dump-id.c, profile.c, sorted-doc.c: Add proper decls for main(). make-msgfile.c: Document that this is old junk. Move proposal to text.c. make-msgfile.lex: Move proposal to text.c. make-mswin-unicode.pl: Convert error-generating code so that the entire message will be seen as a single unrecognized token. mule/mule-ccl.el: Update docs. lispref/mule.texi: Update CCL docs. ldap/eldap.c: Mule-ize. Use EXTERNAL_LIST_LOOP_2 instead of deleted EXTERNAL_LIST_LOOP. * XEmacs 21.5.18 "chestnut" is released. --------------------------------------------------------------- MULE-RELATED WORK: --------------------------------------------------------------- --------------------------- byte-char conversion --------------------------- buffer.c, buffer.h, insdel.c, text.c: Port FSF algorithm for byte-char conversion, replacing broken previous version. Track the char position of the gap. Add functions to do char-byte conversion downwards as well as upwards. Move comments about algorithm workings to internals manual. --------------------------- work on types --------------------------- alloc.c, console-x-impl.h, dump-data.c, dump-data.h, dumper.c, dialog-msw.c, dired-msw.c, doc.c, editfns.c, esd.c, event-gtk.h, event-msw.c, events.c, file-coding.c, file-coding.h, fns.c, glyphs-eimage.c, glyphs-gtk.c, glyphs-msw.c, glyphs-shared.c, glyphs-x.c, glyphs.c, glyphs.h, gui.c, hpplay.c, imgproc.c, intl-win32.c, lrecord.h, lstream.c, keymap.c, lisp.h, libsst.c, linuxplay.c, miscplay.c, miscplay.h, mule-coding.c, nas.c, nt.c, ntheap.c, ntplay.c, objects-msw.c, objects-tty.c, objects-x.c, print.c, process-nt.c, process.c, redisplay.h, select-common.h, select-gtk.c, select-x.c, sgiplay.c, sound.c, sound.h, sunplay.c, sysfile.h, sysdep.c, syswindows.h, text.c, unexnt.c, win32.c, xgccache.c: Further work on types. This creates a full set of types for all the basic semantics of `char' that I have so far identified, so that its semantics can always be identified for the purposes of proper Mule-safe code, and the raw use of `char' always avoided. (1) More type renaming, for consistency of naming. Char_ASCII -> Ascbyte UChar_ASCII -> UAscbyte Char_Binary -> CBinbyte UChar_Binary -> Binbyte SChar_Binary -> SBinbyte (2) Introduce Rawbyte, CRawbyte, Boolbyte, Chbyte, UChbyte, and Bitbyte and use them. (3) New types Itext, Wexttext and Textcount for separating out the concepts of bytes and textual units (different under UTF-16 and UTF-32, which are potential internal encodings). (4) qxestr*_c -> qxestr*_ascii. lisp.h: New; goes with other qxe() functions. #### Maybe goes in a different section. lisp.h: Group generic int-type defs together with EMACS_INT defs. lisp.h: * lisp.h (WEXTTEXT_IS_WIDE) New defns. lisp.h: New type to replace places where int occurs as a boolean. It's signed because occasionally people may want to use -1 as an error value, and because unsigned ints are viral -- see comments in the internals manual against using them. dynarr.c: int -> Bytecount. --------------------------- Mule-izing --------------------------- device-x.c: Partially Mule-ize. dumper.c, dumper.h: Mule-ize. Use Rawbyte. Use stderr_out not printf. Use wext_*(). sysdep.c, syswindows.h, text.c: New Wexttext API for manipulation of external text that may be Unicode (e.g. startup code under Windows). emacs.c: Mule-ize. Properly deal with argv in external encoding. Use wext_*() and Wexttext. Use Rawbyte. #if 0 some old junk on SCO that is unlikely to be correct. Rewrite allocation code in run-temacs. emacs.c, symsinit.h, win32.c: Rename win32 init function and call it even earlier, to initialize mswindows_9x_p even earlier, for use in startup code (XEUNICODE_P). process.c: Use _wenviron not environ under Windows, to get Unicode environment variables. event-Xt.c: Mule-ize drag-n-drop related stuff. dragdrop.c, dragdrop.h, frame-x.c: Mule-ize. text.h: Add some more stand-in defines for particular kinds of conversion; use in Mule-ization work in frame-x.c etc. --------------------------- Freshening --------------------------- intl-auto-encap-win32.c, intl-auto-encap-win32.h: Regenerate. --------------------------- Unicode-work --------------------------- intl-win32.c, syswindows.h: Factor out common options to MultiByteToWideChar and WideCharToMultiByte. Add convert_unicode_to_multibyte_malloc() and convert_unicode_to_multibyte_dynarr() and use. Add stuff for alloca() conversion of multibyte/unicode. alloc.c: Use dfc_external_data_len() in case of unicode coding system. alloc.c, mule-charset.c: Don't zero out and reinit charset Unicode tables. This fucks up dump-time loading. Anyway, either we load them at dump time or run time, never both. unicode.c: Dump the blank tables as well. --------------------------------------------------------------- DOCUMENTATION, MOSTLY MULE-RELATED: --------------------------------------------------------------- EmacsFrame.c, emodules.c, event-Xt.c, fileio.c, input-method-xlib.c, mule-wnnfns.c, redisplay-gtk.c, redisplay-tty.c, redisplay-x.c, regex.c, sysdep.c: Add comment about Mule work needed. text.h: Add more documentation describing why DFC routines were not written to return their value. Add some other DFC documentation. console-msw.c, console-msw.h: Add pointer to docs in win32.c. emacs.c: Add comments on sources of doc info. text.c, charset.h, unicode.c, intl-win32.c, intl-encap-win32.c, text.h, file-coding.c, mule-coding.c: Collect background comments and related to text matters and internationalization, and proposals for work to be done, in text.c or Internals manual, stuff related to specific textual API's in text.h, and stuff related to internal implementation of Unicode conversion in unicode.c. Put lots of pointers to the comments to make them easier to find. s/mingw32.h, s/win32-common.h, s/win32-native.h, s/windowsnt.h, win32.c: Add bunches of new documentation on the different kinds of builds and environments under Windows and how they work. Collect this info in win32.c. Add pointers to these docs in the relevant s/* files. emacs.c: Document places with long comments. Remove comment about exiting, move to internals manual, put in pointer. event-stream.c: Move docs about event queues and focus to internals manual, put in pointer. events.h: Move docs about event stream callbacks to internals manual, put in pointer. profile.c, redisplay.c, signal.c: Move documentation to the Internals manual. process-nt.c: Add pointer to comment in win32-native.el. lisp.h: Add comments about some comment conventions. lisp.h: Add comment about the second argument. device-msw.c, redisplay-msw.c: @@#### comments are out-of-date. --------------------------------------------------------------- PDUMP WORK (MOTIVATED BY UNICODE CHANGES) --------------------------------------------------------------- alloc.c, buffer.c, bytecode.c, console-impl.h, console.c, device.c, dumper.c, lrecord.h, elhash.c, emodules.h, events.c, extents.c, frame.c, glyphs.c, glyphs.h, mule-charset.c, mule-coding.c, objects.c, profile.c, rangetab.c, redisplay.c, specifier.c, specifier.h, window.c, lstream.c, file-coding.h, file-coding.c: PDUMP: Properly implement dump_add_root_block(), which never worked before, and is necessary for dumping Unicode tables. Pdump name changes for accuracy: XD_STRUCT_PTR -> XD_BLOCK_PTR. XD_STRUCT_ARRAY -> XD_BLOCK_ARRAY. XD_C_STRING -> XD_ASCII_STRING. *_structure_* -> *_block_*. lrecord.h: some comments added about dump_add_root_block() vs dump_add_root_block_ptr(). extents.c: remove incorrect comment about pdump problems with gap array. --------------------------------------------------------------- ALLOCATION --------------------------------------------------------------- abbrev.c, alloc.c, bytecode.c, casefiddle.c, device-msw.c, device-x.c, dired-msw.c, doc.c, doprnt.c, dragdrop.c, editfns.c, emodules.c, file-coding.c, fileio.c, filelock.c, fns.c, glyphs-eimage.c, glyphs-gtk.c, glyphs-msw.c, glyphs-x.c, gui-msw.c, gui-x.c, imgproc.c, intl-win32.c, lread.c, menubar-gtk.c, menubar.c, nt.c, objects-msw.c, objects-x.c, print.c, process-nt.c, process-unix.c, process.c, realpath.c, redisplay.c, search.c, select-common.c, symbols.c, sysdep.c, syswindows.h, text.c, text.h, ui-byhand.c: New macros {alloca,xnew}_{itext,{i,ext,raw,bin,asc}bytes} for more convenient allocation of these commonly requested items. Modify functions to use alloca_ibytes, alloca_array, alloca_extbytes, xnew_ibytes, etc. also XREALLOC_ARRAY, xnew. alloc.c: Rewrite the allocation functions to factor out repeated code. Add assertions for freeing dumped data. lisp.h: Moved down and consolidated with other allocation stuff. lisp.h, dynarr.c: New functions for allocation that's very efficient when mostly in LIFO order. lisp.h, text.c, text.h: Factor out some stuff for general use by alloca()-conversion funs. text.h, lisp.h: Fill out convenience routines for allocating various kinds of bytes and put them in lisp.h. Use them in place of xmalloc(), ALLOCA(). text.h: Fill out the convenience functions so the _MALLOC() kinds match the alloca() kinds. --------------------------------------------------------------- ERROR-CHECKING --------------------------------------------------------------- text.h: Create ASSERT_ASCTEXT_ASCII() and ASSERT_ASCTEXT_ASCII_LEN() from similar Eistring checkers and change the Eistring checkers to use them instead. --------------------------------------------------------------- MACROS IN LISP.H --------------------------------------------------------------- lisp.h: Redo GCPRO declarations. Create a "base" set of functions that can be used to generate any kind of gcpro sets -- regular, ngcpro, nngcpro, private ones used in GC_EXTERNAL_LIST_LOOP_2. buffer.c, callint.c, chartab.c, console-msw.c, device-x.c, dialog-msw.c, dired.c, extents.c, ui-gtk.c, rangetab.c, nt.c, mule-coding.c, minibuf.c, menubar-msw.c, menubar.c, menubar-gtk.c, lread.c, lisp.h, gutter.c, glyphs.c, glyphs-widget.c, fns.c, fileio.c, file-coding.c, specifier.c: Eliminate EXTERNAL_LIST_LOOP, which does not check for circularities. Use EXTERNAL_LIST_LOOP_2 instead or EXTERNAL_LIST_LOOP_3 or EXTERNAL_PROPERTY_LIST_LOOP_3 or GC_EXTERNAL_LIST_LOOP_2 (new macro). Removed/redid comments on EXTERNAL_LIST_LOOP. --------------------------------------------------------------- SPACING FIXES --------------------------------------------------------------- callint.c, hftctl.c, number-gmp.c, process-unix.c: Spacing fixes. --------------------------------------------------------------- FIX FOR GEOMETRY PROBLEM IN FIRST FRAME --------------------------------------------------------------- unicode.c: Add workaround for newlib bug in sscanf() [should be fixed by release 1.5.12 of Cygwin]. toolbar.c: bug fix for problem of initial frame being 77 chars wide on Windows. will be overridden by my other ws. --------------------------------------------------------------- FIX FOR LEAKING PROCESS HANDLES: --------------------------------------------------------------- process-nt.c: Fixes for leaking handles. Inspired by work done by Adrian Aichner <adrian@xemacs.org>. --------------------------------------------------------------- FIX FOR CYGWIN BUG (Unicode-related): --------------------------------------------------------------- unicode.c: Add workaround for newlib bug in sscanf() [should be fixed by release 1.5.12 of Cygwin]. --------------------------------------------------------------- WARNING FIXES: --------------------------------------------------------------- console-stream.c: `reinit' is unused. compiler.h, event-msw.c, frame-msw.c, intl-encap-win32.c, text.h: Add stuff to deal with ANSI-aliasing warnings I got. regex.c: Gather includes together to avoid warning. --------------------------------------------------------------- CHANGES TO INITIALIZATION ROUTINES: --------------------------------------------------------------- buffer.c, emacs.c, console.c, debug.c, device-x.c, device.c, dragdrop.c, emodules.c, eval.c, event-Xt.c, event-gtk.c, event-msw.c, event-stream.c, event-tty.c, events.c, extents.c, faces.c, file-coding.c, fileio.c, font-lock.c, frame-msw.c, glyphs-widget.c, glyphs.c, gui-x.c, insdel.c, lread.c, lstream.c, menubar-gtk.c, menubar-x.c, minibuf.c, mule-wnnfns.c, objects-msw.c, objects.c, print.c, scrollbar-x.c, search.c, select-x.c, text.c, undo.c, unicode.c, window.c, symsinit.h: Call reinit_*() functions directly from emacs.c, for clarity. Factor out some redundant init code. Move disallowed stuff that had crept into vars_of_glyphs() into complex_vars_of_glyphs(). Call init_eval_semi_early() from eval.c not in the middle of vars_of_() in emacs.c since there should be no order dependency in the latter calls. --------------------------------------------------------------- ARMAGEDDON: --------------------------------------------------------------- alloc.c, emacs.c, lisp.h, print.c: Rename inhibit_non_essential_printing_operations to inhibit_non_essential_conversion_operations. text.c: Assert on !inhibit_non_essential_conversion_operations. console-msw.c, print.c: Don't do conversion in SetConsoleTitle or FindWindow to avoid problems during armageddon. Put #errors for NON_ASCII_INTERNAL_FORMAT in places where problems would arise. --------------------------------------------------------------- CHANGES TO THE BUILD PROCEDURE: --------------------------------------------------------------- config.h.in, s/cxux.h, s/usg5-4-2.h, m/powerpc.h: Add comment about correct ordering of this file. Rearrange everything to follow this -- put all #undefs together and before the s&m files. Add undefs for HAVE_ALLOCA, C_ALLOCA, BROKEN_ALLOCA_IN_FUNCTION_CALLS, STACK_DIRECTION. Remove unused HAVE_STPCPY, HAVE_GETWD, HAVE_SETLOCALE. m/gec63.h: Deleted; totally broken, not used at all, not in FSF. m/7300.h, m/acorn.h, m/alliant-2800.h, m/alliant.h, m/altos.h, m/amdahl.h, m/apollo.h, m/att3b.h, m/aviion.h, m/celerity.h, m/clipper.h, m/cnvrgnt.h, m/convex.h, m/cydra5.h, m/delta.h, m/delta88k.h, m/dpx2.h, m/elxsi.h, m/ews4800r.h, m/gould.h, m/hp300bsd.h, m/hp800.h, m/hp9000s300.h, m/i860.h, m/ibmps2-aix.h, m/ibmrs6000.h, m/ibmrt-aix.h, m/ibmrt.h, m/intel386.h, m/iris4d.h, m/iris5d.h, m/iris6d.h, m/irist.h, m/isi-ov.h, m/luna88k.h, m/m68k.h, m/masscomp.h, m/mg1.h, m/mips-nec.h, m/mips-siemens.h, m/mips.h, m/news.h, m/nh3000.h, m/nh4000.h, m/ns32000.h, m/orion105.h, m/pfa50.h, m/plexus.h, m/pmax.h, m/powerpc.h, m/pyrmips.h, m/sequent-ptx.h, m/sequent.h, m/sgi-challenge.h, m/symmetry.h, m/tad68k.h, m/tahoe.h, m/targon31.h, m/tekxd88.h, m/template.h, m/tower32.h, m/tower32v3.h, m/ustation.h, m/vax.h, m/wicat.h, m/xps100.h: Delete C_ALLOCA, HAVE_ALLOCA, STACK_DIRECTION, BROKEN_ALLOCA_IN_FUNCTION_CALLS. All of this is auto-detected. When in doubt, I followed recent FSF sources, which also have these things deleted.
author ben
date Thu, 04 Nov 2004 23:08:28 +0000
parents 4e852279de88
children f15523a6da7a
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1 -*- mode:outline -*-
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
2
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
3 * Introduction
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
4 ==============
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
5
2291
4e852279de88 [xemacs-hg @ 2004-09-21 09:24:10 by stephent]
stephent
parents: 686
diff changeset
6 This file presents the changes in recent XEmacs versions. Primarily
4e852279de88 [xemacs-hg @ 2004-09-21 09:24:10 by stephent]
stephent
parents: 686
diff changeset
7 it documents user-visible (interface) changes, but also includes
4e852279de88 [xemacs-hg @ 2004-09-21 09:24:10 by stephent]
stephent
parents: 686
diff changeset
8 internal changes of possible interest to users. When describing new
4e852279de88 [xemacs-hg @ 2004-09-21 09:24:10 by stephent]
stephent
parents: 686
diff changeset
9 features, we also document ways of reverting to the old behavior,
4e852279de88 [xemacs-hg @ 2004-09-21 09:24:10 by stephent]
stephent
parents: 686
diff changeset
10 where applicable. If you dislike a recent change in how XEmacs
4e852279de88 [xemacs-hg @ 2004-09-21 09:24:10 by stephent]
stephent
parents: 686
diff changeset
11 behaves, you may find a remedy in this file.
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
12
2291
4e852279de88 [xemacs-hg @ 2004-09-21 09:24:10 by stephent]
stephent
parents: 686
diff changeset
13 Use `C-c C-f' to move to the next heading at the same level, and
4e852279de88 [xemacs-hg @ 2004-09-21 09:24:10 by stephent]
stephent
parents: 686
diff changeset
14 `C-c C-b' to move to the previous heading at this level. `C-h m' gives
4e852279de88 [xemacs-hg @ 2004-09-21 09:24:10 by stephent]
stephent
parents: 686
diff changeset
15 help on Outline mode. The menubar provides more commands.
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
16
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
17 Users who would like to know which capabilities have been introduced
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
18 in each release should look at the appropriate section of this file.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
19 Starting with version 20.0, XEmacs includes ChangeLogs, which can be
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
20 consulted for a more detailed list of changes.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
21
2291
4e852279de88 [xemacs-hg @ 2004-09-21 09:24:10 by stephent]
stephent
parents: 686
diff changeset
22 N.B. The term "GNU Emacs" refers to any release of Emacs from the
4e852279de88 [xemacs-hg @ 2004-09-21 09:24:10 by stephent]
stephent
parents: 686
diff changeset
23 Free Software Foundation's GNU Project starting with Version 19.
4e852279de88 [xemacs-hg @ 2004-09-21 09:24:10 by stephent]
stephent
parents: 686
diff changeset
24 The term "XEmacs" refers to this program or sometimes to its
4e852279de88 [xemacs-hg @ 2004-09-21 09:24:10 by stephent]
stephent
parents: 686
diff changeset
25 predecessors "Era" and "Lucid Emacs". The predecessor of all these
4e852279de88 [xemacs-hg @ 2004-09-21 09:24:10 by stephent]
stephent
parents: 686
diff changeset
26 programs is called "Emacs 18". When no particular version is
4e852279de88 [xemacs-hg @ 2004-09-21 09:24:10 by stephent]
stephent
parents: 686
diff changeset
27 implied, "Emacs" will be used.
4e852279de88 [xemacs-hg @ 2004-09-21 09:24:10 by stephent]
stephent
parents: 686
diff changeset
28
4e852279de88 [xemacs-hg @ 2004-09-21 09:24:10 by stephent]
stephent
parents: 686
diff changeset
29
4e852279de88 [xemacs-hg @ 2004-09-21 09:24:10 by stephent]
stephent
parents: 686
diff changeset
30 * Changes in XEmacs 21.5
4e852279de88 [xemacs-hg @ 2004-09-21 09:24:10 by stephent]
stephent
parents: 686
diff changeset
31 ========================
4e852279de88 [xemacs-hg @ 2004-09-21 09:24:10 by stephent]
stephent
parents: 686
diff changeset
32
4e852279de88 [xemacs-hg @ 2004-09-21 09:24:10 by stephent]
stephent
parents: 686
diff changeset
33 ** Summary of user-visible changes:
4e852279de88 [xemacs-hg @ 2004-09-21 09:24:10 by stephent]
stephent
parents: 686
diff changeset
34
4e852279de88 [xemacs-hg @ 2004-09-21 09:24:10 by stephent]
stephent
parents: 686
diff changeset
35 -- Bignums have been implemented.
4e852279de88 [xemacs-hg @ 2004-09-21 09:24:10 by stephent]
stephent
parents: 686
diff changeset
36 -- Windows users have benefit of the full Win32 Unicode API.
4e852279de88 [xemacs-hg @ 2004-09-21 09:24:10 by stephent]
stephent
parents: 686
diff changeset
37 -- (in process) Xft provides antialiased fonts on X11.
4e852279de88 [xemacs-hg @ 2004-09-21 09:24:10 by stephent]
stephent
parents: 686
diff changeset
38
4e852279de88 [xemacs-hg @ 2004-09-21 09:24:10 by stephent]
stephent
parents: 686
diff changeset
39 ** Bignum implementation.
4e852279de88 [xemacs-hg @ 2004-09-21 09:24:10 by stephent]
stephent
parents: 686
diff changeset
40
4e852279de88 [xemacs-hg @ 2004-09-21 09:24:10 by stephent]
stephent
parents: 686
diff changeset
41 Integer computations no longer overflow, rational arithmetic "just
4e852279de88 [xemacs-hg @ 2004-09-21 09:24:10 by stephent]
stephent
parents: 686
diff changeset
42 works", and very precise floating point calculation is available.
4e852279de88 [xemacs-hg @ 2004-09-21 09:24:10 by stephent]
stephent
parents: 686
diff changeset
43 This also means that large buffers (over 2^30 = 1GB) can be
4e852279de88 [xemacs-hg @ 2004-09-21 09:24:10 by stephent]
stephent
parents: 686
diff changeset
44 manipulated.
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
45
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
46
464
5aa1854ad537 Import from CVS: tag r21-2-47
cvs
parents: 462
diff changeset
47 * Changes in XEmacs 21.4
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
48 ========================
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
49
479
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
50 ** Summary of user-visible changes:
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
51
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
52 -- The delete key now deletes forward by default.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
53 -- Shifted motion keys now select text by default.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
54 -- You can now build XEmacs with support for GTK+ widget set.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
55 -- ~/.xemacs/init.el is now the preferred location for the init file.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
56 - XEmacs now supports a `~/.xemacs/init.el' startup file.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
57 - Custom file will move to ~/.xemacs/custom.el.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
58 -- Much-improved sample init.el, showing how to use many useful features.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
59 -- XEmacs support for menu accelerators has been much improved.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
60 -- Default menubar improvements.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
61 - Default menubar has many new commands and better organization.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
62 - The font-menu is now available under MS Windows.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
63 -- Dialog box improvements, including a real file dialog box.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
64 - XEmacs now has a proper file dialog box under MS Windows (and GTK)!
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
65 - The old clunky file dialog box is improved.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
66 - Keyboard traversal now works correctly in MS Windows dialog boxes.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
67 - There is a Search dialog box available from Edit->Find...
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
68 -- New buffer tabs.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
69 -- There is a new MS Windows installer, netinstall, ported from Cygwin.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
70 -- The subprocess quote-handling mechanism under Windows is much improved.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
71 -- Printing support now available under MS Windows.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
72 -- Selection improvements.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
73 - Kill and yank now interact with the clipboard under Windows.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
74 - MS Windows support for selection is now much more robust.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
75 - Motif selection support is now more correct (but slower).
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
76 -- Mail spool locking now works correctly.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
77 -- International support changes.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
78 - The default coding-priority-list is now safer.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
79 - International keysyms are now supported under X.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
80 - MS Windows 1251 code page now supported.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
81 - Czech, Thai, Cyrillic-KOI8, Vietnamese, Ethiopic now supported.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
82 - Proper support for words in Latin 3 and Latin 4.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
83 -- Help buffers contain hyperlinks, and other changes.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
84 -- The modeline's text is now scrollable.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
85 -- The mouse wheel under MS Windows now functions correctly.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
86 -- Interactive searching and matching case improvements.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
87 - Incremental search will now highlight all visible matches.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
88 - Interactive searches always respect uppercase characters.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
89 -- Rectangle functions rewritten to avoid inserting extra spaces.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
90 -- New command `kill-entire-line' that always kills the entire line.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
91 -- Default values correctly stored in minibuffer histories.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
92 -- You can now create "indirect buffers", like in GNU Emacs.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
93 -- Pixel-based scrolling has been implemented.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
94 -- Operation progress can be displayed using graphical widgets.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
95 -- User names following a tilde can now be completed at file name prompts.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
96 -- XEmacs can now play sound using Enlightenment Sound Daemon (ESD).
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
97 -- X-Face support is now available under MS Windows.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
98 -- The PostgreSQL Relational Database Management System is now supported.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
99 -- Indentation no longer indents comments that begin at column zero.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
100 -- Face and variable settings can have comments in Customize.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
101 -- New locations for early package hierarchies.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
102 -- The `auto-save' library has been greatly improved.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
103 -- New variable `mswindows-alt-by-itself-activates-menu'.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
104 -- Other init-file-related changes.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
105 - Init file in your home directory may be called `.emacs.el'.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
106 - New command-line switches -user-init-file and -user-init-directory.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
107 -- Etags changes.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
108 - In DOS, etags looks for file.cgz if it cannot find file.c.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
109 - New option --ignore-case-regex is an alternative to --regex.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
110 - New option --declarations, for C-type languages.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
111 - In C++, tags are created for "operator".
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
112 - Ada now supported.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
113 - In Fortran, procedure is no longer tagged.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
114 - In Java, tags are created for "interface".
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
115 - In Lisp, def-type constructs are now tagged.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
116 - In Perl, the --globals option tags global variables.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
117 - Python now supported.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
118 - New file extensions recognized: .ss, .pdb, .psw.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
119
440
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
120 ** The delete key now deletes forward by default.
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
121
440
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
122 This is regulated by the variable `delete-key-deletes-forward', which
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
123 now defaults to t. `delete-key-deletes-forward' takes effect only on
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
124 the systems that offer both a backspace and a delete key. If set to
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
125 nil, the key labeled "Delete" will always delete backward. If set to
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
126 non-nil, the "Delete" key will delete forward, except on keyboards
479
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
127 where a "Backspace" key is not provided (e.g. old DEC keyboards).
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
128
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
129 Unless our implementation has bugs, the only reason why you would want
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
130 to set `delete-key-deletes-forward' to nil is if you want to use the
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
131 Delete key to delete backwards, despite the presence (according to
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
132 Xlib) of a BackSpace key on the keyboard.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
133
479
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
134 ** Shifted motion keys now select text by default.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
135
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
136 You can turn this off by setting `shifted-motion-keys-select-region'
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
137 to nil. This works based off of particular keys, not particular
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
138 commands: Thus, the arrow keys will normally trigger selection when
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
139 the Shift key is held down regardless of their bindings, and non-arrow
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
140 keys with the same bindings (e.g. C-f) will not work this way. You
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
141 can control which keys trigger shifted motion using
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
142 `motion-keys-for-shifted-motion'. See also
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
143 `unshifted-motion-keys-deselect-region'.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
144
464
5aa1854ad537 Import from CVS: tag r21-2-47
cvs
parents: 462
diff changeset
145 ** You can now build XEmacs with support for GTK+ widget set.
5aa1854ad537 Import from CVS: tag r21-2-47
cvs
parents: 462
diff changeset
146
5aa1854ad537 Import from CVS: tag r21-2-47
cvs
parents: 462
diff changeset
147 XEmacs built that way uses GTK+ to draw menubars, scrollbars, and
5aa1854ad537 Import from CVS: tag r21-2-47
cvs
parents: 462
diff changeset
148 other GUI components, as well GDK for drawing text, choosing fonts,
5aa1854ad537 Import from CVS: tag r21-2-47
cvs
parents: 462
diff changeset
149 allocating colors, etc. Additionally, GTK-XEmacs supports Lisp
5aa1854ad537 Import from CVS: tag r21-2-47
cvs
parents: 462
diff changeset
150 functions for writing your own GTK programs in Emacs Lisp!
5aa1854ad537 Import from CVS: tag r21-2-47
cvs
parents: 462
diff changeset
151
5aa1854ad537 Import from CVS: tag r21-2-47
cvs
parents: 462
diff changeset
152 To use this, build XEmacs with the `--with-gtk' configure flag. (Of
5aa1854ad537 Import from CVS: tag r21-2-47
cvs
parents: 462
diff changeset
153 course, you'll need to have the GTK+ libraries and header files on the
5aa1854ad537 Import from CVS: tag r21-2-47
cvs
parents: 462
diff changeset
154 system.) Gnome widgets and functionality are supported where
5aa1854ad537 Import from CVS: tag r21-2-47
cvs
parents: 462
diff changeset
155 available, and can be turned off.
5aa1854ad537 Import from CVS: tag r21-2-47
cvs
parents: 462
diff changeset
156
479
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
157 ** ~/.xemacs/init.el is now the preferred location for the init file.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
158
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
159 *** XEmacs now supports a `~/.xemacs/init.el' startup file.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
160 If it exists, XEmacs will prefer it over `.emacs' and `.emacs.el'.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
161 The file may be byte-compiled as `~/.xemacs/init.elc'.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
162
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
163 If present, the `~/.xemacs/' directory may contain startup files for
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
164 XEmacs packages that support it.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
165
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
166 The first time you start up XEmacs, it will ask you if you would like
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
167 to migrate your `.emacs' to the new location. (Your custom settings
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
168 will also be moved, to `~/.xemacs/custom.el' -- see below.) If so, you
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
169 will also be asked whether you would like to create a compatibility
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
170 `.emacs' for backward compatibility with previous versions of XEmacs
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
171 and with GNU Emacs. (This compatibility `.emacs' simply loads the new
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
172 init and custom files.) Doing this is generally a good idea -- new
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
173 versions of XEmacs will prefer `~/.xemacs/init.el' over `~/.emacs' in
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
174 any case.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
175
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
176 You can manually migrate at any time with `migrate-user-init-file',
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
177 and undo any migration with `unmigrate-user-init-file'. The function
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
178 `create-compatibility-dot-emacs' also lets you manually create a
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
179 compatibility `.emacs'.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
180
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
181 NOTE: Under MS Windows, your home directory (i.e. the directory named
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
182 `~') is specified by the HOME environment variable, and defaults to
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
183 C:\. To set this variable, modify AUTOEXEC.BAT under Windows 95/98,
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
184 or select Control Panel->System->Advanced->Environment Variables...
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
185 under Windows NT/2000.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
186
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
187 *** Custom file will move to ~/.xemacs/custom.el.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
188
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
189 Whereas customize settings were formerly stored in the regular init
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
190 file, XEmacs now prefers them to be in a separate file
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
191 `~/.xemacs/custom.el', completely under automatic control. This
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
192 change goes with the migration of the init file, and XEmacs offers
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
193 automatic migration upon startup.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
194
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
195 ** Much-improved sample init.el, showing how to use many useful features.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
196
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
197 The sample init file, located in the `etc/' directory of the XEmacs
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
198 installation, has been renamed from `sample.emacs' to `sample.init.el',
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
199 and pretty much rewritten from scratch. (You can view it by selecting
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
200 the menu item Help->Samples->Sample init.el.) Many of the most-useful
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
201 optional features in XEmacs have been enabled, and other features that
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
202 are useful but may be annoying to some are present but commented out.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
203 There is also extensive documentation on how to add your own
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
204 improvements to the init file and where to find more documentation
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
205 elsewhere in XEmacs. The file has been specifically designed so that
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
206 most people can simply make it their own init file by copying it to
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
207 ~/.xemacs/init.el, and they will be satisfied with the results.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
208
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
209 ** XEmacs support for menu accelerators has been much improved.
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
210
479
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
211 It now works properly under MS Windows, for example. To enable
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
212 accelerators, set `menu-accelerator-enabled' to `menu-force'. Menus
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
213 now have accelerators by default, currently on the first letter of the
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
214 menu item unless another letter was indicated as the accelerator using
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
215 %_ in the menu string. These %_ specifications are automatically
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
216 removed when displaying the menu item, and are handled correctly in
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
217 functions such as `normalize-menu-item-name'. Some auto-generated
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
218 menus will have accelerators added dynamically, using numbers 1-9 and
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
219 letters; to add this feature yourself, use the Lisp command
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
220 `submenu-generate-accelerator-spec' in a menu filter. The feature
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
221 `menu-accelerator-support' has been added so that packages can check
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
222 whether this support exists.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
223
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
224 ** Default menubar improvements.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
225
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
226 *** Default menubar has many new commands and better organization.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
227
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
228 The default menubar has been extensively reorganized. Many more
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
229 commands are available, and they are more logically organized. The
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
230 Options menu, in particular, has been significantly expanded, and almost
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
231 everything on the new Cmds menu is new. (Much of the useful
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
232 functionality from the `big-menubar' package has been imported.)
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
233
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
234 *** The font-menu is now available under MS Windows.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
235
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
236 ** Dialog box improvements, including a real file dialog box.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
237
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
238 *** XEmacs now has a proper file dialog box under MS Windows (and GTK)!
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
239 This will appear whenever you select a menu item that requires a file
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
240 as an argument.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
241
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
242 *** The old clunky file dialog box is improved.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
243 The in-buffer file dialog box (visible on non-MS-Windows, non-GTK
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
244 systems) is still clunky but has had many improvements to make it work
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
245 significantly better.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
246
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
247 *** Keyboard traversal now works correctly in MS Windows dialog boxes.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
248
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
249 *** There is a Search dialog box available from Edit->Find...
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
250 However, it's very experimental and needs a lot of work.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
251
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
252 ** New buffer tabs.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
253
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
254 You can now use buffer tabs to switch between buffers.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
255
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
256 The tabs are located between the toolbar and the uppermost window, in
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
257 a location called the "gutter". If you dislike the buffer tabs, you can
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
258 disable them using the menu item `Options->Display->Buffers Tab Visible'
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
259 by customizing `gutter-buffers-tab-visible-p', or by placing this in
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
260 your .xemacs/init.el:
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
261
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
262 (custom-set-variables '(gutter-buffers-tab-visible-p nil))
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
263
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
264 You can change the location of the gutter using the menu item
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
265 `Options->Display->Default Gutter Location' or with (e.g.)
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
266
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
267 (custom-set-variables '(default-gutter-position 'left))
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
268
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
269 However, currently only MS Windows supports tab widgets with
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
270 orientations other than vertical, and it doesn't currently support
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
271 gutters on the bottom of the frame.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
272
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
273 ** There is a new MS Windows installer, netinstall, ported from Cygwin.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
274
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
275 Nearly complete automation of the XEmacs install process from
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
276 ftp.xemacs.org. Includes selection of Lisp packages to install, etc.
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
277
479
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
278 ** The subprocess quote-handling mechanism under Windows is much improved.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
279
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
280 Specifically, the quote-handling mechanism has been completely rewritten,
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
281 and you should now be able to use single or double quotes to quote arguments
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
282 just like under Unix, and expect to get correct results regardless of the
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
283 shell you are using (e.g. CMD.EXE, bash from Cygwin, etc.). For example,
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
284 the following command:
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
285
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
286 M-x grep '<<<<<<<' *.c
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
287
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
288 should work as intended.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
289
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
290 ** Printing support now available under MS Windows.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
291
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
292 The File->Print... menu item pretty-prints using the standard MS
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
293 Windows printing facilities. Unfortunately it's still rather
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
294 experimental. There is a separate `msprinter' device tag for MS
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
295 Windows printers, and so you can control the way that faces appear on
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
296 the printer by using this tag to specify device-specific face
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
297 settings.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
298
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
299 ** Selection improvements.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
300
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
301 *** Kill and yank now interact with the clipboard under Windows.
464
5aa1854ad537 Import from CVS: tag r21-2-47
cvs
parents: 462
diff changeset
302
479
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
303 This was done by changing the default value of `interprogram-cut-function'
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
304 and `interprogram-paste-function'. You can get the old behavior by
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
305 setting these to nil, and there is an option on the options menu to do
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
306 this.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
307
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
308 *** MS Windows support for selection is now much more robust.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
309
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
310 Generally selection should now do what you would expect under
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
311 MS Windows: the middle mouse button will paste your current selection
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
312 or the clipboard; conversions from different types of selection to the
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
313 clipboard can be made; the kill-ring and friends will be updated as
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
314 per X.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
315
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
316 The only thing selection doesn't do is set the clipboard automatically
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
317 as this would break the MS Windows model. If you want this behavior
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
318 then set `selection-sets-clipboard' to t.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
319
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
320 *** Motif selection support is now more correct (but slower).
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
321
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
322 Changes have been made to allow correct operation of cut/copy/paste
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
323 operations between native widgets and XEmacs buffers. However, this
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
324 can lead to a lot of X traffic which slows down the performance of
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
325 `C-k'. If you want the old behaviour then set
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
326 `x-selection-strict-motif-ownership' to nil.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
327
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
328 ** Mail spool locking now works correctly.
464
5aa1854ad537 Import from CVS: tag r21-2-47
cvs
parents: 462
diff changeset
329
479
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
330 XEmacs has always come with a little auxiliary program, movemail,
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
331 which moves mail out of the system's spool area into user storage. To
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
332 coordinate between XEmacs, the mail delivery agent, and other mail
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
333 user agents, movemail needs to properly lock the spool file before
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
334 moving it. Movemail now correctly respects the --mail-locking option
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
335 to configure. Moreover, movemail's locking behavior can be specified
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
336 at run-time, via a new command-line option -m to movemail, or through
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
337 the environment variable EMACSLOCKMETHOD.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
338
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
339 When installing XEmacs, make sure you configure it according to your
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
340 environment's mail spool locking conventions. When you're using a
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
341 binary kit, set the `mail-lock-method' variable at startup, or the
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
342 EMACSLOCKMETHOD environment variable.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
343
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
344 ** International support changes.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
345
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
346 *** The default coding-priority-list is now safer.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
347
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
348 This means that if you have no language environment set, Mule no
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
349 longer automatically recognizes ISO 2022 escapes in your files. This
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
350 makes editing binary files safe.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
351
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
352 *** International keysyms are now supported under X.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
353
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
354 This means that XEmacs running under Mule will automatically recognize
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
355 the keysym `scaron' to be the lower-case `s' with caron in the Latin 2
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
356 character set. (Specifically, it will bind the keysym to
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
357 `self-insert' and augment its `ascii-character' property.) This is
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
358 very useful with XFree under European locales as shipped by recent
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
359 Linux distributions. If XEmacs is compiled without Mule support, the
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
360 feature still works, but it is unaware of different character sets --
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
361 it unconditionally sets the `ascii-character' property to values in
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
362 the [160, 256) range.
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
363
479
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
364 *** MS Windows 1251 code page now supported.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
365
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
366 It's available as coding system `windows-1251'.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
367
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
368 *** Czech, Thai, Cyrillic-KOI8, Vietnamese, Ethiopic now supported.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
369
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
370 *** Proper support for words in Latin 3 and Latin 4.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
371
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
372 The appropriate characters in Latin 3 and Latin 4 character sets are
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
373 correctly defined as words.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
374
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
375 ** Help buffers contain hyperlinks, and other changes.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
376
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
377 The help buffers created by C-h commands now contain hyperlinks to
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
378 other commands, functions and variables mentioned in the documentation.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
379 Use button2 to follow a link. Use button3 to bring up a context menu
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
380 that lets you follow the link, find the source for the item, do a tag
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
381 search, etc. The buffers are also syntax-highlighted.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
382
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
383 Help functions (e.g. `C-h f') now know how to print macro argument
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
384 lists. If your macro definition included an argument list for the sake
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
385 of help output, you no longer need to do that.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
386
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
387 ** The modeline's text is now scrollable.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
388
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
389 This is controlled by the variable `modeline-scrolling-method', which
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
390 you need to set to a non-nil value. You can also choose scrolling
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
391 types; see the docstring of `modeline-scrolling-method' for more
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
392 information.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
393
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
394 ** The mouse wheel under MS Windows now functions correctly.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
395
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
396 It scrolls the XEmacs window under the pointer, not the selected
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
397 window.
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
398
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
399 ** Interactive searching and matching case improvements.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
400
479
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
401 *** Incremental search will now highlight all visible matches.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
402
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
403 This makes it easier to anticipate where consecutive C-s or C-r will
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
404 place the point. If you want to disable the feature, set
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
405 `isearch-highlight-all-matches' to nil.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
406
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
407 *** Interactive searches always respect uppercase characters.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
408
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
409 Case sensitiveness in searching operations is normally controlled
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
410 by the variable `case-fold-search' (if non-nil, case is ignored while
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
411 searching). This mechanism has now been slightly improved for
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
412 interactive searches: if the search string (or regexp) contains
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
413 uppercase characters, the searching is forced to be case-sensitive,
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
414 `case-fold-search'.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
415
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
416 The new behavior affects all functions performing interactive
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
417 searches, like `zap-to-char', `list-matching-lines', `tags-search'
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
418 etc. The incremental search facility has always behaved that way.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
419
479
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
420 ** Rectangle functions rewritten to avoid inserting extra spaces.
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
421
479
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
422 The rectangle functions have been almost completely rewritten in
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
423 order to avoid inserting undesirable spaces, notably at the end of
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
424 lines. Two typical examples of the old behavior were
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
425 `string-rectangle', which filled all lines up to the right side of the
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
426 rectangle, and `clear-rectangle', which filled even empty lines up to
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
427 the left side. All functions have been rewritten to avoid inserting
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
428 unwanted spaces, and an optional prefix now allows them to behave the
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
429 old way.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
430
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
431 Also, the behavior of `string-rectangle' is now compliant with
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
432 `pending-delete-mode': if this mode is active, then the string
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
433 replaces the region rectangle. Otherwise, the command does not delete
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
434 or overwrite any existing text. For those who want that feature but do
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
435 not use pending-delete-mode, a new function, `replace-rectangle', is
686
c82f9db998d7 [xemacs-hg @ 2001-12-03 18:02:47 by didierv]
didierv
parents: 503
diff changeset
436 available, and bound to `C-x r p'.
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
437
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
438 As a side effect, the FORCE argument to `move-to-column' now
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
439 understands the special value `coerce', which means that the line
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
440 should not be filled if it is too short to reach the desired column.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
441
479
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
442 ** New command `kill-entire-line' that always kills the entire line.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
443
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
444 This kills the entire line at point, regardless of whether the point
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
445 is at the beginning of line, and regardless of the setting of
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
446 `kill-whole-line'.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
447
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
448 ** Default values correctly stored in minibuffer histories.
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
449
479
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
450 When you press RET at a minibuffer prompt that provides a default
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
451 value, the value is stored in history instead of an empty line. Also,
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
452 you can now edit the default value by pressing the down arrow,
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
453 accessing the logical "future" value. Not all minibuffer prompts have
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
454 yet been converted to support this feature.
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
455
479
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
456 ** You can now create "indirect buffers", like in GNU Emacs.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
457
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
458 An indirect buffer shares its text with another buffer ("base
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
459 buffer"), but has its own major mode, local variables, extents, and
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
460 narrowing. An indirect buffer has a name of its own, distinct from
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
461 those of the base buffer and all other buffers. An indirect buffer
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
462 cannot itself be visiting a file (though its base buffer can be).
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
463 The base buffer cannot itself be indirect.
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
464
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
465 Use (make-indirect-buffer BASE-BUFFER NAME) to make an indirect buffer
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
466 named NAME whose base is BASE-BUFFER. If BASE-BUFFER is itself an
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
467 indirect buffer, its base buffer is used as the base for the new
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
468 buffer.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
469
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
470 You can make an indirect buffer current, or switch to it in a window,
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
471 just as you would a non-indirect buffer.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
472
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
473 The function `buffer-base-buffer' returns a buffer's base buffer or
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
474 nil, if given an ordinary (non-indirect) buffer. The function
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
475 `buffer-indirect-children' returns a list of the indirect children of
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
476 a base buffer.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
477
479
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
478 ** Pixel-based scrolling has been implemented.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
479 By default this will attempt to scroll in increments equal to the
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
480 height of the default face. Set `window-pixel-scroll-increment' to
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
481 modify this behavior.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
482
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
483 ** Operation progress can be displayed using graphical widgets.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
484 See `progress-feedback' for details. This support has been switched
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
485 on by default for font-lock and some web browsing functions. If you
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
486 do not like this behavior, set `progress-feedback-use-echo-area' to
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
487 nil.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
488
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
489 ** User names following a tilde can now be completed at file name prompts.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
490 e.g. `C-x C-f ~hni<TAB>' will complete to `~hniksic/'. To make this
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
491 operation faster, a cache of user names is maintained internally.
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
492
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
493 The new primitives available for this purpose are functions named
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
494 `user-name-completion' and `user-name-all-completions'.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
495
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
496 ** XEmacs can now play sound using Enlightenment Sound Daemon (ESD).
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
497 It will try NAS first, then ESD, then playing native sound directly.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
498
479
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
499 ** X-Face support is now available under MS Windows.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
500 If an X-Face library built under MS Windows is available then XEmacs
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
501 will use this at build time.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
502
479
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
503 ** The PostgreSQL Relational Database Management System is now supported.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
504 It is now possible to build XEmacs so that the programming interface
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
505 to the PostgreSQL RDBMS (libpq) is available in XEmacs Lisp.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
506 Supported versions of PostgreSQL are 6.5.3 (earlier versions may work,
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
507 but have not been tested) and 7.0-beta1.
438
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 432
diff changeset
508
464
5aa1854ad537 Import from CVS: tag r21-2-47
cvs
parents: 462
diff changeset
509 ** Indentation no longer indents comments that begin at column zero.
5aa1854ad537 Import from CVS: tag r21-2-47
cvs
parents: 462
diff changeset
510 This makes it easy to deal with commented out regions of code.
5aa1854ad537 Import from CVS: tag r21-2-47
cvs
parents: 462
diff changeset
511
479
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
512 ** Face and variable settings can have comments in Customize.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
513 Customize now supports adding comments about your face and variable
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
514 settings using a new menu entry. Comments for variables can also be
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
515 assigned by calling `customize-set-(value|variable)' with a prefix
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
516 argument.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
517
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
518 ** New locations for early package hierarchies.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
519 XEmacs now locates the early package hierarchies at
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
520 ~/.xemacs/mule-packages/ and ~/.xemacs/xemacs-packages/. Previously,
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
521 the early packages were located in ~/.xemacs/.
464
5aa1854ad537 Import from CVS: tag r21-2-47
cvs
parents: 462
diff changeset
522
479
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
523 ** The `auto-save' library has been greatly improved.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
524 (This lets you group all your auto-save files into one directory, and
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
525 is provided standardly with XEmacs. See `etc/sample.init.el',
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
526 available on the Help menu, for more info on how to set it up.)
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
527 Specifically, it now works under MS Windows, and it uses a completely
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
528 reversible encoding (basically quoted-printable), so that all
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
529 filenames (as well as non-filename buffers) are successfully handled
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
530 regardless of any special characters in their names.
464
5aa1854ad537 Import from CVS: tag r21-2-47
cvs
parents: 462
diff changeset
531
479
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
532 ** New variable `mswindows-alt-by-itself-activates-menu'.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
533 If you set this variable to nil then pressing and releasing the Alt
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
534 key under MS Windows will no longer activate the menubar. The default
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
535 is t. This is not to be confused with `menu-accelerator-enabled',
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
536 which enables the use of Alt+<Letter> accelerators to invoke the
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
537 menus.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
538
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
539 ** Other init-file-related changes.
464
5aa1854ad537 Import from CVS: tag r21-2-47
cvs
parents: 462
diff changeset
540
5aa1854ad537 Import from CVS: tag r21-2-47
cvs
parents: 462
diff changeset
541 *** Init file in your home directory may be called `.emacs.el'.
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
542
464
5aa1854ad537 Import from CVS: tag r21-2-47
cvs
parents: 462
diff changeset
543 Like in GNU Emacs 20.4 and on, you can now name the XEmacs init file
5aa1854ad537 Import from CVS: tag r21-2-47
cvs
parents: 462
diff changeset
544 located in your home directory `.emacs.el'. Formerly the name had to
5aa1854ad537 Import from CVS: tag r21-2-47
cvs
parents: 462
diff changeset
545 be `.emacs'. If you use the name `.emacs.el', you can byte-compile
5aa1854ad537 Import from CVS: tag r21-2-47
cvs
parents: 462
diff changeset
546 the file in the usual way.
5aa1854ad537 Import from CVS: tag r21-2-47
cvs
parents: 462
diff changeset
547
5aa1854ad537 Import from CVS: tag r21-2-47
cvs
parents: 462
diff changeset
548 If both `.emacs' and `.emacs.el' exist, the latter file is the one
5aa1854ad537 Import from CVS: tag r21-2-47
cvs
parents: 462
diff changeset
549 that is used.
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
550
464
5aa1854ad537 Import from CVS: tag r21-2-47
cvs
parents: 462
diff changeset
551 *** New command-line switches -user-init-file and -user-init-directory.
479
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
552
464
5aa1854ad537 Import from CVS: tag r21-2-47
cvs
parents: 462
diff changeset
553 These can be used to specify alternate locations for what is normally
5aa1854ad537 Import from CVS: tag r21-2-47
cvs
parents: 462
diff changeset
554 ~/.emacs and ~/.xemacs.
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
555
464
5aa1854ad537 Import from CVS: tag r21-2-47
cvs
parents: 462
diff changeset
556 Moreover, the `-user <user>' command-line option (which used to only
5aa1854ad537 Import from CVS: tag r21-2-47
cvs
parents: 462
diff changeset
557 work in unpredictable ways) is now equivalent to `-user-init-file
5aa1854ad537 Import from CVS: tag r21-2-47
cvs
parents: 462
diff changeset
558 ~<user>/.xemacs/init.el -user-init-directory ~<user>/.xemacs', or
5aa1854ad537 Import from CVS: tag r21-2-47
cvs
parents: 462
diff changeset
559 `-user-init-file ~<user>/.emacs -user-init-directory ~<user>/.xemacs',
5aa1854ad537 Import from CVS: tag r21-2-47
cvs
parents: 462
diff changeset
560 whichever init file comes first.
5aa1854ad537 Import from CVS: tag r21-2-47
cvs
parents: 462
diff changeset
561
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
562 ** Etags changes.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
563
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
564 *** In DOS, etags looks for file.cgz if it cannot find file.c.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
565
479
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
566 *** New option --ignore-case-regex is an alternative to --regex.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
567 It is now possible to bind a regexp to a language, by prepending the
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
568 regexp with {lang}, where lang is one of the languages that `etags
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
569 --help' prints out. This feature is useful especially for regex
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
570 files, where each line contains a regular expression. The manual
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
571 contains details.
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
572
479
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
573 *** New option --declarations, for C-type languages.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
574 In C and derived languages, etags creates tags for function
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
575 declarations when given the --declarations option.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
576
479
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
577 *** In C++, tags are created for "operator".
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
578 The tags have the form "operator+", without spaces between the
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
579 keyword and the operator.
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
580
479
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
581 *** Ada now supported.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
582 Tags are functions, procedures, packages, tasks, and types.
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
583
464
5aa1854ad537 Import from CVS: tag r21-2-47
cvs
parents: 462
diff changeset
584 *** In Fortran, procedure is no longer tagged.
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
585
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
586 *** In Java, tags are created for "interface".
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
587
479
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
588 *** In Lisp, def-type constructs are now tagged.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
589 This includes "(defstruct (foo", "(defun (operator" and similar constructs.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
590
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
591 *** In Perl, the --globals option tags global variables.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
592 my and local variables are tagged.
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
593
479
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
594 *** Python now supported.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
595 def and class at the beginning of a line are tags.
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
596
479
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
597 *** New file extensions recognized: .ss, .pdb, .psw.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
598 .ss files are Scheme files, .pdb is Postscript with C syntax, .psw is
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
599 for PSWrap.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
600
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
601
464
5aa1854ad537 Import from CVS: tag r21-2-47
cvs
parents: 462
diff changeset
602 * Lisp and internal changes in XEmacs 21.4
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
603 ==========================================
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
604
440
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
605 ** A new portable dumper is available for beta testing.
430
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
606
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
607 Olivier Galibert has written a portable dumper for XEmacs, based on
464
5aa1854ad537 Import from CVS: tag r21-2-47
cvs
parents: 462
diff changeset
608 initial work by Kyle Jones. To perform even the most basic editor,
5aa1854ad537 Import from CVS: tag r21-2-47
cvs
parents: 462
diff changeset
609 XEmacs requires some amount of Lisp code to be loaded. To avoid
5aa1854ad537 Import from CVS: tag r21-2-47
cvs
parents: 462
diff changeset
610 repeating the expensive loading process at every startup, XEmacs is
5aa1854ad537 Import from CVS: tag r21-2-47
cvs
parents: 462
diff changeset
611 built in a special way. Its C sources link into an executable called
5aa1854ad537 Import from CVS: tag r21-2-47
cvs
parents: 462
diff changeset
612 `temacs', which loads the bootstrap Lisp code and uses a special
5aa1854ad537 Import from CVS: tag r21-2-47
cvs
parents: 462
diff changeset
613 "unexec" call to dump the resulting memory image into a proper
5aa1854ad537 Import from CVS: tag r21-2-47
cvs
parents: 462
diff changeset
614 `xemacs' executable on disk. The unexec() process is hard to
432
3a7e78e1142d Import from CVS: tag r21-2-24
cvs
parents: 430
diff changeset
615 implement correctly and makes XEmacs very hard to port to new
3a7e78e1142d Import from CVS: tag r21-2-24
cvs
parents: 430
diff changeset
616 operating systems, or even to new releases of old systems.
430
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
617
464
5aa1854ad537 Import from CVS: tag r21-2-47
cvs
parents: 462
diff changeset
618 The new portable dumper uses a different approach to dumping: instead
5aa1854ad537 Import from CVS: tag r21-2-47
cvs
parents: 462
diff changeset
619 of dumping full-fledged executable, it only dumps out the initialized
430
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
620 data structures (both Lisp and C) into an external file. A normally
464
5aa1854ad537 Import from CVS: tag r21-2-47
cvs
parents: 462
diff changeset
621 running XEmacs only needs to mmap that file and relocate a bit to get
5aa1854ad537 Import from CVS: tag r21-2-47
cvs
parents: 462
diff changeset
622 to the initialized data. In that scheme, there is no difference
430
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
623 between `temacs' and `xemacs'.
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
624
464
5aa1854ad537 Import from CVS: tag r21-2-47
cvs
parents: 462
diff changeset
625 Unfortunately, the portable dumper has not been completely finished
5aa1854ad537 Import from CVS: tag r21-2-47
cvs
parents: 462
diff changeset
626 for this release, and will not be used by default. However, if you
5aa1854ad537 Import from CVS: tag r21-2-47
cvs
parents: 462
diff changeset
627 wish to experiment with it, or if you need to compile XEmacs on a new
5aa1854ad537 Import from CVS: tag r21-2-47
cvs
parents: 462
diff changeset
628 and unsupported platform, you can test it by configuring XEmacs with
5aa1854ad537 Import from CVS: tag r21-2-47
cvs
parents: 462
diff changeset
629 `--pdump' flag.
440
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
630
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
631 ** Much effort has been invested to make XEmacs Lisp faster:
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
632
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
633 *** Many basic lisp operations are now faster.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
634 This is especially the case when running a Mule-enabled XEmacs.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
635
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
636 A general overhaul of the lisp engine should produce a speedup of 1.4
464
5aa1854ad537 Import from CVS: tag r21-2-47
cvs
parents: 462
diff changeset
637 in a non-Mule XEmacs, and 2.1 in a Mule XEmacs. These numbers were
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
638 obtained running `(byte-compile "simple.el")', which should be a
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
639 pretty typical test of "pure" Lisp.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
640
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
641 *** Lisp hash tables have been re-implemented. The Common Lisp style
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
642 hash table interface has been made standard, and moved from cl.el into
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
643 fast C code (See the section on hash tables in the XEmacs Lisp
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
644 Reference). A speedup factor of 3 can be expected with code that
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
645 makes intensive use of hash tables.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
646
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
647 *** The garbage collector has been tuned, leading to a speedup of
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
648 1.16.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
649
464
5aa1854ad537 Import from CVS: tag r21-2-47
cvs
parents: 462
diff changeset
650 *** The byte-compiler and the byte-optimizer have been tuned to
5aa1854ad537 Import from CVS: tag r21-2-47
cvs
parents: 462
diff changeset
651 produce better code in many small ways.
5aa1854ad537 Import from CVS: tag r21-2-47
cvs
parents: 462
diff changeset
652
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
653 *** The family of functions that iterate over lists, like `memq', and
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
654 `rassq', have been made a little faster (typically 1.3).
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
655
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
656 *** Lisp function calls are faster, by approximately a factor of two.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
657 However, defining inline functions (via defsubst) still makes sense
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
658 for tight loops.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
659
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
660 *** Finally, a few functions have had dramatic performance
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
661 improvements. For example, `(last long-list)' is now 30 times faster.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
662
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
663 Of course, your mileage will vary.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
664
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
665 Many operations do not see any improvement. Surprisingly, running
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
666 (font-lock-fontify-buffer) does not use the Lisp engine much at all.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
667 Speeding up your favorite slow operation is an excellent project to
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
668 improve XEmacs. Don't forget to profile!
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
669
430
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
670 ** Native widgets can be displayed in buffers.
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
671
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
672 The glyph system has been extended to allow the display of glyphs that
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
673 are implemented as native window-system widgets. Thus you can embed
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
674 buttons, scrollbars, combo boxes, edit fields and progress gauges in a
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
675 buffer. As a side effect subwindow support now works once again.
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
676
440
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
677 All of this is still fairly experimental and there is no
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
678 documentation. The current APIs might change in a future version of
479
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
679 XEmacs. Some widgets are only available under MS Windows. See the
440
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
680 file glyphs-test.el in the XEmacs src distribution for examples of
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
681 usage.
430
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
682
440
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
683 The buffers-tab functionality and progress gauge have been implemented
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
684 using this feature.
430
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
685
464
5aa1854ad537 Import from CVS: tag r21-2-47
cvs
parents: 462
diff changeset
686 ** Case translation now supports international characters.
5aa1854ad537 Import from CVS: tag r21-2-47
cvs
parents: 462
diff changeset
687
5aa1854ad537 Import from CVS: tag r21-2-47
cvs
parents: 462
diff changeset
688 *** Instead of being lists of 256-character strings, case tables are
5aa1854ad537 Import from CVS: tag r21-2-47
cvs
parents: 462
diff changeset
689 now opaque objects. The interface to access them is almost the same,
5aa1854ad537 Import from CVS: tag r21-2-47
cvs
parents: 462
diff changeset
690 except it now works for international characters, and you can set the
5aa1854ad537 Import from CVS: tag r21-2-47
cvs
parents: 462
diff changeset
691 case pairs using `put-case-table-pair'. `set-case-table' and friends
5aa1854ad537 Import from CVS: tag r21-2-47
cvs
parents: 462
diff changeset
692 still support the old list/string based interface for backward
5aa1854ad537 Import from CVS: tag r21-2-47
cvs
parents: 462
diff changeset
693 compatibility.
5aa1854ad537 Import from CVS: tag r21-2-47
cvs
parents: 462
diff changeset
694
5aa1854ad537 Import from CVS: tag r21-2-47
cvs
parents: 462
diff changeset
695 *** As a consequence of this change, functions `downcase' and `upcase'
5aa1854ad537 Import from CVS: tag r21-2-47
cvs
parents: 462
diff changeset
696 as well as all the case-transformation commands now work with
5aa1854ad537 Import from CVS: tag r21-2-47
cvs
parents: 462
diff changeset
697 non-ASCII characters. Built-in tables cover all the Latin character
5aa1854ad537 Import from CVS: tag r21-2-47
cvs
parents: 462
diff changeset
698 sets that we support. If your language has a distinction between
5aa1854ad537 Import from CVS: tag r21-2-47
cvs
parents: 462
diff changeset
699 upper and lower case that is not handled by XEmacs/Mule, please let us
5aa1854ad537 Import from CVS: tag r21-2-47
cvs
parents: 462
diff changeset
700 know.
5aa1854ad537 Import from CVS: tag r21-2-47
cvs
parents: 462
diff changeset
701
5aa1854ad537 Import from CVS: tag r21-2-47
cvs
parents: 462
diff changeset
702 *** The code that implements case-insensitive search has been modified
5aa1854ad537 Import from CVS: tag r21-2-47
cvs
parents: 462
diff changeset
703 to respect the case table settings. This also applies to regexp
5aa1854ad537 Import from CVS: tag r21-2-47
cvs
parents: 462
diff changeset
704 search.
5aa1854ad537 Import from CVS: tag r21-2-47
cvs
parents: 462
diff changeset
705
479
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
706 ** Syntax tables may now be specified for a part of a buffer by
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
707 attaching the `syntax-table' property to an extent. For compatibility
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
708 with GNU Emacs, you may use the text-property interface to achieve the
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
709 same result.
52626a2f02ef [xemacs-hg @ 2001-04-20 11:31:53 by ben]
ben
parents: 464
diff changeset
710
464
5aa1854ad537 Import from CVS: tag r21-2-47
cvs
parents: 462
diff changeset
711 ** Values of variables `user-init-file' and `user-init-directory' are
5aa1854ad537 Import from CVS: tag r21-2-47
cvs
parents: 462
diff changeset
712 now absolute file/directory names. Previously, both variables used to
5aa1854ad537 Import from CVS: tag r21-2-47
cvs
parents: 462
diff changeset
713 be relative to `(concat "~" init-file-user)'. This turned out to be
5aa1854ad537 Import from CVS: tag r21-2-47
cvs
parents: 462
diff changeset
714 too complicated for most packages (and some core Lisp files) to use
5aa1854ad537 Import from CVS: tag r21-2-47
cvs
parents: 462
diff changeset
715 correctly. Also, the `init-file-user' variable has been obsoleted in
5aa1854ad537 Import from CVS: tag r21-2-47
cvs
parents: 462
diff changeset
716 the process.
440
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
717
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
718 The user-visible options like `-u' have not changed their behavior.
430
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
719
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
720 ** XEmacs finally has an automated test suite!
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
721 Although this is not yet very sophisticated, it is already responsible
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
722 for several important bug fixes in XEmacs. To try it out, simply use
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
723 the makefile target `make check' after building XEmacs.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
724
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
725 ** Hash tables have been reimplemented.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
726 As was pointed out above, the standard interface to hash tables is now
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
727 the Common Lisp interface, as described in Common Lisp, the Language
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
728 (CLtL2, by Steele). The older interface (functions with names
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
729 containing the phrase `hashtable') will continue to work, but the
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
730 preferred interface now has names containing the phrase `hash-table'.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
731
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
732 Here's the executive overview: create hash tables using
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
733 make-hash-table, and use gethash, puthash, remhash, maphash and
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
734 clrhash to manipulate entries in the hash table. See the (updated)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
735 Lisp Reference Manual for details.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
736
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
737 ** Lisp code handles circular lists much more robustly.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
738 Many basic lisp functions used to loop forever when given a circular
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
739 list, expecting you to C-g (quit) out of the loop. Now this is more
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
740 likely to trigger a `circular-list' error. Printing a circular list
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
741 now results in something like this:
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
742
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
743 (let ((x (cons 'foo 'foo)))
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
744 (setcdr x x)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
745 x)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
746 => (foo ... <circular list>)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
747
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
748 An extra bonus is that checking for circularities is not just
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
749 friendlier, but actually faster than checking for C-g.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
750
430
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
751 ** Functions for decoding base64 encoding are now available; see
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
752 `base64-encode-region', `base64-encode-string', `base64-decode-region'
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
753 and `base64-decode-string'.
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
754
440
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
755 ** The functions `read-string', `read-expression', `eval-minibuffer',
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
756 `read-variable', `read-command', `read-function', `read-number',
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
757 `read-shell-command', `read-from-minibuffer', and `completing-read'
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
758 now take an additional argument which specifies the default value. If
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
759 this argument is non-nil, it should be a string; that string is used
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
760 in two ways:
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
761
464
5aa1854ad537 Import from CVS: tag r21-2-47
cvs
parents: 462
diff changeset
762 * It is returned if the user enters empty input.
5aa1854ad537 Import from CVS: tag r21-2-47
cvs
parents: 462
diff changeset
763 * It is available as the logical "future" entry, by pressing the down
5aa1854ad537 Import from CVS: tag r21-2-47
cvs
parents: 462
diff changeset
764 arrow.
440
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
765
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
766 ** LDAP changes.
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
767
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
768 *** The LDAP interface now consists of two layers, a low-level layer
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
769 that closely matches the LDAP C API, and a more convenient
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
770 higher-level set of functions.
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
771
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
772 *** The low-level functions that used to be named *-internal are now
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
773 named more simply: `ldap-open', `ldap-close', `ldap-search-basic',
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
774 `ldap-add', and `ldap-modify'. They should be used directly for very
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
775 specific purposes (such as multiple operations on a connection) only.
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
776
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
777 *** The higher-level functions provide a more convenient way to access
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
778 LDAP directories hiding the subtleties of handling the connection,
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
779 translating arguments and ensuring compliance with LDAP
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
780 internationalization rules and formats (currently partly implemented
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
781 only.) This layer provides atomic operations for searches,
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
782 modification, addition and deletion of multiple entries at once:
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
783 `ldap-search-entries', `ldap-add-entries', `ldap-delete-entries', and
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
784 `ldap-modify-entries'.
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
785
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
786 *** To maintain compatibility with previous code, the now obsolete
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
787 function `ldap-search' is now merely a wrapper that calls either
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
788 `ldap-search-basic' or `ldap-search-entries'. Please don't use the
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
789 `ldap-search' function in your new programs -- a direct call to one of
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
790 the two replacements is more efficient and unambiguous.
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
791
430
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
792 ** The arguments to `locate-file' are now more Lisp-like. As before,
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
793 the usage is:
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
794
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
795 (locate-file FILENAME PATH-LIST &optional SUFFIXES MODE)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
796
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
797 Except that SUFFIXES are now a list of strings instead of a single,
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
798 colon-separated string. MODE is now a symbol or a list of symbols
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
799 (symbols `exists', `executable', `writable', and `readable' are
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
800 supported) instead of an integer code. See the documentation for
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
801 details. Of course, the old form is still accepted for backward
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
802 compatibility.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
803
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
804 Several bugs in locate-file have been fixed, most notably its failure
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
805 to call expand-file-name on elements of PATH-LIST. Because of that
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
806 elements of load-path of the form "~/..." used to not work.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
807 locate-file is now guaranteed to expand files during its course of
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
808 operation.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
809
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
810 ** `translate-region' has been improved in several ways. Its TABLE
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
811 argument used to be a 256-character string. In addition to this, it
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
812 can now also be a vector or a char-table, which makes the function
464
5aa1854ad537 Import from CVS: tag r21-2-47
cvs
parents: 462
diff changeset
813 useful for Mule, which it wasn't. If TABLE is a vector or a generic
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
814 char-table, you can map characters to strings instead of to other
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
815 characters. For instance:
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
816
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
817 (let ((table (make-char-table 'generic)))
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
818 (put-char-table ?a "the letter a" table)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
819 (put-char-table ?b "" table)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
820 (put-char-table ?c ?\n table)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
821 (translate-region (point-min) (point-max) table))
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
822
430
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
823 ** The new form `ignore-file-errors', similar to `ignore-errors' may
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
824 be used as a short-hand for condition-case when you wish to ignore
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
825 file-related error. For example:
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
826
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
827 (ignore-file-errors (delete-file "foo"))
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
828
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
829 ** The first argument to `intern-soft' may now also be a symbol, like
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
830 with `unintern'. If given a symbol, `intern-soft' will look for that
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
831 exact symbol rather than for any string. This is useful when you want
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
832 to check whether a specific symbol is interned in an obarray, e.g.:
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
833
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
834 (intern "foo")
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
835 (intern-soft "foo")
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
836 => foo
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
837 (intern-soft (make-symbol "foo"))
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
838 => nil
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
839
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
840 ** The `keywordp' function now returns non-nil only on symbols
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
841 interned in the global obarray. For example:
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
842
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
843 (keywordp (intern ":foo" [0]))
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
844 => nil
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
845 (keywordp (intern ":foo")) ; The same as (keywordp :foo)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
846 => t
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
847
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
848 This behavior is compatible with other code which treats symbols
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
849 beginning with colon as keywords only if they are interned in the
464
5aa1854ad537 Import from CVS: tag r21-2-47
cvs
parents: 462
diff changeset
850 global obarray. `keywordp' used to wrongly return t in both above
5aa1854ad537 Import from CVS: tag r21-2-47
cvs
parents: 462
diff changeset
851 cases.
5aa1854ad537 Import from CVS: tag r21-2-47
cvs
parents: 462
diff changeset
852
5aa1854ad537 Import from CVS: tag r21-2-47
cvs
parents: 462
diff changeset
853 ** The function `replace-in-string' has been rewritten to use
5aa1854ad537 Import from CVS: tag r21-2-47
cvs
parents: 462
diff changeset
854 `replace-match'. This not only makes it much faster, but adds all the
5aa1854ad537 Import from CVS: tag r21-2-47
cvs
parents: 462
diff changeset
855 features of `replace-match'.
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
856
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
857 ** New variables `this-command-properties' and
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
858 `last-command-properties' are now available for communication between
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
859 consecutive commands. Commands should use these to communicate with
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
860 the pre/post-command hooks, subsequent commands, wrapping commands,
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
861 etc. in preference to looking at and/or setting `this-command'.
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
862
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
863 ** New functions `add-one-shot-hook' and `add-local-one-shot-hook' make
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
864 it possible to add a "one-shot" hook, which is to say a hook that runs
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
865 only once, and automatically removes itself after the first time it
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
866 has run.
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
867
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
868 ** The descriptor that specifies the text of a menu item can now be an
464
5aa1854ad537 Import from CVS: tag r21-2-47
cvs
parents: 462
diff changeset
869 evaluated expression. This makes it parallel with other descriptors,
5aa1854ad537 Import from CVS: tag r21-2-47
cvs
parents: 462
diff changeset
870 which can also be expressions.
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
871
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
872
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
873 * Changes in XEmacs 21.0
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
874 ========================
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
875
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
876 ** XEmacs has been unbundled into constituent installable packages.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
877 See the Info documentation under "Packages" for more information.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
878 See the file `etc/PACKAGES' in the distribution for a partial list of
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
879 packages available at the time of the 21.0 release.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
880
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
881 ** XEmacs is now supported under Microsoft Windows 95/98 and Windows
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
882 NT operating systems. For starters, look at the XEmacs on Windows FAQ
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
883 at <URL:http://jagor.srce.hr/~hniksic/xemacs-on-windows-faq.txt>. To
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
884 discuss Windows-specific issues, subscribe to the mailing list at
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
885 <xemacs-nt-request@xemacs.org>.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
886
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
887 ** XEmacs will now use `XEmacs' as its application class if it finds
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
888 any `XEmacs' resources in the resource database. Otherwise, it will
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
889 continue to use the `Emacs' class.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
890
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
891 ** The options menu has been ported to Custom.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
892 This means that each entry in the options menu acts as if you had customized
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
893 the corresponding variable by hand. ### WARNING: there is currently no
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
894 upgrading function to help you port your old options settings to the new
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
895 format. Consequently, if you want to modify the options for XEmacs 21, you
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
896 will have to set them all again through the menu, and remove the code loading
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
897 .xemacs-options from your .emacs.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
898
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
899 ** When the Zmacs region is active, `M-x query-replace' and the other
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
900 replace commands now operate on the region contents only.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
901
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
902 ** XEmacs now is able to choose X visuals and use private colormaps.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
903 The '-visual <visualStr>' command line option or the '.EmacsVisual'
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
904 Xresource controls which visual XEmacs will use, and
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
905 '-privateColormap' or '.privateColormap' will force XEmacs to create a
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
906 private colormap for use. The syntax for the visual string is
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
907 "<visual><bitdepth>" where <visual> is one of 'StaticColor',
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
908 'TrueColor', 'GrayScale', 'PseudoColor' or 'DirectColor' and
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
909 <bitdepth> is the appropriate number of bits per pixel. If an invalid
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
910 or non-supported combination is entered, XEmacs attempts to find a happy
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
911 medium. The X creation mechanism will then determine if it needs to
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
912 create a colormap for use, or the presence of the private flags will
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
913 force it to create it.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
914
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
915 ** The `imenu' package has been ported to XEmacs and is available as a
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
916 package.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
917
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
918 ** `echo-keystrokes' can now be a floating-point number, so that you
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
919 can set it to intervals shorter than one second.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
920
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
921 (setq echo-keystrokes 0.1)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
922
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
923 ** The new command `center-to-window-line' works like `recenter'
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
924 (bound to `C-l'), only it does not redisplay the whole display area.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
925
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
926 ** The M-. command will now first search through exact tags matches,
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
927 and then through inexact matches, as one would expect.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
928
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
929 ** The new variable `user-full-name' can be used to customize one's
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
930 name when using the Emacs mail and news reading facilities.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
931
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
932 Normally, `user-full-name' is a function that returns the full name of
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
933 a user or UID, as specified by the system -- for instance,
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
934 (user-full-name "root") returns something like "Super-User". However,
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
935 when the function is called without arguments, it will return the
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
936 value of the `user-full-name' variable. The `user-full-name' variable
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
937 is initialized using the environment variable NAME and (failing that)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
938 the user's system name.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
939
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
940 The behavior of the `user-full-name' function with an argument
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
941 specified is unchanged.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
942
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
943 ** The new command `M-x customize-changed-options' lets you customize
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
944 all the options whose default values have changed in recent Emacs
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
945 versions. You specify a previous Emacs version number as argument,
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
946 and the command creates a customization buffer showing all the
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
947 customizable options whose default values were changed since that
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
948 version.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
949
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
950 If you don't specify a particular version number argument, then the
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
951 customization buffer shows all the customizable options for which
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
952 Emacs versions of changes are recorded.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
953
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
954 ** The new command `add-log-convert' can be used to convert the
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
955 old-style (pre-20.3) ChangeLog buffers to new style, for
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
956 consistency. A reminder: if you wish to revert to old-style
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
957 ChangeLogs instead, customize the value of `add-log-time-format'
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
958 variable.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
959
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
960 ** The new command `zap-up-to-char' is now available. It is similar
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
961 to `zap-to-char', except that it does not delete the searched-for
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
962 character. It is not bound to a key by default.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
963
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
964 ** You can now store a number into a register with `C-u NUMBER C-x r n'
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
965 REG, increment it by INC with `C-u INC C-x r + REG' (to increment by
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
966 one, omit C-u INC), and insert it in the buffer with `C-x r g REG'.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
967 This is useful for writing keyboard macros.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
968
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
969 ** The M-: command, when given a prefix argument, will now insert its
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
970 result to the current buffer.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
971
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
972 ** The `C-h c' command, when given a prefix argument, will now insert
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
973 the message into the current buffer.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
974
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
975 ** Horizontally split windows may now be dragged using the mouse.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
976 Because of this, the dividers between vertical windows are always
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
977 visible. To turn it off, set `vertical-divider-always-visible-p' to
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
978 nil.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
979
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
980 ** XEmacs/Mule (internationalization) changes.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
981
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
982 *** Mule support now works on TTY's. Use `set-terminal-coding-system'
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
983 and `set-keyboard-coding-system' to specify the coding system of your
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
984 display and keyboard.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
985
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
986 *** Egg/SJ3 input method is now officially supported. Quail and
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
987 Egg/Skk have been available through the generalized Leim since 20.3.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
988
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
989 *** Localized Japanese menubars are available if XEmacs is built with
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
990 XFONTSET and either the X11 libraries are built with X_LOCALE defined
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
991 or the native C libraries support Japanese localization. This has
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
992 been available since 20.3, only it hasn't been announced before.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
993
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
994 ** Jamie Zawinski's `gdb-highlight' extension is now distributed with
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
995 the `debug' package. gdb-highlight makes most objects printed in a
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
996 gdb buffer be mouse-sensitive: as text shows up in the buffer, it is
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
997 parsed, and objects which are recognized have context-sensitive
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
998 commands attached to them. To use it, add the following to `.emacs':
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
999
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1000 (add-hook 'gdb-mode-hook (lambda () (require 'gdb-highlight)))
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1001
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1002 ** The package popper.el is now included in the edit-utils package.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1003 It has been greatly enhanced with respect to the one once included
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1004 with the ilisp package and should work well under XEmacs 21.0.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1005
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1006 ** Gnuserv changes
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1007
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1008 *** Like the old 'gnudoit' program. Gnuclient -batch now can read from stdin.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1009
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1010 *** Gnuclient -batch no longer breaks off the output at the first LF.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1011
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1012 ** C mode changes
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1013
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1014 *** Multiline macros are now handled, both as they affect indentation,
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1015 and as recognized syntax. New syntactic symbol cpp-macro-cont is
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1016 assigned to second and subsequent lines of a multiline macro
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1017 definition.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1018
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1019 *** A new style "user" which captures all non-hook-ified
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1020 (i.e. top-level) .emacs file variable setings and customizations.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1021 Style "cc-mode" is an alias for "user" and is deprecated. "gnu" style
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1022 is still the default however.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1023
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1024 *** "java" style now conforms to Sun's JDK coding style.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1025
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1026 *** There are new commands c-beginning-of-defun, c-end-of-defun which
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1027 are alternatives which you could bind to C-M-a and C-M-e if you prefer
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1028 them. They do not have key bindings by default.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1029
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1030 *** New and improved implementations of M-a (c-beginning-of-statement)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1031 and M-e (c-end-of-statement).
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1032
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1033 *** C++ namespace blocks are supported, with new syntactic symbols
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1034 namespace-open, namespace-close, and innamespace.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1035
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1036 *** File local variable settings of c-file-style and c-file-offsets
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1037 makes the style variables local to that buffer only.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1038
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1039 *** New indentation functions c-lineup-close-paren,
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1040 c-indent-one-line-block, c-lineup-dont-change.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1041
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1042 *** Improvements (hopefully!) to the way CC Mode is loaded. You
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1043 should now be able to do a (require 'cc-mode) to get the entire
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1044 package loaded properly for customization in your .emacs file. A new
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1045 variable c-initialize-on-load controls this and is t by default.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1046
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1047 ** In Text mode, now only blank lines separate paragraphs.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1048 This makes it possible to get the full benefit of Adaptive Fill mode
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1049 in Text mode, and other modes derived from it (such as Mail mode).
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1050 TAB in Text mode now runs the command indent-relative; this makes a
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1051 practical difference only when you use indented paragraphs.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1052
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1053 As a result, the old Indented Text mode is now identical to Text mode,
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1054 and is an alias for it.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1055
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1056 If you want spaces at the beginning of a line to start a paragraph,
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1057 use the new mode, Paragraph Indent Text mode.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1058
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1059 ** Changes to Gnus, the XEmacs newsreader.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1060
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1061 *** New functionality for using Gnus as an offline newsreader has been
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1062 added. A plethora of new commands and modes have been added. See the
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1063 Gnus manual for the full story.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1064
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1065 *** The nndraft backend has returned, but works differently than
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1066 before. All Message buffers are now also articles in the nndraft
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1067 group, which is created automatically.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1068
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1069 *** `gnus-alter-header-function' can now be used to alter header
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1070 values.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1071
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1072 *** `gnus-summary-goto-article' now accept Message-ID's.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1073
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1074 *** A new Message command for deleting text in the body of a message
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1075 outside the region: `C-c C-v'.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1076
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1077 *** You can now post to component group in nnvirtual groups with
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1078 `C-u C-c C-c'.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1079
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1080 *** `nntp-rlogin-program' -- new variable to ease customization.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1081
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1082 *** `C-u C-c C-c' in `gnus-article-edit-mode' will now inhibit
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1083 re-highlighting of the article buffer.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1084
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1085 *** New element in `gnus-boring-article-headers' -- `long-to'.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1086
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1087 *** `M-i' symbolic prefix command. See the section "Symbolic
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1088 Prefixes" in the Gnus manual for details.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1089
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1090 *** `L' and `I' in the summary buffer now take the symbolic prefix
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1091 `a' to add the score rule to the "all.SCORE" file.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1092
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1093 *** `gnus-simplify-subject-functions' variable to allow greater
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1094 control over simplification.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1095
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1096 *** `A T' -- new command for fetching the current thread.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1097
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1098 *** `/ T' -- new command for including the current thread in the
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1099 limit.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1100
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1101 *** `M-RET' is a new Message command for breaking cited text.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1102
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1103 *** \\1-expressions are now valid in `nnmail-split-methods'.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1104
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1105 *** The `custom-face-lookup' function has been removed.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1106 If you used this function in your initialization files, you must
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1107 rewrite them to use `face-spec-set' instead.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1108
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1109 *** Cancelling now uses the current select method. Symbolic prefix
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1110 `a' forces normal posting method.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1111
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1112 *** New command to translate M******** sm*rtq**t*s into proper text
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1113 -- `W d'.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1114
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1115 *** For easier debugging of nntp, you can set `nntp-record-commands'
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1116 to a non-nil value.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1117
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1118 *** nntp now uses ~/.authinfo, a .netrc-like file, for controlling
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1119 where and how to send AUTHINFO to NNTP servers.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1120
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1121 *** A command for editing group parameters from the summary buffer
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1122 has been added.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1123
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1124 *** A history of where mails have been split is available.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1125
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1126 *** A new article date command has been added -- `article-date-iso8601'.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1127
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1128 *** Subjects can be simplified when threading by setting
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1129 `gnus-score-thread-simplify'.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1130
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1131 *** A new function for citing in Message has been added --
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1132 `message-cite-original-without-signature'.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1133
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1134 *** `article-strip-all-blank-lines' -- new article command.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1135
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1136 *** A new Message command to kill to the end of the article has
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1137 been added.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1138
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1139 *** A minimum adaptive score can be specified by using the
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1140 `gnus-adaptive-word-minimum' variable.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1141
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1142 *** The "lapsed date" article header can be kept continually
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1143 updated by the `gnus-start-date-timer' command.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1144
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1145 *** Web listserv archives can be read with the nnlistserv backend.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1146
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1147 *** Old dejanews archives can now be read by nnweb.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1148
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1149 *** Byte-compilation of user-specs now works under XEmacs.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1150
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1151 ** The `dir' files are no longer essential for functioning of the Info
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1152 subsystem. If the `dir' file does not exist in an Info directory, the
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1153 relevant information will be generated on-the-fly.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1154
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1155 This behavior can be customized, look for `Info-auto-generate-directory'
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1156 and `Info-save-auto-generated-dir' in the `info' customization group.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1157
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1158
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1159 * Lisp and internal changes in XEmacs 21.0
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1160 ==========================================
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1161
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1162 ** It is now possible to build XEmacs with support for 31-bit Lisp
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1163 integers (normally, Lisp integers are only 28 bits wide on 32-bit
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1164 machines.) Configure with --use-minimal-tagbits to test. With this
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1165 change, the maximum buffer size on 32-bit machines is increased from
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1166 128M to 1G. This setting will be made default in a future XEmacs
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1167 version.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1168
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1169 ** Specifier changes.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1170
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1171 *** When instantiating a specifier, the window locale now has a higher
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1172 precedence than the buffer locale. This is because the window locale
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1173 is more specific than the buffer locale.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1174
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1175 *** The new macro `let-specifier' can be used to temporarily add
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1176 specifications to specifiers. See the documentation for details.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1177
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1178 *** The new specifiers `vertical-scrollbar-visible-p' and
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1179 `horizontal-scrollbar-visible-p' may be used to control scrollbar
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1180 visibility. Previously, the only way to remove a scrollbar was to set
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1181 its size to 0. This method is still supported for backward
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1182 compatibility.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1183
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1184 *** The new specifiers `scrollbar-on-left-p' and `scrollbar-on-top-p'
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1185 may be used to control the position of the vertical and horizontal
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1186 toolbar. Previously, their position could be changed only through the
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1187 use of X resources.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1188
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1189 *** The new draggable vertical dividers between windows may be turned
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1190 off using the `vertical-divider-always-visible-p' specifier. When
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1191 this is set to nil, the vertical dividers between windows are shown
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1192 only when needed, and they are not draggable.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1193
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1194 Other properties of the vertical dividers may be controlled using
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1195 `vertical-divider-shadow-thickness', `vertical-divider-line-width' and
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1196 `vertical-divider-spacing' specifiers, which see.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1197
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1198 ** Frame focus management changes.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1199
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1200 *** When the variable focus-follows-mouse is non-nil, `select-frame'
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1201 no longer permanently selects a different frame. The frame selection
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1202 is temporary and is reverted when the current command terminates, much
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1203 like the buffer selected by `set-buffer'. This is the same as in FSF
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1204 Emacs.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1205
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1206 *** The new function `focus-frame' sets the window system focus to
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1207 FRAME (and selects it), regardless of the value of
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1208 `focus-follows-mouse'. Doing this is not well behaved, so be
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1209 absolutely sure that you want this.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1210
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1211 The code that uses `select-frame' only to get the window manager focus
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1212 should be changed to use `set-frame-focus' instead, so that they keep
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1213 working when `focus-follows-mouse' is non-nil.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1214
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1215 *** The special forms `save-selected-frame' and `with-selected-frame'
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1216 can now be used to temporarily change selected frame.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1217
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1218 *** The behavior of `other-frame' command (`C-x 5 o') is unaffected by
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1219 these changes.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1220
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1221 ** The function `select-window' now has an optional second argument
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1222 NORECORD which if non-nil inhibits the recording of a buffer change.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1223
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1224 ** The function `vertical-motion' now correctly handles the second,
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1225 optional WINDOW argument. A new third argument PIXELS, if non-nil,
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1226 indicates that the returned motion should be in pixels.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1227
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1228 ** The new function `vertical-motion-pixels' is similar to
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1229 vertical-motion but takes as input a vertical motion in pixels.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1230
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1231 ** The new functions window-text-area-pixel-{width,height,edges} can
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1232 be used to obtain information about the text-displaying area of a
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1233 window.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1234
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1235 ** The new functions `shrink-window-pixels' and `enlarge-window-pixels'
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1236 can be used to adjust the size of a window by a pixel amount.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1237
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1238 ** The new function `window-displayed-text-pixel-height' can be used
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1239 to determine the height of the text actually displayed in a window.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1240
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1241 ** The arithmetic comparison functions <, >, =, /= now accept a
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1242 variable number of arguments.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1243
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1244 This means that if you want to test whether A < B < C, you can write
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1245 it as (< A B C) instead of (and (< A B) (< B C)). Likewise,
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1246 (apply #'> LIST) now tests if LIST is monotonously increasing -- and
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1247 so on.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1248
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1249 ** The XEmacs hashtables now have a consistent read/print syntax.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1250 This means that a hashtable will be readably printed in a
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1251 structure-like form:
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1252
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1253 #s(hashtable size 2 data (key1 value1 key2 value2))
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1254
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1255 When XEmacs reads this form, it will create a new hashtable according
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1256 to description. This allows you to easily dump hashtables to files
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1257 using `prin1', and read them back in using `read'.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1258
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1259 If `print-readably' is non-nil, a more relaxed syntax is used; for
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1260 instance:
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1261
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1262 #<hashtable size 2/13 data (key1 value1 key2 value2) 0x874d>
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1263
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1264 ** It is now possible to build XEmacs with LDAP support.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1265 You will need to install a LDAP library first. The following have
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1266 been tested:
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1267 - LDAP 3.3 from the University of Michigan
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1268 (get it from <URL:http://www.umich.edu/~dirsvcs/ldap/>)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1269 - OpenLDAP 1.0.3 from the OpenLDAP Foundation
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1270 (get it from <URL:http://www.openldap.org/>)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1271 - LDAP SDK 1.0 from Netscape Corp.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1272 (get it from <URL:http://developer.netscape.com/>)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1273
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1274 ** When profiling is in effect, a call-count of all recorded functions
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1275 is now calculated. This information is stored in
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1276 `call-count-profile-table', and is utilized by `profile-results' as
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1277 well as the new command `profile-call-count-results'.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1278
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1279 ** It is now an error to change the value of a symbol whose name
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1280 starts with a colon, if it is interned in the standard obarray.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1281
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1282 However, setting such a symbol to its proper value, which is that
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1283 symbol itself, is not an error. This is for the sake of programs that
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1284 support pre-19.12 XEmacs and pre-20 GNU Emacs by explicitly setting
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1285 these variables to themselves.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1286
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1287 ** The `concat' function no longer accepts integer arguments.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1288
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1289 ** The new function `string' concatenates all its argument characters
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1290 and returns the resulting string. This is consistent with other
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1291 functions, like `list', `vector', etc.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1292
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1293 ** The function `temp-directory' is now available to return the
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1294 directory to store temporary files. On Unix this will be obtained
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1295 from TMPDIR, defaulting to `/tmp'.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1296
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1297 ** The function load-average now accepts an optional argument
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1298 USE-FLOATS. If it is non-nil, the load average values are returned as
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1299 floating point numbers, rather than as integers to be divided by 100.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1300
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1301 ** The `make-event' function now supports the TYPE and PLIST
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1302 arguments, which can be used to create various events from Lisp. See
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1303 the documentation for details.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1304
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1305 ** `function-interactive' is a new function that returns the
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1306 interactive specification of a funcallable object.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1307
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1308 ** The new `lmessage' function allows printing of a formatted message
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1309 with a particular label.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1310
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1311 (lmessage 'progress "Processing... %d" counter)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1312
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1313 This function is more convenient than `display-message' because it
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1314 automatically applies `format' to its arguments.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1315
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1316 ** The new `lwarn' function, analogous to `lmessage', allows printing
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1317 a formatted warning, with a non-default CLASS or LABEL.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1318
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1319 ** The new function `split-path' can now be used to explode the
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1320 components of a colon-separated search path into a list.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1321
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1322 (split-path "foo:bar")
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1323 => ("foo" "bar")
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1324
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1325 ** Specifiers and symbols whose value is a specifier are now allowed
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1326 as modeline specifications.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1327
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1328 ** defcustom now accepts the keyword `:version'. Use this to specify
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1329 in which version of Emacs a certain variable's default value changed.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1330 For example,
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1331
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1332 (defcustom foo-max 34 "*Maximum number of foo's allowed."
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1333 :type 'integer
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1334 :group 'foo
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1335 :version "21.0")
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1336
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1337 This information is used to control the customize-changed-options
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1338 command.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1339
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1340 ** The line number tracking in modeline is now efficient, even for
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1341 very large buffers. This is achieved by caching the line numbers of
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1342 recent buffer positions, and reusing them. This cache is used only in
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1343 the buffers where `line-number-mode' is in effect.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1344
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1345 ** When the new GNU Malloc aka Doug Lea Malloc is available, it will
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1346 be used. This should result in better performance on Linux systems
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1347 with libc6.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1348
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1349 ** The code XEmacs uses to assemble its various paths into the
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1350 directory hierarchy has been rewritten to support the package system.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1351 Look under "Startup Paths" in the Info documentation for more
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1352 information.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1353
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1354 *** site-lisp is no longer part of the load-path by default.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1355 Its use is deprecated, but you can specify --with-site-lisp=yes at the
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1356 configure command line to get it back.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1357
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1358 *** `Info-default-directory-list' is now obsolete. If you want to
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1359 change the path which XEmacs uses to search for info files, set
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1360 `Info-directory-list' instead.
464
5aa1854ad537 Import from CVS: tag r21-2-47
cvs
parents: 462
diff changeset
1361
5aa1854ad537 Import from CVS: tag r21-2-47
cvs
parents: 462
diff changeset
1362
5aa1854ad537 Import from CVS: tag r21-2-47
cvs
parents: 462
diff changeset
1363 * For older news, see the file ONEWS.