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