annotate etc/NEWS @ 444:576fb035e263 r21-2-37

Import from CVS: tag r21-2-37
author cvs
date Mon, 13 Aug 2007 11:36:19 +0200
parents abe6d1db359e
children d7a9135ec789
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
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
6 This file presents some general information about XEmacs. It is
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
7 primarily about the changes in recent XEmacs versions and its release
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
8 history.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
9
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
10 Use `C-c C-f' to move to the next equal level of outline, and
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
11 `C-c C-b' to move to previous equal level. `C-h m' will give more
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
12 info about the Outline mode. Many commands are also available through
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
13 the menubar.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
14
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
15 Users who would like to know which capabilities have been introduced
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
16 in each release should look at the appropriate section of this file.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
17 Starting with version 20.0, XEmacs includes ChangeLogs, which can be
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
18 consulted for a more detailed list of changes.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
19
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
20 Users interested in some of the details of how XEmacs differs from GNU
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
21 Emacs should read the section "What's Different?" near the end of this
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
22 file.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
23
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
24 N.B. The term "GNU Emacs" refers to any release of Emacs Version
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
25 19 from the Free Software Foundation's GNU Project. (We do not
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
26 say just "Emacs" as Richard M. Stallman ["RMS"] prefers, because
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
27 it is clearly a more generic term.) The term "XEmacs" refers to
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
28 this program or to its predecessors "Era" and "Lucid Emacs". The
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
29 predecessor of all these program is called "Emacs 18". When no
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
30 particular version is implied, "Emacs" will be used.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
31
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
32
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
33 * Changes in XEmacs 21.2
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
34 ========================
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
35
440
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
36 ** The delete key now deletes forward by default.
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
37
440
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
38 This is regulated by the variable `delete-key-deletes-forward', which
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
39 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
40 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
41 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
42 non-nil, the "Delete" key will delete forward, except on keyboards
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
43 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
44
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
45 Unless our implementation has bugs, the only reason why you would want
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
46 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
47 Delete key to delete backwards, despite the presence (according to
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
48 Xlib) of a BackSpace key on the keyboard.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
49
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
50 ** Shifted motion keys now select text by default. You can turn this
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
51 off by setting `shifted-motion-keys-select-region' to nil.
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
52
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
53 ** You can now set the variable `kill-whole-line' to `always', which
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
54 makes `kill-line' (C-k) delete the entire line always, not just when
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
55 the cursor is at the beginning of the line. This behavior, as well as
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
56 the existing kill-whole-line behavior, now only take effect when
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
57 kill-line is called interactively, although this is a departure from a
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
58 previous behavior in the case of setting this variable kill-whole-line
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
59 to t. It is almost certainly what has always been intended, and most
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
60 likely the old way of doing things introduced bugs.
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
61
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
62 The new function `historical-kill-line' ignores the `kill-whole-line'
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
63 setting and always gives the historical behavior of only killing to
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
64 the end of the line. This function is bound to Sh-C-k, so that the
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
65 kill to end of line behavior is available, even when `kill-whole-line'
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
66 has been customized.
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
67
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
68 ** XEmacs menus now have accelerators by default. If a menu item does
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
69 not have an accelerator specified, one is created dynamically, using
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
70 numbers 1-9 and letters.
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
71
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
72 ** Interactive searching and matching case improvements.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
73
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
74 Case sensitiveness in searching operations is normally controlled by
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
75 the variable `case-fold-search' (if non-nil, case is ignored while
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
76 searching). This mechanism has now been slightly improved for
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
77 interactive searches: if the search string (or regexp) contains
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
78 uppercase characters, the searching is forced to be case-sensitive,
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
79 `case-fold-search'.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
80
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
81 The new behavior affects all functions performing interactive
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
82 searches, like `zap-to-char', `list-matching-lines', `tags-search'
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
83 etc. The incremental search facility has always behaved that way.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
84
440
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
85 ** Incremental search will now highlight all visible matches, making
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
86 it easier to anticipate where consecutive C-s or C-r will place the
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
87 point. If you want to disable the feature, set
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
88 `isearch-highlight-all-matches' to nil.
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
89
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
90 ** You can now use the buffer tabs to switch between buffers. The
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
91 tabs are located between the toolbar and the uppermost window, in a
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
92 location called "gutter". If you dislike the buffer tabs, you can
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
93 disable them by customizing `gutter-buffers-tab-visible-p', or by
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
94 placing this in your .emacs:
440
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
95
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
96 (set-gutter-element-visible-p default-gutter-visible-p 'buffers-tab nil)
440
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
97
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
98 You can change the location of the gutter with
440
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
99 `set-default-gutter-position', however currently only MS-Windows
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
100 supports tab widgets with orientations other than vertical.
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
101
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
102 ** Kill and yank now interact with the clipboard by default under
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
103 Windows. This was done by changing the default value of
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
104 `interprogram-cut-function' and `interprogram-paste-function'. You
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
105 can get the old behavior by setting these to nil, and there is an
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
106 option on the options menu to do this.
440
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
107
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
108 ** When you press RET at a minibuffer prompt that provides a default
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
109 value, the value is stored in history instead of an empty line. Also,
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
110 you can now edit the default value by pressing the down arrow,
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
111 accessing the logical "future" value. Not all minibuffer prompts have
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
112 yet been converted to support this feature.
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
113
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
114 ** The rectangle functions have been almost completely rewritten in
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
115 order to avoid inserting undesirable spaces, notably at the end of
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
116 lines. Two typical examples of the old behavior were
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
117 `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
118 rectangle, and `clear-rectangle', which filled even empty lines up to
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
119 the left side. All functions have been rewritten to avoid inserting
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
120 unwanted spaces, and an optional prefix now allows them to behave the
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
121 old way.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
122
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
123 Also, the behavior of `string-rectangle' is now compliant with
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
124 `pending-delete-mode': if this mode is active, then the string
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
125 replaces the region rectangle. Otherwise, the command does not delete
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
126 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
127 not use pending-delete-mode, a new function, `replace-rectangle', is
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
128 available.
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
129
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
130 As a side effect, the FORCE argument to `move-to-column' now
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
131 understands the special value `coerce', which means that the line
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
132 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
133
440
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
134 ** Customize now supports adding comments about your face and variable
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
135 settings using a new menu entry. Comments for variables can also be
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
136 assigned by calling `customize-set-(value|variable)' with a prefix
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
137 argument.
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
138
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
139 ** XEmacs now locates the early package hierarchies at
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
140 ~/.xemacs/mule-packages/ and ~/.xemacs/xemacs-packages/. Previously,
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
141 the early packages were located in ~/.xemacs/.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
142
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
143 ** You can now create "indirect buffers", like in GNU Emacs. An
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
144 indirect buffer shares its text with another buffer ("base buffer"),
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
145 but has its own major mode, local variables, extents, and narrowing.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
146 An indirect buffer has a name of its own, distinct from those of the
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
147 base buffer and all other buffers. An indirect buffer cannot itself
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
148 be visiting a file (though its base buffer can be). The base buffer
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
149 cannot itself be indirect.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
150
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
151 Use (make-indirect-buffer BASE-BUFFER NAME) to make an indirect buffer
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
152 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
153 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
154 buffer.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
155
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
156 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
157 just as you would a non-indirect buffer.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
158
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
159 The function `buffer-base-buffer' returns a buffer's base buffer or
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
160 nil, if given an ordinary (non-indirect) buffer. The function
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
161 `buffer-indirect-children' returns a list of the indirect children of
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
162 a base buffer.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
163
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
164 ** User names following the tilde character can now be completed at
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
165 file name prompts; e.g. `C-x C-f ~hni<TAB>' will complete to
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
166 `~hniksic/'. To make this operation faster, a cache of user names is
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
167 maintained internally.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
168
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
169 The new primitives available for this purpose are functions named
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
170 `user-name-completion' and `user-name-all-completions'.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
171
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
172 ** XEmacs can now play sound using Enlightenment Sound Daemon (ESD).
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
173 It will try NAS first, then ESD, then playing native sound directly.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
174
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
175 ** X-Face support is now available under MS-Windows.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
176 If an X-Face libary built under MS-Windows is available then XEmacs
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
177 will use this at build time.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
178
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
179 ** The font-menu is now available under MS-Windows.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
180
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
181 ** MS-Windows support for selection is now much more robust.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
182
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
183 Generally selection should now do what you would expect under
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
184 MS-Windows: the middle mouse button will paste your current selection
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
185 or the clipboard; conversions from different types of selection to the
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
186 clipboard can be made; the kill-ring and friends will be updated as
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
187 per X.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
188
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
189 The only thing selection doesn't do is set the clipboard automatically
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
190 as this would break the MS-Windows model. If you want this behavior
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
191 then set `selection-sets-clipboard' to t.
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
192
438
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 432
diff changeset
193 ** Mail spool locking now works correctly.
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 432
diff changeset
194 XEmacs has always come with a little auxiliary program, movemail,
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 432
diff changeset
195 which moves mail out of the system's spool area into user storage. To
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 432
diff changeset
196 coordinate between XEmacs, the mail delivery agent, and other mail
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 432
diff changeset
197 user agents, movemail needs to properly lock the spool file before
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 432
diff changeset
198 moving it. Movemail now correctly respects the --mail-locking option
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 432
diff changeset
199 to configure. Moreover, movemail's locking behavior can be specified
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 432
diff changeset
200 at run-time, via a new command-line option -m to movemail, or through
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 432
diff changeset
201 the environment variable EMACSLOCKMETHOD.
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 432
diff changeset
202
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 432
diff changeset
203 When installing XEmacs, make sure you configure it according to your
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 432
diff changeset
204 environment's mail spool locking conventions. When you're using a
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 432
diff changeset
205 binary kit, set the `mail-lock-method' variable at startup, or the
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 432
diff changeset
206 EMACSLOCKMETHOD environment variable.
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 432
diff changeset
207
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
208 ** Init file will move to ~/.xemacs/init.el.
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
209
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
210 If `~/.xemacs/init.el' exists, XEmacs will prefer it over `~/.emacs'
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
211 as an init file. The file may be byte-compiled as
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
212 `~/.xemacs/init.elc'.
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
213
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
214 Future versions of XEmacs will stop supporting `~/.emacs' as an init
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
215 file. XEmacs offers automatic migration upon startup.
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
216
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
217 ** Custom file will move to ~/.xemacs/custom.el.
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
218
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
219 Whereas customize settings were formerly stored in the regular init
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
220 file, XEmacs now prefers them to be in a separate file
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
221 `~/.xemacs/custom.el', completely under automatic control. This
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
222 change goes with the migration of the init file, and XEmacs offers
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
223 automatic migration upon startup.
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
224
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
225 ** Init file may be called .emacs.el.
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
226
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
227 For the time being, like in GNU Emacs 20.4 and on, you can now name
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
228 the XEmacs init file `.emacs.el'. Formerly the name had to be
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
229 `.emacs'. If you use the name `.emacs.el', you can byte-compile the
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
230 file in the usual way.
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
231
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
232 If both `.emacs' and `.emacs.el' exist, the latter file is the one
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
233 that is used.
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
234
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
235 ** New command-line switches -user-init-file and -user-init-directory.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
236 These can be used to specify alternate locations for what is normally
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
237 ~/.emacs and ~/.xemacs.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
238
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
239 Moreover, -user <user> (which used to only work in unpredictable ways)
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
240 is now equivalent to -user-init-file ~<user>/.xemacs/init.el
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
241 -user-init-directory ~<user>/.xemacs. or -user-init-file
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
242 ~<user>/.emacs -user-init-directory ~<user>/.xemacs, whichever init
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
243 file comes first.
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
244
438
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 432
diff changeset
245 ** New variable `mswindows-meta-activates-menu'.
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
246 If you set this variable to nil then pressing and releasing the Alt
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
247 key under MS-Windows will no longer activate the menubar. The default
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
248 is t. This is not to be confused with `menu-accelerator-enabled',
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
249 which enables the use of Alt+<Letter> accelerators to invoke the
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
250 menus.
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
251
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
252 ** Pixel-based scrolling has been implemented.
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
253 By default this will attempt to scroll in increments equal to the
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
254 height of the default face. Set `window-pixel-scroll-increment' to
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
255 modify this behavior.
438
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 432
diff changeset
256
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
257 ** Operation progress can be displayed using graphical widgets.
444
576fb035e263 Import from CVS: tag r21-2-37
cvs
parents: 442
diff changeset
258 See `progress-feedback' for details. This support has been switched
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
259 on by default for font-lock and some web browsing functions. If you
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
260 do not like this behavior set `progress-feedback-use-echo-area'.
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
261
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
262 ** The PostgreSQL Relational Database Management System is now supported.
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
263 It is now possible to build XEmacs so that the programming interface
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
264 to the PostgreSQL RDBMS (libpq) is available in XEmacs Lisp.
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
265 Supported versions of PostgreSQL are 6.5.3 (earlier versions may work,
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
266 but have not been tested) and 7.0-beta1.
440
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
267
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
268 ** Etags changes.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
269
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
270 *** 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
271
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
272 *** New option --ignore-case-regex is an alternative to --regex. It is now
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
273 possible to bind a regexp to a language, by prepending the regexp with
440
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
274 {lang}, where lang is one of the languages that `etags --help' prints
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
275 out. This feature is useful especially for regex files, where each
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
276 line contains a regular expression. The manual contains details.
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
277
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
278 *** In C and derived languages, etags creates tags for function
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
279 declarations when given the --declarations option.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
280
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
281 *** In C++, tags are created for "operator". The tags have the form
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
282 "operator+", without spaces between the keyword and the operator.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
283
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
284 *** New language Ada: tags are functions, procedures, packages, tasks, and
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
285 types.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
286
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
287 *** In Fortran, procedure is no more tagged.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
288
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
289 *** In Java, tags are created for "interface".
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
290
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
291 *** In Lisp, "(defstruct (foo", "(defun (operator" and similar constructs
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
292 are now tagged.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
293
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
294 *** In Perl, the --globals option tags global variables. my and local
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
295 variables are tagged.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
296
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
297 *** New language Python: def and class at the beginning of a line are tags.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
298
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
299 *** .ss files are Scheme files, .pdb is Postscript with C syntax, .psw is
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
300 for PSWrap.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
301
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
302
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
303 * Lisp and internal changes in XEmacs 21.2
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
304 ==========================================
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
305
440
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
306 ** A new portable dumper is available for beta testing.
430
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
307
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
308 Olivier Galibert has written a portable dumper for XEmacs, based on
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
309 initial work by Kyle Jones. Normally, XEmacs C sources link into an
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
310 executable called `temacs', which loads the Lisp code and "unexecs"
432
3a7e78e1142d Import from CVS: tag r21-2-24
cvs
parents: 430
diff changeset
311 into a proper `xemacs' executable. The unexec() process is hard to
3a7e78e1142d Import from CVS: tag r21-2-24
cvs
parents: 430
diff changeset
312 implement correctly and makes XEmacs very hard to port to new
3a7e78e1142d Import from CVS: tag r21-2-24
cvs
parents: 430
diff changeset
313 operating systems, or even to new releases of old systems.
430
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
314
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
315 A portable dumper is a different approach to dumping: instead of
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
316 dumping full-fledged executable, it only dumps out the initialized
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
317 data structures (both Lisp and C) into an external file. A normally
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
318 running XEmacs only needs to mmap() that file and relocate a bit to
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
319 get to the initialized data. In that scheme, there is no difference
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
320 between `temacs' and `xemacs'.
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
321
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
322 This is all very experimental, though. Configure with `--pdump' to
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
323 try testing it.
440
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
324
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
325 ** Much effort has been invested to make XEmacs Lisp faster:
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
326
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
327 *** Many basic lisp operations are now faster.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
328 This is especially the case when running a Mule-enabled XEmacs.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
329
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
330 A general overhaul of the lisp engine should produce a speedup of 1.4
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
331 in a Latin-1 XEmacs, and 2.1 in a Mule XEmacs. These numbers were
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
332 obtained running `(byte-compile "simple.el")', which should be a
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
333 pretty typical test of "pure" Lisp.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
334
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
335 *** Lisp hash tables have been re-implemented. The Common Lisp style
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
336 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
337 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
338 Reference). A speedup factor of 3 can be expected with code that
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
339 makes intensive use of hash tables.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
340
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
341 *** The garbage collector has been tuned, leading to a speedup of
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
342 1.16.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
343
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
344 *** The family of functions that iterate over lists, like `memq', and
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
345 `rassq', have been made a little faster (typically 1.3).
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
346
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
347 *** Lisp function calls are faster, by approximately a factor of two.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
348 However, defining inline functions (via defsubst) still makes sense
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
349 for tight loops.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
350
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
351 *** Finally, a few functions have had dramatic performance
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
352 improvements. For example, `(last long-list)' is now 30 times faster.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
353
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
354 Of course, your mileage will vary.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
355
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
356 Many operations do not see any improvement. Surprisingly, running
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
357 (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
358 Speeding up your favorite slow operation is an excellent project to
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
359 improve XEmacs. Don't forget to profile!
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
360
430
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
361 ** Native widgets can be displayed in buffers.
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
362
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
363 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
364 are implemented as native window-system widgets. Thus you can embed
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
365 buttons, scrollbars, combo boxes, edit fields and progress gauges in a
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
366 buffer. As a side effect subwindow support now works once again.
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
367
440
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
368 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
369 documentation. The current APIs might change in a future version of
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
370 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
371 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
372 usage.
430
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
373
440
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
374 The buffers-tab functionality and progress gauge have been implemented
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
375 using this feature.
430
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
376
440
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
377 ** `user-init-file' and `user-init-directory' are now absolute
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
378 file/directory names. Previously, both variables used to be relative
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
379 to (concat "~" init-file-user). This turned out to be too complicated
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
380 for most packages (and some core Lisp files) to use correctly. Also,
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
381 the `init-file-user' variable has been obsoleted in the process.
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
382
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
383 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
384
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
385 ** XEmacs finally has an automated test suite!
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
386 Although this is not yet very sophisticated, it is already responsible
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
387 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
388 the makefile target `make check' after building XEmacs.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
389
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
390 ** Hash tables have been reimplemented.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
391 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
392 the Common Lisp interface, as described in Common Lisp, the Language
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
393 (CLtL2, by Steele). The older interface (functions with names
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
394 containing the phrase `hashtable') will continue to work, but the
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
395 preferred interface now has names containing the phrase `hash-table'.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
396
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
397 Here's the executive overview: create hash tables using
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
398 make-hash-table, and use gethash, puthash, remhash, maphash and
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
399 clrhash to manipulate entries in the hash table. See the (updated)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
400 Lisp Reference Manual for details.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
401
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
402 ** Lisp code handles circular lists much more robustly.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
403 Many basic lisp functions used to loop forever when given a circular
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
404 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
405 likely to trigger a `circular-list' error. Printing a circular list
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
406 now results in something like this:
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
407
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
408 (let ((x (cons 'foo 'foo)))
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
409 (setcdr x x)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
410 x)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
411 => (foo ... <circular list>)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
412
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
413 An extra bonus is that checking for circularities is not just
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
414 friendlier, but actually faster than checking for C-g.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
415
430
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
416 ** Functions for decoding base64 encoding are now available; see
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
417 `base64-encode-region', `base64-encode-string', `base64-decode-region'
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
418 and `base64-decode-string'.
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
419
440
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
420 ** The functions `read-string', `read-expression', `eval-minibuffer',
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
421 `read-variable', `read-command', `read-function', `read-number',
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
422 `read-shell-command', `read-from-minibuffer', and `completing-read'
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
423 now take an additional argument which specifies the default value. If
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
424 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
425 in two ways:
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
426
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
427 It is returned if the user enters empty input.
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
428 It is available through the history command M-n.
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
429
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
430 ** LDAP changes.
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
431
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
432 *** 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
433 that closely matches the LDAP C API, and a more convenient
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
434 higher-level set of functions.
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
435
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
436 *** 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
437 named more simply: `ldap-open', `ldap-close', `ldap-search-basic',
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
438 `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
439 specific purposes (such as multiple operations on a connection) only.
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
440
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
441 *** The higher-level functions provide a more convenient way to access
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
442 LDAP directories hiding the subtleties of handling the connection,
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
443 translating arguments and ensuring compliance with LDAP
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
444 internationalization rules and formats (currently partly implemented
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
445 only.) This layer provides atomic operations for searches,
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
446 modification, addition and deletion of multiple entries at once:
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
447 `ldap-search-entries', `ldap-add-entries', `ldap-delete-entries', and
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
448 `ldap-modify-entries'.
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
449
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
450 *** To maintain compatibility with previous code, the now obsolete
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
451 function `ldap-search' is now merely a wrapper that calls either
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
452 `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
453 `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
454 the two replacements is more efficient and unambiguous.
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
455
430
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
456 ** 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
457 the usage is:
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
458
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
459 (locate-file FILENAME PATH-LIST &optional SUFFIXES MODE)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
460
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
461 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
462 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
463 (symbols `exists', `executable', `writable', and `readable' are
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
464 supported) instead of an integer code. See the documentation for
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
465 details. Of course, the old form is still accepted for backward
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
466 compatibility.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
467
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
468 Several bugs in locate-file have been fixed, most notably its failure
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
469 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
470 elements of load-path of the form "~/..." used to not work.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
471 locate-file is now guaranteed to expand files during its course of
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
472 operation.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
473
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
474 ** `translate-region' has been improved in several ways. Its TABLE
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
475 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
476 can now also be a vector or a char-table, which makes the function
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
477 useful for Mule, which it wasn't. If TABLE a vector or a generic
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
478 char-table, you can map characters to strings instead of to other
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
479 characters. For instance:
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
480
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
481 (let ((table (make-char-table 'generic)))
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
482 (put-char-table ?a "the letter a" table)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
483 (put-char-table ?b "" table)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
484 (put-char-table ?c ?\n table)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
485 (translate-region (point-min) (point-max) table))
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
486
430
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
487 ** The new form `ignore-file-errors', similar to `ignore-errors' may
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
488 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
489 file-related error. For example:
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
490
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
491 (ignore-file-errors (delete-file "foo"))
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
492
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
493 ** 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
494 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
495 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
496 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
497
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
498 (intern "foo")
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
499 (intern-soft "foo")
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
500 => foo
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
501 (intern-soft (make-symbol "foo"))
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
502 => nil
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
503
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
504 ** The `keywordp' function now returns non-nil only on symbols
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
505 interned in the global obarray. For example:
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
506
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
507 (keywordp (intern ":foo" [0]))
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
508 => nil
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
509 (keywordp (intern ":foo")) ; The same as (keywordp :foo)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
510 => t
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
511
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
512 This behavior is compatible with other code which treats symbols
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
513 beginning with colon as keywords only if they are interned in the
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
514 global obarray. `keywordp' used to wrongly return t in both cases
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
515 above.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
516
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
517 ** New variables `this-command-properties' and
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
518 `last-command-properties' are now available for communication between
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
519 consecutive commands. Commands should use these to communicate with
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
520 the pre/post-command hooks, subsequent commands, wrapping commands,
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
521 etc. in preference to looking at and/or setting `this-command'.
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
522
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
523 ** 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
524 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
525 only once, and automatically removes itself after the first time it
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
526 has run.
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
527
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
528 ** The descriptor that specifies the text of a menu item can now be an
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
529 evaluated expression. This makes this descriptor parallel with
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
530 others, which can also be expressions.
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
531
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
532
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
533 * Changes in XEmacs 21.0
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
534 ========================
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
535
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
536 ** XEmacs has been unbundled into constituent installable packages.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
537 See the Info documentation under "Packages" for more information.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
538 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
539 packages available at the time of the 21.0 release.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
540
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
541 ** XEmacs is now supported under Microsoft Windows 95/98 and Windows
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
542 NT operating systems. For starters, look at the XEmacs on Windows FAQ
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
543 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
544 discuss Windows-specific issues, subscribe to the mailing list at
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
545 <xemacs-nt-request@xemacs.org>.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
546
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
547 ** XEmacs will now use `XEmacs' as its application class if it finds
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
548 any `XEmacs' resources in the resource database. Otherwise, it will
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
549 continue to use the `Emacs' class.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
550
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
551 ** The options menu has been ported to Custom.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
552 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
553 the corresponding variable by hand. ### WARNING: there is currently no
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
554 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
555 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
556 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
557 .xemacs-options from your .emacs.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
558
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
559 ** 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
560 replace commands now operate on the region contents only.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
561
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
562 ** XEmacs now is able to choose X visuals and use private colormaps.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
563 The '-visual <visualStr>' command line option or the '.EmacsVisual'
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
564 Xresource controls which visual XEmacs will use, and
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
565 '-privateColormap' or '.privateColormap' will force XEmacs to create a
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
566 private colormap for use. The syntax for the visual string is
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
567 "<visual><bitdepth>" where <visual> is one of 'StaticColor',
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
568 'TrueColor', 'GrayScale', 'PseudoColor' or 'DirectColor' and
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
569 <bitdepth> is the appropriate number of bits per pixel. If an invalid
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
570 or non-supported combination is entered, XEmacs attempts to find a happy
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
571 medium. The X creation mechanism will then determine if it needs to
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
572 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
573 force it to create it.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
574
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
575 ** 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
576 package.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
577
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
578 ** `echo-keystrokes' can now be a floating-point number, so that you
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
579 can set it to intervals shorter than one second.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
580
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
581 (setq echo-keystrokes 0.1)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
582
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
583 ** The new command `center-to-window-line' works like `recenter'
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
584 (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
585
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
586 ** The M-. command will now first search through exact tags matches,
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
587 and then through inexact matches, as one would expect.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
588
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
589 ** 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
590 name when using the Emacs mail and news reading facilities.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
591
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
592 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
593 a user or UID, as specified by the system -- for instance,
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
594 (user-full-name "root") returns something like "Super-User". However,
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
595 when the function is called without arguments, it will return the
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
596 value of the `user-full-name' variable. The `user-full-name' variable
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
597 is initialized using the environment variable NAME and (failing that)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
598 the user's system name.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
599
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
600 The behavior of the `user-full-name' function with an argument
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
601 specified is unchanged.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
602
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
603 ** The new command `M-x customize-changed-options' lets you customize
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
604 all the options whose default values have changed in recent Emacs
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
605 versions. You specify a previous Emacs version number as argument,
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
606 and the command creates a customization buffer showing all the
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
607 customizable options whose default values were changed since that
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
608 version.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
609
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
610 If you don't specify a particular version number argument, then the
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
611 customization buffer shows all the customizable options for which
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
612 Emacs versions of changes are recorded.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
613
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
614 ** The new command `add-log-convert' can be used to convert the
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
615 old-style (pre-20.3) ChangeLog buffers to new style, for
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
616 consistency. A reminder: if you wish to revert to old-style
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
617 ChangeLogs instead, customize the value of `add-log-time-format'
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
618 variable.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
619
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
620 ** 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
621 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
622 character. It is not bound to a key by default.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
623
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
624 ** 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
625 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
626 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
627 This is useful for writing keyboard macros.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
628
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
629 ** The M-: command, when given a prefix argument, will now insert its
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
630 result to the current buffer.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
631
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
632 ** 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
633 the message into the current buffer.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
634
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
635 ** Horizontally split windows may now be dragged using the mouse.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
636 Because of this, the dividers between vertical windows are always
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
637 visible. To turn it off, set `vertical-divider-always-visible-p' to
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
638 nil.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
639
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
640 ** XEmacs/Mule (internationalization) changes.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
641
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
642 *** Mule support now works on TTY's. Use `set-terminal-coding-system'
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
643 and `set-keyboard-coding-system' to specify the coding system of your
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
644 display and keyboard.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
645
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
646 *** Egg/SJ3 input method is now officially supported. Quail and
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
647 Egg/Skk have been available through the generalized Leim since 20.3.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
648
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
649 *** Localized Japanese menubars are available if XEmacs is built with
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
650 XFONTSET and either the X11 libraries are built with X_LOCALE defined
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
651 or the native C libraries support Japanese localization. This has
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
652 been available since 20.3, only it hasn't been announced before.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
653
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
654 ** Jamie Zawinski's `gdb-highlight' extension is now distributed with
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
655 the `debug' package. gdb-highlight makes most objects printed in a
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
656 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
657 parsed, and objects which are recognized have context-sensitive
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
658 commands attached to them. To use it, add the following to `.emacs':
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 (add-hook 'gdb-mode-hook (lambda () (require 'gdb-highlight)))
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
661
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
662 ** The package popper.el is now included in the edit-utils package.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
663 It has been greatly enhanced with respect to the one once included
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
664 with the ilisp package and should work well under XEmacs 21.0.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
665
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
666 ** Gnuserv changes
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
667
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
668 *** Like the old 'gnudoit' program. Gnuclient -batch now can read from stdin.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
669
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
670 *** Gnuclient -batch no longer breaks off the output at the first LF.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
671
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
672 ** C mode changes
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
673
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
674 *** Multiline macros are now handled, both as they affect indentation,
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
675 and as recognized syntax. New syntactic symbol cpp-macro-cont is
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
676 assigned to second and subsequent lines of a multiline macro
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
677 definition.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
678
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
679 *** A new style "user" which captures all non-hook-ified
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
680 (i.e. top-level) .emacs file variable setings and customizations.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
681 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
682 is still the default however.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
683
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
684 *** "java" style now conforms to Sun's JDK coding style.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
685
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
686 *** 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
687 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
688 them. They do not have key bindings by default.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
689
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
690 *** New and improved implementations of M-a (c-beginning-of-statement)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
691 and M-e (c-end-of-statement).
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
692
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
693 *** C++ namespace blocks are supported, with new syntactic symbols
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
694 namespace-open, namespace-close, and innamespace.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
695
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
696 *** File local variable settings of c-file-style and c-file-offsets
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
697 makes the style variables local to that buffer only.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
698
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
699 *** New indentation functions c-lineup-close-paren,
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
700 c-indent-one-line-block, c-lineup-dont-change.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
701
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
702 *** Improvements (hopefully!) to the way CC Mode is loaded. You
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
703 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
704 package loaded properly for customization in your .emacs file. A new
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
705 variable c-initialize-on-load controls this and is t by default.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
706
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
707 ** In Text mode, now only blank lines separate paragraphs.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
708 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
709 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
710 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
711 practical difference only when you use indented paragraphs.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
712
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
713 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
714 and is an alias for it.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
715
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
716 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
717 use the new mode, Paragraph Indent Text mode.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
718
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
719 ** Changes to Gnus, the XEmacs newsreader.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
720
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
721 *** New functionality for using Gnus as an offline newsreader has been
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
722 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
723 Gnus manual for the full story.
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 *** The nndraft backend has returned, but works differently than
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
726 before. All Message buffers are now also articles in the nndraft
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
727 group, which is created automatically.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
728
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
729 *** `gnus-alter-header-function' can now be used to alter header
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
730 values.
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 *** `gnus-summary-goto-article' now accept Message-ID's.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
733
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
734 *** 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
735 outside the region: `C-c C-v'.
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 *** You can now post to component group in nnvirtual groups with
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
738 `C-u C-c C-c'.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
739
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
740 *** `nntp-rlogin-program' -- new variable to ease customization.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
741
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
742 *** `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
743 re-highlighting of the article buffer.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
744
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
745 *** New element in `gnus-boring-article-headers' -- `long-to'.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
746
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
747 *** `M-i' symbolic prefix command. See the section "Symbolic
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
748 Prefixes" in the Gnus manual for details.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
749
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
750 *** `L' and `I' in the summary buffer now take the symbolic prefix
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
751 `a' to add the score rule to the "all.SCORE" file.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
752
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
753 *** `gnus-simplify-subject-functions' variable to allow greater
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
754 control over simplification.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
755
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
756 *** `A T' -- new command for fetching the current thread.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
757
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
758 *** `/ T' -- new command for including the current thread in the
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
759 limit.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
760
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
761 *** `M-RET' is a new Message command for breaking cited text.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
762
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
763 *** \\1-expressions are now valid in `nnmail-split-methods'.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
764
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
765 *** The `custom-face-lookup' function has been removed.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
766 If you used this function in your initialization files, you must
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
767 rewrite them to use `face-spec-set' instead.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
768
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
769 *** Cancelling now uses the current select method. Symbolic prefix
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
770 `a' forces normal posting method.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
771
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
772 *** New command to translate M******** sm*rtq**t*s into proper text
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
773 -- `W d'.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
774
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
775 *** For easier debugging of nntp, you can set `nntp-record-commands'
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
776 to a non-nil value.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
777
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
778 *** nntp now uses ~/.authinfo, a .netrc-like file, for controlling
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
779 where and how to send AUTHINFO to NNTP servers.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
780
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
781 *** A command for editing group parameters from the summary buffer
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
782 has been added.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
783
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
784 *** A history of where mails have been split is available.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
785
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
786 *** A new article date command has been added -- `article-date-iso8601'.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
787
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
788 *** Subjects can be simplified when threading by setting
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
789 `gnus-score-thread-simplify'.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
790
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
791 *** A new function for citing in Message has been added --
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
792 `message-cite-original-without-signature'.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
793
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
794 *** `article-strip-all-blank-lines' -- new article command.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
795
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
796 *** 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
797 been added.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
798
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
799 *** A minimum adaptive score can be specified by using the
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
800 `gnus-adaptive-word-minimum' variable.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
801
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
802 *** The "lapsed date" article header can be kept continually
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
803 updated by the `gnus-start-date-timer' command.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
804
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
805 *** Web listserv archives can be read with the nnlistserv backend.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
806
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
807 *** Old dejanews archives can now be read by nnweb.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
808
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
809 *** Byte-compilation of user-specs now works under XEmacs.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
810
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
811 ** The `dir' files are no longer essential for functioning of the Info
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
812 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
813 relevant information will be generated on-the-fly.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
814
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
815 This behavior can be customized, look for `Info-auto-generate-directory'
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
816 and `Info-save-auto-generated-dir' in the `info' customization group.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
817
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
818
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
819 * Lisp and internal changes in XEmacs 21.0
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
820 ==========================================
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
821
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
822 ** 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
823 integers (normally, Lisp integers are only 28 bits wide on 32-bit
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
824 machines.) Configure with --use-minimal-tagbits to test. With this
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
825 change, the maximum buffer size on 32-bit machines is increased from
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
826 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
827 version.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
828
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
829 ** Specifier changes.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
830
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
831 *** When instantiating a specifier, the window locale now has a higher
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
832 precedence than the buffer locale. This is because the window locale
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
833 is more specific than the buffer locale.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
834
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
835 *** The new macro `let-specifier' can be used to temporarily add
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
836 specifications to specifiers. See the documentation for details.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
837
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
838 *** The new specifiers `vertical-scrollbar-visible-p' and
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
839 `horizontal-scrollbar-visible-p' may be used to control scrollbar
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
840 visibility. Previously, the only way to remove a scrollbar was to set
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
841 its size to 0. This method is still supported for backward
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
842 compatibility.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
843
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
844 *** The new specifiers `scrollbar-on-left-p' and `scrollbar-on-top-p'
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
845 may be used to control the position of the vertical and horizontal
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
846 toolbar. Previously, their position could be changed only through the
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
847 use of X resources.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
848
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
849 *** The new draggable vertical dividers between windows may be turned
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
850 off using the `vertical-divider-always-visible-p' specifier. When
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
851 this is set to nil, the vertical dividers between windows are shown
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
852 only when needed, and they are not draggable.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
853
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
854 Other properties of the vertical dividers may be controlled using
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
855 `vertical-divider-shadow-thickness', `vertical-divider-line-width' and
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
856 `vertical-divider-spacing' specifiers, which see.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
857
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
858 ** Frame focus management changes.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
859
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
860 *** When the variable focus-follows-mouse is non-nil, `select-frame'
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
861 no longer permanently selects a different frame. The frame selection
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
862 is temporary and is reverted when the current command terminates, much
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
863 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
864 Emacs.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
865
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
866 *** The new function `focus-frame' sets the window system focus to
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
867 FRAME (and selects it), regardless of the value of
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
868 `focus-follows-mouse'. Doing this is not well behaved, so be
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
869 absolutely sure that you want this.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
870
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
871 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
872 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
873 working when `focus-follows-mouse' is non-nil.
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 *** The special forms `save-selected-frame' and `with-selected-frame'
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
876 can now be used to temporarily change selected frame.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
877
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
878 *** 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
879 these changes.
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 ** The function `select-window' now has an optional second argument
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
882 NORECORD which if non-nil inhibits the recording of a buffer change.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
883
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
884 ** The function `vertical-motion' now correctly handles the second,
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
885 optional WINDOW argument. A new third argument PIXELS, if non-nil,
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
886 indicates that the returned motion should be in pixels.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
887
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
888 ** The new function `vertical-motion-pixels' is similar to
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
889 vertical-motion but takes as input a vertical motion in pixels.
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 new functions window-text-area-pixel-{width,height,edges} can
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
892 be used to obtain information about the text-displaying area of a
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
893 window.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
894
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
895 ** The new functions `shrink-window-pixels' and `enlarge-window-pixels'
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
896 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
897
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
898 ** The new function `window-displayed-text-pixel-height' can be used
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
899 to determine the height of the text actually displayed in a window.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
900
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
901 ** The arithmetic comparison functions <, >, =, /= now accept a
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
902 variable number of arguments.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
903
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
904 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
905 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
906 (apply #'> LIST) now tests if LIST is monotonously increasing -- and
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
907 so on.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
908
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
909 ** The XEmacs hashtables now have a consistent read/print syntax.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
910 This means that a hashtable will be readably printed in a
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
911 structure-like form:
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
912
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
913 #s(hashtable size 2 data (key1 value1 key2 value2))
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 When XEmacs reads this form, it will create a new hashtable according
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
916 to description. This allows you to easily dump hashtables to files
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
917 using `prin1', and read them back in using `read'.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
918
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
919 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
920 instance:
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
921
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
922 #<hashtable size 2/13 data (key1 value1 key2 value2) 0x874d>
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
923
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
924 ** It is now possible to build XEmacs with LDAP support.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
925 You will need to install a LDAP library first. The following have
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
926 been tested:
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
927 - LDAP 3.3 from the University of Michigan
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
928 (get it from <URL:http://www.umich.edu/~dirsvcs/ldap/>)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
929 - OpenLDAP 1.0.3 from the OpenLDAP Foundation
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
930 (get it from <URL:http://www.openldap.org/>)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
931 - LDAP SDK 1.0 from Netscape Corp.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
932 (get it from <URL:http://developer.netscape.com/>)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
933
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
934 ** When profiling is in effect, a call-count of all recorded functions
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
935 is now calculated. This information is stored in
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
936 `call-count-profile-table', and is utilized by `profile-results' as
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
937 well as the new command `profile-call-count-results'.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
938
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
939 ** 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
940 starts with a colon, if it is interned in the standard obarray.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
941
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
942 However, setting such a symbol to its proper value, which is that
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
943 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
944 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
945 these variables to themselves.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
946
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
947 ** The `concat' function no longer accepts integer arguments.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
948
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
949 ** The new function `string' concatenates all its argument characters
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
950 and returns the resulting string. This is consistent with other
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
951 functions, like `list', `vector', etc.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
952
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
953 ** The function `temp-directory' is now available to return the
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
954 directory to store temporary files. On Unix this will be obtained
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
955 from TMPDIR, defaulting to `/tmp'.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
956
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
957 ** The function load-average now accepts an optional argument
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
958 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
959 floating point numbers, rather than as integers to be divided by 100.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
960
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
961 ** The `make-event' function now supports the TYPE and PLIST
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
962 arguments, which can be used to create various events from Lisp. See
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
963 the documentation for details.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
964
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
965 ** `function-interactive' is a new function that returns the
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
966 interactive specification of a funcallable object.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
967
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
968 ** The new `lmessage' function allows printing of a formatted message
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
969 with a particular label.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
970
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
971 (lmessage 'progress "Processing... %d" counter)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
972
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
973 This function is more convenient than `display-message' because it
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
974 automatically applies `format' to its arguments.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
975
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
976 ** The new `lwarn' function, analogous to `lmessage', allows printing
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
977 a formatted warning, with a non-default CLASS or LABEL.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
978
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
979 ** The new function `split-path' can now be used to explode the
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
980 components of a colon-separated search path into a list.
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 (split-path "foo:bar")
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
983 => ("foo" "bar")
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
984
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
985 ** Specifiers and symbols whose value is a specifier are now allowed
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
986 as modeline specifications.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
987
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
988 ** defcustom now accepts the keyword `:version'. Use this to specify
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
989 in which version of Emacs a certain variable's default value changed.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
990 For example,
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
991
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
992 (defcustom foo-max 34 "*Maximum number of foo's allowed."
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
993 :type 'integer
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
994 :group 'foo
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
995 :version "21.0")
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
996
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
997 This information is used to control the customize-changed-options
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
998 command.
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 ** The line number tracking in modeline is now efficient, even for
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1001 very large buffers. This is achieved by caching the line numbers of
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1002 recent buffer positions, and reusing them. This cache is used only in
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1003 the buffers where `line-number-mode' is in effect.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1004
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1005 ** 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
1006 be used. This should result in better performance on Linux systems
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1007 with libc6.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1008
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1009 ** The code XEmacs uses to assemble its various paths into the
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1010 directory hierarchy has been rewritten to support the package system.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1011 Look under "Startup Paths" in the Info documentation for more
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1012 information.
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 *** site-lisp is no longer part of the load-path by default.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1015 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
1016 configure command line to get it back.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1017
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1018 *** `Info-default-directory-list' is now obsolete. If you want to
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1019 change the path which XEmacs uses to search for info files, set
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1020 `Info-directory-list' instead.