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