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