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