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