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