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