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