126
|
1 -*- mode:outline -*-
|
|
2
|
0
|
3 * Introduction
|
|
4 ==============
|
|
5
|
|
6 This file presents some general information about XEmacs. It is primarily
|
|
7 about the evolution of XEmacs and its release history.
|
|
8
|
126
|
9 There are three sections.
|
0
|
10
|
|
11 Introduction................(this section) provides an introduction
|
|
12
|
|
13 Using Outline Mode..........briefly explains how to use outline mode
|
|
14
|
70
|
15 XEmacs Release Notes........details of the changes between releases
|
|
16
|
|
17 New users should look at the next section on "Using Outline Mode". You will
|
|
18 be more efficient when you can navigate quickly through this file. Users
|
116
|
19 interested in some of the details of how XEmacs differs from GNU Emacs
|
126
|
20 should read the section "What's Different?".
|
|
21
|
|
22 Users who would like to know which capabilities have been introduced
|
|
23 in each release should look at the appropriate subsection of the
|
|
24 "XEmacs Release Notes." Starting with version 20.0, XEmacs includes
|
|
25 ChangeLogs, which can be consulted for a more detailed list of
|
|
26 changes.
|
70
|
27
|
|
28 N.B. The term "FSF GNU Emacs" refers to any release of Emacs Version 19
|
|
29 from the Free Software Foundation's GNU Project. (We do not say just
|
|
30 "GNU Emacs" because Richard M. Stallman ["RMS"] thinks that this term
|
|
31 is too generic; although we sometimes say e.g. "GNU Emacs 19.30" to refer
|
|
32 to a specific version of FSF GNU Emacs. We do not say merely "Emacs", as
|
|
33 RMS prefers, because that is clearly an even more generic term.) The term
|
|
34 "XEmacs" refers to this program or to its predecessors "Era" and
|
|
35 "Lucid Emacs". The predecessor of all these program is called "Emacs 18".
|
|
36 When no particular version is implied, "Emacs" will be used.
|
0
|
37
|
126
|
38
|
0
|
39 * Using Outline Mode
|
|
40 ====================
|
|
41
|
|
42 This file is in outline mode, a major mode for viewing (or editing)
|
|
43 outlines. It allows you to make parts of the text temporarily invisible so
|
|
44 that you can see just the overall structure of the outline.
|
|
45
|
|
46 There are two ways of using outline mode: with keys or with menus. Using
|
|
47 outline mode with menus is the simplest and is just as effective as using
|
|
48 keystrokes. There are menus for outline mode on the menubar as well as in
|
|
49 popup menus activated by pressing mouse button 3.
|
|
50
|
70
|
51 Experiment with the menu commands. Menu items under "Headings" allow
|
|
52 you to navigate from heading to heading. Menu items under "Show" make
|
|
53 visible portions of the outline while menu items under "Hide" do the
|
|
54 opposite.
|
|
55
|
|
56 A special minor mode called "outl-mouse" has been automatically enabled. In
|
193
|
57 this minor mode, glyphs appear that, when clicked on, will alternately hide
|
70
|
58 or show sections of the outline.
|
|
59
|
0
|
60 You may at any time press `C-h m' to get a listing of the outline mode key
|
70
|
61 bindings. They are reproduced here:
|
|
62
|
|
63 Commands:
|
|
64 C-c C-n outline-next-visible-heading move by visible headings
|
|
65 C-c C-p outline-previous-visible-heading
|
|
66 C-c C-f outline-forward-same-level similar but skip subheadings
|
|
67 C-c C-b outline-backward-same-level
|
|
68 C-c C-u outline-up-heading move from subheading to heading
|
|
69
|
|
70 C-c C-t make all text invisible (not headings).
|
|
71 M-x show-all make everything in buffer visible.
|
|
72
|
|
73 The remaining commands are used when point is on a heading line.
|
|
74 They apply to some of the body or subheadings of that heading.
|
|
75 C-c C-d hide-subtree make body and subheadings invisible.
|
|
76 C-c C-s show-subtree make body and subheadings visible.
|
|
77 C-c tab show-children make direct subheadings visible.
|
|
78 No effect on body, or subheadings 2 or more levels down.
|
|
79 With arg N, affects subheadings N levels down.
|
|
80 C-c C-c make immediately following body invisible.
|
|
81 C-c C-e make it visible.
|
|
82 C-c C-l make body under heading and under its subheadings invisible.
|
|
83 The subheadings remain visible.
|
126
|
84 C-c C-k make all subheadings at all levels visible.
|
|
85
|
|
86
|
|
87 XEmacs Release Notes
|
|
88 ====================
|
|
89
|
|
90 * Future Plans for XEmacs
|
70
|
91 ==========================
|
|
92
|
126
|
93 ** XEmacs will be unbundled into constituent installable packages.
|
|
94
|
|
95 The XEmacs distribution has grown very large. We plan the future
|
|
96 distribution to contain a much smaller amount of code for basic
|
|
97 functionality, with all the popular Lisp packages being available in
|
|
98 the form of easy-to-install add-ons.
|
|
99
|
|
100 ** We are working on improving the Mule support in future releases:
|
|
101
|
|
102 *** Other input methods, such as skk, will be supported.
|
|
103
|
|
104 *** Wnn support will be made more solid.
|
|
105
|
|
106 *** More user-level documentation on using Mule.
|
|
107
|
|
108
|
209
|
109 * Changes in XEmacs 20.4
|
|
110 ========================
|
|
111
|
|
112 ** An arbitrary keystroke can be generated by entering `C-x @ k
|
|
113 <keysym-name> RET' where <keysym-name> is a spelled out name of the
|
|
114 desired keysym. For example a sequence:
|
|
115
|
|
116 C-x @ c C-x @ k b a c k s p a c e RET
|
|
117
|
|
118 will result in a `C-backspace' keystroke. This feature is especially
|
|
119 useful on terminal emulators having key redefinition capability.
|
|
120
|
|
121
|
153
|
122 * Changes in XEmacs 20.3
|
|
123 ========================
|
|
124
|
165
|
125 ** Startup file additions.
|
163
|
126
|
199
|
127 By default XEmacs now loads the user file "~/.xemacs/init.el" if it
|
|
128 exists. If there is no such file, it reads "~/.emacs" as usual. If
|
|
129 both "~/.xemacs/init.el" and "~/.emacs" exist, XEmacs will only load
|
|
130 "~/.xemacs/init.el".
|
|
131
|
|
132 Customizable options are now saved to "~/.xemacs/options.el" file,
|
|
133 which is normally loaded after "~/.xemacs/init.el".
|
163
|
134
|
|
135 ** Quail input method is now available.
|
|
136
|
193
|
137 Quail is a simple key-translation system that allows users to input
|
165
|
138 any multilingual text from normal ASCII keyboard. This means that
|
|
139 XEmacs with Mule now supports a number of European languages.
|
163
|
140
|
215
|
141 ** More Windows NT support.
|
|
142
|
|
143 Thanks to efforts of many people, coordinated by David Hobley
|
|
144 <davidh@wr.com.au> and Marc Paquette <marcpa@cam.org>, beta versions
|
|
145 of XEmacs now run on 32-bit Windows platforms (Windows NT and Windows
|
|
146 95). The current betas require having an X server to run XEmacs;
|
|
147 however, a native NT/95 port is in alpha, thanks to Jonathan Harris
|
|
148 <jhar@tardis.ed.ac.uk>.
|
|
149
|
|
150 The NT development is now coordinated by a mailing list at
|
|
151 <xemacs-nt@xemacs.org>. Mail to <xemacs-nt-request@xemacs.org> to
|
|
152 subscribe.
|
153
|
153
|
|
154 ** Multiple TTY frames are now available.
|
|
155
|
|
156 On consoles that display only one frame at a time (e.g. TTY consoles),
|
|
157 creating a new frame with `C-x 5 2' also raises and selects that
|
|
158 frame. The behavior of window system frames is unchanged.
|
|
159
|
207
|
160 ** Package starting changes.
|
|
161
|
|
162 State of Emacs should never be changed with loading a package. The
|
|
163 following XEmacs packages that used to break this have been changed.
|
|
164
|
|
165 *** Loading `paren' no longer enables paren-blinking. Use
|
|
166 `paren-set-mode' explicitly, or customize `paren-mode'.
|
|
167
|
|
168 *** Loading `uniquify' no longer enables uniquify. Set
|
|
169 `uniquify-buffer-name-style' to a legal value.
|
|
170
|
|
171 *** Loading `time' no longer enables display time. Invoke
|
|
172 `display-time' explicitly.
|
|
173
|
|
174 *** Loading `jka-compr' no longer enables on-the-fly compression. Use
|
|
175 `toggle-auto-compression' instead.
|
|
176
|
|
177 *** Loading `id-select' no longer enables its behaviour. Use
|
|
178 `id-select-install' instead.
|
|
179
|
173
|
180 ** Zmacs region is not deactivated when an error is signaled.
|
|
181
|
|
182 The behavior of the zmacs region can now be controlled in the event of
|
|
183 a signaled error. The new variable `errors-deactivate-region' may be
|
|
184 set to nil to revert to the old behaviour. As before, typing C-g
|
193
|
185 deactivates the region.
|
173
|
186
|
207
|
187 ** Multiple Info `dir' functionality has been merged with GNU Emacs
|
|
188 19.34.
|
|
189
|
|
190 XEmacs will now correctly merge all the `dir' files in
|
|
191 `Info-directory-list' (initialized from either `INFOPATH'
|
|
192 env. variable or `Info-default-directory-list'.) These files may be
|
|
193 full-fledged info files containing subnodes or menus. Previously
|
|
194 supported `localdir' files are looked for also, secondary to `dir's.
|
|
195 See the manual for details.
|
169
|
196
|
167
|
197 ** Abbreviations can now contain non-word characters.
|
|
198
|
|
199 This means that it is finally possible to do such simple things as
|
193
|
200 define `#in' to expand to `#include' in C mode, `s-c-b' to
|
167
|
201 `save-current-buffer' in Lisp mode, `call/cc' to
|
|
202 `call-with-current-continuation' in Scheme mode, etc.
|
|
203
|
159
|
204 ** `C-x n d' now runs the new command `narrow-to-defun',
|
157
|
205 which narrows the accessible parts of the buffer to just
|
|
206 the current defun.
|
|
207
|
159
|
208 ** The new command `C-x 4 0' (kill-buffer-and-window) kills the
|
157
|
209 current buffer and deletes the selected window. It asks for
|
|
210 confirmation first.
|
|
211
|
207
|
212 ** `ESC ESC ESC' (keyboard-escape-quit) will now correctly abort
|
|
213 recursive edits (as documented.)
|
|
214
|
165
|
215 ** arc-mode has a new function called `archive-quit' bound to q, which
|
|
216 quits archive mode in the same fashion dired-quit works.
|
207
|
217
|
|
218 ** A `tetris' clone is now available within XEmacs, written by Glynn
|
|
219 Clements. Try it out with `M-x tetris'.
|
165
|
220
|
167
|
221 ** The feature to teach the key bindings of extended commands now
|
|
222 prints the message after the command finishes. After some time, the
|
193
|
223 previous echo area contents are restored (in case the command prints
|
|
224 something useful).
|
165
|
225
|
195
|
226 ** If you set scroll-conservatively to a small number, then when you
|
|
227 move point a short distance off the screen, XEmacs will scroll the
|
|
228 screen just far enough to bring point back on screen, provided that
|
|
229 does not exceed `scroll-conservatively' lines.
|
|
230
|
197
|
231 ** Face background colors now take precedence over the default face
|
|
232 background pixmap, which means that background pixmaps no longer clash
|
|
233 with zmacs-regions, or clickable buttons.
|
|
234
|
207
|
235 ** Regexps can now contain additional Perl-like constructs.
|
|
236
|
|
237 ** Modifiers can be added to a keystroke by preceding it with a `C-x @
|
|
238 <x>' sequence where <x> is one of letters `S', `c', `m', `a', `h', `s'
|
|
239 corresponding to shift, control, meta, alt, hyper, and super modifiers,
|
|
240 respectively. It is possible to add several modifiers by repeating this
|
|
241 sequence. This feature is especially useful on text terminals where it
|
|
242 allows one to enter keystrokes like, e.g., `M-home'.
|
|
243
|
209
|
244 ** An arbitrary keystroke can be generated by entering `C-x @ k
|
|
245 <keysym-name> RET'. For example a sequence:
|
|
246
|
|
247 C-x @ c C-x @ k b a c k s p a c e RET
|
|
248
|
|
249 will result in a `C-backspace' keystroke even on text terminals.
|
|
250
|
195
|
251 ** Customize changes.
|
|
252
|
|
253 *** Customize has undergone a massive speedup, and should now operate
|
|
254 acceptably fast. Slowness of the interface used to be the biggest
|
|
255 gripe.
|
|
256
|
|
257 *** Many more packages have been modified to use the facility, so
|
207
|
258 almost all of XEmacs options can now be examined through the Customize
|
195
|
259 groups.
|
|
260
|
|
261 *** There is a new `browser' mode of traversing customizations, in
|
|
262 many ways easier to follow than the standard one. Try it out with
|
|
263 `M-x customize-browse'.
|
|
264
|
189
|
265 ** Pending-delete changes.
|
|
266
|
|
267 *** Pending-delete is now a minor mode, with the normal minor-mode
|
|
268 semantics and toggle functions. Old functions are left for
|
|
269 compatibility.
|
|
270
|
|
271 *** Loading pending-del no longer turns on pending-delete mode. In
|
|
272 fact, it is no longer necessary to explicitly load pending-del. All
|
|
273 you need to do to turn on pending-delete is run the pending-delete
|
|
274 function:
|
|
275
|
|
276 Within XEmacs: Type M-x pending-delete <ret>
|
|
277 not M-x load-library <ret> pending-delete <ret>
|
|
278
|
|
279 In .emacs: Use (turn-on-pending-delete)
|
|
280 not (load "pending-del")
|
|
281
|
157
|
282 ** XEmacs can now save the minibuffer histories from various
|
|
283 minibuffers. To use this feature, add the line:
|
|
284
|
|
285 (savehist-load)
|
|
286
|
|
287 to your .emacs. This will load the minibuffer histories (if any) at
|
|
288 startup, as well as instruct XEmacs to save them before exiting. You
|
|
289 can use Customize to add or remove the histories being saved.
|
|
290
|
163
|
291 ** The default format for ChangeLog entries (as created by `C-x 4 a')
|
|
292 is now the international ISO 8601 format.
|
|
293
|
|
294 To revert to the old behaviour, use:
|
|
295
|
|
296 (setq add-log-time-format 'current-time-string)
|
|
297
|
197
|
298 Or `M-x customize RET add-log RET'.
|
|
299
|
207
|
300 ** In ChangeLog mode, you can now press `C-c C-c' to save the file
|
|
301 and restore old window configuration, or `C-c C-k' to abandon the
|
|
302 changes.
|
|
303
|
197
|
304 ** The key `C-x m' no longer runs the `mail' command directly.
|
195
|
305 Instead, it runs the command `compose-mail', which invokes the mail
|
|
306 composition mechanism you have selected with the variable
|
|
307 `mail-user-agent'. The default choice of user agent is
|
|
308 `sendmail-user-agent', which gives behavior compatible with the old
|
|
309 behavior.
|
|
310
|
|
311 C-x 4 m now runs compose-mail-other-window, and C-x 5 m runs
|
|
312 compose-mail-other-frame.
|
|
313
|
|
314 ** When you kill a buffer that visits a file, if there are any
|
|
315 registers that save positions in the file, these register values no
|
|
316 longer become completely useless. If you try to go to such a register
|
|
317 with `C-x j', then you are asked whether to visit the file again. If
|
|
318 you say yes, it visits the file and then goes to the same position.
|
|
319
|
|
320 ** When you visit a file that changes frequently outside Emacs--for
|
|
321 example, a log of output from a process that continues to run--it may
|
|
322 be useful for Emacs to revert the file without querying you whenever
|
|
323 you visit the file afresh with `C-x C-f'.
|
|
324
|
|
325 You can request this behavior for certain files by setting the
|
|
326 variable revert-without-query to a list of regular expressions. If a
|
|
327 file's name matches any of these regular expressions, find-file and
|
|
328 revert-buffer revert the buffer without asking for permission--but
|
|
329 only if you have not edited the buffer text yourself.
|
163
|
330
|
157
|
331 ** Gnuserv changes
|
|
332
|
|
333 *** The Lisp part of gnuserv has been rewritten to allow for more
|
|
334 flexibility and features.
|
|
335
|
|
336 *** Many new options and variables are now customizable. Try
|
207
|
337 `M-x customize RET gnuserv RET'.
|
|
338
|
|
339 *** The functionality of `gnuattach' and `gnudoit' programs is
|
|
340 provided by `gnuclient', which now accepts the standard `-nw',
|
163
|
341 `-display', `-eval' and `-f' options.
|
157
|
342
|
155
|
343 ** Etags changes.
|
|
344
|
|
345 *** In C, C++, Objective C and Java, Etags tags global variables by
|
|
346 default. The resulting tags files are inflated by 30% on average.
|
|
347 Use --no-globals to turn this feature off. Etags can also tag
|
193
|
348 variables that are members of structure-like constructs, but it does
|
155
|
349 not by default. Use --members to turn this feature on.
|
|
350
|
|
351 *** C++ member functions are now recognized as tags.
|
|
352
|
|
353 *** Java is tagged like C++. In addition, "extends" and "implements"
|
|
354 constructs are tagged. Files are recognised by the extension .java.
|
|
355
|
|
356 *** Etags can now handle programs written in Postscript. Files are
|
|
357 recognised by the extensions .ps and .pdb (Postscript with C syntax).
|
|
358 In Postscript, tags are lines that start with a slash.
|
|
359
|
|
360 *** Etags now handles Objective C and Objective C++ code. The usual C and
|
|
361 C++ tags are recognized in these languages; in addition, etags
|
|
362 recognizes special Objective C syntax for classes, class categories,
|
|
363 methods and protocols.
|
|
364
|
|
365 *** Etags also handles Cobol. Files are recognised by the extension
|
|
366 .cobol. The tagged lines are those containing a word that begins in
|
|
367 column 8 and ends in a full stop, i.e. anything that could be a
|
|
368 paragraph name.
|
|
369
|
|
370 *** Regexps in Etags now support intervals, as in ed or grep. The syntax of
|
|
371 an interval is \{M,N\}, and it means to match the preceding expression
|
|
372 at least M times and as many as N times.
|
|
373
|
189
|
374 ** Ada mode changes.
|
|
375
|
|
376 *** There is now better support for using find-file.el with Ada mode.
|
|
377 If you switch between spec and body, the cursor stays in the same
|
|
378 procedure (modulo overloading). If a spec has no body file yet, but
|
|
379 you try to switch to its body file, Ada mode now generates procedure
|
|
380 stubs.
|
|
381
|
|
382 *** There are two new commands:
|
|
383 - `ada-make-local' : invokes gnatmake on the current buffer
|
|
384 - `ada-check-syntax' : check syntax of current buffer.
|
|
385
|
|
386 The user options `ada-compiler-make', `ada-make-options',
|
|
387 `ada-language-version', `ada-compiler-syntax-check', and
|
|
388 `ada-compile-options' are used within these commands.
|
|
389
|
|
390 *** Ada mode can now work with Outline minor mode. The outline level
|
193
|
391 is calculated from the indenting, not from syntactic constructs.
|
189
|
392 Outlining does not work if your code is not correctly indented.
|
|
393
|
|
394 *** The new function `ada-gnat-style' converts the buffer to the style of
|
|
395 formatting used in GNAT. It places two blanks after a comment start,
|
|
396 places one blank between a word end and an opening '(', and puts one
|
|
397 space between a comma and the beginning of a word.
|
|
398
|
207
|
399 ** New demand based locking implementation
|
|
400
|
|
401 A faster, but experimental replacement for lazy-lock (called lazy-shot) is
|
|
402 provided. Like lazy-lock it provides demand based and idle time
|
|
403 font-lock-ing. However the lazy-lock versions that came with previous
|
|
404 versions slowed down XEmacs (possibly quite a lot). Lazy-shot solves
|
|
405 this problem by relying on new support from the C code part of XEmacs.
|
|
406 The support however is experimental and will cause some flashing as
|
|
407 parts of the buffer are colored. This likely to change in the future
|
|
408 as the C support is completed.
|
|
409
|
|
410 The current lazy-shot implementation is mostly interface compatible
|
|
411 with lazy-lock v2.06 (the version shipped with XEmacs is v1.x).
|
|
412
|
|
413 *** To enable:
|
|
414 1. Despite the flashing, lazy-shot was deemed such an improvement by
|
|
415 the majority of beta testers that it is now the standard method
|
|
416 provided by the options menu. Alternatively add
|
|
417
|
|
418 (add-hook 'font-lock-mode-hook 'turn-on-lazy-shot)
|
|
419
|
|
420 to '.emacs'.
|
|
421 2. If you were using lazy-lock before, just replace all occurrences of
|
|
422 "lazy-lock" by "lazy-shot" in your '.emacs' file.
|
|
423
|
|
424 *** To disable:
|
|
425
|
|
426 If prefer to use lazy-lock in stead of lazy-shot, put
|
|
427
|
|
428 (remove-hook 'font-lock-mode-hook 'turn-on-lazy-shot)
|
|
429 (add-hook 'font-lock-mode-hook 'turn-on-lazy-lock)
|
|
430
|
|
431 at the END of `.emacs'.
|
|
432
|
|
433 ** RefTeX mode
|
|
434
|
|
435 RefTeX mode is a new minor mode with special support for \label{}, \ref{}
|
|
436 and \cite{} macros in LaTeX documents. RefTeX distinguishes labels of
|
|
437 different environments (equation, figure, ...) and has full support for
|
|
438 multifile documents. To use it, select a buffer with a LaTeX document and
|
|
439 turn the mode on with M-x reftex-mode. Here are the main user commands:
|
|
440
|
|
441 C-c ( reftex-label
|
|
442 Creates a label semi-automatically. RefTeX is context sensitive and
|
|
443 knows which kind of label is needed.
|
|
444
|
|
445 C-c ) reftex-reference
|
|
446 Offers in a menu all labels in the document, along with context of the
|
|
447 label definition. The selected label is referenced as \ref{LABEL}.
|
|
448
|
|
449 C-c [ reftex-citation
|
|
450 Prompts for a regular expression and displays a list of matching BibTeX
|
|
451 database entries. The selected entry is cited with a \cite{KEY} macro.
|
|
452
|
|
453 C-c & reftex-view-crossref
|
|
454 Views the cross reference of a \ref{} or \cite{} command near point.
|
|
455
|
|
456 C-c = reftex-toc
|
|
457 Shows a table of contents of the (multifile) document. From there you
|
|
458 can quickly jump to every section.
|
|
459
|
|
460 Under X, RefTeX installs a "Ref" menu in the menu bar, with additional
|
|
461 commands. Full documentation and customization examples are in the file
|
|
462 reftex.el. You can use the finder to view this information:
|
|
463 C-h p --> tex --> reftex.el
|
155
|
464
|
153
|
465
|
|
466 * Lisp and internal changes in XEmacs 20.3
|
|
467 ==========================================
|
|
468
|
157
|
469 ** Autoconf 2 is supported, making XEmacs more conforming to
|
|
470 conventions used by other free software.
|
|
471
|
159
|
472 ** `tty-erase-char' is a new variable that reports which character
|
193
|
473 was set up as the terminal's erase character at the time Emacs was
|
159
|
474 started.
|
|
475
|
207
|
476 ** It is now possible to attach the menubar accelerator keys to menu
|
|
477 entries. Look at the Lispref under Menus->Menu Accelerators for
|
|
478 details.
|
|
479
|
173
|
480 ** `insert-file-contents' can now read from a special file,
|
|
481 as long as the arguments VISIT and REPLACE are nil.
|
|
482
|
193
|
483 ** `string-to-number' now accepts an optional BASE argument that
|
169
|
484 specifies which base to use. The default base is 10.
|
|
485
|
159
|
486 ** The TIME argument to `format-time-string' is now optional and
|
|
487 defaults to the current time.
|
|
488
|
|
489 ** The PATTERN argument to `split-string' is now optional and defaults
|
|
490 to whitespace ("[ \f\t\n\r\v]+").
|
157
|
491
|
195
|
492 ** `set-extent-properties' is a new function that can be used to
|
|
493 change properties of an extent at once, and is analogous to
|
|
494 `set-frame-properties'.
|
|
495
|
207
|
496 ** If a format field width is specified as `*', the field width is
|
|
497 now assumed to have been specified as an argument (as in C.)
|
|
498
|
|
499 (format "%*s" 10 "abc")
|
|
500 => " abc"
|
|
501
|
161
|
502 ** The new macro `with-current-buffer' lets you evaluate an expression
|
|
503 conveniently with a different current buffer. It looks like this:
|
|
504
|
|
505 (with-current-buffer BUFFER BODY-FORMS...)
|
|
506
|
|
507 BUFFER is the expression that says which buffer to use.
|
|
508 BODY-FORMS say what to do in that buffer.
|
197
|
509 The old `eval-in-buffer' macro is obsoleted by `with-current-buffer'.
|
161
|
510
|
|
511 ** The new primitive `save-current-buffer' saves and restores the
|
|
512 choice of current buffer, like `save-excursion', but without saving or
|
|
513 restoring the value of point or the mark. `with-current-buffer'
|
|
514 works using `save-current-buffer'.
|
|
515
|
|
516 ** The new macro `with-temp-file' lets you do some work in a new buffer and
|
|
517 write the output to a specified file. Like `progn', it returns the value
|
|
518 of the last form.
|
|
519
|
165
|
520 ** The variable `debug-ignored-errors' now works in XEmacs. It allows
|
|
521 one to ignore the debugger for some common errors, even when
|
|
522 `debug-on-error' is t. It has no effect when `debug-on-signal' is
|
|
523 non-nil.
|
|
524
|
197
|
525 ** The new function `current-message' returns the message currently
|
|
526 displayed in the echo area, or nil if there is none.
|
189
|
527
|
|
528 ** File-access primitive functions no longer discard an extra redundant
|
|
529 directory name from the beginning of the file name. In other words,
|
|
530 they no longer do anything special with // or /~. The same goes for
|
|
531 `expand-file-name'. That conversion is now done only in
|
|
532 `substitute-in-file-name'.
|
|
533
|
|
534 This makes it possible for a Lisp program to open a file whose name
|
|
535 begins with ~.
|
|
536
|
207
|
537 ** The regexp matcher has been extended to recognize the following
|
|
538 constructs, borrowed from Perl:
|
|
539
|
|
540 *** Additional quantifiers.
|
|
541
|
|
542 In addition to `*', `+' and `?', XEmacs now recognizes the following
|
|
543 quantifiers:
|
|
544
|
|
545 \{n\} Match exactly n times
|
|
546 \{n,\} Match at least n times
|
|
547 \{n,m\} Match at least n but not more than m times
|
|
548
|
|
549 *** Non-greedy quantifiers.
|
|
550
|
|
551 Any of the standard quantifiers (`*', `+' and others) can now be
|
|
552 followed by an optional `?', which will make them become "non-greedy",
|
|
553 i.e. they will match as little text as possible. Note that the
|
|
554 meanings don't change, just the "gravity."
|
|
555
|
|
556 *** Shy groups.
|
|
557
|
|
558 The \(?: ... \) groups things like \( ... \), but doesn't record the
|
|
559 context for backreferences or future use. This is useful when you
|
|
560 need a lot of groups for the sake of priorities, but actually want to
|
|
561 record only one or two.
|
|
562
|
197
|
563 ** The new function `regexp-opt' returns an efficient regexp to match
|
|
564 a string. The arguments are STRINGS and (optionally) PAREN. This
|
189
|
565 function can be used where regexp matching or searching is intensively
|
|
566 used and speed is important, e.g., in Font Lock mode.
|
|
567
|
207
|
568 ** The featurep syntax has been extended to resemble the Common Lisp
|
|
569 one, as suggested by Erik Naggum.
|
|
570
|
|
571 *** The `xemacs' feature is defined in XEmacs by default.
|
|
572
|
|
573 *** The expression `#+fexp form' is equivalent to
|
|
574 (when (featurep fexp) form), only it is evaluated at read-time. Also,
|
|
575 `#-fexp form' is equivalent to (unless (featurep fexp) form).
|
|
576
|
|
577 *** In addition to symbols, a FEXP can also be a number, or a logical
|
|
578 operator. Here are some examples:
|
|
579 ;; evaluates to non-nil on XEmacs:
|
|
580 (featurep 'xemacs)
|
|
581 ;; evaluates to non-nil on XEmacs 20.3 or later:
|
|
582 (featurep '(and xemacs 20.03))
|
|
583 ;; evaluates to non-nil either on Emacs, or on XEmacs built without
|
|
584 ;; X support:
|
|
585 (featurep '(or emacs (and xemacs (not x))))
|
|
586
|
157
|
587
|
153
|
588
|
136
|
589 * Changes in XEmacs 20.2
|
126
|
590 ========================
|
|
591
|
140
|
592 ** Why XEmacs 20.1 is called 20.2
|
|
593
|
138
|
594 Testing of XEmacs 20.1 revealed a number of showstopping bugs at the
|
|
595 very final moment. Instead of confusing the version numbers further,
|
|
596 the `20.1' designation was abandoned, and the release was renamed to
|
|
597 `20.2'.
|
|
598
|
140
|
599 ** Delete/backspace keysyms have been separated
|
|
600
|
|
601 The Delete and Backspace keysyms are now no longer identical. A better
|
|
602 version of delbackspace.el has been added called delbs.el.
|
138
|
603
|
153
|
604 ** XEmacs 20.0 MULE API supported for backwards compatibility
|
138
|
605
|
|
606 XEmacs 20.2 primarily supports the MULE 3 API. It now also supports
|
|
607 the XEmacs 20.0 MULE API.
|
|
608
|
126
|
609 ** The logo has been changed, and the default background color is
|
|
610 now a shade of gray instead of the eye-burning white.
|
|
611
|
|
612 The sample .Xdefaults and .emacs files contain examples of how to
|
|
613 revert to the old background color.
|
|
614
|
|
615 ** Default modeline colors are now less of a color-salad.
|
|
616
|
146
|
617 ** The `C-z' key now iconifies only the current X frame. You can use
|
|
618 `C-x C-z' to get the old behavior.
|
|
619
|
|
620 On the tty frames `C-z' behaves as before.
|
|
621
|
126
|
622 ** The command `display-time' now draws a pretty image in the modeline
|
|
623 when new mail arrives. It also supports balloon-help messages.
|
|
624
|
|
625 ** Various commands that were previously disabled are now enabled, like
|
|
626 eval-expression (`M-:') and upcase-region (`C-x C-u')/downcase-region
|
|
627 (`C-x C-l').
|
|
628
|
|
629 ** It is now possible to customize the functions called by XEmacs toolbar.
|
|
630
|
|
631 Type `M-x customize RET toolbar RET' to customize it. Customizations
|
|
632 include the choice of functions for the buttons to invoke, as well as
|
|
633 a wide choice of mailers and newsreaders to invoked by the respective
|
|
634 functions.
|
|
635
|
|
636 ** `temp-buffer-shrink-to-fit' now defaults to nil.
|
|
637
|
|
638 There are unresolved issues regarding this feature, which is why the
|
|
639 XEmacs developers decided to disable it by default.
|
|
640
|
|
641 ** `ps-print-color-p' now defaults to nil.
|
|
642
|
|
643 This is because the new default background color is non-white. The
|
|
644 `Printing Options' in the `Options' menu now include an item that
|
|
645 enables color printing, and sets the white background.
|
|
646
|
|
647 ** `line-number-mode' should be used to get line numbers in the
|
|
648 modeline, and `column-number-mode' to get column numbers. Line
|
|
649 numbers now number from 1 by default.
|
|
650
|
|
651 ** font-lock-mode will now correctly fontify `int a, b, c;'
|
|
652 expressions in C mode.
|
|
653
|
|
654 ** The blinking cursor is always "on" during movement.
|
|
655
|
146
|
656 ** The XEmacs build process has been changed to make site
|
|
657 administration easier. See lisp/site-load.el for details.
|
|
658
|
|
659 ** Numerous causes of crashes have been fixed. XEmacs should now be
|
|
660 even more stable than before.
|
|
661
|
|
662 ** configure no longer defaults to using --with-xim=motif if Motif libraries
|
|
663 are linked.
|
|
664
|
|
665 There are many bugs in the Xlib XIM support in X11R6.3.
|
|
666
|
126
|
667 ** A number of new packages are added, and many packages were
|
|
668 updated.
|
|
669
|
144
|
670 ** Gnus-5.4.52, courtesy of Lars Magne Ingebrigtsen
|
126
|
671
|
|
672 *** nntp.el has been totally rewritten in an asynchronous fashion.
|
|
673
|
|
674 *** Article prefetching functionality has been moved up into
|
124
|
675 Gnus.
|
|
676
|
126
|
677 *** Scoring can now be performed with logical operators like
|
124
|
678 `and', `or', `not', and parent redirection.
|
|
679
|
|
680 *** Article washing status can be displayed in the
|
|
681 article mode line.
|
|
682
|
126
|
683 *** gnus.el has been split into many smaller files.
|
|
684
|
|
685 *** Suppression of duplicate articles based on Message-ID.
|
124
|
686
|
|
687 (setq gnus-suppress-duplicates t)
|
|
688
|
126
|
689 *** New variables for specifying what score and adapt files
|
124
|
690 are to be considered home score and adapt files. See
|
|
691 `gnus-home-score-file' and `gnus-home-adapt-files'.
|
|
692
|
126
|
693 *** Groups can inherit group parameters from parent topics.
|
|
694
|
|
695 *** Article editing has been revamped and is now usable.
|
|
696
|
|
697 *** Signatures can be recognized in more intelligent fashions.
|
124
|
698 See `gnus-signature-separator' and `gnus-signature-limit'.
|
|
699
|
126
|
700 *** Summary pick mode has been made to look more nn-like.
|
124
|
701 Line numbers are displayed and the `.' command can be
|
|
702 used to pick articles.
|
|
703
|
126
|
704 *** Commands for moving the .newsrc.eld from one server to
|
124
|
705 another have been added.
|
|
706
|
|
707 `M-x gnus-change-server'
|
|
708
|
126
|
709 *** A way to specify that "uninteresting" fields be suppressed when
|
124
|
710 generating lines in buffers.
|
|
711
|
126
|
712 *** Several commands in the group buffer can be undone with
|
124
|
713 `M-C-_'.
|
|
714
|
126
|
715 *** Scoring can be done on words using the new score type `w'.
|
|
716
|
|
717 *** Adaptive scoring can be done on a Subject word-by-word basis:
|
124
|
718
|
|
719 (setq gnus-use-adaptive-scoring '(word))
|
|
720
|
126
|
721 *** Scores can be decayed.
|
124
|
722
|
|
723 (setq gnus-decay-scores t)
|
|
724
|
126
|
725 *** Scoring can be performed using a regexp on the Date header. The
|
124
|
726 Date is normalized to compact ISO 8601 format first.
|
|
727
|
126
|
728 *** A new command has been added to remove all data on articles from
|
124
|
729 the native server.
|
|
730
|
|
731 `M-x gnus-group-clear-data-on-native-groups'
|
|
732
|
126
|
733 *** A new command for reading collections of documents
|
124
|
734 (nndoc with nnvirtual on top) has been added -- `M-C-d'.
|
|
735
|
126
|
736 *** Process mark sets can be pushed and popped.
|
|
737
|
|
738 *** A new mail-to-news backend makes it possible to post
|
124
|
739 even when the NNTP server doesn't allow posting.
|
|
740
|
126
|
741 *** A new backend for reading searches from Web search engines
|
124
|
742 (DejaNews, Alta Vista, InReference) has been added.
|
|
743
|
|
744 Use the `G w' command in the group buffer to create such
|
|
745 a group.
|
|
746
|
126
|
747 *** Groups inside topics can now be sorted using the standard
|
124
|
748 sorting functions, and each topic can be sorted independently.
|
|
749
|
|
750 See the commands under the `T S' submap.
|
|
751
|
126
|
752 *** Subsets of the groups can be sorted independently.
|
124
|
753
|
|
754 See the commands under the `G P' submap.
|
|
755
|
126
|
756 *** Cached articles can be pulled into the groups.
|
124
|
757
|
|
758 Use the `Y c' command.
|
|
759
|
126
|
760 *** Score files are now applied in a more reliable order.
|
|
761
|
|
762 *** Reports on where mail messages end up can be generated.
|
124
|
763
|
|
764 `M-x nnmail-split-history'
|
|
765
|
126
|
766 *** More hooks and functions have been added to remove junk
|
124
|
767 from incoming mail before saving the mail.
|
|
768
|
|
769 See `nnmail-prepare-incoming-header-hook'.
|
|
770
|
126
|
771 *** The nnml mail backend now understands compressed article files.
|
|
772
|
136
|
773 ** Custom 1.86, courtesy of Per Abrahamsen
|
124
|
774
|
|
775 The Customize library enables Emacs Lisp programmers to specify types
|
126
|
776 of their variables, so that the users can customize them.
|
|
777
|
|
778 Invoke the customizations buffer using the menus (Customize is at the
|
|
779 top of the Options menu), or using commands `M-x customize',
|
|
780 `M-x customize-variable' and `M-x customize-face'. Customize can save
|
|
781 the changed settings to your `.emacs' file.
|
|
782
|
|
783 Customize is now the preferred way to change XEmacs settings. Tens of
|
|
784 packages have been converted to take advantage of the Customize
|
|
785 features, including Gnus, Message, Supercite, Psgml, Comint, W3,
|
|
786 cc-mode (and many other programming language modes), ispell.el,
|
|
787 ps-print.el, id-select.el, most of the programming language modes, and
|
|
788 many many more.
|
|
789
|
|
790 See the "Lisp Changes" section later for a short description of why
|
|
791 and how to add custom support to your Lisp packages. Custom is also
|
|
792 documented in the XEmacs info manuals.
|
|
793
|
144
|
794 ** W3-3.0.86, courtesy of William Perry
|
126
|
795
|
|
796 Version 3 of Emacs/W3, the Emacs World Wide Web browser, has been
|
|
797 included. It is significantly faster than any of the previous
|
|
798 versions, and contains numerous new features.
|
|
799
|
|
800 ** AUCTeX-9.7k, courtesy of Per Abrahamsen
|
|
801
|
|
802 AUC TeX is a comprehensive customizable integrated environment for
|
146
|
803 writing input files for LaTeX using Emacs.
|
126
|
804
|
|
805 AUC TeX lets you run TeX/LaTeX and other LaTeX-related tools, such as
|
|
806 a output filters or post processor from inside Emacs. Especially
|
|
807 `running LaTeX' is interesting, as AUC TeX lets you browse through the
|
|
808 errors TeX reported, while it moves the cursor directly to the
|
|
809 reported error, and displays some documentation for that particular
|
|
810 error. This will even work when the document is spread over several
|
|
811 files.
|
|
812
|
|
813 AUC TeX automatically indents your `LaTeX-source', not only as you
|
|
814 write it -- you can also let it indent and format an entire document.
|
|
815 It has a special outline feature, which can greatly help you `getting
|
|
816 an overview' of a document.
|
|
817
|
|
818 Apart from these special features, AUC TeX provides an large range of
|
|
819 handy Emacs macros, which in several different ways can help you write
|
|
820 your LaTeX documents fast and painless.
|
|
821
|
|
822 ** redo.el-1.01, courtesy of Kyle Jones
|
|
823
|
|
824 redo.el is a package that implements true redo mechanism in XEmacs
|
|
825 buffers. Once you load it from your `.emacs', you can bind the `redo'
|
|
826 command to a convenient key to use it.
|
|
827
|
|
828 Emacs' normal undo system allows you to undo an arbitrary number of
|
|
829 buffer changes. These undos are recorded as ordinary buffer changes
|
|
830 themselves. So when you break the chain of undos by issuing some
|
|
831 other command, you can then undo all the undos. The chain of recorded
|
|
832 buffer modifications therefore grows without bound, truncated only at
|
|
833 garbage collection time.
|
|
834
|
|
835 The redo/undo system is different in two ways:
|
|
836
|
|
837 *** The undo/redo command chain is only broken by a buffer modification.
|
|
838
|
|
839 You can move around the buffer or switch buffers and still come back
|
|
840 and do more undos or redos.
|
|
841
|
|
842 *** The `redo' command rescinds the most recent undo without
|
|
843 recording the change as a _new_ buffer change.
|
|
844
|
|
845 It completely reverses the effect of the undo, which includes making
|
|
846 the chain of buffer modification records shorter by one, to counteract
|
|
847 the effect of the undo command making the record list longer by one.
|
|
848
|
136
|
849 ** edmacro.el-3.10, courtesy of Dave Gillespie, ported to XEmacs by
|
126
|
850 Hrvoje Niksic.
|
|
851
|
|
852 Edmacro is a utility that provides easy editing of keyboard macros.
|
|
853 Originally written by Dave Gillespie, it has been mostly rewritten by
|
|
854 Hrvoje Niksic, in order to make it distinguish characters and integer,
|
|
855 as well as to adapt it to XEmacs keysyms.
|
|
856
|
|
857 Press `C-x C-k' to invoke the `edit-kbd-macro' command that lets you
|
|
858 edit old as well as define new keyboard macros. You can also edit the
|
|
859 last 100 keystrokes and insert them into a macro to be bound to a key
|
|
860 or named as a command. The recorded/edited macros can be dumped to
|
|
861 `.emacs' file.
|
|
862
|
140
|
863 ** xmine.el-1.8, courtesy of Jens Lautenbacher
|
126
|
864
|
|
865 XEmacs now includes a minesweeper game with a full-featured graphics
|
|
866 and mouse interface. Invoke with `M-x xmine'.
|
|
867
|
140
|
868 ** efs-1.15-x5 courtesy of Andy Norman and Michael Sperber
|
126
|
869
|
|
870 EFS is now integrated with XEmacs, and replaces the old ange-ftp. It
|
|
871 has many more features, including info documentation, support for many
|
|
872 different FTP servers, and integration with dired.
|
|
873
|
|
874 ** mic-paren.el-1.3.1, courtesy of Mikael Sjödin
|
|
875 ** hyperbole-4.022, courtesy of Bob Weiner
|
|
876 ** hm--html-menus-5.3, courtesy of Heiko Muenkel
|
|
877 ** python-mode.el-2.90, courtesy of Barry Warsaw
|
140
|
878 ** balloon-help-1.06, courtesy of Kyle Jones
|
126
|
879 ** xrdb-mode.el-1.21, courtesy of Barry Warsaw
|
|
880 ** igrep.el-2.56, courtesy of Kevin Rodgers
|
|
881 ** frame-icon.el, courtesy of Michael Lamoureux and Bob Weiner
|
|
882 ** itimer.el-1.05, courtesy of Kyle Jones
|
140
|
883 ** VM-6.30, courtesy of Kyle Jones
|
126
|
884 ** OO-Browser-2.10, courtesy of Bob Weiner
|
|
885 ** viper-2.93, courtesy of Michael Kifer
|
144
|
886 ** ediff-2.65, courtesy of Michael Kifer
|
126
|
887 ** detached-minibuf-1.1, courtesy of Alvin Shelton
|
|
888 ** whitespace-mode.el, courtesy of Heiko Muenkel
|
|
889 ** winmgr-mode.el, courtesy of David Konerding, Stefan Strobel & Barry Warsaw
|
|
890 ** fast-lock.el-3.11.01, courtesy of Simon Marshall
|
|
891 ** lazy-lock.el-1.16, courtesy of Simon Marshall
|
|
892 ** browse-cltl2.el-1.1, courtesy of Holger Schauer
|
|
893 ** eldoc.el-1.10, courtesy of Noah Friedman
|
|
894 ** tm-7.105, courtesy of MORIOKA Tomohiko
|
140
|
895 ** verilog-mode.el-2.25, courtesy of Michael McNamara & Adrian Aichner
|
126
|
896 ** overlay.el, courtesy of Joseph Nuspl
|
140
|
897 ** live-icon.el-1.3, fixes courtesy of Karl Hegbloom
|
|
898 ** tpu-edt.el, fixes courtesy of R. Kevin Oberman
|
144
|
899 ** etags.c-11.86 Courtesy of F. Potortì
|
140
|
900
|
126
|
901
|
136
|
902 * Lisp and internal changes in XEmacs 20.2
|
126
|
903 ==========================================
|
|
904
|
|
905 ** `defcustom' and `defgroup' can now be used to specify types and
|
|
906 placement of the user-settable variables.
|
|
907
|
|
908 You can now specify the types of user-settable variables in your Lisp
|
|
909 packages to be customized by users. To do so, use `defcustom' as a
|
|
910 replacement for `defvar'.
|
|
911
|
|
912 For example, the old declaration:
|
124
|
913
|
|
914 (defvar foo-blurgoze nil
|
|
915 "*non-nil means that foo will act very blurgozely.")
|
|
916
|
126
|
917 can be rewritten as:
|
124
|
918
|
|
919 (defcustom foo-blurgoze nil
|
|
920 "*non-nil means that foo will act very blurgozely."
|
126
|
921 :type 'boolean
|
|
922 :group 'foo)
|
|
923
|
|
924 From a package writer's point of view, nothing has been changed
|
|
925 However, the user can now type `M-x customize RET foo-blurgoze RET' to
|
|
926 customize the variable.
|
|
927
|
|
928 Other, more complex data structures can be described with `defcustom'
|
|
929 too, for instance:
|
124
|
930
|
|
931 (defcustom foo-hairy-alist '((somekey . "somestring")
|
|
932 (otherkey . (foo-doit))
|
|
933 (thirdkey . [1 2 3]))
|
126
|
934 "*Alist describing the hairy options of the foo package.
|
124
|
935 The CAR of each element is a symbol, whereas the CDR can be either a
|
126
|
936 string, a form to evaluate, or a vector of integers.
|
|
937 New Emacs users simply adore alists like this one."
|
124
|
938 :type '(repeat (cons (symbol :tag "Key")
|
|
939 (choice string
|
|
940 (vector (repeat :inline t integer))
|
126
|
941 sexp)))
|
|
942 :group 'foo)
|
|
943
|
|
944 The user will be able to add and remove the entries to the list in a
|
|
945 visually appealing way, as well as save the settings to his/her
|
|
946 `.emacs'.
|
|
947
|
|
948 Note that `defcustom' will also be included in GNU Emacs 19.35, and
|
|
949 that both XEmacs and GNU Emacs will be using it in the future.
|
|
950 Although the user-interface of customize may change, the Lisp
|
|
951 interface will remain the same. This is why we recommend that you use
|
|
952 `defcustom' for user-settable variables in your new Lisp packages.
|
|
953
|
|
954 ** The `read-kbd-macro' function is now available.
|
|
955
|
136
|
956 The `read-kbd-macro' function (as well as the read-time evaluated
|
|
957 `kbd' macro) from the edmacro package is now available in XEmacs. For
|
|
958 example:
|
126
|
959
|
|
960 (define-key foo-mode-map (kbd "C-c <up>") 'foo-up)
|
|
961
|
136
|
962 is completely equivalent to
|
126
|
963
|
|
964 (define-key foo-mode-map [(control ?c) up] 'foo-up)
|
|
965
|
136
|
966 The `kbd' macro is preferred over `read-kbd-macro' function , as it
|
|
967 evaluates before compiling, thus having no loading overhead.
|
|
968
|
|
969 Using `kbd' is not necessary for GNU Emacs compatibility (GNU Emacs
|
|
970 supports the XEmacs-style keysyms), but adds to clarity. For example,
|
|
971 (kbd "C-?") is usually easier to read than [(control ??)]. The full
|
|
972 description of the syntax of keybindings accepted by `read-kbd-macro'
|
|
973 is documented in the docstring of `edmacro-mode'.
|
126
|
974
|
|
975 ** Overlay compatibility is implemented.
|
|
976
|
|
977 The overlay support in XEmacs is now functional. Written by Joe
|
|
978 Nuspl, the overlay compatibility library overlay.el is implemented on
|
|
979 top of the native XEmacs extents, and can be used as a GNU
|
124
|
980 Emacs-compatible way of changing display properties.
|
|
981
|
126
|
982 ** You should use keysyms kp-* (kp-1, kp-2, ..., kp-enter etc.)
|
136
|
983 rather than the old form kp_*. The new form is also compatible with
|
|
984 GNU Emacs.
|
126
|
985
|
|
986 ** The keysyms mouse-1, mouse-2, mouse-3 and down-mouse-1,
|
|
987 down-mouse-2, and down-mouse-3 have been added for GNU Emacs
|
|
988 compatibility.
|
|
989
|
|
990 ** A new user variable `signal-error-on-buffer-boundary' has been
|
|
991 added.
|
|
992
|
|
993 Set this to variable to nil to avoid XEmacs usual lossage of zmacs
|
|
994 region when moving up against a buffer boundary.
|
|
995
|
146
|
996 ** lib-complete.el was MULE-ized.
|
|
997
|
|
998 The commands `find-library', `find-library-other-window' and
|
|
999 `find-library-other-frame' now take an optional coding system
|
|
1000 argument.
|
|
1001
|
|
1002 ** Experimental support for Lisp reader macros #-, #+.
|
|
1003
|
|
1004 The Common Lisp reader macros for feature test are now supported. This
|
|
1005 feature is present for evaluation purposes and is subject to change.
|
|
1006
|
|
1007 ** `values' now has a setf method
|
|
1008
|
126
|
1009 ** The `eval-after-load' and `eval-next-after-load' functions are
|
|
1010 now available.
|
|
1011
|
|
1012 ** A bug that prevented `current-display-table' to be correctly set
|
|
1013 with `set-specifier' has been fixed.
|
|
1014
|
|
1015 ** The bug in easymenu which prevented multiple menus from being
|
|
1016 accessible through button3 has been fixed.
|
|
1017
|
|
1018 You can now safely use easymenu to define multiple menu entries in a
|
|
1019 compatible way, with the added menus accessible via button3 as local
|
|
1020 submenus.
|
|
1021
|
|
1022 ** Many bugs in the scrollbar code have been fixed.
|
|
1023
|
|
1024 ** First alpha level support of MS Windows NT is available, courtesy
|
140
|
1025 of David Hobley and Marc Paquette.
|
126
|
1026
|
|
1027 ** Wnn/egg now has initial support Courtesy of Jareth Hein.
|
|
1028
|
|
1029 ** Some old non-working code has been removed until someone chooses
|
|
1030 to work on it.
|
|
1031
|
|
1032 This includes much of the NeXTStep stuff. The VMS support is also
|
|
1033 likely to be removed in the future.
|
|
1034
|
|
1035 ** Many files have been purged out of the etc/ directory.
|
|
1036
|
|
1037 If you still need the purged files, look for them in the GNU Emacs
|
|
1038 distribution.
|
|
1039
|
|
1040
|
|
1041 * Major Differences Between 19.14 and 20.0
|
|
1042 ===========================================
|
88
|
1043
|
|
1044 XEmacs 20.0 is the first public release to have support for MULE
|
|
1045 (Multi-Lingual Emacs). The --with-mule configuration flag must be
|
|
1046 used to enable Mule support.
|
|
1047
|
|
1048 Many bugs have been fixed. An effort has been made to eradicate all
|
|
1049 XEmacs crashes, although we are not quite done yet. The overall
|
|
1050 quality of XEmacs should be higher than any previous release. XEmacs
|
|
1051 now compiles with nary a warning with some compilers.
|
|
1052
|
|
1053 -- Multiple character sets can be displayed in a buffer. The file
|
|
1054 mule-doc/demo in the distribution contains a greeting in many
|
|
1055 different languages.
|
|
1056
|
|
1057 -- Although the Mule work is for all languages, particular effort has
|
|
1058 been invested in Japanese, with particular focus on Japanese users
|
|
1059 of Sun WorkShop. Many menubar labels have been translated into
|
90
|
1060 Japanese. Martin Buchholz, the maintainer of MULE features within
|
153
|
1061 XEmacs normally runs XEmacs in a Japanese language environment.
|
90
|
1062 Some of the other contributors are Japanese, most importantly
|
|
1063 Morioka Tomohiko, author of the TM package, providing MIME support
|
|
1064 for Mail and News.
|
88
|
1065
|
|
1066 -- Input for complex Asian languages is supported via XIM, a mechanism
|
|
1067 introduced in X11R5 to allow applications to get localized input
|
|
1068 without knowledge of the language. The way XIM works is that when
|
|
1069 the locale has a complex character set, such as Japanese, and extra
|
|
1070 minibuffer-like status window appears attached to various
|
|
1071 application windows, and indicates the status of the input method.
|
|
1072 Composed input in XEmacs should work the same as with other
|
|
1073 applications. If Motif and Mule support is configured into XEmacs,
|
|
1074 then XIM support is automatically configured in as well.
|
|
1075
|
|
1076 -- TM (Tools for Mime) now comes with XEmacs. This provides MIME
|
|
1077 (Multi-purpose Internet Multi-media Extensions?) support for Mail
|
|
1078 and News. The primary author is Morioka Tomohiko.
|
|
1079
|
|
1080 -- Japanese input can also be input using the `canna' input method.
|
|
1081 This support was contributed by Morioka Tomohiko. Setting up canna
|
|
1082 usually requires more user effort (and better knowledge of Japanese!)
|
|
1083 than XIM, but provides a better-integrated input method.
|
|
1084
|
|
1085 -- A mini-tutorial on using Mule:
|
|
1086
|
|
1087 -- Every time data passes between XEmacs and the rest of the
|
|
1088 environment, via file or process input or output, XEmacs must
|
|
1089 convert between its internal multi-character representation and
|
|
1090 the external representation (`coding system'). Many
|
|
1091 difficulties with Mule are related to controlling these coding
|
|
1092 system conversions.
|
|
1093
|
|
1094 -- file-coding-system, file-coding-system-for-read,
|
|
1095 overriding-file-coding-system, and file-coding-system-alist
|
|
1096 are used to determine the coding systems used on file input
|
|
1097 and output.
|
|
1098
|
|
1099 -- For each process, (set-process-input-coding-system) and
|
|
1100 (set-process-output-coding-system) determine the coding
|
|
1101 system used for I/O from the process.
|
|
1102
|
|
1103 -- Many other things are encoded using pathname-coding-system:
|
|
1104 -- file and directory names
|
|
1105 -- window manager properties: window title, icon name
|
|
1106 -- process names and process arguments
|
|
1107 -- XIM input.
|
|
1108
|
|
1109 -- In many cases, you will want to have the same values for all
|
|
1110 the above variables in many cases. For example, in a
|
|
1111 Japanese environment, you will want to use the 'euc-japan
|
|
1112 coding system consistently, except when running certain
|
|
1113 processes that do byte-oriented, rather than
|
|
1114 character-oriented I/O, such as gzip, or when processing Mail
|
|
1115 or News, where ISO2022-based coding systems are the norm,
|
|
1116 since they support multiple character sets.
|
|
1117
|
|
1118 -- To add support for a new language or character set, start by
|
|
1119 trying to copy code in japanese-hooks.el.
|
|
1120
|
|
1121 -- The traditional pre-Mule data conversion is equivalent to the
|
|
1122 'binary coding system under Mule. In this case all characters
|
|
1123 are treated as iso8859-1 (i.e. characters for English + Western
|
|
1124 European languages).
|
|
1125
|
|
1126 -- many fileio-related commands such as find-file and write-file
|
|
1127 take an extra argument, coding-system, which specifies the
|
|
1128 encoding to be used with the file on disk. For example, here is
|
|
1129 a command that converts from the Japanese EUC to ISO2022 format:
|
|
1130
|
|
1131 xemacs -batch -eval '(progn (find-file
|
|
1132 "locale-start.el.euc" (quote euc-japan)) (write-file
|
|
1133 "locale-start.el" nil (quote iso-2022-8-unix)))'
|
|
1134
|
|
1135 Interactively, you can be prompted for a coding system by
|
|
1136 providing a prefix argument to the fileio command. In
|
|
1137 particular, C-u C-x C-f is a useful sequence to edit a file
|
|
1138 using a particular coding system.
|
|
1139
|
|
1140 -- In an Asian locale (i.e. if $LANG is set to ja, ko, or zh),
|
|
1141 XEmacs automatically sets up a language environment assuming
|
|
1142 that the operating system encodes information in the national
|
|
1143 version of EUC, which supports English and the national
|
|
1144 language, but typically no other character sets.
|
|
1145
|
|
1146 -- Command line processing should work much better now - no more order
|
|
1147 dependencies.
|
|
1148
|
|
1149 -- Many many package upgraded (thanks go to countless maintainers):
|
|
1150
|
|
1151 -- ediff 2.64 (Michael Kifer)
|
90
|
1152 -- Gnus 5.2.40 (Lars Magne Ingebrigtsen)
|
88
|
1153 -- w3 3.0.51 (Bill Perry)
|
90
|
1154 -- ilisp 5.8 (Chris McConnell, Ivan Vasquez, Marco Antoniotti, Rick
|
|
1155 Campbell)
|
88
|
1156 -- VM 5.97 (Kyle Jones)
|
|
1157 -- etags 11.78 (Francesco Potorti`)
|
|
1158 -- ksh-mode.el 2.9
|
|
1159 -- vhdl-mode.el 2.73 (Rod Whitby)
|
|
1160 -- id-select.el (Bob Weiner)
|
|
1161 -- EDT/TPU emulation modes should work now for the first time.
|
|
1162 -- viper 2.92 (Michael Kifer) is now the `official' vi emulator for XEmacs.
|
|
1163 -- big-menubar should work much better now.
|
|
1164 -- mode-motion+.el 3.16
|
|
1165 -- backup-dir 2.0 (Greg Klanderman)
|
|
1166 -- ps-print.el-3.05 (Jacques Duthen Prestataire)
|
90
|
1167 -- lazy-lock-1.15 (Simon Marshall)
|
|
1168 -- reporter 3.3 (Barry Warsaw)
|
88
|
1169 -- hm--html-menus 5.0 (Heiko Muenkel)
|
|
1170 -- cc-mode 4.322 (Barry Warsaw)
|
|
1171 -- elp 2.37 (Barry Warsaw)
|
|
1172
|
|
1173
|
|
1174 -- Many new packages have been added:
|
|
1175 -- m4-mode 1.8 (Andrew Csillag)
|
|
1176 -- crisp.el - crisp/brief emulation (Gary D. Foster)
|
|
1177 -- Johan Vroman's iso-acc.el has been ported to XEmacs by Alexandre Oliva
|
90
|
1178 -- psgml-1.01 (Lennart Staflin, James Clark)
|
88
|
1179 -- python-mode.el 2.83 (Barry Warsaw)
|
|
1180 -- vrml-mode.el (Ben Wing)
|
90
|
1181 -- enriched.el, face-menu.el (Boris Goldowsky, Michael Sperber)
|
|
1182 -- sh-script.el (Daniel Pfeiffer)
|
|
1183 -- decipher.el (Christopher J. Madsen)
|
88
|
1184
|
|
1185 -- New function x-keysym-on-keyboard-p helps determine keyboard
|
|
1186 characteristics for key rebinding:
|
|
1187
|
|
1188 x-keysym-on-keyboard-p: (KEYSYM &optional DEVICE)
|
|
1189 -- a built-in function.
|
|
1190 Return true if KEYSYM names a key on the keyboard of DEVICE.
|
|
1191 More precisely, return true if pressing a physical key
|
|
1192 on the keyboard of DEVICE without any modifier keys generates KEYSYM.
|
|
1193 Valid keysyms are listed in the files /usr/include/X11/keysymdef.h and in
|
|
1194 /usr/lib/X11/XKeysymDB, or whatever the equivalents are on your system.
|
|
1195
|
|
1196 -- Installed info files are now compressed (support courtesy of Joseph J Nuspl)
|
|
1197
|
|
1198 -- (load-average) works on Solaris, even if you're not root. Thanks to
|
|
1199 Hrvoje Niksic.
|
|
1200
|
|
1201 -- OffiX drag-and-drop support added
|
|
1202
|
|
1203 -- lots of syncing with 19.34 elisp files, most by Steven Baur
|
70
|
1204
|
|
1205
|
0
|
1206 ** Major Differences Between 19.13 and 19.14
|
|
1207 ============================================
|
|
1208
|
|
1209 XEmacs has a new address! The canonical ftp site is now
|
|
1210 ftp.xemacs.org:/pub/xemacs and the Web page is now at
|
|
1211 http://www.xemacs.org/. All mailing lists now have @xemacs.org
|
|
1212 addresses. For the time being the @cs.uiuc.edu addresses will
|
|
1213 continue to function.
|
|
1214
|
|
1215 This is a major new release. Many features have been added, as well
|
|
1216 as many bugs fixed. The Motif menubar has still _NOT_ been fixed for
|
|
1217 19.14. You should use the Lucid menubar instead.
|
|
1218
|
|
1219
|
|
1220
|
|
1221 Major user-visible changes:
|
|
1222 ---------------------------
|
|
1223
|
|
1224 -- Color support in TTY mode is provided. You have to have a TTY capable
|
|
1225 of displaying them, such as color xterm or the console under Linux.
|
|
1226 If your terminal type supports colors (e.g. `xterm-color'), XEmacs
|
|
1227 will automatically notice this and start using color.
|
|
1228
|
|
1229 -- blink-cursor-mode enables a blinking text cursor. There is a
|
|
1230 menubar option for this also.
|
|
1231
|
|
1232 -- auto-show-mode is turned on by default; this means that XEmacs
|
|
1233 will automatically scroll a window horizontally as necessary to
|
|
1234 keep point in view.
|
|
1235
|
|
1236 -- a file dialog box is provided and will be used whenever you
|
|
1237 are prompted for a filename as a result of a menubar selection.
|
|
1238
|
|
1239 -- XEmacs can be compiled with built-in GIF, JPEG, and PNG support.
|
|
1240 The GIF libraries are supplied with XEmacs; for JPEG and PNG,
|
|
1241 you have to obtain the appropriate libraries (this is well-
|
|
1242 documented). This makes image display much easier and faster under
|
|
1243 W3 (the web browser) and TM (adds MIME support to VM and GNUS;
|
|
1244 not yet included with XEmacs but will be in 19.15).
|
|
1245
|
|
1246 -- XEmacs provides a really nice mode (PSGML with "Wing improvements")
|
|
1247 for editing HTML and other SGML documents. It parses the document,
|
|
1248 and as a result it does proper indentation, can show you the context
|
|
1249 you're in, the allowed tags at a particular position, etc.
|
|
1250
|
|
1251 -- XEmacs comes standard with modes for editing Java and VRML code,
|
|
1252 including font-lock support.
|
|
1253
|
|
1254 -- GNUS 5.2 comes standard with XEmacs.
|
|
1255
|
|
1256 -- You can now embed colors in the modeline, with different sections
|
|
1257 of the modeline responding appropriately to various mouse gestures:
|
|
1258 For example, clicking on the "read-only" indicator toggles the
|
|
1259 read-only status of a buffer, and clicking on the buffer name
|
|
1260 cycles to the next buffer. Pressing button3 on these areas brings
|
|
1261 up a popup menu of appropriate commands.
|
|
1262
|
|
1263 -- There is a much nicer mode for completion lists and such.
|
|
1264 At the minibuffer prompt, if you hit page-up or Meta-V, the completion
|
|
1265 buffer will be displayed (if it wasn't already), you're moved into
|
|
1266 it, and can move around and select filenames using the arrow keys
|
|
1267 and the return key. Rather than a cursor, a filename is highlighted,
|
|
1268 and the arrow keys change which filename is highlighted.
|
|
1269
|
|
1270 -- The edit-faces subsystem has also been much improved, in somewhat
|
|
1271 similar ways to the completion list improvements.
|
|
1272
|
|
1273 -- Many improvements were made to the multi-device support.
|
|
1274 We now provide an auxiliary utility called "gnuattach" that
|
|
1275 lets you connect to an existing XEmacs process and display
|
|
1276 a TTY frame on the current TTY connection, and commands
|
|
1277 `make-frame-on-display' (with a corresponding menubar entry)
|
|
1278 and `make-frame-on-tty' for more easily creating frames on
|
|
1279 new TTY or X connections.
|
|
1280
|
|
1281 -- We have incorporated nearly all of the functionality of GNU Emacs
|
|
1282 19.30 into XEmacs. This includes support for lazy-loaded
|
|
1283 byte code and documentation strings, improved paragraph filling,
|
|
1284 better support for margins within documents, v19 regular expression
|
|
1285 routines (including caching of compiled regexps), etc.
|
|
1286
|
|
1287 -- In accordance with GNU Emacs 19.30, the following key binding
|
|
1288 changes have been made:
|
|
1289
|
|
1290 C-x ESC -> C-x ESC ESC
|
|
1291 ESC ESC -> ESC :
|
|
1292 ESC ESC ESC is "abort anything" (keyboard-escape-quit).
|
|
1293
|
|
1294 -- All major packages have been updated to their latest-released
|
|
1295 versions.
|
|
1296
|
|
1297 -- XEmacs now gracefully handles a full colormap (such as typically
|
|
1298 results when running Netscape). The nearest available color
|
|
1299 is automatically substituted.
|
|
1300
|
|
1301 -- Many bug fixes to the subprocess/PTY code, ps-print, menubar
|
|
1302 functions, `set-text-properties', DEC Alpha support, toolbar
|
|
1303 resizing (the "phantom VM toolbar" bug), and lots and lots
|
|
1304 of other things were made.
|
|
1305
|
|
1306 -- The ncurses library (a replacement for curses, found especially
|
|
1307 under Linux) is supported, and will be automatically used
|
|
1308 if it can be found.
|
|
1309
|
|
1310 -- You can now undo in the minibuffer.
|
|
1311
|
|
1312 -- Surrogate minibuffers now work. These are also sometimes referred
|
|
1313 to as "global" minibuffers.
|
|
1314
|
|
1315 -- font-lock has been merged with GNU Emacs 19.30, improved defaults
|
|
1316 have been added, and changes have been made to the way it is
|
|
1317 configured.
|
|
1318
|
|
1319 -- Many, many modes have menubar entries for them.
|
|
1320
|
|
1321 -- `recover-session' lets you recover whatever files can be recovered
|
|
1322 after your XEmacs process has died unexpectedly.
|
|
1323
|
|
1324 -- C-h k followed by a toolbar button press correctly reports
|
|
1325 the binding of the toolbar button.
|
|
1326
|
|
1327 -- `function-key-map', `key-translation-map', and `keyboard-translate-table'
|
|
1328 are now correctly implemented.
|
|
1329
|
|
1330 -- `show-message-log' (and its menubar entry under Edit) have been
|
|
1331 removed; instead use `view-lossage' (and its menubar entry under
|
|
1332 Help).
|
|
1333
|
|
1334 -- There is a standard menubar entry for specifying which browser
|
|
1335 (Netscape, W3, Mosaic, etc.) to use when dispatching URL's
|
|
1336 in mail, Usenet news, etc.
|
|
1337
|
|
1338 -- Improved native sound support under Linux.
|
|
1339
|
|
1340 -- Lots of other things we forgot to mention.
|
|
1341
|
|
1342
|
|
1343
|
|
1344 Significant Lisp-level changes:
|
|
1345 -------------------------------
|
|
1346
|
|
1347 -- Many improvements to the E-Lisp documentation have been made;
|
|
1348 it should now be up-to-date and complete in nearly all cases.
|
|
1349
|
|
1350 -- XEmacs has extensive documentation on its internals, for
|
|
1351 would-be C hackers.
|
|
1352
|
|
1353 -- Common-Lisp support (the CL package) is now dumped standard
|
|
1354 into XEmacs. No more need for (require 'cl) or anything
|
|
1355 like that.
|
|
1356
|
|
1357 -- Full support for extents and text properties over strings is
|
|
1358 provided.
|
|
1359
|
|
1360 -- The extent properties `start-open', `end-open', `start-closed',
|
|
1361 and `end-closed' now work correctly w.r.t. text properties.
|
|
1362
|
|
1363 -- The `face' property of extents and text properties can now
|
|
1364 be a list.
|
|
1365
|
116
|
1366 -- The `mouse-face' property from GNU Emacs is now supported.
|
0
|
1367 It supersedes the `highlight' property.
|
|
1368
|
116
|
1369 -- `enriched' and `facemenu' packages from GNU Emacs have been ported.
|
0
|
1370
|
|
1371 -- New functions for easier creation of dialog boxes:
|
|
1372 `get-dialog-box-response', `message-box', and `message-or-box'.
|
|
1373
|
|
1374 -- `function-min-args' and `function-max-args' allow you to determine
|
|
1375 the minimum and maximum allowed arguments for any type of
|
|
1376 function (i.e. subr, lambda expression, byte-compiled function, etc.).
|
|
1377
|
|
1378 -- Some C-level support for doing E-Lisp profiling is provided.
|
|
1379 See `start-profiling', `stop-profiling', and
|
|
1380 `pretty-print-profiling-info'.
|
|
1381
|
|
1382 -- `current-process-time' reports the user, system, and real times
|
|
1383 for the currently running XEmacs process.
|
|
1384
|
|
1385 -- `next-window', `previous-window', `next-frame', `previous-frame',
|
|
1386 `other-window', `get-lru-window', etc. have an extra device
|
|
1387 argument that allows you to restrict which devices it includes
|
|
1388 (normally all devices). Some functions that incorrectly ignored
|
|
1389 frames on different devices (e.g. C-x 0) are fixed.
|
|
1390
|
|
1391 -- new functions `run-hook-with-args-until-success',
|
|
1392 `run-hook-with-args-until-failure'.
|
|
1393
|
|
1394 -- generalized facility for local vs. global hooks. See `make-local-hook',
|
|
1395 `add-hook'.
|
|
1396
|
|
1397 -- New functions for querying the window tree: `frame-leftmost-window',
|
|
1398 `frame-rightmost-window', `window-first-hchild', `window-first-vchild',
|
|
1399 `window-next-child', `window-previous-child', and `window-parent'.
|
|
1400
|
|
1401 -- Epoch support works. This gets you direct access to some X events
|
|
1402 and objects (e.g. properties and property-notify events).
|
|
1403
|
|
1404 -- The multi-device support has been majorly revamped. There is now
|
|
1405 a new concept of "consoles" (devices grouped together under a
|
|
1406 common keyboard/mouse), console-local variables, and a generalized
|
|
1407 concept of device/console connection.
|
|
1408
|
|
1409 -- `display-buffer' synched with GNU Emacs 19.30, giving you lots of
|
|
1410 wondrous cruft such as
|
|
1411 -- unsplittable frames
|
|
1412 -- pop-up-frames, pop-up-frame-function
|
|
1413 -- special-display-buffer-names, special-display-regexps,
|
|
1414 special-display-function
|
|
1415 -- same-window-buffer-names, same-window-regexps
|
|
1416
|
|
1417 -- XEmacs has support for accessing DBM- and/or DB-format databases,
|
|
1418 provided that you have the appropriate libraries on your system.
|
|
1419
|
|
1420 -- There is a new font style: "strikethru" fonts.
|
|
1421
|
|
1422 -- New data type "weak list", which is a list with special
|
|
1423 garbage-collection properties, similar to weak hash tables.
|
|
1424
|
|
1425 -- `set-face-parent' makes one face inherit all properties from another.
|
|
1426
|
|
1427 -- The junky frame parameters mechanism has been revamped as
|
|
1428 frame properties, which a standard property-list interface.
|
|
1429
|
|
1430 -- Lots and lots of functions for working with property lists have
|
|
1431 been added.
|
|
1432
|
|
1433 -- New functions `push-window-configuration', `pop-window-configuration',
|
|
1434 `unpop-window-configuration' for maintain a stack of window
|
|
1435 configurations.
|
|
1436
|
|
1437 -- Many fixups to the glyph code; icons and mouse pointers are now
|
|
1438 properly merged into the glyph mechanism.
|
|
1439
|
|
1440 -- `set-specifier' works more sensibly, like `set-face-property'.
|
|
1441
|
|
1442 -- Many new specifiers for individually controlling toolbar height/width
|
|
1443 and visibility and text cursor visibility.
|
|
1444
|
|
1445 -- New face `text-cursor' controls the colors of the text cursor.
|
|
1446
|
|
1447 -- Many new variables for turning on debug information about the
|
|
1448 inner workings of XEmacs.
|
|
1449
|
|
1450 -- Hash tables can now compare their keys using `equal' or `eql'
|
|
1451 as well as `eq'.
|
|
1452
|
|
1453 -- Other things too numerous to mention.
|
|
1454
|
|
1455
|
|
1456
|
|
1457 Significant configuration/build changes:
|
|
1458 ----------------------------------------
|
|
1459
|
|
1460 -- You can disable TTY support, toolbar support, scrollbar support,
|
|
1461 menubar support, and/or dialog box support at configure time
|
|
1462 to save memory.
|
|
1463
|
|
1464 -- New configure option `--extra-verbose' shows the diagnostic
|
|
1465 output from feature testing; this should help track down
|
|
1466 problems with incorrect feature detection.
|
|
1467
|
|
1468 -- `dont-have-xmu' is now `with-xmu', with the reversed sense.
|
|
1469 (It defaults to `yes'.)
|
|
1470
|
|
1471 -- `with-mocklisp' lets you add Mocklisp support if you really
|
|
1472 need this.
|
|
1473
|
|
1474 -- `with-term' for adding TERM support for Linux users.
|
|
1475
|
|
1476
|
|
1477
|
|
1478 ** Major Differences Between 19.12 and 19.13
|
|
1479 ============================================
|
|
1480
|
|
1481 This is primarily a bug-fix release. Lots of bugs have been fixed.
|
|
1482 Hopefully only a few have been introduced. The most noteworthy bug
|
|
1483 fixes are:
|
|
1484
|
|
1485 -- There should be no more problems connecting XEmacs to an X
|
|
1486 server over SLIP or other slow connections.
|
|
1487 -- Periodic crashes when using the Buffers menu should be gone.
|
|
1488 -- etags would sometimes erase the current buffer; it doesn't
|
|
1489 any more.
|
|
1490 -- XEmacs will correctly exit if the X server dies.
|
|
1491 -- uniconified frames are displayed properly under TVTWM.
|
|
1492 -- Breakage in `add-menu-item' / `add-menu-button' is fixed.
|
|
1493
|
|
1494 The Motif menubar has _NOT_ been fixed for 19.13. You should use the
|
|
1495 Lucid menubar instead.
|
|
1496
|
|
1497 Multi-device support should now be working properly. You can now open
|
|
1498 an X device after having started out on a TTY device.
|
|
1499
|
|
1500 Background pixmaps now work. See `set-face-background-pixmap'.
|
|
1501
|
|
1502 Echo area messages are now saved to a buffer, " *Message Log*". To
|
|
1503 see this buffer, use the command `show-message-log'. It is possible
|
|
1504 to filter the message which are actually included by modifying the
|
|
1505 variables `log-message-ignore-regexps' and `log-message-ignore-labels'.
|
|
1506
|
|
1507 You can now control which warnings you want to see. See
|
|
1508 `display-warning-suppressed-classes' and friends.
|
|
1509
|
|
1510 You can now set the default location of an "other window" from the
|
|
1511 Options menu.
|
|
1512
|
|
1513 "Save Options" now saves the state of all faces.
|
|
1514
|
|
1515 You can choose which file "Save Options" writes into; see
|
|
1516 `save-options-file'.
|
|
1517
|
|
1518 XPM support is no longer required for the toolbar.
|
|
1519
|
|
1520 The relocating allocator is now enabled by default whenever possible.
|
|
1521 This allows buffer memory to be returned to the system when no longer
|
|
1522 in use which helps keep XEmacs process size down.
|
|
1523
|
|
1524 The ability to have captioned toolbars has been added. Currently only
|
|
1525 the default toolbar actually has a captioned version provided. A new
|
|
1526 specifier variable, `toolbar-buttons-captioned-p' controls whether the
|
|
1527 toolbar is captioned.
|
|
1528
|
|
1529 A copy of the XEmacs FAQ is now included and is available through info.
|
|
1530
|
|
1531 The on-line E-Lisp reference manual has been significantly updated.
|
|
1532
|
|
1533 There is now audio support under Linux.
|
|
1534
|
|
1535 Modifier keys can now be sticky. This is controlled by the variable
|
|
1536 `modifier-keys-are-sticky'.
|
|
1537
|
|
1538 manual-entry should now work correctly under Irix with the penalty of
|
|
1539 a longer startup time the first time it is invoked. If you are having
|
|
1540 problems with this on another system try setting
|
|
1541 `Manual-use-subdirectory-list' to t.
|
|
1542
|
|
1543 make-tty-device no longer automatically creates the first frame.
|
|
1544
|
|
1545 Rectangular regions now work correctly.
|
|
1546
|
|
1547 ediff no longer sets synchronize-minibuffers to t unless you first set
|
|
1548 ediff-synchronize-minibuffers
|
|
1549
|
|
1550 keyboard-translate-table has been implemented. This means that the
|
|
1551 `enable-flow-control' command for dealing with TTY connections that
|
|
1552 filter out ^S and ^Q now works.
|
|
1553
|
|
1554 You can now create frames that are initially unmapped and frames that
|
|
1555 are "transient for another frame", meaning that they behave more like
|
|
1556 dialog-box frames.
|
|
1557
|
|
1558 Other E-Lisp changes:
|
|
1559
|
|
1560 -- Specifier `menubar-visible-p' for controlling menubar visibility
|
|
1561 -- Local command hooks should be set using `local-pre-command-hook'
|
|
1562 and `local-post-command-hook' instead of making the global
|
|
1563 equivalents be buffer-local.
|
|
1564 -- `quit-char', `help-char', `meta-prefix-char' can be any key specifier
|
|
1565 instead of just an integer.
|
|
1566 -- new functions `add-async-timeout' and `disable-async-timeout'.
|
|
1567 These let you create asynchronous timeouts, which are like
|
|
1568 normal timeouts except that they're executed even during
|
|
1569 running Lisp code. Use this with care!
|
|
1570 -- `debug-on-error' and `stack-trace-on-error' now enter the debugger
|
|
1571 only when an *unhandled* error occurs. If you want the old
|
|
1572 behavior, use `debug-on-signal' and `stack-trace-on-signal'.
|
|
1573 -- \U, \L, \u, \l, \E recognized specially in `replace-match'.
|
|
1574 These are standard ex/perl commands for changing the case of
|
|
1575 replaced text.
|
|
1576 -- New function event-matches-key-specifier-p. This provides
|
|
1577 a clean way of comparing keypress events with key specifiers
|
|
1578 such as 65, (shift home), etc. without having to resort
|
|
1579 to ugly `character-to-event' / `event-to-character' hacks.
|
|
1580 -- New function `add-to-list'
|
|
1581 -- New Common-Lisp functions `some', `every', `notevery', `notany',
|
|
1582 `adjoin', `union', `intersection', `set-difference',
|
|
1583 `set-exclusive-or', `subsetp'
|
|
1584 -- `remove-face-property' provides a clean way of removing a
|
|
1585 face property.
|
|
1586
|
|
1587 Many of the Emacs Lisp packages have been updated. Some of the new
|
|
1588 Emacs Lisp packages ---
|
|
1589
|
|
1590 ada-mode: major mode for editing Ada source
|
|
1591
|
|
1592 arc-mode: simple editing of archives
|
|
1593
|
70
|
1594 auto-show-mode: automatically scrolls horizontally to keep point on-screen
|
0
|
1595
|
|
1596 completion: dynamic word completion mode
|
|
1597
|
|
1598 dabbrev: the dynamic abbrev package has been rewritten and is much
|
|
1599 more powerful -- e.g. it searches in other buffers as well
|
|
1600 as the current one
|
|
1601
|
|
1602 easymenu: menu support package
|
|
1603
|
|
1604 live-icon: makes frame icons represent the current frame contents
|
|
1605
|
|
1606 mailcrypt 3.2: mail encryption with PGP; included but v2.4 is still
|
70
|
1607 the default
|
|
1608
|
|
1609 two-column: for editing two-column text
|
0
|
1610
|
|
1611
|
|
1612 ** Major Differences Between 19.11 and 19.12
|
|
1613 ============================================
|
|
1614
|
|
1615 This is a huge new release. Almost every aspect of XEmacs has been changed
|
|
1616 at least somewhat. The highlights are:
|
|
1617
|
|
1618 -- TTY support (includes face support)
|
|
1619 -- new redisplay engine; should be faster, less buggy, and more powerful
|
|
1620 -- terminology change from "screen" to "frame"
|
|
1621 -- built-in toolbar
|
|
1622 -- toolbar support added to many packages
|
|
1623 -- multiple device support (still in beta; improvements to come in
|
|
1624 19.13)
|
|
1625 -- Purify used to ensure that there are no memory leaks or memory corruption
|
|
1626 problems
|
|
1627 -- horizontal and vertical scrollbars in all windows
|
|
1628 -- new Lucid (i.e. look-alike Motif) scrollbar widget
|
|
1629 -- stay-up menus in the Lucid (look-alike Motif) menubar widget
|
|
1630 -- 3-d modeline
|
|
1631 -- new extents engine; should be faster, less buggy, and more powerful
|
|
1632 -- much more powerful control over faces
|
|
1633 -- expanded menubar
|
|
1634 -- more work on synching with GNU Emacs 19.28
|
|
1635 -- new packages: Hyperbole, OOBR (object browser), hm--html-menus, viper,
|
|
1636 lazy-lock.el, ksh-mode.el, rsz-minibuf.el
|
|
1637 -- package updates for all major packages
|
|
1638 -- dynodump package for Solaris: provides proper undumping and portable
|
|
1639 binaries across different OS versions and machine types
|
|
1640 -- Greatly expanded concept of "glyphs" (pixmaps etc. in a buffer)
|
|
1641 -- built-in support for displaying X-Faces, if the X-Face library is
|
|
1642 available
|
|
1643 -- built-in support for SOCKS if the SOCKS library is available
|
|
1644 -- graceful behavior when the colormap is full (e.g. Netscape ate
|
|
1645 all the colors)
|
|
1646 -- built-in MD5 (secure hashing function) support
|
|
1647
|
|
1648
|
|
1649 More specific information:
|
|
1650
|
|
1651 *** TTY Support
|
|
1652 ---------------
|
|
1653
|
|
1654 The long-awaited TTY support is now available. XEmacs will start up
|
|
1655 in TTY mode (using the tty you started XEmacs from) if the DISPLAY
|
|
1656 environment variable is not set or if you use the `-nw' option.
|
|
1657
|
|
1658 Faces are available on TTY's. For a demonstration, try editing a C
|
|
1659 file and turning on font-lock-mode.
|
|
1660
|
|
1661 You can also connect to additional TTY's using `make-tty-device',
|
|
1662 whether your first frame was a TTY or an X window. This ability is
|
|
1663 not yet completely finished.
|
|
1664
|
|
1665 The full event-loop capabilities (processes, timeouts, etc.) are
|
|
1666 available on TTY's.
|
|
1667
|
|
1668
|
|
1669
|
|
1670 *** New Redisplay Engine
|
|
1671 ------------------------
|
|
1672
|
|
1673 The redisplay engine has been rewritten to improve its efficiency and
|
|
1674 to increase its functionality. It should also be significantly more
|
|
1675 bug-free than the previous redisplay engine.
|
|
1676
|
|
1677 A line that is not big enough to display at the bottom of the window
|
|
1678 will normally be clipped (so that it is partially visible) rather than
|
|
1679 not displayed at all. The variable `pixel-vertical-clip-threshold'
|
|
1680 can be used to control the minimum space that must be available for a
|
|
1681 line to be clipped rather than not displayed at all.
|
|
1682
|
|
1683 Tabs are displayed in such a way that things line up fairly well even
|
|
1684 in the presence of variable-width fonts and/or lines with
|
|
1685 multiply-sized fonts.
|
|
1686
|
|
1687 Display tables are implemented, through the specifier variable
|
|
1688 `current-display-table'. They can be buffer-local, window-local,
|
|
1689 frame-local, or device-local. See below for info about specifiers.
|
|
1690
|
|
1691
|
|
1692
|
|
1693 *** Toolbar
|
|
1694 -----------
|
|
1695
|
|
1696 There is now built-in support for a toolbar. A sample toolbar is
|
|
1697 visible by default at the top of the frame. Four separate toolbars
|
|
1698 can be configured (at the top, bottom, left, and right of the frame).
|
|
1699 The toolbar specification is similar to the menubar specification.
|
|
1700 The up, down, and disabled glyphs of a toolbar button can be
|
|
1701 separately controlled. Explanatory text can be echoed in the echo
|
|
1702 area when the mouse passes over a toolbar button. The size, contents,
|
|
1703 and visibility of the various toolbars can be controlled on a
|
|
1704 per-buffer, per-window, per-frame, and per-device basis through the
|
|
1705 use of specifiers. See the chapter on toolbars in the Lisp Reference
|
|
1706 Manual (included with XEmacs) for more information.
|
|
1707
|
|
1708 The toolbar color and shadow thicknesses are currently controlled only
|
|
1709 through `modify-frame-parameters' and through X resources. We are
|
|
1710 planning on making these controllable through specifiers as well. (Our
|
|
1711 hope is to make `modify-frame-parameters' obsolete, as it is a clunky
|
|
1712 and not very powerful mechanism.)
|
|
1713
|
|
1714 Info, GNUS, VM, W3, and various other packages include custom toolbars
|
|
1715 with them.
|
|
1716
|
|
1717
|
|
1718
|
|
1719 *** Menubar
|
|
1720 -----------
|
|
1721
|
|
1722 Stay-up menus are implemented in the look-alike Motif menubar.
|
|
1723
|
|
1724 The default menubar has been expanded to include most commonly-used
|
|
1725 functions in XEmacs.
|
|
1726
|
|
1727 The options menu has been greatly expanded to include many more
|
|
1728 options.
|
|
1729
|
|
1730 The menubar specification format has been greatly expanded. Per-menu
|
|
1731 activation hooks can be specified through the :filter keyword (thus
|
|
1732 obsoleting `activate-menubar-hook'); this allows for fast response
|
|
1733 time when you have a large and complex menu. You can dynamically
|
|
1734 control whether menu items are present through the :included and
|
|
1735 :config keywords. (The latter keyword implements a simple menubar
|
|
1736 configuration scheme, in conjunction with the variable
|
|
1737 `menubar-configuration'.) Many different menu-item separators (single
|
|
1738 or double line; solid or dashed; flat, etched-in, or etched-out) are
|
|
1739 available. See the chapter on menus in the Lisp Reference Manual for
|
|
1740 more information about all of this.
|
|
1741
|
|
1742 New functions `add-submenu' and `add-menu-button' are available.
|
|
1743 These supersede the older `add-menu' and `add-menu-item' functions,
|
|
1744 and provide a more powerful and consistent interface.
|
|
1745
|
|
1746 New convenience functions for popping up the part or all of the
|
|
1747 menubar in a pop-up menu are available: `popup-menubar-menu' and
|
|
1748 `popup-buffer-menu'.
|
|
1749
|
|
1750 Menus are now incrementally constructed greatly improving menubar
|
|
1751 response time.
|
|
1752
|
|
1753
|
|
1754
|
|
1755 *** Scrollbars
|
|
1756 --------------
|
|
1757
|
|
1758 A look-alike Motif scrollbar is now included with XEmacs. No longer
|
|
1759 will you have to suffer with ugly Athena scrollbars.
|
|
1760
|
|
1761 Windows can now have horizontal scrollbars. Normally they are visible
|
|
1762 when the window's buffer is set to truncate lines rather than wrap
|
|
1763 them (e.g. `(setq truncate-lines t)').
|
|
1764
|
|
1765 All windows, not only the right-most ones, can have vertical
|
|
1766 scrollbars.
|
|
1767
|
|
1768 The functions to change a scrollbar's width have been superseded by
|
|
1769 the specifier variables `scrollbar-width' and `scrollbar-height'.
|
|
1770 This allows their values to be controlled on a buffer-local,
|
|
1771 window-local, frame-local, and device-local basis. See below.
|
|
1772
|
|
1773 The scrollbars interact better with the event loop (for example, you
|
|
1774 can type `C-h k', do a scrollbar action, and see a description of this
|
|
1775 scrollbar action printed as if you had pressed a key sequence or
|
|
1776 selected a menu item).
|
|
1777
|
|
1778 The scrollbar behavior can be reprogrammed, by advising the
|
|
1779 `scrollbar-*' functions.
|
|
1780
|
|
1781
|
|
1782
|
|
1783 *** Key Bindings
|
|
1784 ----------------
|
|
1785
|
|
1786 The oft-used function `goto-line' now has its own binding: M-g.
|
|
1787
|
|
1788 New bindings are available for scrolling the "other" window: M-next,
|
|
1789 M-prior, M-home, M-end. (On many keyboards, `next' and `prior'
|
|
1790 labelled `PgUp' and `PgDn'.)
|
|
1791
|
|
1792 You can reactivate a deactivated Zmacs region, without having any
|
|
1793 other effects, with the binding M-C-z.
|
|
1794
|
|
1795 The bindings `M-u', `M-l', and `M-c' now work on the region (if a
|
|
1796 region is active) or work on a word, as before.
|
|
1797
|
|
1798 Shift-Control-G forces a "critical quit", which drops immediately into
|
|
1799 the debugger; see below.
|
|
1800
|
|
1801
|
|
1802
|
|
1803 *** Modeline
|
|
1804 ------------
|
|
1805
|
|
1806 The modeline can now have a 3-d look; this is enabled by default. The
|
|
1807 specifier variable `modeline-shadow-thickness' controls the size.
|
|
1808
|
|
1809 The modeline can now be turned off on a per-buffer, per-window,
|
|
1810 per-frame, or per-device basis. The specifier variable
|
|
1811 `has-modeline-p' controls whether the modeline is visible. See below
|
|
1812 for details about the vastly powerful specifier mechanism.
|
|
1813
|
|
1814 The modeline functions and variables have been renamed to be
|
|
1815 `*-modeline-*' rather than `*-mode-line-*'. Aliases are provided for
|
|
1816 all the old names.
|
|
1817
|
|
1818 Variable width fonts now work correctly when used in the modeline.
|
|
1819
|
|
1820
|
|
1821
|
|
1822 *** Minibuffer, Echo Area
|
|
1823 -------------------------
|
|
1824
|
|
1825 The minibuffer is no longer constrained to be one line high. The
|
|
1826 package rsz-minibuf.el is included to automatically resize the
|
|
1827 minibuffer when its contents are too big; enable this with
|
|
1828 `resize-minibuffer-mode'.
|
|
1829
|
|
1830 The echo area is now a true buffer, called " *Echo Area*". This
|
|
1831 allows you to customize the echo area behavior through
|
|
1832 before-change-functions and after-change-functions.
|
|
1833
|
|
1834
|
|
1835
|
|
1836 *** Specifiers
|
|
1837 --------------
|
|
1838
|
|
1839 XEmacs has a new concept called "specifiers", used to configure most
|
|
1840 display options (toolbar size and contents, scrollbar size, face
|
|
1841 properties, modeline visibility and shadow-thickness, glyphs, display
|
|
1842 tables, etc.). We are planning on converting all display
|
|
1843 characteristics to use specifiers, and obsoleting the clunky functions
|
|
1844 `frame-parameters' and `modify-frame-parameters'. Specifically:
|
|
1845
|
|
1846 -- You can specify values (called "instantiators") for particular
|
|
1847 "locales" (i.e. buffers, windows, frames, devices, or a global value).
|
|
1848 When determining what the actual value (or "instance") of a specifier
|
|
1849 is, the specifications that are provided are searched from most
|
|
1850 specific (i.e. buffer-local) to most general (i.e. global), looking
|
|
1851 for a matching one.
|
|
1852
|
|
1853 -- You can specify multiple instantiators for a particular locale.
|
|
1854 For example, when specifying what the foreground color of a face
|
|
1855 is in a particular buffer, you could specify two instantiators:
|
|
1856 "dark sea green" and "green". The color would then be dark sea
|
|
1857 green on devices that recognize that color, and green on other
|
|
1858 devices. You have effectively provided a fallback value to make
|
|
1859 sure you get reasonable behavior on all devices.
|
|
1860
|
|
1861 -- You can add one or more tags to an instantiator, where a tag
|
|
1862 is a symbol that has been previously registered with XEmacs.
|
|
1863 This allows you to identify your instantiators for later
|
|
1864 removal in a way that won't interfere with other applications
|
|
1865 using the same specifier. Furthermore, particular tags can
|
|
1866 be restricted to match only particular sorts of devices.
|
|
1867 Any tagged instantiator will be ignored if the device over which
|
|
1868 it is being instanced does not match any of its tags. This
|
|
1869 allows you, for example, to restrict an instantiator to a
|
|
1870 particular device type (X or TTY) and/or class (color, grayscale,
|
|
1871 or mono). (You might want to specify, for example, that a
|
|
1872 particular face is displayed in green on color devices and is
|
|
1873 underlined on mono devices.)
|
|
1874
|
|
1875 -- A full API is provided for manipulating specifiers, and full
|
|
1876 documentation is provided in the Lisp Reference Manual.
|
|
1877
|
|
1878
|
|
1879
|
|
1880 *** Basic Lisp Stuff
|
|
1881 --------------------
|
|
1882
|
|
1883 Common-Lisp backquote syntax is recognized. For example, the old
|
|
1884 expression
|
|
1885
|
|
1886 (` (a b (, c)))
|
|
1887
|
|
1888 can now be written
|
|
1889
|
|
1890 `(a b ,c)
|
|
1891
|
|
1892 The old backquote syntax is still accepted.
|
|
1893
|
|
1894 The new function `type-of' returns a symbol describing the type of a
|
|
1895 Lisp object (`integer', `string', `symbol', etc.)
|
|
1896
|
|
1897 Symbols beginning with a colon (called "keywords") are treated
|
|
1898 specially in that they are automatically made self-evaluating when
|
|
1899 they are interned into `obarray'. The new function `keywordp' returns
|
|
1900 whether a symbol begins with a colon.
|
|
1901
|
|
1902 `get', `put', and `remprop' have been generalized to allow you to set
|
|
1903 and retrieve properties on many different kinds of objects: symbols,
|
|
1904 strings, faces, glyphs, and extents (for extents, however, this is not
|
|
1905 yet implemented). They are joined by a new function `object-props'
|
|
1906 that returns all of the properties that have been set on an object.
|
|
1907
|
|
1908 New functions `plists-eq' and `plists-equal' are provided for
|
|
1909 comparing property lists (a property list is an alternating list
|
|
1910 of keys and values).
|
|
1911
|
|
1912 The Common-Lisp functions `caar', `cadr', `cdar', `cddr', `caaar', etc.
|
|
1913 (up to four a's and/or d's), `first', `second', `third', etc. (up to
|
|
1914 `tenth'), `last', `rest', and `endp' have been added, for more
|
|
1915 convenient manipulation of lists.
|
|
1916
|
|
1917 New function `mapvector' maps over a sequence and returns a vector
|
|
1918 of the results, analogous to `mapcar'.
|
|
1919
|
|
1920 New functions `rassoc', `remassoc', `remassq', `remrassoc', and
|
|
1921 `remrassq' are provided for working with alists.
|
|
1922
|
|
1923 New functions `defvaralias', `variable-alias' and `indirect-variable'
|
|
1924 are provided for creating variable aliases.
|
|
1925
|
|
1926 Strings have a modified-tick that is bumped every time a string
|
|
1927 is modified in-place with `aset' or `fillarray'. This is retrieved
|
|
1928 with the new function `string-modified-tick'.
|
|
1929
|
|
1930 New macro `push' destructively adds an element to the beginning of a
|
|
1931 list. New macro `pop' destructively removes and returns the first
|
|
1932 element of a list.
|
|
1933
|
|
1934
|
|
1935
|
|
1936 *** Buffers
|
|
1937 -----------
|
|
1938
|
|
1939 Most functions that operate on buffer text now take an optional BUFFER
|
|
1940 argument, specifying which buffer they operate on. (Previously, they
|
|
1941 always operated on the current buffer.)
|
|
1942
|
|
1943 The new function `transpose-regions' is provided, ported from GNU
|
|
1944 Emacs.
|
|
1945
|
|
1946 The new function `save-current-buffer' works like `save-excursion'
|
|
1947 but only saves the current buffer, not the location of point in
|
|
1948 that buffer.
|
|
1949
|
|
1950
|
|
1951
|
|
1952 *** Devices
|
|
1953 -----------
|
|
1954
|
|
1955 XEmacs has a new concept of "device", which is represents a particular
|
|
1956 X display or TTY connection. `make-frame' has a new, optional device
|
|
1957 parameter that allows you to specify which device the frame is to be
|
|
1958 created on.
|
|
1959
|
|
1960 Multiple simultaneous TTY and/or X connections may be made. The
|
|
1961 specifier mechanism provides reasonable behavior of glyphs, faces,
|
|
1962 etc. over heterogeneous device types and over devices whose individual
|
|
1963 capabilities may vary.
|
|
1964
|
|
1965 There is also a device type called "stream" that represents a STDIO
|
|
1966 device that has no redisplay or cursor-motion capabilities, such as
|
|
1967 the "glass terminal" that XEmacs uses when it is run noninteractively.
|
|
1968 There is not all that much you can do with stream devices currently;
|
|
1969 please let us know if there are good uses you can think of for this
|
|
1970 capability. (For example, log files?)
|
|
1971
|
|
1972 A new device API is provided. Functions are provided such as
|
|
1973 `device-name' (the name of the device, which generally is based on the
|
|
1974 X display or TTY file name), `device-type' (X, TTY, or stream),
|
|
1975 `device-class' (color, grayscale, or mono), etc. See the Lisp
|
|
1976 Reference Manual.
|
|
1977
|
|
1978 Many functions have been extended to contain an additional, optional
|
|
1979 device argument, where such an extension makes sense. In general, if
|
|
1980 the argument is omitted, it is equivalent to specifying
|
|
1981 `(selected-device)'.
|
|
1982
|
|
1983 Many previous functions and variables are obsoleted in favor of the
|
|
1984 device API. For example, `window-system' is obsoleted by
|
|
1985 `device-type', and `x-color-display-p' and friends are obsoleted by
|
|
1986 `device-class'.
|
|
1987
|
70
|
1988 ** NOTE **: The obsolete variable `window-system' is going
|
0
|
1989 to be deleted soon, probably in 19.14. Please correct all
|
|
1990 your code to use `device-type'.
|
|
1991
|
70
|
1992 ** INCOMPATIBLE CHANGE **: The function `x-display-visual-class'
|
0
|
1993 returns different values from previous versions of XEmacs.
|
|
1994
|
|
1995
|
|
1996
|
|
1997 *** Errors, Warnings, C-g
|
|
1998 -------------------------
|
|
1999
|
|
2000 There is a new warnings system implemented. Many warnings that were
|
|
2001 formerly displayed in various ad-hoc ways (e.g. warnings about screwy
|
|
2002 modifier mappings, messages about failures handling the mouse cursor
|
|
2003 and errors in a gc-hook) have been regularized through this system.
|
|
2004 The new function `warn' displays a warning before the next redisplay
|
|
2005 (the actually display of the warning messages is accomplished through
|
|
2006 `display-warning-buffer'). Both `warn' and `display-warning-buffer'
|
|
2007 are Lisp functions (the C code calls out to them as necessary), and
|
|
2008 thus you can customize the warning system.
|
|
2009
|
|
2010 Under an X display, you can press Shift-Control-G to force a "critical
|
|
2011 quit". This will immediately display a backtrace and pop you into the
|
|
2012 debugger, regardless of the settings of `inhibit-quit' and
|
|
2013 `debug-on-quit'.
|
|
2014
|
|
2015 C-g now works properly even on systems that don't implement SIGIO or
|
|
2016 for which SIGIO is broken (e.g. IRIX 5.3 and older versions of Linux).
|
|
2017 In addition, the SIGIO support has been fixed for many systems on
|
|
2018 which it didn't always work properly before (e.g. HPUX and Solaris).
|
|
2019
|
70
|
2020
|
0
|
2021
|
|
2022 *** Events
|
|
2023 ----------
|
|
2024
|
70
|
2025 ** INCOMPATIBLE CHANGE **: Many event functions have been changed to
|
0
|
2026 accept and return windows instead of frames.
|
|
2027
|
|
2028 New function: `event-live-p', specifying whether `deallocate-event'
|
|
2029 has been called on an event.
|
|
2030
|
|
2031 The "menu event" type has been renamed to "misc-user event", and
|
|
2032 encompasses scrollbar events as well as menu events. We are planning
|
|
2033 on making it also encompass toolbar events in a future release.
|
|
2034
|
|
2035 New functions are provided for determining whether an particular
|
|
2036 sections of a frame: `event-over-border-p', `event-over-glyph-p',
|
|
2037 `event-over-modeline-p', `event-over-text-area-p', and
|
|
2038 `event-over-toolbar-p'. The old, kludgey methods of checking the
|
|
2039 window-height, the internal-border-width, etc. are unreliable and
|
|
2040 should not be used.
|
|
2041
|
|
2042 New functions `event-window-x-pixel' and `event-window-y-pixel' are
|
|
2043 provided for determining where in a particular window an event
|
|
2044 happened.
|
|
2045
|
|
2046 New functions `event-glyph-x-pixel' and `event-glyph-y-pixel' are
|
|
2047 provided for determining where in a particular glyph an event
|
|
2048 happened.
|
|
2049
|
|
2050 New function `event-closest-point', which returns the closest buffer
|
|
2051 position to the event even if the event did not occur over any text.
|
|
2052
|
|
2053 New variable `unread-command-events', superseding the older
|
|
2054 `unread-command-event'.
|
|
2055
|
|
2056 Many event-loop bugs have been fixed.
|
|
2057
|
|
2058
|
|
2059
|
|
2060 *** Extents
|
|
2061 -----------
|
|
2062
|
|
2063 The extent code has been largely rewritten. It should be faster and
|
|
2064 more reliable.
|
|
2065
|
|
2066 The text-property implementation has been greatly improved.
|
|
2067
|
|
2068 Some new extent primitives are provided to return the position of the
|
|
2069 next or previous property change in a buffer.
|
|
2070
|
|
2071 Extents can now have a parent specified; then all of its properties
|
|
2072 (except for the buffer it's in and its position in that buffer) come
|
|
2073 from that extent. Hierarchies of such extents can be created.
|
|
2074
|
|
2075 Extents now have a `detachable' property that controls what happens
|
|
2076 (they either get detached or shrink down to zero-length) when their
|
|
2077 text is deleted. Previously, such extents would always be detached.
|
|
2078
|
|
2079 The `invisible' property on extents now works.
|
|
2080
|
|
2081 `map-extents' has three additional parameters that provide more
|
|
2082 control over which extents are mapped.
|
|
2083
|
|
2084 `map-extents' deals better with changes made to extents in the
|
|
2085 buffer being mapped over.
|
|
2086
|
|
2087 A new function `mapcar-extents' (an alternative to `map-extents') has
|
|
2088 been provided and should be easier to use than `map-extents'.
|
|
2089
|
|
2090
|
|
2091
|
|
2092 *** Faces
|
|
2093 ---------
|
|
2094
|
|
2095 Faces can now be buffer-local, window-local, and device-local as well
|
|
2096 as frame-local, and can be further restricted to a particular device
|
|
2097 type or class. The way in which faces can be controlled is now based
|
|
2098 on the general and powerful specifier mechanism; see above.
|
|
2099
|
|
2100 The new function `set-face-property' generalizes `set-face-font',
|
|
2101 `set-face-foreground', etc. and takes many new optional arguments, in
|
|
2102 accordance with the new specifier mechanism.
|
|
2103
|
|
2104 The new functions `face-property' and `face-property-instance'
|
|
2105 generalize `face-font', `face-foreground', etc. and take many new
|
|
2106 optional arguments, in accordance with the new specifier mechanism.
|
|
2107 (`face-property' returns the value, if any, that was specified for a
|
|
2108 particular locale, and `face-property-instance' returns the actual
|
|
2109 value that will be used for display. See the section on specifiers.)
|
|
2110
|
|
2111 The functions `face-font', `face-foreground', `face-background',
|
|
2112 `set-face-font', `set-face-foreground', `set-face-background',
|
|
2113 etc. are now convenience functions, trivially implemented using
|
153
|
2114 `face-property' and `set-face-property' and take new optional
|
0
|
2115 arguments in accordance with those functions. New convenience
|
|
2116 functions `face-font-instance', `face-foreground-instance',
|
|
2117 `face-background-instance', etc. are provided and are trivially
|
|
2118 implemented using `face-property-instance'.
|
|
2119
|
|
2120 Inheritance of face properties can now be specified. Each individual
|
|
2121 face property can inherit differently from other properties, or not
|
|
2122 inherit at all.
|
|
2123
|
|
2124 You can set user-defined properties on faces using
|
|
2125 `set-face-property'.
|
|
2126
|
|
2127 You can create "temporary" faces, which are faces that disappear
|
|
2128 when they are no longer in use. This is as opposed to normal
|
|
2129 faces, which stay around forever.
|
|
2130
|
|
2131 The function `make-face' takes a new optional argument specifying
|
|
2132 whether a face should be permanent or temporary, and returns the
|
|
2133 actual face object rather than the face symbol, as in previous
|
|
2134 versions of XEmacs.
|
|
2135
|
|
2136 The function `face-list' takes a new optional argument specifying
|
|
2137 whether permanent, temporary, or both kinds of faces should be
|
|
2138 returned.
|
|
2139
|
|
2140 Faces have new TTY-specific properties: `highlight', `reverse',
|
|
2141 `alternate', `blinking', and `dim'.
|
|
2142
|
|
2143 Redisplay is smarter about dealing with face changes: changes to a
|
|
2144 particular face no longer cause all frames to be cleared and
|
|
2145 redisplayed.
|
|
2146
|
|
2147 The Edit-Faces package is provided for interactively changing faces.
|
|
2148 A menu item on the options menu is provided for this.
|
|
2149
|
|
2150 New functions are provided for retrieving the ascent, descent, height,
|
|
2151 and width of a character in a particular face.
|
|
2152
|
|
2153
|
|
2154
|
|
2155 *** Fonts, Colors
|
|
2156 -----------------
|
|
2157
|
70
|
2158 ** INCOMPATIBLE CHANGE **: The old "font" and "pixel" objects are gone.
|
0
|
2159 In place are new objects "font specifier", "font instance", "color
|
|
2160 specifier", and "color instance". Functions `font-name', `pixel-name'
|
|
2161 (an obsolete alias for `color-name'), etc. are now convenience
|
|
2162 functions for working with font and color specifiers. Old code that
|
|
2163 is not too sophisticated about working with font and pixel objects may
|
|
2164 still work, though. (For example, the idiom `(font-name (face-font
|
|
2165 'default))' still works.)
|
|
2166
|
|
2167 You can now extract the RGB components of a color-instance object
|
|
2168 (similar to the old pixel object) with the function
|
|
2169 `color-instance-rgb-components'. There is also a convenience function
|
|
2170 `color-rgb-components' for working with color specifiers.
|
|
2171
|
|
2172 If there are no more colors available in the colormap, the nearest
|
|
2173 existing color will be used when allocating a new color.
|
|
2174
|
|
2175
|
|
2176
|
|
2177 *** Frames
|
|
2178 ----------
|
|
2179
|
|
2180 What used to be called "screens" are now called "frames", for clarity
|
|
2181 and consistency with GNU Emacs. Aliases are provided for all the old
|
|
2182 screen functions and variables, to avoid introducing a huge E-Lisp
|
|
2183 incompatibility.
|
|
2184
|
|
2185 The frame code has been merged with GNU Emacs 19.28, providing
|
|
2186 improved functionality for many functions.
|
|
2187
|
|
2188
|
|
2189
|
|
2190 *** Glyphs, Images, and Pixmaps
|
|
2191 -------------------------------
|
|
2192
|
|
2193 Glyphs (used in various places, i.e. as begin-glyphs and end-glyphs
|
|
2194 attached to extents and appearing in a buffer or in marginal
|
|
2195 annotations; as the truncator and continuor glyphs marking line wrap
|
|
2196 or truncation; as an overlay at the beginning of a line; as the
|
|
2197 displayable element in a toolbar button; etc.) can now be
|
|
2198 buffer-local, window-local, frame-local, and device-local, and can be
|
|
2199 further restricted to a particular device type or class. The way in
|
|
2200 which faces can be controlled is now based on the general and powerful
|
|
2201 specifier mechanism; see above.
|
|
2202
|
70
|
2203 ** INCOMPATIBLE CHANGE **: The glyph and pixmap API has been completely
|
0
|
2204 overhauled. A new Lisp object "glyph" is provided and should be used
|
|
2205 where the old "pixmap" object would have been used. The pixmap object
|
|
2206 exists no longer. There are also new Lisp objects "image specifier"
|
|
2207 and "image instance" (an image-instance is the closest equivalent to
|
|
2208 what a pixmap object was). More work on glyphs and images is slated
|
|
2209 for 19.13. The glyph and image docs in the Lisp Reference Manual are
|
|
2210 incomplete and will be finished in 19.13.
|
|
2211
|
|
2212 The new function `set-glyph-property' allows setting of all the
|
|
2213 glyph properties (`baseline', `contrib-p', etc.). Convenience
|
|
2214 functions for particular properties are also provided, just like
|
|
2215 for faces.
|
|
2216
|
|
2217 You can set user-defined properties on glyphs using the new function
|
|
2218 `set-glyph-property'.
|
|
2219
|
|
2220 When displaying pixmaps, existing, closest-matching colors will be
|
|
2221 used if the colormap is full.
|
|
2222
|
|
2223 If the compface library is compiled into XEmacs, there is built-in
|
|
2224 support for displaying X-Face bitmaps. (These are typically small
|
|
2225 pictures of people's faces, included in a mail message through the
|
|
2226 X-Face: header.) VM and highlight-headers will automatically use the
|
|
2227 built-in X-Face support if it is available.
|
|
2228
|
|
2229 Annotations in the right margin (as well as the left margin) are now
|
|
2230 implemented. The left and right margin width functions have been
|
|
2231 superseded by the specifier variables `left-margin-width' and
|
|
2232 `right-margin-width', allowing much more flexible control through the
|
|
2233 specifier mechanism.
|
|
2234
|
70
|
2235 ** INCOMPATIBLE CHANGE **: The variable `use-left-overflow',
|
0
|
2236 for controlling annotations in the left margin, is now a specifier
|
|
2237 variable instead of a buffer-local variable. (There is also a new
|
|
2238 variable `use-right-overflow', that is complementary.)
|
|
2239
|
|
2240
|
|
2241
|
|
2242 *** Hashing
|
|
2243 -----------
|
|
2244
|
|
2245 Two new types of weak hashtables can be created: key-weak and
|
|
2246 value-weak. In a key-weak hashtable, an entry remains around
|
|
2247 if its key is referenced elsewhere, regardless of whether this
|
|
2248 is also the case for the value. Value-weak hashtables are
|
|
2249 complementary. (This is as opposed to the traditional weak
|
|
2250 hashtables, where an entry remains around only if both the
|
|
2251 key and value are referenced elsewhere.) New functions
|
|
2252 `make-key-weak-hashtable' and `make-value-weak-hashtable'
|
|
2253 are provided for creating these hashtables.
|
|
2254
|
|
2255 The new function `md5' is provided for performing an MD5
|
|
2256 hash of an object. MD5 is a secure message digest algorithm
|
|
2257 developed by RSA, inc.
|
|
2258
|
|
2259
|
|
2260
|
|
2261 *** Keymaps
|
|
2262 -----------
|
|
2263
|
116
|
2264 The GNU Emacs concept of `function-key-map' is now partially
|
0
|
2265 implemented. This allows conversion of function-key escape sequences
|
|
2266 such as `ESC [ 1 1 ~' into an equivalent human-readable keysym such as
|
|
2267 `F1'. This work will be completed in 19.14. The function-key map is
|
|
2268 device-local and controllable through the functions
|
|
2269 `device-function-key-map' and `set-device-function-key-map'.
|
|
2270
|
|
2271 `where-is-internal' now correctly searches minor-mode keymaps,
|
|
2272 extent-local keymaps, etc. As a side effect of this, menu items will
|
|
2273 now correctly show the keyboard equivalent for commands that are
|
|
2274 available through a minor-mode keymap, extent-local keymap, etc.
|
|
2275
|
70
|
2276 ** INCOMPATIBLE CHANGE **: The modifier key "Symbol" has
|
0
|
2277 been renamed to "Alt", for compatibility with the rest of the world.
|
|
2278 Keep in mind that on many keyboards, the key labelled "Alt" actually
|
|
2279 generates the "Meta" modifier. (On Sun keyboards, however, the key
|
|
2280 labelled "Alt" does indeed generate the "Alt" modifier, and the key
|
|
2281 labelled with a diamond generates the "Meta" modifier.)
|
|
2282
|
|
2283
|
|
2284
|
|
2285 *** Mouse, Active Region
|
|
2286 ------------------------
|
|
2287
|
|
2288 The mouse internals in mouse.el have been rewritten. Hooks have been
|
|
2289 provided for easier customization of mouse behavior. For example, you
|
|
2290 can now easily specify an action to be invoked on single-click
|
|
2291 (i.e. down-up without appreciable motion), double-click, drag-up, etc.
|
|
2292
|
116
|
2293 Some code from GNU Emacs has been ported over, generalizing some of
|
0
|
2294 the X-specific mouse stuff.
|
|
2295
|
70
|
2296 ** INCOMPATIBLE CHANGE **: The function `set-mouse-position' accepts
|
0
|
2297 a window instead of a frame.
|
|
2298
|
|
2299 New function `mouse-position' that obsoletes and is more powerful than
|
|
2300 `read-mouse-position'.
|
|
2301
|
153
|
2302 New functions `mouse-pixel-position' and `set-mouse-pixel-position' for
|
0
|
2303 working with pixels instead of characters.
|
|
2304
|
|
2305 The active (Zmacs) region is now highlighted using the `zmacs-region-face'
|
|
2306 instead of the `primary-selection-face'; this generalizes what used
|
|
2307 to be X-specific.
|
|
2308
|
|
2309 New functions `region-active-p', `region-exists-p', and `activate-region'
|
|
2310 provide a uniform API for dealing with the region irrespective of
|
|
2311 whether the variable `zmacs-regions' is set.
|
|
2312
|
|
2313 XEmacs is now a better X citizen with respect to the primary selection:
|
|
2314 it does not stomp on the primary selection quite so much. This makes
|
|
2315 things more manageable if you set `zmacs-regions' to nil.
|
|
2316
|
|
2317
|
|
2318
|
|
2319 *** Processes
|
|
2320 -------------
|
|
2321
|
|
2322 Various process race conditions and bugs have been fixed. Problems
|
|
2323 with process termination not getting noticed until much later (if at
|
|
2324 all) should be gone now, as well as problems with zombie processes
|
|
2325 under some systems.
|
|
2326
|
|
2327 SOCKS support is now included. SOCKS is a package that allows hosts
|
|
2328 behind a firewall to gain full access to the Internet without
|
|
2329 requiring direct IP reachability.
|
|
2330
|
|
2331
|
|
2332
|
|
2333 *** Windows
|
|
2334 -----------
|
|
2335
|
|
2336 Windows 95 is still not out yet.
|
|
2337
|
70
|
2338 ** INCOMPATIBLE CHANGE **: The functions `locate-window-from-coordinates'
|
0
|
2339 and `window-edges' have been eliminated. It no longer makes sense to
|
|
2340 work with windows in terms of character positions, because windows can
|
|
2341 (and often do) have many differently-sized fonts in them, because the
|
|
2342 3-D modeline is not exactly one line high, etc.
|
|
2343
|
|
2344 The new functions `window-pixel-edges', `window-highest-p',
|
|
2345 `window-lowest-p', `frame-highest-window', and `frame-lowest-window'
|
|
2346 are provided as substitutes for the above-mentioned, deleted
|
|
2347 functions.
|
|
2348
|
|
2349 The function `window-end' now takes an optional GUARANTEE argument
|
|
2350 that will ensure that the value is actually correct as of the next
|
|
2351 redisplay.
|
|
2352
|
|
2353 The window code has been merged with GNU Emacs 19.28, providing
|
|
2354 improved functionality for many functions.
|
|
2355
|
|
2356
|
|
2357
|
|
2358 *** System-Specific Information
|
|
2359 -------------------------------
|
|
2360
|
|
2361 Georg Nikodym's dynodump package is provided, for proper unexec()ing
|
|
2362 on Solaris systems. Executables built on Solaris 2.3 can now run on
|
|
2363 Solaris 2.4 without crashing; similarly with executables built on one
|
|
2364 type of Sun machine and run on another.
|
|
2365
|
|
2366 AIX 4.x is supported.
|
|
2367
|
|
2368 The NeXTstep operating system is supported in TTY mode (this is still
|
|
2369 in beta). There are plans to port XEmacs to the NeXTstep window
|
|
2370 system, but it may be awhile before this is complete.
|
|
2371
|
|
2372 Problems with the `round' function causing arithmetic errors on HPUX 9
|
|
2373 have been fixed.
|
|
2374
|
|
2375 You can now build XEmacs as an ELF executable on Linux systems that
|
|
2376 support ELF.
|
|
2377
|
|
2378 Various other new system configurations are supported.
|
|
2379
|
|
2380
|
|
2381
|
70
|
2382 *** Packages
|
|
2383 ------------
|
|
2384
|
|
2385 Most packages have been updated to the latest available versions.
|
|
2386
|
|
2387
|
|
2388 Some of the new Emacs Lisp packages ---
|
|
2389
|
|
2390 Hyperbole: the everyday information manager. Provides a Rolodex,
|
|
2391 allows links to be embedded in text, etc.
|
|
2392
|
|
2393 OOBR: a sophisticated class browser for object-oriented languages.
|
|
2394
|
|
2395 viper: a better VI emulator that allows Emacs and VI features
|
|
2396 to coexist happily.
|
|
2397
|
|
2398 hm--html-menus: a sophisticated package for editing HTML code,
|
|
2399 from Heiko Muenkel.
|
|
2400
|
|
2401 ksh-mode.el: for editing shell scripts.
|
|
2402
|
|
2403 lazy-lock.el: a lazy, on-the-fly fontifier.
|
|
2404
|
|
2405 paren.el: an improved matching paren highlighter
|
|
2406
|
|
2407
|
|
2408
|
|
2409 Major changes to existing packages --
|
|
2410
|
|
2411 VM: has a toolbar, many other nice features.
|
|
2412
|
|
2413 w3: has a toolbar, many other nice features.
|
|
2414
|
|
2415 ediff: provides three-way merging, has a better user interface.
|
|
2416
|
|
2417 info: has a toolbar.
|
|
2418
|
|
2419 highlight-headers.el: now highlights URL's and makes them active so
|
|
2420 that when clicked either Netscape 1.1 is called
|
|
2421 or Emacs W3 is run.
|
|
2422
|
0
|
2423
|
|
2424 ** Major Differences Between 19.10 and 19.11
|
|
2425 ============================================
|
70
|
2426
|
0
|
2427 The name has changed from "Lucid Emacs" to "XEmacs". Along with this is a
|
|
2428 new canonical ftp site: cs.uiuc.edu:/pub/xemacs.
|
|
2429
|
|
2430 XEmacs now has its very own World Wide Web page! It contains a
|
|
2431 complete list of the FTP distribution sites, the most recent FAQ,
|
|
2432 pointers to Emacs Lisp packages not included with the distribution, and
|
|
2433 other useful stuff. Check it out at http://xemacs.cs.uiuc.edu/.
|
|
2434
|
|
2435 A preliminary New Users Guide.
|
|
2436
|
|
2437 cc-mode.el now provides the default C, C++ and Objective-C modes.
|
|
2438
|
|
2439 The primary goal of this release is stability. Very few new features have
|
|
2440 been introduced but lots of bugs have been fixed. Many of the Emacs Lisp
|
|
2441 packages have been updated.
|
|
2442
|
|
2443 Some of the new Emacs Lisp packages ---
|
|
2444
|
|
2445 tcl-mode.el: major mode for editing TCL code
|
|
2446
|
|
2447 fast-lock.el: saves and restores font-lock highlighting, greatly
|
|
2448 reducing the time necessary for loading a font-lock'ed
|
|
2449 file
|
|
2450
|
|
2451 ps-print.el: prints buffers to Postscript printers preserving the
|
|
2452 buffer's bold and italic text attributes
|
|
2453
|
|
2454 toolbar.el: provides a "fake" toolbar for use with XEmacs (an
|
|
2455 integrated one will be included with 19.12)
|
|
2456
|
|
2457
|
|
2458 ** Major Differences Between 19.9 and 19.10
|
|
2459 ===========================================
|
|
2460
|
|
2461 The GNU `configure' system is now used to build lemacs.
|
|
2462
|
|
2463 The Emacs Manual and Emacs Lisp Reference Manual now document version 19.10.
|
|
2464 If you notice any errors, please let us know.
|
|
2465
|
|
2466 When pixmaps are displayed in a buffer, they contribute to the line height -
|
|
2467 that is, if the glyph is taller than the rest of the text on the line, the
|
|
2468 line will be as tall as necessary to display the glyph.
|
|
2469
|
|
2470 In addition to using arbitrary sound files as emacs beeps, one can control
|
|
2471 the pitch and duration of the standard X beep, on X servers which allow that
|
|
2472 (Note: most don't.)
|
|
2473
|
|
2474 There is support for playing sounds on systems with NetAudio servers.
|
|
2475
|
|
2476 Minor modes may have mode-specific key bindings; keymaps may have an arbitrary
|
|
2477 number of parent maps.
|
|
2478
|
|
2479 Menus can have toggle and radio buttons in them.
|
|
2480
|
|
2481 There is a font selection menu.
|
|
2482
|
|
2483 Some default key bindings have changed to match FSF19; the new bindings are
|
|
2484
|
|
2485 Screen-related commands:
|
|
2486 C-x 5 2 make-screen
|
|
2487 C-x 5 0 delete-screen
|
|
2488 C-x 5 b switch-to-buffer-other-screen
|
|
2489 C-x 5 f find-file-other-screen
|
|
2490 C-x 5 C-f find-file-other-screen
|
|
2491 C-x 5 m mail-other-screen
|
|
2492 C-x 5 o other-screen
|
|
2493 C-x 5 r find-file-read-only-other-screen
|
|
2494 Abbrev-related commands:
|
|
2495 C-x a l add-mode-abbrev
|
|
2496 C-x a C-a add-mode-abbrev
|
|
2497 C-x a g add-global-abbrev
|
|
2498 C-x a + add-mode-abbrev
|
|
2499 C-x a i g inverse-add-global-abbrev
|
|
2500 C-x a i l inverse-add-mode-abbrev
|
|
2501 C-x a - inverse-add-global-abbrev
|
|
2502 C-x a e expand-abbrev
|
|
2503 C-x a ' expand-abbrev
|
|
2504 Register-related commands:
|
|
2505 C-x r C-SPC point-to-register
|
|
2506 C-x r SPC point-to-register
|
|
2507 C-x r j jump-to-register
|
|
2508 C-x r s copy-to-register
|
|
2509 C-x r x copy-to-register
|
|
2510 C-x r i insert-register
|
|
2511 C-x r g insert-register
|
|
2512 C-x r r copy-rectangle-to-register
|
|
2513 C-x r c clear-rectangle
|
|
2514 C-x r k kill-rectangle
|
|
2515 C-x r y yank-rectangle
|
|
2516 C-x r o open-rectangle
|
|
2517 C-x r t string-rectangle
|
|
2518 C-x r w window-configuration-to-register
|
|
2519 Narrowing-related commands:
|
|
2520 C-x n n narrow-to-region
|
|
2521 C-x n w widen
|
|
2522 Other changes:
|
|
2523 C-x 3 split-window-horizontally (was undefined)
|
|
2524 C-x - shrink-window-if-larger-than-buffer
|
|
2525 C-x + balance-windows
|
|
2526
|
70
|
2527 The variable allow-deletion-of-last-visible-screen has been removed, since
|
0
|
2528 it was widely hated. You can now always delete the last visible screen if
|
|
2529 there are other iconified screens in existence.
|
|
2530
|
|
2531 ToolTalk support is provided.
|
|
2532
|
|
2533 An Emacs screen can be placed within an "external client widget" managed
|
|
2534 by another application. This allows an application to use an Emacs screen
|
|
2535 as its text pane rather than the standard Text widget that is provided
|
|
2536 with Motif or Athena.
|
|
2537
|
|
2538 Additional compatibility with Epoch is provided (though this is not yet
|
|
2539 complete.)
|
|
2540
|
|
2541
|
|
2542 ** Major Differences Between 19.8 and 19.9
|
|
2543 ==========================================
|
|
2544
|
|
2545 Scrollbars! If you have Motif, these are real Motif scrollbars; otherwise,
|
|
2546 Athena scrollbars are used. They obey all the usual resources of their
|
|
2547 respective toolkits.
|
|
2548
|
2
|
2549 There is now an implementation of dialog boxes based on the Athena
|
0
|
2550 widgets, as well as the existing Motif implementation.
|
|
2551
|
70
|
2552 This release works with Motif 1.2 as well as 1.1. If you link with Motif,
|
0
|
2553 you do not also need to link with Athena.
|
|
2554
|
|
2555 If you compile lwlib with both USE_MOTIF and USE_LUCID defined (which is the
|
|
2556 recommended configuration) then the Lucid menus will draw text using the Motif
|
|
2557 string-drawing library, instead of the Xlib one. The reason for this is that
|
|
2558 one can take advantage of the XmString facilities for including non-Latin1
|
|
2559 characters in resource specifications. However, this is a user-visible change
|
70
|
2560 in that, in this configuration, the menubar will use the "*fontList" resource
|
0
|
2561 in preference to the "*font" resource, if it is set.
|
|
2562
|
|
2563 It's possible to make extents which are copied/pasted by kill and undo.
|
|
2564 There is an implementation of FSF19-style text properties based on this.
|
|
2565
|
|
2566 There is a new variable, minibuffer-max-depth, which is intended to circumvent
|
|
2567 a common source of confusion among new Emacs users. Since, under a window
|
|
2568 system, it's easy to jump out of the minibuffer (by doing M-x, then getting
|
|
2569 distracted, and clicking elsewhere) many, many novice users have had the
|
|
2570 problem of having multiple minibuffers build up, even to the point of
|
|
2571 exhausting the lisp stack. So the default behavior is to disallow the
|
|
2572 minibuffer to ever be reinvoked while active; if you attempt to do so, you
|
|
2573 will be prompted about it.
|
|
2574
|
|
2575 There is a new variable, teach-extended-commands-p, which if set, will cause
|
|
2576 `M-x' to remind you of any key bindings of the command you just invoked the
|
|
2577 "long way."
|
|
2578
|
|
2579 There are menus in Dired, Tar, Comint, Compile, and Grep modes.
|
|
2580
|
|
2581 There is a menu of window management commands on the right mouse button over
|
|
2582 the modelines.
|
|
2583
|
70
|
2584 Popup menus now have titles at the top; this is controlled by the new
|
0
|
2585 variable `popup-menu-titles'.
|
|
2586
|
|
2587 The `Find' key on Sun keyboards will search for the next (or previous)
|
|
2588 occurrence of the selected text, as in OpenWindows programs.
|
|
2589
|
|
2590 The `timer' package has been renamed to `itimer' to avoid a conflict with
|
|
2591 a different package called `timer'.
|
|
2592
|
|
2593 VM 5.40 is included.
|
|
2594
|
|
2595 W3, the emacs interface to the World Wide Web, is included.
|
|
2596
|
|
2597 Felix Lee's GNUS speedups have been installed, including his new version of
|
|
2598 nntp.el which makes GNUS efficiently utilize the NNTP XOVER command if
|
70
|
2599 available (which is much faster.)
|
0
|
2600
|
|
2601 GNUS should also be much friendlier to new users: it starts up much faster,
|
|
2602 and doesn't (necessarily) subscribe you to every single newsgroup.
|
|
2603
|
|
2604 The byte-compiler issues a new class of warnings: variables which are
|
|
2605 bound but not used. This is merely an advisory, and does not mean the
|
|
2606 code is incorrect; you can disable these warnings in the usual way with
|
|
2607 the `byte-compiler-options' macro.
|
|
2608
|
|
2609 the `start-open' and `end-open' extent properties, for specifying whether
|
|
2610 characters inserted exactly at a boundary of an extent should go into the
|
|
2611 extent or out of it, now work correctly.
|
|
2612
|
|
2613 The `extent-data' slot has been generalized/replaced with a property list,
|
|
2614 so it's easier to attach arbitrary data to extent objects.
|
|
2615
|
|
2616 The `event-modifiers' and `event-modifier-bits' functions work on motion
|
|
2617 events as well as other mouse and keyboard events.
|
|
2618
|
|
2619 Forms-mode uses fonts and read-only regions.
|
|
2620
|
|
2621 The behavior of the -geometry command line option should be correct now.
|
|
2622
|
|
2623 The `iconic' screen parameter works when passed to x-create-screen.
|
|
2624
|
|
2625 The user's manual now documents Lucid Emacs 19.9.
|
|
2626
|
|
2627 The relocating buffer allocator is turned on by default; this means that when
|
70
|
2628 buffers are killed, their storage will be returned to the operating system,
|
0
|
2629 and the size of the emacs process will shrink.
|
|
2630
|
|
2631 CAVEAT: code which contains calls to certain `face' accessor functions will
|
|
2632 need to be recompiled by version 19.9 before it will work. The functions
|
|
2633 whose callers must be recompiled are: face-font, face-foreground,
|
|
2634 face-background, face-background-pixmap, and face-underline-p. The symptom
|
|
2635 of this problem is the error "Wrong type argument, arrayp, #<face ... >".
|
|
2636 The .elc files generated by version 19.9 will work in 19.6 and 19.8, but
|
|
2637 older .elc files which contain calls to these functions will not work in 19.9.
|
|
2638
|
|
2639 Work In Progress:
|
|
2640
|
|
2641 - We have been in the process of internationalizing Lucid Emacs. This code is
|
|
2642 ***not*** ready for general use yet. However, the code is included (and
|
|
2643 turned off by default) in this release.
|
|
2644
|
|
2645 - If you define I18N2 at compile-time, then sorting/collation will be done
|
|
2646 according to the locale returned by setlocale().
|
|
2647
|
|
2648 - If you define I18N3 at compile-time, then all messages printed by lemacs
|
|
2649 will be filtered through the gettext() library routine, to enable the use
|
|
2650 of locale-specific translation catalogues. The current implementation of
|
70
|
2651 this is quite dependent on Solaris 2, and has a very large impact on
|
0
|
2652 existing code, therefore we are going to be making major changes soon.
|
|
2653 (You'll notice calls to `gettext' and `GETTEXT' scattered around much of
|
|
2654 the lisp and C code; ignore it, this will be going away.)
|
|
2655
|
|
2656 - If you define I18N4 at compile-time, then lemacs will internally use a
|
|
2657 wide representation of characters, enabling the use of large character
|
70
|
2658 sets such as Kanji. This code is very OS dependent: it requires X11R5,
|
0
|
2659 and several OS-supplied library routines for reading and writing wide
|
|
2660 characters (getwc(), putwc(), and a few others.) Performance is also a
|
|
2661 problem. This code is also scheduled for a major overhaul, with the
|
70
|
2662 intent of improving performance and portability.
|
0
|
2663
|
|
2664 Our eventual goal is to merge with MULE, or at least provide the same base
|
70
|
2665 level of functionality. If you would like to help out with this, let us
|
0
|
2666 know.
|
|
2667
|
70
|
2668 - Other work-in-progress includes Motif drag-and-drop support, ToolTalk
|
|
2669 support, and support for embedding an Emacs widget inside another
|
0
|
2670 application (where it can function as that other application's text-entry
|
|
2671 area). This code has not been extensively tested, and may (or may not)
|
70
|
2672 have portability problems, but it's there for the adventurous. Comments,
|
0
|
2673 suggestions, bug reports, and especially fixes are welcome. But have no
|
|
2674 expectations that this experimental code will work at all.
|
|
2675
|
|
2676
|
|
2677 ** Major Differences Between 19.6 and 19.8
|
|
2678 ==========================================
|
|
2679
|
|
2680 There were almost no differences between versions 19.6 and 19.7; version 19.7
|
|
2681 was a bug-fix release that was distributed with Energize 2.1.
|
|
2682
|
|
2683 Lucid Emacs 19.8 represents the first stage of the Lucid Emacs/Epoch merger.
|
|
2684 The redisplay engine now in lemacs is an improved descendant of the Epoch
|
|
2685 redisplay. As a result, many bugs have been eliminated, and several disabled
|
|
2686 features have been re-enabled. Notably:
|
|
2687
|
|
2688 Selective display (and outline-mode) work.
|
|
2689
|
|
2690 Horizontally split windows work.
|
|
2691
|
|
2692 The height of a line is the height of the tallest font displayed on that line;
|
|
2693 it is possible for a screen to display lines of differing heights. (Previously,
|
|
2694 the height of all lines was the height of the tallest font loaded.)
|
|
2695
|
|
2696 There is lisp code to scale fonts up and down, for example, to load the next-
|
|
2697 taller version of a font.
|
|
2698
|
|
2699 There is a new internal representation for lisp objects, giving emacs-lisp 28
|
|
2700 bit integers and a 28 bit address space, up from the previous maximum of 26.
|
|
2701 We expect eventually to increase this to 30 bit integers and a 32 bit address
|
|
2702 space, eliminating the need for DATA_SEG_BITS on some architectures. (On 64
|
|
2703 bit machines, add 32 to all of these numbers.)
|
|
2704
|
|
2705 GC performance is improved.
|
|
2706
|
|
2707 Various X objects (fonts, colors, cursors, pixmaps) are accessible as first-
|
|
2708 class lisp objects, with finalization.
|
|
2709
|
|
2710 An alternate interface to embedding images in the text is provided, called
|
|
2711 "annotations." You may create an "annotation margin" which is whitespace at
|
|
2712 the left side of the screen that contains only annotations, not buffer text.
|
|
2713
|
|
2714 When using XPM files, one can specify the values of logical color names to be
|
|
2715 used when loading the files.
|
|
2716
|
|
2717 It is possible to resize windows by dragging their modelines up and down. More
|
|
2718 generally, it is possible to add bindings for mouse gestures on the modelines.
|
|
2719
|
|
2720 There is support for playing sound files on HP machines.
|
|
2721
|
|
2722 ILISP version 5.5 is included.
|
|
2723
|
|
2724 The Common Lisp #' read syntax is supported (#' is to "function" as ' is to
|
|
2725 "quote".)
|
|
2726
|
|
2727 The `active-p' slot of menu items is now evaluated, so one can put arbitrary
|
|
2728 lisp code in a menu to decide whether that item should be selectable, rather
|
|
2729 than doing this with an `activate-menubar-hook'.
|
|
2730
|
|
2731 The X resource hierarchy has changed slightly, to be more consistent. It used
|
|
2732 to be
|
|
2733 argv[0] SCREEN-NAME pane screen
|
|
2734 ApplicationShell EmacsShell Paned EmacsFrame
|
|
2735
|
|
2736 now it is
|
|
2737
|
|
2738 argv[0] shell pane SCREEN-NAME
|
|
2739 ApplicationShell EmacsShell Paned EmacsFrame
|
|
2740
|
|
2741 The Lucid Emacs sources have been largely merged with FSF version 19; this
|
|
2742 means that the lisp library contains the most recent releases of various
|
|
2743 packages, and many new features of FSF 19 have been incorporated.
|
|
2744
|
|
2745 Because of this, the lemacs sources should also be substantially more portable.
|
|
2746
|
|
2747
|
|
2748 ** Major Differences Between 19.4 and 19.6
|
|
2749 ==========================================
|
|
2750
|
|
2751 There were almost no differences between versions 19.4 and 19.5; we fixed
|
|
2752 a few minor bugs and repacked 19.4 as 19.5 for a CD-ROM that we gave away
|
|
2753 as a trade show promotion.
|
|
2754
|
|
2755 The primary goal of the 19.6 release is stability, rather than improved
|
|
2756 functionality, so there aren't many user-visible changes. The most notable
|
|
2757 changes are:
|
|
2758
|
|
2759 - The -geometry command-line option now correctly overrides geometry
|
|
2760 specifications in the resource database.
|
|
2761 - The `width' and `height' screen-parameters work.
|
|
2762 - Font-lock-mode considers the comment start and end characters to be
|
|
2763 a part of the comment.
|
|
2764 - The lhilit package has been removed. Use font-lock-mode instead.
|
|
2765 - vm-isearch has been fixed to work with isearch-mode.
|
|
2766 - new versions of ispell and calendar.
|
|
2767 - sccs.el has menus.
|
|
2768
|
|
2769 Lots of bugs were fixed, including the problem that lemacs occasionally
|
|
2770 grabbed the keyboard focus.
|
|
2771
|
|
2772 Also, as of Lucid Emacs 19.6 and Energize 2.0 (shipping now) it is possible
|
|
2773 to compile the public release of Lucid Emacs with support for Energize; so
|
|
2774 now Energize users will be able to build their own Energize-aware versions
|
|
2775 of lemacs, and will be able to use newer versions of lemacs as they are
|
|
2776 released to the net. (Of course, this is not behavior covered by your
|
|
2777 Energize support contract; you do it at your own risk.)
|
|
2778
|
|
2779 I have not incorporated all portability patches that I have been sent since
|
|
2780 19.4; I will try to get to them soon. However, if you need to make any
|
|
2781 changes to lemacs to get it to compile on your system, it would be quite
|
|
2782 helpful if you would send me context diffs (diff -c) against version 19.6.
|
|
2783
|
|
2784
|
|
2785 ** Major Differences Between 19.3 and 19.4
|
|
2786 ==========================================
|
|
2787
|
|
2788 Prototypes have been added for all functions. Emacs compiles in the strict
|
|
2789 ANSI modes of lcc and gcc, so portability should be vastly improved.
|
|
2790
|
70
|
2791 Many many many many core leaks have been plugged, especially in screen
|
0
|
2792 creation and deletion.
|
|
2793
|
|
2794 The float support reworked to be more portable and ANSI conformant. This
|
70
|
2795 resulted in these new configuration parameters: HAVE_INVERSE_HYPERBOLIC,
|
|
2796 HAVE_CBRT, HAVE_RINT, FLOAT_CHECK_ERRNO, FLOAT_CATCH_SIGILL,
|
0
|
2797 FLOAT_CHECK_DOMAIN. Let us know if you had to change the defaults on your
|
|
2798 architecture.
|
|
2799
|
70
|
2800 The SunOS unexec has been rewritten, and now works with either static or
|
0
|
2801 dynamic libraries, depending on whether -Bstatic or -Bdynamic were specified
|
|
2802 at link-time.
|
|
2803
|
|
2804 Small (character-sized) bitmaps can be mixed in with buffer text via the new
|
|
2805 functions set-extent-begin-glyph and set-extent-end-glyph. (This is actually
|
|
2806 a piece of functionality that Energize has been using for a while, but we've
|
|
2807 just gotten around to making it possible to use it without Energize. See how
|
|
2808 nice we are? Go buy our product.)
|
|
2809
|
|
2810 If compiled with Motif support, one can pop up dialog boxes from emacs lisp.
|
|
2811 We encourage someone to contribute Athena an version of this code; it
|
70
|
2812 shouldn't be much work.
|
0
|
2813
|
|
2814 If dialog boxes are available, then y-or-n-p and yes-or-no-p use dialog boxes
|
70
|
2815 instead of the minibuffer if invoked as a result of a command that was
|
0
|
2816 executed from a menu instead of from the keyboard.
|
|
2817
|
|
2818 Multiple screen support works better; check out doc of get-screen-for-buffer.
|
|
2819
|
|
2820 The default binding of backspace is the same as delete. (C-h is still help.)
|
|
2821
|
70
|
2822 A middle click while the minibuffer is active does completion if you click on
|
0
|
2823 a highlighted completion, otherwise it executes the global binding of button2.
|
|
2824
|
|
2825 New versions of Barry Warsaw's c++-mode and syntax.c. Font-lock-mode works
|
|
2826 with C++ mode now.
|
|
2827
|
|
2828 The semantics of activate-menubar-hook has changed; the functions are called
|
|
2829 with no arguments now.
|
|
2830
|
|
2831 `truename' no longer hacks the automounter; use directory-abbrev-alist instead.
|
|
2832
|
|
2833 Most minibuffer handling has been reimplemented in emacs-lisp.
|
|
2834
|
|
2835 There is now a builtin minibuffer history mechanism which replaces gmhist.
|
|
2836
|
|
2837
|
|
2838 ** Major Differences Between 19.2 and 19.3
|
|
2839 ==========================================
|
|
2840
|
|
2841 The ISO characters have correct case and syntax tables now, so the word-motion
|
|
2842 and case-converting commands work sensibly on them.
|
|
2843
|
|
2844 If you set ctl-arrow to an integer, you can control exactly which characters
|
|
2845 are printable. (There will be a less crufty way to do this eventually.)
|
|
2846
|
|
2847 Menubars can now be buffer local; the function set-screen-menubar no longer
|
70
|
2848 exists. Look at GNUS and VM for examples of how to do this, or read
|
0
|
2849 menubar.el.
|
|
2850
|
|
2851 When emacs is reading from the minibuffer with completions, any completions
|
|
2852 which are visible on the screen will highlight when the mouse moves over them;
|
|
2853 clicking middle on a completion is the same as typing it at the minibuffer.
|
|
2854 Some implications of this: The *Completions* buffer is always mousable. If
|
|
2855 you're using the completion feature of find-tag, your source code will be
|
70
|
2856 mousable when you type M-. Dired buffers will be mousable as soon as you
|
0
|
2857 type ^X^F. And so on.
|
|
2858
|
|
2859 The old isearch code has been replaced with a descendant of Dan LaLiberte's
|
|
2860 excellent isearch-mode; it is more customizable, and generally less bogus.
|
|
2861 You can search for "composed" characters. There are new commands, too; see
|
|
2862 the doc for ^S, or the NEWS file.
|
|
2863
|
|
2864 A patched GNUS 3.14 is included.
|
|
2865
|
|
2866 The user's manual now documents Lucid Emacs 19.3.
|
|
2867
|
|
2868 A few more modes have mouse and menu support.
|
|
2869
|
|
2870 The startup code should be a little more robust, and give you more reasonable
|
|
2871 error messages when things aren't installed quite right (instead of the
|
|
2872 ubiquitous "cannot open DISPLAY"...)
|
|
2873
|
|
2874 Subdirectories of the lisp directory whose names begin with a hyphen or dot
|
|
2875 are not automatically added to the load-path, so you can use this to avoid
|
|
2876 accidentally inflicting experimental software on your users.
|
|
2877
|
|
2878 I've tried to incorporate all of the portability patches that were sent to
|
70
|
2879 me; I tried to solve some of the problems in different ways than the
|
0
|
2880 patches did, so let me know if I missed something.
|
|
2881
|
|
2882 Some systems will need to define NEED_STRDUP, NEED_REALPATH, HAVE_DREM, or
|
|
2883 HAVE_REMAINDER in config.h. Really this should be done in the appropriate
|
|
2884 s- or m- files, but I don't know which systems need these and which don't.
|
|
2885 If yours does, let me know which file it should be in.
|
|
2886
|
|
2887 Check out these new packages:
|
|
2888
|
|
2889 blink-paren.el: causes the matching parenthesis to flash on and off whenever
|
|
2890 the cursor is sitting on a paren-syntax character.
|
|
2891
|
|
2892 pending-del.el: Certain commands implicitly delete the highlighted region:
|
|
2893 Typing a character when there is a highlighted region replaces
|
|
2894 that region with the typed character.
|
|
2895
|
|
2896 font-lock.el: A code-highlighting package, driven off of syntax tables, so
|
70
|
2897 that it understands block comments, strings, etc. The
|
0
|
2898 insertion hook is used to fontify text as you type it in.
|
|
2899
|
|
2900 shell-font.el: Displays your shell-buffer prompt in boldface.
|
124
|
2901
|
|
2902 * The History of XEmacs
|
|
2903 =======================
|
|
2904
|
|
2905 This product is an extension of GNU Emacs, previously known to some as
|
|
2906 "Lucid Emacs" or "ERA". It was initially based on an early version of Emacs
|
|
2907 Version 19 from the Free Software Foundation and has since been kept
|
|
2908 up-to-date with recent versions of that product. It stems from a
|
|
2909 collaboration of Lucid, Inc. with SunSoft DevPro (a division of Sun
|
|
2910 Microsystems, Inc.; formerly called SunPro) and the University of Illinois.
|
|
2911
|
|
2912 NOTE: Lucid, Inc. is currently out of business but development on XEmacs
|
|
2913 continues strong. Recently, Amdahl Corporation and INS Engineering have
|
|
2914 both contributed significantly to the development of XEmacs.
|
|
2915
|
|
2916
|
|
2917 * What's Different?
|
|
2918 ===================
|
|
2919
|
|
2920
|
|
2921 ** Differences between XEmacs and GNU Emacs 19
|
|
2922 ==================================================
|
|
2923 In XEmacs 20, characters are first-class objects. Characters can be
|
|
2924 converted to integers, but are not integers. FSF 19, XEmacs 19, and Mule
|
|
2925 represent them as integers.
|
|
2926
|
|
2927 In XEmacs, events are first-class objects. FSF 19 represents them as
|
|
2928 integers, which obscures the differences between a key gesture and the
|
|
2929 ancient ASCII code used to represent a particular overlapping subset of them.
|
|
2930
|
|
2931 In XEmacs, keymaps are first-class opaque objects. FSF 19 represents them as
|
|
2932 complicated combinations of association lists and vectors. If you use the
|
|
2933 advertised functional interface to manipulation of keymaps, the same code
|
|
2934 will work in XEmacs, Emacs 18, and GNU Emacs 19; if your code depends
|
|
2935 on the underlying implementation of keymaps, it will not.
|
|
2936
|
|
2937 XEmacs uses "extents" to represent all non-textual aspects of buffers;
|
|
2938 FSF 19 uses two distinct objects, "text properties" and "overlays",
|
|
2939 which divide up the functionality between them. Extents are a
|
|
2940 superset of the functionality of the two FSF data types. The full FSF
|
|
2941 19 interface to text properties is supported in XEmacs (with extents
|
|
2942 being the underlying representation).
|
|
2943
|
|
2944 Extents can be made to be copied into strings, and thus restored by kill
|
|
2945 and yank. Thus, one can specify this behavior on either "extents" or
|
|
2946 "text properties", whereas in FSF 19 text properties always have this
|
|
2947 behavior and overlays never do.
|
|
2948
|
|
2949 Many more packages are provided standard with XEmacs than with FSF 19.
|
|
2950
|
|
2951 Pixmaps of arbitrary size can be embedded in a buffer.
|
|
2952
|
|
2953 Variable width fonts work.
|
|
2954
|
|
2955 The height of a line is the height of the tallest font on that line, instead
|
|
2956 of all lines having the same height.
|
|
2957
|
|
2958 XEmacs uses the MIT "Xt" toolkit instead of raw Xlib calls, which
|
|
2959 makes it be a more well-behaved X citizen (and also improves
|
|
2960 portability). A result of this is that it is possible to include
|
|
2961 other Xt "Widgets" in the XEmacs window. Also, XEmacs understands the
|
|
2962 standard Xt command-line arguments.
|
|
2963
|
|
2964 XEmacs provides support for ToolTalk on systems that have it.
|
|
2965
|
|
2966 XEmacs can ask questions using popup dialog boxes. Any command executed from
|
|
2967 a menu will ask yes/no questions with dialog boxes, while commands executed
|
|
2968 via the keyboard will use the minibuffer.
|
|
2969
|
|
2970 XEmacs has a built-in toolbar. Four toolbars can actually be configured:
|
|
2971 top, bottom, left, and right toolbars.
|
|
2972
|
|
2973 XEmacs has vertical and horizontal scrollbars. Unlike in FSF 19 (which
|
|
2974 provides a primitive form of vertical scrollbar), these are true toolkit
|
|
2975 scrollbars. A look-alike Motif scrollbar is provided for those who
|
|
2976 don't have Motif. (Even for those who do, the look-alike may be preferable
|
|
2977 as it is faster.)
|
|
2978
|
|
2979 If you're running on a machine with audio hardware, you can specify sound
|
|
2980 files for XEmacs to play instead of the default X beep. See the documentation
|
|
2981 of the function load-sound-file and the variable sound-alist.
|
|
2982
|
|
2983 An XEmacs frame can be placed within an "external client widget" managed by
|
|
2984 another application. This allows an application to use an XEmacs frame as its
|
|
2985 text pane rather than the standard Text widget that is provided with Motif or
|
|
2986 Athena. XEmacs supports Motif applications, generic Xt (e.g. Athena)
|
|
2987 applications, and raw Xlib applications.
|
|
2988
|
|
2989 Here are some more specifics about the XEmacs implementation:
|
|
2990
|
|
2991 *** The Input Model
|
|
2992 -------------------
|
|
2993
|
|
2994 The fundamental unit of input is an "event" instead of a character. An
|
|
2995 event is a new data type that contains several pieces of information.
|
|
2996 There are several kinds of event, and corresponding accessor and utility
|
|
2997 functions. We tried to abstract them so that they would apply equally
|
|
2998 well to a number of window systems.
|
|
2999
|
|
3000 NOTE: All timestamps are measured as milliseconds since Emacs started.
|
|
3001
|
|
3002 key_press_event
|
|
3003 event_channel A token representing which keyboard generated it.
|
|
3004 For this kind of event, this is a console object.
|
|
3005 timestamp When it happened
|
|
3006 key What keysym this is; a character or a symbol.
|
|
3007 If it is a character, it will be a printing
|
|
3008 ASCII character.
|
|
3009 modifiers Bucky-bits on that key: control, meta, etc.
|
|
3010 For most keys, Shift is not a bit; that is implicit
|
|
3011 in the keyboard layout.
|
|
3012
|
|
3013 button_press_event
|
|
3014 button_release_event
|
|
3015 event_channel A token representing which mouse generated it.
|
|
3016 For this kind of event, this is a frame object.
|
|
3017 timestamp When it happened
|
|
3018 button What button went down or up.
|
|
3019 modifiers Bucky-bits on that button: shift, control, meta, etc.
|
|
3020 x, y Where it was at the button-state-change (in pixels).
|
|
3021
|
|
3022 pointer_motion_event
|
|
3023 event_channel A token representing which mouse generated it.
|
|
3024 For this kind of event, this is a frame object.
|
|
3025 timestamp When it happened
|
|
3026 x, y Where it was after it moved (in pixels).
|
|
3027 modifiers Bucky-bits down when the motion was detected.
|
|
3028 (Possibly not all window systems will provide this?)
|
|
3029
|
|
3030 process_event
|
|
3031 timestamp When it happened
|
|
3032 process the emacs "process" object in question
|
|
3033
|
|
3034 timeout_event
|
|
3035 timestamp Now (really, when the timeout was signaled)
|
|
3036 interval_id The ID returned when the associated call to
|
|
3037 add_timeout_cb() was made
|
|
3038 ------ the rest of the fields are filled in by Emacs -----
|
|
3039 id_number The Emacs timeout ID for this timeout (more
|
|
3040 than one timeout event can have the same value
|
|
3041 here, since Emacs timeouts, as opposed to
|
|
3042 add_timeout_cb() timeouts, can resignal
|
|
3043 themselves)
|
|
3044 function An elisp function to call when this timeout is
|
|
3045 processed.
|
|
3046 object The object passed to that function.
|
|
3047
|
|
3048 eval_event
|
|
3049 timestamp When it happened
|
|
3050 function An elisp function to call with this event object.
|
|
3051 object Anything.
|
|
3052 This kind of event is used internally; sometimes the
|
|
3053 window system interface would like to inform emacs of
|
|
3054 some user action (such as focusing on another frame)
|
|
3055 but needs that to happen synchronously with the other
|
|
3056 user input, like keypresses. This is useful when
|
|
3057 events are reported through callbacks rather
|
|
3058 than in the standard event stream.
|
|
3059
|
|
3060 misc_user_event
|
|
3061 timestamp When it happened
|
|
3062 function An elisp function to call with this event object.
|
|
3063 object Anything.
|
|
3064 This is similar to an eval_event, except that it is
|
|
3065 generated by user actions: selections in the
|
|
3066 menubar or scrollbar actions. It is a "command"
|
|
3067 event, like key and mouse presses (and unlike mouse
|
|
3068 motion, process output, and enter and leave window
|
|
3069 hooks). In many ways, eval_events are not the same
|
|
3070 as keypresses or misc_user_events.
|
|
3071
|
|
3072 magic_event
|
|
3073 No user-serviceable parts within. This is for things
|
|
3074 like KeymapNotify and ExposeRegion events and so on
|
|
3075 that emacs itself doesn't care about, but which it
|
|
3076 must do something with for proper interaction with
|
|
3077 the window system.
|
|
3078
|
|
3079 Magic_events are handled somewhat asynchronously, just
|
|
3080 like subprocess filters. However, occasionally a
|
|
3081 magic_event needs to be handled synchronously; in that
|
|
3082 case, the asynchronous handling of the magic_event will
|
|
3083 push an eval_event back onto the queue, which will be
|
|
3084 handled synchronously later. This is one of the
|
|
3085 reasons why eval_events exist; I'm not entirely happy
|
|
3086 with this aspect of this event model.
|
|
3087
|
|
3088
|
|
3089 The function `next-event' blocks and returns one of the above-described
|
|
3090 event objects. The function `dispatch-event' takes an event and processes
|
|
3091 it in the appropriate way.
|
|
3092
|
|
3093 For a process-event, dispatch-event calls the process's handler; for a
|
|
3094 mouse-motion event, the mouse-motion-handler hook is called, and so on.
|
|
3095 For magic-events, dispatch-event does window-system-dependent things,
|
|
3096 including calling some non-window-system-dependent hooks: map-frame-hook,
|
|
3097 unmap-frame-hook, mouse-enter-frame-hook, and mouse-leave-frame-hook.
|
|
3098
|
|
3099 The function `next-command-event' calls `next-event' until it gets a key or
|
|
3100 button from the user (that is, not a process, motion, timeout, or magic
|
|
3101 event). If it gets an event that is not a key or button, it calls
|
|
3102 `dispatch-event' on it immediately and reads another one. The
|
|
3103 next-command-event function could be implemented in Emacs Lisp, though it
|
|
3104 isn't. Generally one should call `next-command-event' instead of
|
|
3105 `next-event'.
|
|
3106
|
|
3107 read-char calls next-command-event; if it doesn't get an event that can be
|
|
3108 converted to an ASCII character, it signals an error. Otherwise it returns
|
|
3109 an integer.
|
|
3110
|
|
3111 The variable `last-command-char' always contains an integer, or nil (if the
|
|
3112 last read event has no ASCII equivalent, as when it is a mouse-click or a
|
|
3113 non-ASCII character chord.)
|
|
3114
|
|
3115 The new variable `last-command-event' holds an event object, that could be
|
|
3116 a non-ASCII character, a button click, a menu selection, etc.
|
|
3117
|
|
3118 The variable `unread-command-char' no longer exists, and has been replaced
|
|
3119 by `unread-command-events'. With the new event model, it is incorrect for
|
|
3120 code to do (setq unread-command-char (read-char)), because all user-input
|
|
3121 can't be represented as ASCII characters. *** This is an incompatible
|
|
3122 change. Code which sets `unread-command-char' must be updated to use the
|
|
3123 combination of `next-command-event' and `unread-command-events' instead.
|
|
3124
|
|
3125 The functions `this-command-keys' and `recent-keys' return a vector of
|
|
3126 event objects, instead of a string of ASCII characters. *** This also
|
|
3127 is an incompatible change.
|
|
3128
|
|
3129 Almost nothing happens at interrupt level; the SIGIO handler simply sets a
|
|
3130 flag, and later, the X event queue is scanned for KeyPress events which map
|
|
3131 to ^G. All redisplay happens in the main thread of the process.
|
|
3132
|
|
3133
|
|
3134 *** Keymaps
|
|
3135 -----------
|
|
3136
|
|
3137 Instead of keymaps being alists or obarrays, they are a new primary data
|
|
3138 type. The only user access to the contents of a keymap is through the
|
|
3139 existing keymap-manipulation functions, and a new function, map-keymap.
|
|
3140 This means that existing code that manipulates keymaps may need to
|
|
3141 be changed.
|
|
3142
|
|
3143 One of our goals with the new input and keymap code was to make more
|
|
3144 character combinations available for binding, besides just ASCII and
|
|
3145 function keys. We want to be able bind different commands to Control-a
|
|
3146 and Control-Shift-a; we also want it to be possible for the keys Control-h
|
|
3147 and Backspace (and Control-M and Return, and Control-I and Tab, etc) to
|
|
3148 be distinct.
|
|
3149
|
|
3150 One of the most common complaints that new Emacs users have is that backspace
|
|
3151 is help. The answer is to play around with the keyboard-translate-table, or
|
|
3152 be lucky enough to have a system administrator who has done this for you
|
|
3153 already; but if it were possible to bind backspace and C-h to different
|
|
3154 things, then (under a window manager at least) both backspace and delete
|
|
3155 would delete a character, and ^H would be help. There's no need to deal
|
|
3156 with xmodmap, kbd-translate-table, etc.
|
|
3157
|
|
3158 Here are some more examples: suppose you want to bind one function to Tab,
|
|
3159 and another to Control-Tab. This can't be done if Tab and Control-I are the
|
|
3160 same thing. What about control keys that have no ASCII equivalent, like
|
|
3161 Control-< ? One might want that to be bound to set-mark-at-point-min. We
|
|
3162 want M-C-Backspace to be kill-backward-sexp. But we want M-Backspace to be
|
|
3163 kill-backward-word. Again, this can't be done if Backspace and C-h are
|
|
3164 indistinguishable.
|
|
3165
|
|
3166 The user represents keys as a string of ASCII characters (when possible and
|
|
3167 convenient), or as a vector of event objects, or as a vector of "key
|
|
3168 description lists", that looks like (control a), or (control meta delete)
|
|
3169 or (shift f1). The order of the modifier-names is not significant, so
|
|
3170 (meta control x) and (control meta x) are the same.
|
|
3171
|
|
3172 `define-key' knows how to take any of the above representations and store them
|
|
3173 into a keymap. When Emacs wants to return a key sequence (this-command-keys,
|
|
3174 recent-keys, keyboard-macros, and read-key-sequence, for example) it returns
|
|
3175 a vector of event objects. Keyboard macros can also be represented as ASCII
|
|
3176 strings or as vectors of key description lists.
|
|
3177
|
|
3178 This is an incompatible change: code which calls `this-command-keys',
|
|
3179 `recent-keys', `read-key-sequence', or manipulates keyboard-macros probably
|
|
3180 needs to be changed so that it no longer assumes that the returned value is a
|
|
3181 string.
|
|
3182
|
|
3183 Control-Shift-a is specified as (control A), not (control shift a), since A
|
|
3184 is a two-case character. But for keys that don't have an upper case
|
|
3185 version, like F1, Backspace, and Escape, you use the (shift backspace) syntax.
|
|
3186
|
|
3187 See the doc string for our version of define-key, reproduced below in the
|
|
3188 `Changed Functions' section. Note that when the KEYS argument is a string,
|
|
3189 it has the same semantics as the v18 define-key.
|
|
3190
|
|
3191
|
|
3192 *** Xt Integration
|
|
3193 ------------------
|
|
3194
|
|
3195 The heart of the event loop is implemented in terms of the Xt event functions
|
|
3196 (specifically XtAppProcessEvent), and uses Xt's concept of timeouts and
|
|
3197 file-descriptor callbacks, eliminating a large amount of system-dependent code
|
|
3198 (Xt does it for you.)
|
|
3199
|
|
3200 If Emacs is compiled with support for X, it uses the Xt event loop even when
|
|
3201 Emacs is not running on an X display (the Xt event loop supports this). This
|
|
3202 makes it possible to run Emacs on a dumb TTY, and later connect it to one or
|
|
3203 more X servers. It should also be possible to later connect an existing Emacs
|
|
3204 process to additional TTY's, although this code is still experimental. (Our
|
|
3205 intent at this point is not to have an Emacs that is being used by multiple
|
|
3206 people at the same time: it is to make it possible for someone to go home, log
|
|
3207 in on a dialup line, and connect to the same Emacs process that is running
|
|
3208 under X in their office without having to recreate their buffer state and so
|
|
3209 on.)
|
|
3210
|
|
3211 If Emacs is not compiled with support for X, then it instead uses more general
|
|
3212 code, something like what v18 does; but this way of doing things is a lot more
|
|
3213 modular.
|
|
3214
|
|
3215 (Linking Emacs with Xt seems to only add about 300k to the executable size,
|
|
3216 compared with an Emacs linked with Xlib only.)
|
|
3217
|
|
3218
|
|
3219 *** Region Highlighting
|
|
3220 -----------------------
|
|
3221
|
|
3222 If the variable `zmacs-regions' is true, then the region between point and
|
|
3223 mark will be highlighted when "active". Those commands which push a mark
|
|
3224 (such as C-SPC, and C-x C-x) make the region become "active" and thus
|
|
3225 highlighted. Most commands (all non-motion commands, basically) cause it to
|
|
3226 become non-highlighted (non-"active"). Commands that operate on the region
|
|
3227 (such as C-w, C-x C-l, etc.) only work if the region is in the highlighted
|
|
3228 state.
|
|
3229
|
|
3230 zmacs-activate-region-hook and zmacs-deactivate-region-hook are run at the
|
|
3231 appropriate times; under X, zmacs-activate-region-hook makes the X selection
|
|
3232 be the region between point and mark, thus doing two things at once: making
|
|
3233 the region and the X selection be the same; and making the region highlight
|
|
3234 in the same way as the X selection.
|
|
3235
|
|
3236 If `zmacs-regions' is true, then the `mark-marker' command returns nil unless
|
|
3237 the region is currently in the active (highlighted) state. With an argument
|
|
3238 of t, this returns the mark (if there is one) regardless of the active-region
|
|
3239 state. You should *generally* not use the mark unless the region is active,
|
|
3240 if the user has expressed a preference for the active-region model. Watch
|
|
3241 out! Moving this marker changes the mark position. If you set the marker not
|
|
3242 to point anywhere, the buffer will have no mark.
|
|
3243
|
|
3244 In this way, the primary selection is a fairly transitory entity; but
|
|
3245 when something is copied to the kill ring, it is made the Clipboard
|
|
3246 selection. It is also stored into CUT_BUFFER0, for compatibility with
|
|
3247 X applications that don't understand selections (like Emacs18).
|
|
3248
|
|
3249 Compatibility note: if you have code which uses (mark) or (mark-marker),
|
|
3250 then you need to either: change those calls to (mark t) or (mark-marker t);
|
|
3251 or simply bind `zmacs-regions' to nil around the call to mark or mark-marker.
|
|
3252 This is probably the best solution, since it will work in Emacs 18 as well.
|
|
3253
|
|
3254
|
|
3255 *** Menubars and Dialog Boxes
|
|
3256 -----------------------------
|
|
3257
|
|
3258 Here is an example of a menubar definition:
|
|
3259
|
|
3260 (defvar default-menubar
|
|
3261 '(("File" ["Open File..." find-file t]
|
|
3262 ["Save Buffer" save-buffer t]
|
|
3263 ["Save Buffer As..." write-file t]
|
|
3264 ["Revert Buffer" revert-buffer t]
|
|
3265 "-----"
|
|
3266 ["Print Buffer" lpr-buffer t]
|
|
3267 "-----"
|
|
3268 ["Delete Frame" delete-frame t]
|
|
3269 ["Kill Buffer..." kill-buffer t]
|
|
3270 ["Exit Emacs" save-buffers-kill-emacs t]
|
|
3271 )
|
|
3272 ("Edit" ["Undo" advertised-undo t]
|
|
3273 ["Cut" kill-primary-selection t]
|
|
3274 ["Copy" copy-primary-selection t]
|
|
3275 ["Paste" yank-clipboard-selection t]
|
|
3276 ["Clear" delete-primary-selection t]
|
|
3277 )
|
|
3278 ...))
|
|
3279
|
|
3280 The first element of each menu item is the string to print on the menu.
|
|
3281
|
|
3282 The second element is the callback function; if it is a symbol, it is
|
|
3283 invoked with `call-interactively.' If it is a list, it is invoked with
|
|
3284 `eval'.
|
|
3285
|
|
3286 If the second element is a symbol, then the menu also displays the key that
|
|
3287 is bound to that command (if any).
|
|
3288
|
|
3289 The third element of the menu items determines whether the item is selectable.
|
|
3290 It may be t, nil, or a form to evaluate. Also, a hook is run just before a
|
|
3291 menu is exposed, which can be used to change the value of these slots.
|
|
3292 For example, there is a hook that makes the "undo" menu item be selectable
|
|
3293 only in the cases when `advertised-undo' would not signal an error.
|
|
3294
|
|
3295 Menus may have other menus nested within them; they will cascade.
|
|
3296
|
|
3297 There are utility functions for adding items to menus, deleting items,
|
|
3298 disabling them, etc.
|
|
3299
|
|
3300 The function `popup-menu' takes a menu description and pops it up.
|
|
3301
|
|
3302 The function `popup-dialog-box' takes a dialog-box description and pops
|
|
3303 it up. Dialog box descriptions look a lot like menu descriptions.
|
|
3304
|
|
3305 The menubar, menu, and dialog-box code is implemented as a library,
|
|
3306 with an interface which hides the toolkit that implements it.
|
|
3307
|
|
3308
|
|
3309 *** Isearch Changes
|
|
3310 -------------------
|
|
3311
|
|
3312 Isearch has been reimplemented in a different way, adding some new features,
|
|
3313 and causing a few incompatible changes.
|
|
3314
|
|
3315 - the old isearch-*-char variables are no longer supported. In the old
|
|
3316 system, one could make ^A mean "repeat the search" by doing something
|
|
3317 like (setq search-repeat-char ?C-a). In the new system, this is
|
|
3318 accomplished with
|
|
3319
|
|
3320 (define-key isearch-mode-map "\C-a" 'isearch-repeat-forward)
|
|
3321
|
|
3322 - The advantage of using the normal keymap mechanism for this is that you
|
|
3323 can bind more than one key to an isearch command: for example, both C-a
|
|
3324 and C-s could do the same thing inside isearch mode. You can also bind
|
|
3325 multi-key sequences inside of isearch mode, and bind non-ASCII keys.
|
|
3326 For example, to use the F1 key to terminate a search:
|
|
3327
|
|
3328 (define-key isearch-mode-map 'f1 'isearch-exit)
|
|
3329
|
|
3330 or to make ``C-c C-c'' terminate a search:
|
|
3331
|
|
3332 (define-key isearch-mode-map "\C-c\C-c" 'isearch-exit)
|
|
3333
|
|
3334 - If isearch is behaving case-insensitively (the default) and you type an
|
|
3335 upper case character, then the search will become case-sensitive. This
|
|
3336 can be disabled by setting `search-caps-disable-folding' to nil.
|
|
3337
|
|
3338 - There is a history ring of the strings previously searched for; typing
|
|
3339 M-p or M-n while searching will cycle through this ring. Typing M-TAB
|
|
3340 will do completion across the set of items in the history ring.
|
|
3341
|
|
3342 - The ESC key is no longer used to terminate an incremental search. The
|
|
3343 RET key should be used instead. This change is necessary for it to be
|
|
3344 possible to bind "meta" characters to isearch commands.
|
|
3345
|
|
3346
|
|
3347 *** Startup Code Changes
|
|
3348 ------------------------
|
|
3349
|
|
3350 The initial X frame is mapped before the user's .emacs file is executed.
|
|
3351 Without this, there is no way for the user to see any error messages
|
|
3352 generated by their .emacs file, any windows created by the .emacs file
|
|
3353 don't show up, and the copyleft notice isn't shown.
|
|
3354
|
|
3355 The default values for load-path, exec-path, lock-directory, and
|
|
3356 Info-directory-list are not (necessarily) built into Emacs, but are
|
|
3357 computed at startup time.
|
|
3358
|
|
3359 First, Emacs looks at the directory in which its executable file resides:
|
|
3360
|
|
3361 o If that directory contains subdirectories named "lisp" and "lib-src",
|
|
3362 then those directories are used as the lisp library and exec directory.
|
|
3363
|
|
3364 o If the parent of the directory in which the emacs executable is located
|
|
3365 contains "lisp" and "lib-src" subdirectories, then those are used.
|
|
3366
|
|
3367 o If ../lib/xemacs-<version> (starting from the directory in which the
|
|
3368 emacs executable is located) contains a "lisp" subdirectory and either
|
|
3369 a "lib-src" subdirectory or a <configuration-name> subdirectory, then
|
|
3370 those are used.
|
|
3371
|
|
3372 o If the emacs executable that was run is a symbolic link, then the link
|
|
3373 is chased, and the resultant directory is checked as above.
|
|
3374
|
|
3375 (Actually, it doesn't just look for "lisp/", it looks for "lisp/prim/",
|
|
3376 which reduces the chances of a false positive.)
|
|
3377
|
|
3378 If the lisp directory contains subdirectories, they are added to the default
|
|
3379 load-path as well. If the site-lisp directory exists and contains
|
|
3380 subdirectories, they are then added. Subdirectories whose names begin with
|
|
3381 a dot or a hyphen are not added to the load-path.
|
|
3382
|
|
3383 These heuristics fail if the Emacs binary was copied from the main Emacs
|
|
3384 tree to some other directory, and links for the lisp directory were not put
|
|
3385 in. This isn't much of a restriction: either make there be subdirectories
|
|
3386 (or symbolic links) of the directory of the emacs executable, or make the
|
|
3387 "installed" emacs executable be a symbolic link to an executable in a more
|
|
3388 appropriate directory structure. For example, this setup works:
|
|
3389
|
|
3390 /usr/local/xemacs/xemacs* ; The executable.
|
|
3391 /usr/local/xemacs/lisp/ ; The associated directories.
|
|
3392 /usr/local/xemacs/etc/ ; Any of the files in this list
|
|
3393 /usr/local/xemacs/lock/ ; could be symbolic links as well.
|
|
3394 /usr/local/xemacs/info/
|
|
3395
|
|
3396 As does this:
|
|
3397
|
|
3398 /usr/local/bin/xemacs -> ../xemacs/src/xemacs-19.14 ; A link...
|
|
3399 /usr/local/xemacs/src/xemacs-19.14* ; The executable,
|
|
3400 /usr/local/xemacs/lisp/ ; and the rest of
|
|
3401 /usr/local/xemacs/etc/ ; the source tree
|
|
3402 /usr/local/xemacs/lock/
|
|
3403 /usr/local/xemacs/info/
|
|
3404
|
|
3405 This configuration might be used for a multi-architecture installation; assume
|
|
3406 that $LOCAL refers to a directory which contains only files specific to a
|
|
3407 particular architecture (i.e., executables) and $SHARED refers to those files
|
|
3408 which are not machine specific (i.e., lisp code and documentation.)
|
|
3409
|
|
3410 $LOCAL/bin/xemacs@ -> $LOCAL/xemacs-19.14/xemacs*
|
|
3411 $LOCAL/xemacs-19.14/lisp@ -> $SHARED/xemacs-19.14/lisp/
|
|
3412 $LOCAL/xemacs-19.14/etc@ -> $SHARED/xemacs-19.14/etc/
|
|
3413 $LOCAL/xemacs-19.14/info@ -> $SHARED/xemacs-19.14/info/
|
|
3414
|
|
3415 The following would also work, but the above is probably more attractive:
|
|
3416
|
|
3417 $LOCAL/bin/xemacs*
|
|
3418 $LOCAL/bin/lisp@ -> $SHARED/xemacs-19.14/lisp/
|
|
3419 $LOCAL/bin/etc@ -> $SHARED/xemacs-19.14/etc/
|
|
3420 $LOCAL/bin/info@ -> $SHARED/xemacs-19.14/info/
|
|
3421
|
|
3422 If Emacs can't find the requisite directories, it writes a message like this
|
|
3423 (or some appropriate subset of it) to stderr:
|
|
3424
|
|
3425 WARNING:
|
|
3426 couldn't find an obvious default for load-path, exec-directory, and
|
|
3427 lock-directory, and there were no defaults specified in paths.h when
|
|
3428 Emacs was built. Perhaps some directories don't exist, or the Emacs
|
|
3429 executable, /cadillac-th/jwz/somewhere/xemacs is in a strange place?
|
|
3430
|
|
3431 Without both exec-directory and load-path, Emacs will be very broken.
|
|
3432 Consider making a symbolic link from /cadillac-th/jwz/somewhere/etc
|
|
3433 to wherever the appropriate Emacs etc/ directory is, and from
|
|
3434 /cadillac-th/jwz/somewhere/lisp/ to wherever the appropriate Emacs
|
|
3435 lisp library is.
|
|
3436
|
|
3437 Without lock-directory set, file locking won't work. Consider
|
|
3438 creating /cadillac-th/jwz/somewhere/lock as a directory or symbolic
|
|
3439 link for use as the lock directory.
|
|
3440
|
|
3441 The default installation tree is the following:
|
|
3442
|
|
3443 /usr/local/bin/b2m ;
|
|
3444 ctags ; executables that
|
|
3445 emacsclient ; should be in
|
|
3446 etags ; user's path
|
|
3447 xemacs -> xemacs-<version> ;
|
|
3448 xemacs ;
|
|
3449 /usr/local/lib/xemacs/site-lisp
|
|
3450 /usr/local/lib/xemacs/lock
|
|
3451 /usr/local/lib/xemacs-<version>/etc ; architecture ind. files
|
|
3452 /usr/local/lib/xemacs-<version>/info
|
|
3453 /usr/local/lib/xemacs-<version>/lisp
|
|
3454 /usr/local/lib/xemacs-<version>/<configuration> ; binaries emacs may run
|
|
3455
|
|
3456
|
|
3457 *** X Resources
|
|
3458 ---------------
|
|
3459
|
|
3460 (Note: This section is copied verbatim from the XEmacs Reference Manual.)
|
|
3461
|
|
3462 The Emacs resources are generally set per-frame. Each Emacs frame
|
|
3463 can have its own name or the same name as another, depending on the
|
|
3464 name passed to the `make-frame' function.
|
|
3465
|
|
3466 You can specify resources for all frames with the syntax:
|
|
3467
|
|
3468 Emacs*parameter: value
|
|
3469
|
|
3470 or
|
|
3471
|
|
3472 Emacs*EmacsFrame.parameter:value
|
|
3473
|
|
3474 You can specify resources for a particular frame with the syntax:
|
|
3475
|
|
3476 Emacs*FRAME-NAME.parameter: value
|
|
3477
|
|
3478
|
|
3479 **** Geometry Resources
|
|
3480 -----------------------
|
|
3481
|
|
3482 To make the default size of all Emacs frames be 80 columns by 55
|
|
3483 lines, do this:
|
|
3484
|
|
3485 Emacs*EmacsFrame.geometry: 80x55
|
|
3486
|
|
3487 To set the geometry of a particular frame named `fred', do this:
|
|
3488
|
|
3489 Emacs*fred.geometry: 80x55
|
|
3490
|
|
3491 Important! Do not use the following syntax:
|
|
3492
|
|
3493 Emacs*geometry: 80x55
|
|
3494
|
|
3495 You should never use `*geometry' with any X application. It does not
|
|
3496 say "make the geometry of Emacs be 80 columns by 55 lines." It really
|
|
3497 says, "make Emacs and all subwindows thereof be 80x55 in whatever units
|
|
3498 they care to measure in." In particular, that is both telling the
|
|
3499 Emacs text pane to be 80x55 in characters, and telling the menubar pane
|
|
3500 to be 80x55 pixels, which is surely not what you want.
|
|
3501
|
|
3502 As a special case, this geometry specification also works (and sets
|
|
3503 the default size of all Emacs frames to 80 columns by 55 lines):
|
|
3504
|
|
3505 Emacs.geometry: 80x55
|
|
3506
|
|
3507 since that is the syntax used with most other applications (since most
|
|
3508 other applications have only one top-level window, unlike Emacs). In
|
|
3509 general, however, the top-level shell (the unmapped ApplicationShell
|
|
3510 widget named `Emacs' that is the parent of the shell widgets that
|
|
3511 actually manage the individual frames) does not have any interesting
|
|
3512 resources on it, and you should set the resources on the frames instead.
|
|
3513
|
|
3514 The `-geometry' command-line argument sets only the geometry of the
|
|
3515 initial frame created by Emacs.
|
|
3516
|
|
3517 A more complete explanation of geometry-handling is
|
|
3518
|
|
3519 * The `-geometry' command-line option sets the `Emacs.geometry'
|
|
3520 resource, that is, the geometry of the ApplicationShell.
|
|
3521
|
|
3522 * For the first frame created, the size of the frame is taken from
|
|
3523 the ApplicationShell if it is specified, otherwise from the
|
|
3524 geometry of the frame.
|
|
3525
|
|
3526 * For subsequent frames, the order is reversed: First the frame, and
|
|
3527 then the ApplicationShell.
|
|
3528
|
|
3529 * For the first frame created, the position of the frame is taken
|
|
3530 from the ApplicationShell (`Emacs.geometry') if it is specified,
|
|
3531 otherwise from the geometry of the frame.
|
|
3532
|
|
3533 * For subsequent frames, the position is taken only from the frame,
|
|
3534 and never from the ApplicationShell.
|
|
3535
|
|
3536 This is rather complicated, but it does seem to provide the most
|
|
3537 intuitive behavior with respect to the default sizes and positions of
|
|
3538 frames created in various ways.
|
|
3539
|
|
3540
|
|
3541 **** Iconic Resources
|
|
3542 ---------------------
|
|
3543
|
|
3544 Analogous to `-geometry', the `-iconic' command-line option sets the
|
|
3545 iconic flag of the ApplicationShell (`Emacs.iconic') and always applies
|
|
3546 to the first frame created regardless of its name. However, it is
|
|
3547 possible to set the iconic flag on particular frames (by name) by using
|
|
3548 the `Emacs*FRAME-NAME.iconic' resource.
|
|
3549
|
|
3550
|
|
3551 **** Resource List
|
|
3552 ------------------
|
|
3553
|
|
3554 Emacs frames accept the following resources:
|
|
3555
|
|
3556 `geometry' (class `Geometry'): string
|
|
3557 Initial geometry for the frame. *Note Geometry Resources:: for a
|
|
3558 complete discussion of how this works.
|
|
3559
|
|
3560 `iconic' (class `Iconic'): boolean
|
|
3561 Whether this frame should appear in the iconified state.
|
|
3562
|
|
3563 `internalBorderWidth' (class `InternalBorderWidth'): int
|
|
3564 How many blank pixels to leave between the text and the edge of the
|
|
3565 window.
|
|
3566
|
|
3567 `interline' (class `Interline'): int
|
|
3568 How many pixels to leave between each line (may not be
|
|
3569 implemented).
|
|
3570
|
|
3571 `menubar' (class `Menubar'): boolean
|
|
3572 Whether newly-created frames should initially have a menubar. Set
|
|
3573 to true by default.
|
|
3574
|
|
3575 `initiallyUnmapped' (class `InitiallyUnmapped'): boolean
|
|
3576 Whether XEmacs should leave the initial frame unmapped when it
|
|
3577 starts up. This is useful if you are starting XEmacs as a server
|
|
3578 (e.g. in conjunction with gnuserv or the external client widget).
|
|
3579 You can also control this with the `-unmapped' command-line option.
|
|
3580
|
|
3581 `barCursor' (class `BarColor'): boolean
|
|
3582 Whether the cursor should be displayed as a bar, or the
|
|
3583 traditional box.
|
|
3584
|
|
3585 `textPointer' (class `Cursor'): cursor-name
|
|
3586 The cursor to use when the mouse is over text. This resource is
|
|
3587 used to initialize the variable `x-pointer-shape'.
|
|
3588
|
|
3589 `selectionPointer' (class `Cursor'): cursor-name
|
|
3590 The cursor to use when the mouse is over a selectable text region
|
|
3591 (an extent with the `highlight' property; for example, an Info
|
|
3592 cross-reference). This resource is used to initialize the variable
|
|
3593 `x-selection-pointer-shape'.
|
|
3594
|
|
3595 `spacePointer' (class `Cursor'): cursor-name
|
|
3596 The cursor to use when the mouse is over a blank space in a buffer
|
|
3597 (that is, after the end of a line or after the end-of-file). This
|
|
3598 resource is used to initialize the variable
|
|
3599 `x-nontext-pointer-shape'.
|
|
3600
|
|
3601 `modeLinePointer' (class `Cursor'): cursor-name
|
|
3602 The cursor to use when the mouse is over a mode line. This
|
|
3603 resource is used to initialize the variable `x-mode-pointer-shape'.
|
|
3604
|
|
3605 `gcPointer' (class `Cursor'): cursor-name
|
|
3606 The cursor to display when a garbage-collection is in progress.
|
|
3607 This resource is used to initialize the variable
|
|
3608 `x-gc-pointer-shape'.
|
|
3609
|
|
3610 `scrollbarPointer' (class `Cursor'): cursor-name
|
|
3611 The cursor to use when the mouse is over the scrollbar. This
|
|
3612 resource is used to initialize the variable
|
|
3613 `x-scrollbar-pointer-shape'.
|
|
3614
|
|
3615 `pointerColor' (class `Foreground'): color-name
|
|
3616 `pointerBackground' (class `Background'): color-name
|
|
3617 The foreground and background colors of the mouse cursor. These
|
|
3618 resources are used to initialize the variables
|
|
3619 `x-pointer-foreground-color' and `x-pointer-background-color'.
|
|
3620
|
|
3621 `scrollBarWidth' (class `ScrollBarWidth'): integer
|
|
3622 How wide the vertical scrollbars should be, in pixels; 0 means no
|
|
3623 vertical scrollbars. You can also use a resource specification of
|
|
3624 the form `*scrollbar.width', or the usual toolkit scrollbar
|
|
3625 resources: `*XmScrollBar.width' (Motif), `*XlwScrollBar.width'
|
|
3626 (Lucid), or `*Scrollbar.thickness' (Athena). We don't recommend
|
|
3627 that you use the toolkit resources, though, because they're
|
|
3628 dependent on how exactly your particular build of XEmacs was
|
|
3629 configured.
|
|
3630
|
|
3631 `scrollBarHeight' (class `ScrollBarHeight'): integer
|
|
3632 How high the horizontal scrollbars should be, in pixels; 0 means no
|
|
3633 horizontal scrollbars. You can also use a resource specification
|
|
3634 of the form `*scrollbar.height', or the usual toolkit scrollbar
|
|
3635 resources: `*XmScrollBar.height' (Motif), `*XlwScrollBar.height'
|
|
3636 (Lucid), or `*Scrollbar.thickness' (Athena). We don't recommend
|
|
3637 that you use the toolkit resources, though, because they're
|
|
3638 dependent on how exactly your particular build of XEmacs was
|
|
3639 configured.
|
|
3640
|
|
3641 `scrollBarPlacement' (class `ScrollBarPlacement'): string
|
|
3642 Where the horizontal and vertical scrollbars should be positioned.
|
|
3643 This should be one of the four strings `bottom-left',
|
|
3644 `bottom-right', `top-left', and `top-right'. Default is
|
|
3645 `bottom-right' for the Motif and Lucid scrollbars and
|
|
3646 `bottom-left' for the Athena scrollbars.
|
|
3647
|
|
3648 `topToolBarHeight' (class `TopToolBarHeight'): integer
|
|
3649 `bottomToolBarHeight' (class `BottomToolBarHeight'): integer
|
|
3650 `leftToolBarWidth' (class `LeftToolBarWidth'): integer
|
|
3651 `rightToolBarWidth' (class `RightToolBarWidth'): integer
|
|
3652 Height and width of the four possible toolbars.
|
|
3653
|
|
3654 `topToolBarShadowColor' (class `TopToolBarShadowColor'): color-name
|
|
3655 `bottomToolBarShadowColor' (class `BottomToolBarShadowColor'): color-name
|
|
3656 Color of the top and bottom shadows for the toolbars. NOTE: These
|
|
3657 resources do *not* have anything to do with the top and bottom
|
|
3658 toolbars (i.e. the toolbars at the top and bottom of the frame)!
|
|
3659 Rather, they affect the top and bottom shadows around the edges of
|
|
3660 all four kinds of toolbars.
|
|
3661
|
|
3662 `topToolBarShadowPixmap' (class `TopToolBarShadowPixmap'): pixmap-name
|
|
3663 `bottomToolBarShadowPixmap' (class `BottomToolBarShadowPixmap'): pixmap-name
|
|
3664 Pixmap of the top and bottom shadows for the toolbars. If set,
|
|
3665 these resources override the corresponding color resources. NOTE:
|
|
3666 These resources do *not* have anything to do with the top and
|
|
3667 bottom toolbars (i.e. the toolbars at the top and bottom of the
|
|
3668 frame)! Rather, they affect the top and bottom shadows around the
|
|
3669 edges of all four kinds of toolbars.
|
|
3670
|
|
3671 `toolBarShadowThickness' (class `ToolBarShadowThickness'): integer
|
|
3672 Thickness of the shadows around the toolbars, in pixels.
|
|
3673
|
|
3674 `visualBell' (class `VisualBell'): boolean
|
|
3675 Whether XEmacs should flash the screen rather than making an
|
|
3676 audible beep.
|
|
3677
|
|
3678 `bellVolume' (class `BellVolume'): integer
|
|
3679 Volume of the audible beep.
|
|
3680
|
|
3681 `useBackingStore' (class `UseBackingStore'): boolean
|
|
3682 Whether XEmacs should set the backing-store attribute of the X
|
|
3683 windows it creates. This increases the memory usage of the X
|
|
3684 server but decreases the amount of X traffic necessary to update
|
|
3685 the screen, and is useful when the connection to the X server goes
|
|
3686 over a low-bandwidth line such as a modem connection.
|
|
3687
|
|
3688
|
|
3689 **** Face Resources
|
|
3690 -------------------
|
|
3691
|
|
3692 The attributes of faces are also per-frame. They can be specified as:
|
|
3693
|
|
3694 Emacs.FACE_NAME.parameter: value
|
|
3695
|
|
3696 (*do not* use `Emacs*FACE_NAME...')
|
|
3697
|
|
3698 or
|
|
3699
|
|
3700 Emacs*FRAME_NAME.FACE_NAME.parameter: value
|
|
3701
|
|
3702 Faces accept the following resources:
|
|
3703
|
|
3704 `attributeFont' (class `AttributeFont'): font-name
|
|
3705 The font of this face.
|
|
3706
|
|
3707 `attributeForeground' (class `AttributeForeground'): color-name
|
|
3708 `attributeBackground' (class `AttributeBackground'): color-name
|
|
3709 The foreground and background colors of this face.
|
|
3710
|
|
3711 `attributeBackgroundPixmap' (class `AttributeBackgroundPixmap'): file-name
|
|
3712 The name of an XBM file (or XPM file, if your version of Emacs
|
|
3713 supports XPM), to use as a background stipple.
|
|
3714
|
|
3715 `attributeUnderline' (class `AttributeUnderline'): boolean
|
|
3716 Whether text in this face should be underlined.
|
|
3717
|
|
3718 All text is displayed in some face, defaulting to the face named
|
|
3719 `default'. To set the font of normal text, use
|
|
3720 `Emacs*default.attributeFont'. To set it in the frame named `fred', use
|
|
3721 `Emacs*fred.default.attributeFont'.
|
|
3722
|
|
3723 These are the names of the predefined faces:
|
|
3724
|
|
3725 `default'
|
|
3726 Everything inherits from this.
|
|
3727
|
|
3728 `bold'
|
|
3729 If this is not specified in the resource database, Emacs tries to
|
|
3730 find a bold version of the font of the default face.
|
|
3731
|
|
3732 `italic'
|
|
3733 If this is not specified in the resource database, Emacs tries to
|
|
3734 find an italic version of the font of the default face.
|
|
3735
|
|
3736 `bold-italic'
|
|
3737 If this is not specified in the resource database, Emacs tries to
|
|
3738 find a bold-italic version of the font of the default face.
|
|
3739
|
|
3740 `modeline'
|
|
3741 This is the face that the modeline is displayed in. If not
|
|
3742 specified in the resource database, it is determined from the
|
|
3743 default face by reversing the foreground and background colors.
|
|
3744
|
|
3745 `highlight'
|
|
3746 This is the face that highlighted extents (for example, Info
|
|
3747 cross-references and possible completions, when the mouse passes
|
|
3748 over them) are displayed in.
|
|
3749
|
|
3750 `left-margin'
|
|
3751 `right-margin'
|
|
3752 These are the faces that the left and right annotation margins are
|
|
3753 displayed in.
|
|
3754
|
|
3755 `zmacs-region'
|
|
3756 This is the face that mouse selections are displayed in.
|
|
3757
|
|
3758 `text-cursor'
|
|
3759 This is the face that the cursor is displayed in.
|
|
3760
|
|
3761 `isearch'
|
|
3762 This is the face that the matched text being searched for is
|
|
3763 displayed in.
|
|
3764
|
|
3765 `info-node'
|
|
3766 This is the face of info menu items. If unspecified, it is copied
|
|
3767 from `bold-italic'.
|
|
3768
|
|
3769 `info-xref'
|
|
3770 This is the face of info cross-references. If unspecified, it is
|
|
3771 copied from `bold'. (Note that, when the mouse passes over a
|
|
3772 cross-reference, the cross-reference's face is determined from a
|
|
3773 combination of the `info-xref' and `highlight' faces.)
|
|
3774
|
|
3775 Other packages might define their own faces; to see a list of all
|
|
3776 faces, use any of the interactive face-manipulation commands such as
|
|
3777 `set-face-font' and type `?' when you are prompted for the name of a
|
|
3778 face.
|
|
3779
|
|
3780 If the `bold', `italic', and `bold-italic' faces are not specified
|
|
3781 in the resource database, then XEmacs attempts to derive them from the
|
|
3782 font of the default face. It can only succeed at this if you have
|
|
3783 specified the default font using the XLFD (X Logical Font Description)
|
|
3784 format, which looks like
|
|
3785
|
|
3786 *-courier-medium-r-*-*-*-120-*-*-*-*-*-*
|
|
3787
|
|
3788 If you use any of the other, less strict font name formats, some of
|
|
3789 which look like
|
|
3790
|
|
3791 lucidasanstypewriter-12
|
|
3792 fixed
|
|
3793 9x13
|
|
3794
|
|
3795 then XEmacs won't be able to guess the names of the bold and italic
|
|
3796 versions. All X fonts can be referred to via XLFD-style names, so you
|
|
3797 should use those forms. See the man pages for `X(1)', `xlsfonts(1)',
|
|
3798 and `xfontsel(1)'.
|
|
3799
|
|
3800
|
|
3801 **** Widgets
|
|
3802 ------------
|
|
3803
|
|
3804 There are several structural widgets between the terminal EmacsFrame
|
|
3805 widget and the top level ApplicationShell; the exact names and types of
|
|
3806 these widgets change from release to release (for example, they changed
|
|
3807 in 19.9, 19.10, 19.12, and 19.13) and are subject to further change in
|
|
3808 the future, so you should avoid mentioning them in your resource database.
|
|
3809 The above-mentioned syntaxes should be forward-compatible. As of 19.14,
|
|
3810 the exact widget hierarchy is as follows:
|
|
3811
|
|
3812 INVOCATION-NAME "shell" "container" FRAME-NAME
|
|
3813 x-emacs-application-class "TopLevelEmacsShell" "EmacsManager" "EmacsFrame"
|
|
3814
|
|
3815 (for normal frames)
|
|
3816
|
|
3817 or
|
|
3818
|
|
3819 INVOCATION-NAME "shell" "container" FRAME-NAME
|
|
3820 x-emacs-application-class "TransientEmacsShell" "EmacsManager" "EmacsFrame"
|
|
3821
|
|
3822 (for popup/dialog-box frames)
|
|
3823
|
|
3824 where INVOCATION-NAME is the terminal component of the name of the
|
|
3825 XEmacs executable (usually `xemacs'), and `x-emacs-application-class'
|
|
3826 is generally `Emacs'.
|
|
3827
|
|
3828
|
|
3829 **** Menubar Resources
|
|
3830 ----------------------
|
|
3831
|
|
3832 As the menubar is implemented as a widget which is not a part of
|
|
3833 XEmacs proper, it does not use the face mechanism for specifying fonts
|
|
3834 and colors: It uses whatever resources are appropriate to the type of
|
|
3835 widget which is used to implement it.
|
|
3836
|
|
3837 If Emacs was compiled to use only the Motif-lookalike menu widgets,
|
|
3838 then one way to specify the font of the menubar would be
|
|
3839
|
|
3840 Emacs*menubar*font: *-courier-medium-r-*-*-*-120-*-*-*-*-*-*
|
|
3841
|
|
3842 If the Motif library is being used, then one would have to use
|
|
3843
|
|
3844 Emacs*menubar*fontList: *-courier-medium-r-*-*-*-120-*-*-*-*-*-*
|
|
3845
|
|
3846 because the Motif library uses the `fontList' resource name instead
|
|
3847 of `font', which has subtly different semantics.
|
|
3848
|
|
3849 The same is true of the scrollbars: They accept whichever resources
|
|
3850 are appropriate for the toolkit in use.
|
|
3851
|
|
3852
|
|
3853 *** Source Code Highlighting
|
|
3854 ----------------------------
|
|
3855
|
|
3856 It's possible to have your buffers "decorated" with fonts or colors
|
|
3857 indicating syntactic structures (such as strings, comments, function names,
|
|
3858 "reserved words", etc.). In XEmacs, the preferred way to do this is with
|
|
3859 font-lock-mode; activate it by adding the following code to your .emacs file:
|
|
3860
|
|
3861 (add-hook 'emacs-lisp-mode-hook 'turn-on-font-lock)
|
|
3862 (add-hook 'c-mode-hook 'turn-on-font-lock)
|
|
3863 (add-hook 'c++-mode-hook 'turn-on-font-lock)
|
|
3864 (add-hook 'dired-mode-hook 'turn-on-font-lock)
|
|
3865 ...etc...
|
|
3866
|
|
3867 To customize it, see the descriptions of the function `font-lock-mode' and
|
|
3868 the variables `font-lock-keywords', `c-font-lock-keywords', etc.
|
|
3869
|
|
3870 There exist several other source code highlighting packages, but font-lock
|
|
3871 does one thing that most others don't do: highlights as you type new text;
|
|
3872 and one thing that no others do: bases part of its decoration on the
|
|
3873 syntax table of the major mode. Font-lock has C-level support to do this
|
|
3874 efficiently, so it should also be significantly faster than the others.
|
|
3875
|
|
3876 If there's something that another highlighting package does that you can't
|
|
3877 make font-lock do, let us know. We would prefer to consolidate all of the
|
|
3878 desired functionality into one package rather than ship several different
|
|
3879 packages which do essentially the same thing in different ways.
|
|
3880
|
|
3881
|
|
3882 ** Differences Between XEmacs and Emacs 18
|
|
3883 ==========================================
|
|
3884
|
|
3885 Auto-configure support has been added, so it should be fairly easy to compile
|
|
3886 XEmacs on different systems. If you have any problems or feedback about
|
|
3887 compiling on your system, please let us know.
|
|
3888
|
|
3889 We have reimplemented the basic input model in a more general way; instead of
|
|
3890 X input being a special-case of the normal ASCII input stream, XEmacs has a
|
|
3891 concept of "input events", and ASCII characters are a subset of that. The
|
|
3892 events that XEmacs knows about are not X events, but are a generalization of
|
|
3893 them, so that XEmacs can eventually be ported to different window systems.
|
|
3894
|
|
3895 We have reimplemented keymaps so that sequences of events can be stored into
|
|
3896 them instead of just ASCII codes; it is possible to, for example, bind
|
|
3897 different commands to each of the chords Control-h, Control-H, Backspace,
|
|
3898 Control-Backspace, and Super-Shift-Backspace. Key bindings, function key
|
|
3899 bindings, and mouse bindings live in the same keymaps.
|
|
3900
|
|
3901 Input and display of all ISO-8859-1 characters is supported.
|
|
3902
|
|
3903 You can have multiple X windows ("frames" in XEmacs terminology).
|
|
3904
|
|
3905 XEmacs has objects called "extents" and "faces", which are roughly
|
|
3906 analogous to Epoch's "buttons," "zones," and "styles." An extent is a
|
|
3907 region of text (a start position and an end position) and a face is a
|
|
3908 collection of textual attributes like fonts and colors. Every extent
|
|
3909 is displayed in some "face", so changing the properties of a face
|
|
3910 immediately updates the display of all associated extents. Faces can
|
|
3911 be frame-local: you can have a region of text which displays with
|
|
3912 completely different attributes when its buffer is viewed from a
|
|
3913 different X window.
|
|
3914
|
|
3915 The display attributes of faces may be specified either in lisp or through
|
|
3916 the X resource manager.
|
|
3917
|
|
3918 Pixmaps of arbitrary size can be embedded in a buffer.
|
|
3919
|
|
3920 Variable width fonts work.
|
|
3921
|
|
3922 The height of a line is the height of the tallest font on that line, instead
|
|
3923 of all lines having the same height.
|
|
3924
|
|
3925 XEmacs uses the MIT "Xt" toolkit instead of raw Xlib calls, which
|
|
3926 makes it be a more well-behaved X citizen (and also improves
|
|
3927 portability). A result of this is that it is possible to include
|
|
3928 other Xt "Widgets" in the XEmacs window. Also, XEmacs understands the
|
|
3929 standard Xt command-line arguments.
|
|
3930
|
|
3931 XEmacs understands the X11 "Selection" mechanism; it's possible to define
|
|
3932 and customize selection converter functions and new selection types from
|
|
3933 Emacs Lisp, without having to recompile XEmacs.
|
|
3934
|
|
3935 XEmacs provides support for ToolTalk on systems that have it.
|
|
3936
|
|
3937 XEmacs supports the Zmacs/Lispm style of region highlighting, where the
|
|
3938 region between the point and mark is highlighted when in its "active" state.
|
|
3939
|
|
3940 XEmacs has a menubar, whose contents are customizable from emacs-lisp.
|
|
3941 This menubar looks Motif-ish, but does not require Motif. If you already
|
|
3942 own Motif, however, you can configure XEmacs to use a *real* Motif menubar
|
|
3943 instead.
|
|
3944
|
|
3945 XEmacs can ask questions using popup dialog boxes. Any command executed from
|
|
3946 a menu will ask yes/no questions with dialog boxes, while commands executed
|
|
3947 via the keyboard will use the minibuffer.
|
|
3948
|
|
3949 XEmacs has vertical and horizontal scrollbars.
|
|
3950
|
|
3951 The initial load-path is computed at run-time, instead of at compile-time.
|
|
3952 This means that if you move the XEmacs executable and associated directories
|
|
3953 to somewhere else, you don't have to recompile anything.
|
|
3954
|
|
3955 You can specify what the title of the XEmacs windows and icons should be
|
|
3956 with the variables `frame-title-format' and `frame-icon-title-format',
|
|
3957 which have the same syntax as `mode-line-format'.
|
|
3958
|
|
3959 XEmacs now supports floating-point numbers.
|
|
3960
|
|
3961 XEmacs now knows about timers directly, instead of them being simulated by
|
|
3962 a subprocess.
|
|
3963
|
|
3964 XEmacs understands truenames, and can be configured to notice when you are
|
|
3965 visiting two names of the same file. See the variables find-file-use-truenames
|
|
3966 and find-file-compare-truenames.
|
|
3967
|
|
3968 If you're running on a machine with audio hardware, you can specify sound
|
|
3969 files for XEmacs to play instead of the default X beep. See the documentation
|
|
3970 of the function load-sound-file and the variable sound-alist.
|
|
3971
|
|
3972 An XEmacs frame can be placed within an "external client widget" managed by
|
|
3973 another application. This allows an application to use an XEmacs frame as its
|
|
3974 text pane rather than the standard Text widget that is provided with Motif or
|
|
3975 Athena. XEmacs supports Motif applications, generic Xt (e.g. Athena)
|
|
3976 applications, and raw Xlib applications.
|
|
3977
|
|
3978 Random changes to the emacs-lisp library: (some of this was not written by
|
|
3979 us, but is included because it's free software and we think it's good stuff)
|
|
3980
|
|
3981 - there is a new optimizing byte-compiler
|
|
3982 - there is a new abbrev-based mail-alias mechanism
|
|
3983 - the -*- line can contain local-variable settings
|
|
3984 - there is a new TAGS package
|
|
3985 - there is a new VI-emulation mode (viper)
|
|
3986 - there is a new implementation of Dired
|
|
3987 - there is a new implementation of Isearch
|
|
3988 - the VM package for reading mail is provided
|
|
3989 - the W3 package for browsing the World Wide Web hypertext information
|
|
3990 system is provided
|
|
3991 - the Hyperbole package, a programmable information management and
|
|
3992 hypertext system
|
|
3993 - the OO-Browser package, a multi-language object-oriented browser
|
|
3994
|
|
3995 There are many more specifics in the "Miscellaneous Changes" section, below.
|
|
3996
|
|
3997 The online Emacs Manual and Emacs-Lisp Manual are now both relatively
|
|
3998 up-to-date.
|