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