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