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