annotate etc/NEWS @ 367:a4f53d9b3154 r21-1-13

Import from CVS: tag r21-1-13
author cvs
date Mon, 13 Aug 2007 11:01:07 +0200
parents 7c94d56991e1
children cc15677e0335
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
126
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1 -*- mode:outline -*-
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
2
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3 * Introduction
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4 ==============
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
5
223
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
6 This file presents some general information about XEmacs. It is
276
6330739388db Import from CVS: tag r21-0b36
cvs
parents: 274
diff changeset
7 primarily about the changes in recent XEmacs versions and its release
6330739388db Import from CVS: tag r21-0b36
cvs
parents: 274
diff changeset
8 history.
223
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
9
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
10 Use `C-c C-f' to move to the next equal level of outline, and
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
11 `C-c C-b' to move to previous equal level. `C-h m' will give more
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
12 info about the Outline mode. Many commands are also available through
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
13 the menubar.
126
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
14
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
15 Users who would like to know which capabilities have been introduced
223
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
16 in each release should look at the appropriate section of this file.
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
17 Starting with version 20.0, XEmacs includes ChangeLogs, which can be
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
18 consulted for a more detailed list of changes.
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
19
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
20 Users interested in some of the details of how XEmacs differs from GNU
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
21 Emacs should read the section "What's Different?" near the end of this
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
22 file.
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
23
225
12579d965149 Import from CVS: tag r20-4b11
cvs
parents: 223
diff changeset
24 N.B. The term "GNU Emacs" refers to any release of Emacs Version
12579d965149 Import from CVS: tag r20-4b11
cvs
parents: 223
diff changeset
25 19 from the Free Software Foundation's GNU Project. (We do not
12579d965149 Import from CVS: tag r20-4b11
cvs
parents: 223
diff changeset
26 say just "Emacs" as Richard M. Stallman ["RMS"] prefers, because
12579d965149 Import from CVS: tag r20-4b11
cvs
parents: 223
diff changeset
27 it is clearly a more generic term.) The term "XEmacs" refers to
223
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
28 this program or to its predecessors "Era" and "Lucid Emacs". The
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
29 predecessor of all these program is called "Emacs 18". When no
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
30 particular version is implied, "Emacs" will be used.
126
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
31
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
32
274
ca9a9ec9c1c1 Import from CVS: tag r21-0b35
cvs
parents: 259
diff changeset
33 * Changes in XEmacs 21.0
209
41ff10fd062f Import from CVS: tag r20-4b3
cvs
parents: 207
diff changeset
34 ========================
41ff10fd062f Import from CVS: tag r20-4b3
cvs
parents: 207
diff changeset
35
219
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents: 215
diff changeset
36 ** XEmacs has been unbundled into constituent installable packages.
298
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
37 See the Info documentation under "Packages" for more information.
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
38 See the file `etc/PACKAGES' in the distribution for a partial list of
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
39 packages available at the time of the 21.0 release.
219
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents: 215
diff changeset
40
314
341dac730539 Import from CVS: tag r21-0b55
cvs
parents: 308
diff changeset
41 IMPORTANT NOTE: XEmacs currently expects the user-specific package
341dac730539 Import from CVS: tag r21-0b55
cvs
parents: 308
diff changeset
42 hierarchy in ~/.xemacs. This will probably change to
341dac730539 Import from CVS: tag r21-0b55
cvs
parents: 308
diff changeset
43 ~/.xemacs/packages in a future version of XEmacs.
341dac730539 Import from CVS: tag r21-0b55
cvs
parents: 308
diff changeset
44
290
c9fe270a4101 Import from CVS: tag r21-0b43
cvs
parents: 286
diff changeset
45 ** XEmacs is now supported under Microsoft Windows 95/98 and Windows
c9fe270a4101 Import from CVS: tag r21-0b43
cvs
parents: 286
diff changeset
46 NT operating systems. For starters, look at the XEmacs on Windows FAQ
294
4b85ae5eabfb Import from CVS: tag r21-0b45
cvs
parents: 292
diff changeset
47 at <URL:http://jagor.srce.hr/~hniksic/xemacs-on-windows-faq.txt>. To
290
c9fe270a4101 Import from CVS: tag r21-0b43
cvs
parents: 286
diff changeset
48 discuss Windows-specific issues, subscribe to the mailing list at
c9fe270a4101 Import from CVS: tag r21-0b43
cvs
parents: 286
diff changeset
49 <xemacs-nt-request@xemacs.org>.
c9fe270a4101 Import from CVS: tag r21-0b43
cvs
parents: 286
diff changeset
50
c9fe270a4101 Import from CVS: tag r21-0b43
cvs
parents: 286
diff changeset
51 ** XEmacs will now use `XEmacs' as its application class if it finds
c9fe270a4101 Import from CVS: tag r21-0b43
cvs
parents: 286
diff changeset
52 any `XEmacs' resources in the resource database. Otherwise, it will
c9fe270a4101 Import from CVS: tag r21-0b43
cvs
parents: 286
diff changeset
53 continue to use the `Emacs' class.
c9fe270a4101 Import from CVS: tag r21-0b43
cvs
parents: 286
diff changeset
54
294
4b85ae5eabfb Import from CVS: tag r21-0b45
cvs
parents: 292
diff changeset
55 ** The options menu has been ported to Custom.
4b85ae5eabfb Import from CVS: tag r21-0b45
cvs
parents: 292
diff changeset
56 This means that each entry in the options menu acts as if you had customized
4b85ae5eabfb Import from CVS: tag r21-0b45
cvs
parents: 292
diff changeset
57 the corresponding variable by hand. ### WARNING: there is currently no
4b85ae5eabfb Import from CVS: tag r21-0b45
cvs
parents: 292
diff changeset
58 upgrading function to help you port your old options settings to the new
4b85ae5eabfb Import from CVS: tag r21-0b45
cvs
parents: 292
diff changeset
59 format. Consequently, if you want to modify the options for XEmacs 21, you
4b85ae5eabfb Import from CVS: tag r21-0b45
cvs
parents: 292
diff changeset
60 will have to set them all again through the menu, and remove the code loading
4b85ae5eabfb Import from CVS: tag r21-0b45
cvs
parents: 292
diff changeset
61 .xemacs-options from your .emacs.
4b85ae5eabfb Import from CVS: tag r21-0b45
cvs
parents: 292
diff changeset
62
278
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
63 ** When the Zmacs region is active, `M-x query-replace' and the other
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
64 replace commands now operate on the region contents only.
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
65
339
336b97f03633 Import from CVS: tag r21-0-67
cvs
parents: 337
diff changeset
66 ** XEmacs now is able to choose X visuals and use private colormaps.
336b97f03633 Import from CVS: tag r21-0-67
cvs
parents: 337
diff changeset
67 The '-visual <visualStr>' command line option or the '.EmacsVisual'
336b97f03633 Import from CVS: tag r21-0-67
cvs
parents: 337
diff changeset
68 Xresource controls which visual XEmacs will use, and
336b97f03633 Import from CVS: tag r21-0-67
cvs
parents: 337
diff changeset
69 '-privateColormap' or '.privateColormap' will force XEmacs to create a
336b97f03633 Import from CVS: tag r21-0-67
cvs
parents: 337
diff changeset
70 private colormap for use. The syntax for the visual string is
336b97f03633 Import from CVS: tag r21-0-67
cvs
parents: 337
diff changeset
71 "<visual><bitdepth>" where <visual> is one of 'StaticColor',
336b97f03633 Import from CVS: tag r21-0-67
cvs
parents: 337
diff changeset
72 'TrueColor', 'GrayScale', 'PseudoColor' or 'DirectColor' and
336b97f03633 Import from CVS: tag r21-0-67
cvs
parents: 337
diff changeset
73 <bitdepth> is the appropriate number of bits per pixel. If an invalid
336b97f03633 Import from CVS: tag r21-0-67
cvs
parents: 337
diff changeset
74 or non-supported combination is entered, XEmacs attempts to find a happy
336b97f03633 Import from CVS: tag r21-0-67
cvs
parents: 337
diff changeset
75 medium. The X creation mechanism will then determine if it needs to
336b97f03633 Import from CVS: tag r21-0-67
cvs
parents: 337
diff changeset
76 create a colormap for use, or the presence of the private flags will
336b97f03633 Import from CVS: tag r21-0-67
cvs
parents: 337
diff changeset
77 force it to create it.
223
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
78
284
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
79 ** The `imenu' package has been ported to XEmacs and is available as a
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
80 package.
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
81
219
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents: 215
diff changeset
82 ** `echo-keystrokes' can now be a floating-point number, so that you
276
6330739388db Import from CVS: tag r21-0b36
cvs
parents: 274
diff changeset
83 can set it to intervals shorter than one second.
219
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents: 215
diff changeset
84
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents: 215
diff changeset
85 (setq echo-keystrokes 0.1)
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents: 215
diff changeset
86
280
7df0dd720c89 Import from CVS: tag r21-0b38
cvs
parents: 278
diff changeset
87 ** The new command `center-to-window-line' works like `recenter'
7df0dd720c89 Import from CVS: tag r21-0b38
cvs
parents: 278
diff changeset
88 (bound to `C-l'), only it does not redisplay the whole display area.
7df0dd720c89 Import from CVS: tag r21-0b38
cvs
parents: 278
diff changeset
89
284
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
90 ** The M-. command will now first search through exact tags matches,
219
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents: 215
diff changeset
91 and then through inexact matches, as one would expect.
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents: 215
diff changeset
92
223
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
93 ** The new variable `user-full-name' can be used to customize one's
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
94 name when using the Emacs mail and news reading facilities.
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
95
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
96 Normally, `user-full-name' is a function that returns the full name of
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
97 a user or UID, as specified by the system -- for instance,
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
98 (user-full-name "root") returns something like "Super-User". However,
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
99 when the function is called without arguments, it will return the
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
100 value of the `user-full-name' variable. The `user-full-name' variable
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
101 is initialized using the environment variable NAME and (failing that)
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
102 the user's system name.
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
103
367
a4f53d9b3154 Import from CVS: tag r21-1-13
cvs
parents: 347
diff changeset
104 The behavior of the `user-full-name' function with an argument
225
12579d965149 Import from CVS: tag r20-4b11
cvs
parents: 223
diff changeset
105 specified is unchanged.
223
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
106
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
107 ** The new command `M-x customize-changed-options' lets you customize
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
108 all the options whose default values have changed in recent Emacs
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
109 versions. You specify a previous Emacs version number as argument,
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
110 and the command creates a customization buffer showing all the
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
111 customizable options whose default values were changed since that
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
112 version.
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
113
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
114 If you don't specify a particular version number argument, then the
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
115 customization buffer shows all the customizable options for which
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
116 Emacs versions of changes are recorded.
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
117
249
83b3d10dcba9 Import from CVS: tag r20-5b23
cvs
parents: 243
diff changeset
118 ** The new command `add-log-convert' can be used to convert the
83b3d10dcba9 Import from CVS: tag r20-5b23
cvs
parents: 243
diff changeset
119 old-style (pre-20.3) ChangeLog buffers to new style, for
83b3d10dcba9 Import from CVS: tag r20-5b23
cvs
parents: 243
diff changeset
120 consistency. A reminder: if you wish to revert to old-style
83b3d10dcba9 Import from CVS: tag r20-5b23
cvs
parents: 243
diff changeset
121 ChangeLogs instead, customize the value of `add-log-time-format'
83b3d10dcba9 Import from CVS: tag r20-5b23
cvs
parents: 243
diff changeset
122 variable.
83b3d10dcba9 Import from CVS: tag r20-5b23
cvs
parents: 243
diff changeset
123
284
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
124 ** The new command `zap-up-to-char' is now available. It is similar
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
125 to `zap-to-char', except that it does not delete the searched-for
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
126 character. It is not bound to a key by default.
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
127
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
128 ** You can now store a number into a register with `C-u NUMBER C-x r n'
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
129 REG, increment it by INC with `C-u INC C-x r + REG' (to increment by
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
130 one, omit C-u INC), and insert it in the buffer with `C-x r g REG'.
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
131 This is useful for writing keyboard macros.
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
132
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
133 ** The M-: command, when given a prefix argument, will now insert its
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
134 result to the current buffer.
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
135
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
136 ** The `C-h c' command, when given a prefix argument, will now insert
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
137 the message into the current buffer.
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
138
298
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
139 ** Horizontally split windows may now be dragged using the mouse.
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
140 Because of this, the dividers between vertical windows are always
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
141 visible. To turn it off, set `vertical-divider-always-visible-p' to
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
142 nil.
286
57709be46d1b Import from CVS: tag r21-0b41
cvs
parents: 284
diff changeset
143
223
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
144 ** XEmacs/Mule (internationalization) changes.
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
145
284
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
146 *** Mule support now works on TTY's. Use `set-terminal-coding-system'
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
147 and `set-keyboard-coding-system' to specify the coding system of your
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
148 display and keyboard.
274
ca9a9ec9c1c1 Import from CVS: tag r21-0b35
cvs
parents: 259
diff changeset
149
225
12579d965149 Import from CVS: tag r20-4b11
cvs
parents: 223
diff changeset
150 *** Egg/SJ3 input method is now officially supported. Quail and
12579d965149 Import from CVS: tag r20-4b11
cvs
parents: 223
diff changeset
151 Egg/Skk have been available through the generalized Leim since 20.3.
223
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
152
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
153 *** Localized Japanese menubars are available if XEmacs is built with
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
154 XFONTSET and either the X11 libraries are built with X_LOCALE defined
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
155 or the native C libraries support Japanese localization. This has
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
156 been available since 20.3, only it hasn't been announced before.
219
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents: 215
diff changeset
157
290
c9fe270a4101 Import from CVS: tag r21-0b43
cvs
parents: 286
diff changeset
158 ** Jamie Zawinski's `gdb-highlight' extension is now distributed with
284
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
159 the `debug' package. gdb-highlight makes most objects printed in a
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
160 gdb buffer be mouse-sensitive: as text shows up in the buffer, it is
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
161 parsed, and objects which are recognized have context-sensitive
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
162 commands attached to them. To use it, add the following to `.emacs':
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
163
286
57709be46d1b Import from CVS: tag r21-0b41
cvs
parents: 284
diff changeset
164 (add-hook 'gdb-mode-hook (lambda () (require 'gdb-highlight)))
284
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
165
290
c9fe270a4101 Import from CVS: tag r21-0b43
cvs
parents: 286
diff changeset
166 ** The package popper.el is now included in the edit-utils package.
c9fe270a4101 Import from CVS: tag r21-0b43
cvs
parents: 286
diff changeset
167 It has been greatly enhanced with respect to the one once included
c9fe270a4101 Import from CVS: tag r21-0b43
cvs
parents: 286
diff changeset
168 with the ilisp package and should work well under XEmacs 21.0.
c9fe270a4101 Import from CVS: tag r21-0b43
cvs
parents: 286
diff changeset
169
337
fbbf69b4e8a7 Import from CVS: tag r21-0-66
cvs
parents: 327
diff changeset
170 ** Gnuserv changes
fbbf69b4e8a7 Import from CVS: tag r21-0-66
cvs
parents: 327
diff changeset
171
fbbf69b4e8a7 Import from CVS: tag r21-0-66
cvs
parents: 327
diff changeset
172 *** Like the old 'gnudoit' program. Gnuclient -batch now can read from stdin.
fbbf69b4e8a7 Import from CVS: tag r21-0-66
cvs
parents: 327
diff changeset
173
339
336b97f03633 Import from CVS: tag r21-0-67
cvs
parents: 337
diff changeset
174 *** Gnuclient -batch no longer breaks off the output at the first LF.
337
fbbf69b4e8a7 Import from CVS: tag r21-0-66
cvs
parents: 327
diff changeset
175
278
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
176 ** C mode changes
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
177
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
178 *** Multiline macros are now handled, both as they affect indentation,
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
179 and as recognized syntax. New syntactic symbol cpp-macro-cont is
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
180 assigned to second and subsequent lines of a multiline macro
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
181 definition.
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
182
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
183 *** A new style "user" which captures all non-hook-ified
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
184 (i.e. top-level) .emacs file variable setings and customizations.
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
185 Style "cc-mode" is an alias for "user" and is deprecated. "gnu" style
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
186 is still the default however.
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
187
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
188 *** "java" style now conforms to Sun's JDK coding style.
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
189
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
190 *** There are new commands c-beginning-of-defun, c-end-of-defun which
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
191 are alternatives which you could bind to C-M-a and C-M-e if you prefer
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
192 them. They do not have key bindings by default.
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
193
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
194 *** New and improved implementations of M-a (c-beginning-of-statement)
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
195 and M-e (c-end-of-statement).
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
196
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
197 *** C++ namespace blocks are supported, with new syntactic symbols
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
198 namespace-open, namespace-close, and innamespace.
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
199
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
200 *** File local variable settings of c-file-style and c-file-offsets
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
201 makes the style variables local to that buffer only.
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
202
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
203 *** New indentation functions c-lineup-close-paren,
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
204 c-indent-one-line-block, c-lineup-dont-change.
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
205
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
206 *** Improvements (hopefully!) to the way CC Mode is loaded. You
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
207 should now be able to do a (require 'cc-mode) to get the entire
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
208 package loaded properly for customization in your .emacs file. A new
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
209 variable c-initialize-on-load controls this and is t by default.
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
210
251
677f6a0ee643 Import from CVS: tag r20-5b24
cvs
parents: 249
diff changeset
211 ** In Text mode, now only blank lines separate paragraphs.
677f6a0ee643 Import from CVS: tag r20-5b24
cvs
parents: 249
diff changeset
212 This makes it possible to get the full benefit of Adaptive Fill mode
677f6a0ee643 Import from CVS: tag r20-5b24
cvs
parents: 249
diff changeset
213 in Text mode, and other modes derived from it (such as Mail mode).
278
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
214 TAB in Text mode now runs the command indent-relative; this makes a
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
215 practical difference only when you use indented paragraphs.
251
677f6a0ee643 Import from CVS: tag r20-5b24
cvs
parents: 249
diff changeset
216
677f6a0ee643 Import from CVS: tag r20-5b24
cvs
parents: 249
diff changeset
217 As a result, the old Indented Text mode is now identical to Text mode,
677f6a0ee643 Import from CVS: tag r20-5b24
cvs
parents: 249
diff changeset
218 and is an alias for it.
677f6a0ee643 Import from CVS: tag r20-5b24
cvs
parents: 249
diff changeset
219
677f6a0ee643 Import from CVS: tag r20-5b24
cvs
parents: 249
diff changeset
220 If you want spaces at the beginning of a line to start a paragraph,
677f6a0ee643 Import from CVS: tag r20-5b24
cvs
parents: 249
diff changeset
221 use the new mode, Paragraph Indent Text mode.
677f6a0ee643 Import from CVS: tag r20-5b24
cvs
parents: 249
diff changeset
222
298
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
223 ** Changes to Gnus, the XEmacs newsreader.
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
224
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
225 *** New functionality for using Gnus as an offline newsreader has been
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
226 added. A plethora of new commands and modes have been added. See the
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
227 Gnus manual for the full story.
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
228
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
229 *** The nndraft backend has returned, but works differently than
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
230 before. All Message buffers are now also articles in the nndraft
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
231 group, which is created automatically.
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
232
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
233 *** `gnus-alter-header-function' can now be used to alter header
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
234 values.
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
235
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
236 *** `gnus-summary-goto-article' now accept Message-ID's.
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
237
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
238 *** A new Message command for deleting text in the body of a message
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
239 outside the region: `C-c C-v'.
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
240
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
241 *** You can now post to component group in nnvirtual groups with
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
242 `C-u C-c C-c'.
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
243
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
244 *** `nntp-rlogin-program' -- new variable to ease customization.
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
245
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
246 *** `C-u C-c C-c' in `gnus-article-edit-mode' will now inhibit
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
247 re-highlighting of the article buffer.
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
248
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
249 *** New element in `gnus-boring-article-headers' -- `long-to'.
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
250
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
251 *** `M-i' symbolic prefix command. See the section "Symbolic
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
252 Prefixes" in the Gnus manual for details.
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
253
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
254 *** `L' and `I' in the summary buffer now take the symbolic prefix
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
255 `a' to add the score rule to the "all.SCORE" file.
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
256
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
257 *** `gnus-simplify-subject-functions' variable to allow greater
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
258 control over simplification.
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
259
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
260 *** `A T' -- new command for fetching the current thread.
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
261
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
262 *** `/ T' -- new command for including the current thread in the
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
263 limit.
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
264
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
265 *** `M-RET' is a new Message command for breaking cited text.
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
266
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
267 *** \\1-expressions are now valid in `nnmail-split-methods'.
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
268
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
269 *** The `custom-face-lookup' function has been removed.
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
270 If you used this function in your initialization files, you must
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
271 rewrite them to use `face-spec-set' instead.
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
272
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
273 *** Cancelling now uses the current select method. Symbolic prefix
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
274 `a' forces normal posting method.
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
275
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
276 *** New command to translate M******** sm*rtq**t*s into proper text
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
277 -- `W d'.
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
278
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
279 *** For easier debugging of nntp, you can set `nntp-record-commands'
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
280 to a non-nil value.
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
281
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
282 *** nntp now uses ~/.authinfo, a .netrc-like file, for controlling
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
283 where and how to send AUTHINFO to NNTP servers.
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
284
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
285 *** A command for editing group parameters from the summary buffer
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
286 has been added.
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
287
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
288 *** A history of where mails have been split is available.
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
289
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
290 *** A new article date command has been added -- `article-date-iso8601'.
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
291
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
292 *** Subjects can be simplified when threading by setting
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
293 `gnus-score-thread-simplify'.
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
294
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
295 *** A new function for citing in Message has been added --
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
296 `message-cite-original-without-signature'.
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
297
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
298 *** `article-strip-all-blank-lines' -- new article command.
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
299
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
300 *** A new Message command to kill to the end of the article has
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
301 been added.
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
302
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
303 *** A minimum adaptive score can be specified by using the
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
304 `gnus-adaptive-word-minimum' variable.
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
305
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
306 *** The "lapsed date" article header can be kept continually
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
307 updated by the `gnus-start-date-timer' command.
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
308
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
309 *** Web listserv archives can be read with the nnlistserv backend.
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
310
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
311 *** Old dejanews archives can now be read by nnweb.
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
312
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
313 *** Byte-compilation of user-specs now works under XEmacs.
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
314
290
c9fe270a4101 Import from CVS: tag r21-0b43
cvs
parents: 286
diff changeset
315 ** The `dir' files are no longer essential for functioning of the Info
c9fe270a4101 Import from CVS: tag r21-0b43
cvs
parents: 286
diff changeset
316 subsystem. If the `dir' file does not exist in an Info directory, the
c9fe270a4101 Import from CVS: tag r21-0b43
cvs
parents: 286
diff changeset
317 relevant information will be generated on-the-fly.
278
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
318
367
a4f53d9b3154 Import from CVS: tag r21-1-13
cvs
parents: 347
diff changeset
319 This behavior can be customized, look for `Info-auto-generate-directory'
292
6cb5e14cd98e Import from CVS: tag r21-0b44
cvs
parents: 290
diff changeset
320 and `Info-save-auto-generated-dir' in the `info' customization group.
278
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
321
304
c6de09ad3017 Import from CVS: tag r21-0b50
cvs
parents: 298
diff changeset
322 ** Version Control is no longer automatically loaded. Users must
c6de09ad3017 Import from CVS: tag r21-0b50
cvs
parents: 298
diff changeset
323 add:
c6de09ad3017 Import from CVS: tag r21-0b50
cvs
parents: 298
diff changeset
324
c6de09ad3017 Import from CVS: tag r21-0b50
cvs
parents: 298
diff changeset
325 (require 'vc-hooks)
c6de09ad3017 Import from CVS: tag r21-0b50
cvs
parents: 298
diff changeset
326
c6de09ad3017 Import from CVS: tag r21-0b50
cvs
parents: 298
diff changeset
327 to their .emacs file to get version control functionality.
c6de09ad3017 Import from CVS: tag r21-0b50
cvs
parents: 298
diff changeset
328
308
33bdb3d4b97f Import from CVS: tag r21-0b52
cvs
parents: 306
diff changeset
329 ** The EDiff menus are no longer included in the default menubar.
33bdb3d4b97f Import from CVS: tag r21-0b52
cvs
parents: 306
diff changeset
330 Users must add:
33bdb3d4b97f Import from CVS: tag r21-0b52
cvs
parents: 306
diff changeset
331
33bdb3d4b97f Import from CVS: tag r21-0b52
cvs
parents: 306
diff changeset
332 (require 'ediff-hook)
33bdb3d4b97f Import from CVS: tag r21-0b52
cvs
parents: 306
diff changeset
333
33bdb3d4b97f Import from CVS: tag r21-0b52
cvs
parents: 306
diff changeset
334 to their .emacs file to get the menus.
33bdb3d4b97f Import from CVS: tag r21-0b52
cvs
parents: 306
diff changeset
335
306
9ea74add5d37 Import from CVS: tag r21-0b51
cvs
parents: 304
diff changeset
336 ** An experimental version of dynamic linking is supported.
9ea74add5d37 Import from CVS: tag r21-0b51
cvs
parents: 304
diff changeset
337
9ea74add5d37 Import from CVS: tag r21-0b51
cvs
parents: 304
diff changeset
338 There is no documentation and we are making no guarantees about what
9ea74add5d37 Import from CVS: tag r21-0b51
cvs
parents: 304
diff changeset
339 might change in the future with the "C" level API. Examples of how to
9ea74add5d37 Import from CVS: tag r21-0b51
cvs
parents: 304
diff changeset
340 make DLLs are in the modules subdirectory of the XEmacs source
9ea74add5d37 Import from CVS: tag r21-0b51
cvs
parents: 304
diff changeset
341 distribution.
9ea74add5d37 Import from CVS: tag r21-0b51
cvs
parents: 304
diff changeset
342
9ea74add5d37 Import from CVS: tag r21-0b51
cvs
parents: 304
diff changeset
343 Please note that XEmacs is a GPL'ed program and there are restrictions
314
341dac730539 Import from CVS: tag r21-0b55
cvs
parents: 308
diff changeset
344 on what kinds of binaries that can be linked with it. In particular,
306
9ea74add5d37 Import from CVS: tag r21-0b51
cvs
parents: 304
diff changeset
345 proprietary DLLs without source cannot be distributed. See the file
314
341dac730539 Import from CVS: tag r21-0b55
cvs
parents: 308
diff changeset
346 COPYING for more details.
219
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents: 215
diff changeset
347
274
ca9a9ec9c1c1 Import from CVS: tag r21-0b35
cvs
parents: 259
diff changeset
348 * Lisp and internal changes in XEmacs 21.0
219
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents: 215
diff changeset
349 ==========================================
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents: 215
diff changeset
350
314
341dac730539 Import from CVS: tag r21-0b55
cvs
parents: 308
diff changeset
351 ** There is a new configure option '--with-clash-detection' to
341dac730539 Import from CVS: tag r21-0b55
cvs
parents: 308
diff changeset
352 enable/disable 'lockdir' based clash detection. (Actually, it has
341dac730539 Import from CVS: tag r21-0b55
cvs
parents: 308
diff changeset
353 been there since 20.4, but was not documented then). The
341dac730539 Import from CVS: tag r21-0b55
cvs
parents: 308
diff changeset
354 implementation based on a central locking directory can cause
341dac730539 Import from CVS: tag r21-0b55
cvs
parents: 308
diff changeset
355 severe slowdowns on networked file systems. Therefore the default
341dac730539 Import from CVS: tag r21-0b55
cvs
parents: 308
diff changeset
356 has been changed to build with clash detection disabled, pending
341dac730539 Import from CVS: tag r21-0b55
cvs
parents: 308
diff changeset
357 reimplementation of the feature (most likely compatible with the
341dac730539 Import from CVS: tag r21-0b55
cvs
parents: 308
diff changeset
358 new implementation in recent FSF verions and Interleaf) in an
341dac730539 Import from CVS: tag r21-0b55
cvs
parents: 308
diff changeset
359 upcoming version.
341dac730539 Import from CVS: tag r21-0b55
cvs
parents: 308
diff changeset
360
274
ca9a9ec9c1c1 Import from CVS: tag r21-0b35
cvs
parents: 259
diff changeset
361 ** It is now possible to build XEmacs with support for 31-bit Lisp
ca9a9ec9c1c1 Import from CVS: tag r21-0b35
cvs
parents: 259
diff changeset
362 integers (normally, Lisp integers are only 28 bits wide on 32-bit
ca9a9ec9c1c1 Import from CVS: tag r21-0b35
cvs
parents: 259
diff changeset
363 machines.) Configure with --use-minimal-tagbits to test. With this
284
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
364 change, the maximum buffer size on 32-bit machines is increased from
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
365 128M to 1G. This setting will be made default in a future XEmacs
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
366 version.
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
367
286
57709be46d1b Import from CVS: tag r21-0b41
cvs
parents: 284
diff changeset
368 ** Specifier changes.
57709be46d1b Import from CVS: tag r21-0b41
cvs
parents: 284
diff changeset
369
57709be46d1b Import from CVS: tag r21-0b41
cvs
parents: 284
diff changeset
370 *** When instantiating a specifier, the window locale now has a higher
57709be46d1b Import from CVS: tag r21-0b41
cvs
parents: 284
diff changeset
371 precedence than the buffer locale. This is because the window locale
57709be46d1b Import from CVS: tag r21-0b41
cvs
parents: 284
diff changeset
372 is more specific than the buffer locale.
57709be46d1b Import from CVS: tag r21-0b41
cvs
parents: 284
diff changeset
373
290
c9fe270a4101 Import from CVS: tag r21-0b43
cvs
parents: 286
diff changeset
374 *** The new macro `let-specifier' can be used to temporarily add
c9fe270a4101 Import from CVS: tag r21-0b43
cvs
parents: 286
diff changeset
375 specifications to specifiers. See the documentation for details.
c9fe270a4101 Import from CVS: tag r21-0b43
cvs
parents: 286
diff changeset
376
286
57709be46d1b Import from CVS: tag r21-0b41
cvs
parents: 284
diff changeset
377 *** The new specifiers `vertical-scrollbar-visible-p' and
57709be46d1b Import from CVS: tag r21-0b41
cvs
parents: 284
diff changeset
378 `horizontal-scrollbar-visible-p' may be used to control scrollbar
290
c9fe270a4101 Import from CVS: tag r21-0b43
cvs
parents: 286
diff changeset
379 visibility. Previously, the only way to remove a scrollbar was to set
c9fe270a4101 Import from CVS: tag r21-0b43
cvs
parents: 286
diff changeset
380 its size to 0. This method is still supported for backward
c9fe270a4101 Import from CVS: tag r21-0b43
cvs
parents: 286
diff changeset
381 compatibility.
286
57709be46d1b Import from CVS: tag r21-0b41
cvs
parents: 284
diff changeset
382
57709be46d1b Import from CVS: tag r21-0b41
cvs
parents: 284
diff changeset
383 *** The new specifiers `scrollbar-on-left-p' and `scrollbar-on-top-p'
57709be46d1b Import from CVS: tag r21-0b41
cvs
parents: 284
diff changeset
384 may be used to control the position of the vertical and horizontal
57709be46d1b Import from CVS: tag r21-0b41
cvs
parents: 284
diff changeset
385 toolbar. Previously, their position could be changed only through the
57709be46d1b Import from CVS: tag r21-0b41
cvs
parents: 284
diff changeset
386 use of X resources.
57709be46d1b Import from CVS: tag r21-0b41
cvs
parents: 284
diff changeset
387
57709be46d1b Import from CVS: tag r21-0b41
cvs
parents: 284
diff changeset
388 *** The new draggable vertical dividers between windows may be turned
298
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
389 off using the `vertical-divider-always-visible-p' specifier. When
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
390 this is set to nil, the vertical dividers between windows are shown
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
391 only when needed, and they are not draggable.
286
57709be46d1b Import from CVS: tag r21-0b41
cvs
parents: 284
diff changeset
392
57709be46d1b Import from CVS: tag r21-0b41
cvs
parents: 284
diff changeset
393 Other properties of the vertical dividers may be controlled using
57709be46d1b Import from CVS: tag r21-0b41
cvs
parents: 284
diff changeset
394 `vertical-divider-shadow-thickness', `vertical-divider-line-width' and
57709be46d1b Import from CVS: tag r21-0b41
cvs
parents: 284
diff changeset
395 `vertical-divider-spacing' specifiers, which see.
57709be46d1b Import from CVS: tag r21-0b41
cvs
parents: 284
diff changeset
396
284
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
397 ** Frame focus management changes.
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
398
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
399 *** When the variable focus-follows-mouse is non-nil, `select-frame'
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
400 no longer permanently selects a different frame. The frame selection
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
401 is temporary and is reverted when the current command terminates, much
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
402 like the buffer selected by `set-buffer'. This is the same as in FSF
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
403 Emacs.
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
404
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
405 *** The new function `focus-frame' sets the window system focus to
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
406 FRAME (and selects it), regardless of the value of
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
407 `focus-follows-mouse'. Doing this is not well behaved, so be
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
408 absolutely sure that you want this.
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
409
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
410 The code that uses `select-frame' only to get the window manager focus
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
411 should be changed to use `set-frame-focus' instead, so that they keep
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
412 working when `focus-follows-mouse' is non-nil.
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
413
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
414 *** The special forms `save-selected-frame' and `with-selected-frame'
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
415 can now be used to temporarily change selected frame.
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
416
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
417 *** The behavior of `other-frame' command (`C-x 5 o') is unaffected by
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
418 these changes.
280
7df0dd720c89 Import from CVS: tag r21-0b38
cvs
parents: 278
diff changeset
419
290
c9fe270a4101 Import from CVS: tag r21-0b43
cvs
parents: 286
diff changeset
420 ** The function `select-window' now has an optional second argument
c9fe270a4101 Import from CVS: tag r21-0b43
cvs
parents: 286
diff changeset
421 NORECORD which if non-nil inhibits the recording of a buffer change.
c9fe270a4101 Import from CVS: tag r21-0b43
cvs
parents: 286
diff changeset
422
c9fe270a4101 Import from CVS: tag r21-0b43
cvs
parents: 286
diff changeset
423 ** The function `vertical-motion' now correctly handles the second,
c9fe270a4101 Import from CVS: tag r21-0b43
cvs
parents: 286
diff changeset
424 optional WINDOW argument. A new third argument PIXELS, if non-nil,
c9fe270a4101 Import from CVS: tag r21-0b43
cvs
parents: 286
diff changeset
425 indicates that the returned motion should be in pixels.
c9fe270a4101 Import from CVS: tag r21-0b43
cvs
parents: 286
diff changeset
426
c9fe270a4101 Import from CVS: tag r21-0b43
cvs
parents: 286
diff changeset
427 ** The new function `vertical-motion-pixels' is similar to
c9fe270a4101 Import from CVS: tag r21-0b43
cvs
parents: 286
diff changeset
428 vertical-motion but takes as input a vertical motion in pixels.
c9fe270a4101 Import from CVS: tag r21-0b43
cvs
parents: 286
diff changeset
429
c9fe270a4101 Import from CVS: tag r21-0b43
cvs
parents: 286
diff changeset
430 ** The new functions window-text-area-pixel-{width,height,edges} can
c9fe270a4101 Import from CVS: tag r21-0b43
cvs
parents: 286
diff changeset
431 be used to obtain information about the text-displaying area of a
c9fe270a4101 Import from CVS: tag r21-0b43
cvs
parents: 286
diff changeset
432 window.
c9fe270a4101 Import from CVS: tag r21-0b43
cvs
parents: 286
diff changeset
433
c9fe270a4101 Import from CVS: tag r21-0b43
cvs
parents: 286
diff changeset
434 ** The new functions `shrink-window-pixels' and `enlarge-window-pixels'
c9fe270a4101 Import from CVS: tag r21-0b43
cvs
parents: 286
diff changeset
435 can be used to adjust the size of a window by a pixel amount.
c9fe270a4101 Import from CVS: tag r21-0b43
cvs
parents: 286
diff changeset
436
c9fe270a4101 Import from CVS: tag r21-0b43
cvs
parents: 286
diff changeset
437 ** The new function `window-displayed-text-pixel-height' can be used
c9fe270a4101 Import from CVS: tag r21-0b43
cvs
parents: 286
diff changeset
438 to determine the height of the text actually displayed in a window.
c9fe270a4101 Import from CVS: tag r21-0b43
cvs
parents: 286
diff changeset
439
284
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
440 ** The arithmetic comparison functions <, >, =, /= now accept a
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
441 variable number of arguments.
280
7df0dd720c89 Import from CVS: tag r21-0b38
cvs
parents: 278
diff changeset
442
7df0dd720c89 Import from CVS: tag r21-0b38
cvs
parents: 278
diff changeset
443 This means that if you want to test whether A < B < C, you can write
7df0dd720c89 Import from CVS: tag r21-0b38
cvs
parents: 278
diff changeset
444 it as (< A B C) instead of (and (< A B) (< B C)). Likewise,
347
7c94d56991e1 Import from CVS: tag r21-1-3
cvs
parents: 339
diff changeset
445 (apply #'> LIST) now tests if LIST is monotonically increasing -- and
280
7df0dd720c89 Import from CVS: tag r21-0b38
cvs
parents: 278
diff changeset
446 so on.
7df0dd720c89 Import from CVS: tag r21-0b38
cvs
parents: 278
diff changeset
447
223
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
448 ** The XEmacs hashtables now have a consistent read/print syntax.
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
449 This means that a hashtable will be readably printed in a
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
450 structure-like form:
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
451
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
452 #s(hashtable size 2 data (key1 value1 key2 value2))
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
453
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
454 When XEmacs reads this form, it will create a new hashtable according
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
455 to description. This allows you to easily dump hashtables to files
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
456 using `prin1', and read them back in using `read'.
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
457
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
458 If `print-readably' is non-nil, a more relaxed syntax is used; for
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
459 instance:
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
460
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
461 #<hashtable size 2/13 data (key1 value1 key2 value2) 0x874d>
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
462
286
57709be46d1b Import from CVS: tag r21-0b41
cvs
parents: 284
diff changeset
463 ** It is now possible to build XEmacs with LDAP support.
57709be46d1b Import from CVS: tag r21-0b41
cvs
parents: 284
diff changeset
464 You will need to install a LDAP library first. The following have
57709be46d1b Import from CVS: tag r21-0b41
cvs
parents: 284
diff changeset
465 been tested:
57709be46d1b Import from CVS: tag r21-0b41
cvs
parents: 284
diff changeset
466 - LDAP 3.3 from the University of Michigan
57709be46d1b Import from CVS: tag r21-0b41
cvs
parents: 284
diff changeset
467 (get it from <URL:http://www.umich.edu/~dirsvcs/ldap/>)
327
03446687b7cc Import from CVS: tag r21-0-61
cvs
parents: 314
diff changeset
468 - OpenLDAP 1.0.3 from the OpenLDAP Foundation
03446687b7cc Import from CVS: tag r21-0-61
cvs
parents: 314
diff changeset
469 (get it from <URL:http://www.openldap.org/>)
286
57709be46d1b Import from CVS: tag r21-0b41
cvs
parents: 284
diff changeset
470 - LDAP SDK 1.0 from Netscape Corp.
57709be46d1b Import from CVS: tag r21-0b41
cvs
parents: 284
diff changeset
471 (get it from <URL:http://developer.netscape.com/>)
284
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
472
241
f955c73f5258 Import from CVS: tag r20-5b19
cvs
parents: 227
diff changeset
473 ** When profiling is in effect, a call-count of all recorded functions
f955c73f5258 Import from CVS: tag r20-5b19
cvs
parents: 227
diff changeset
474 is now calculated. This information is stored in
f955c73f5258 Import from CVS: tag r20-5b19
cvs
parents: 227
diff changeset
475 `call-count-profile-table', and is utilized by `profile-results' as
286
57709be46d1b Import from CVS: tag r21-0b41
cvs
parents: 284
diff changeset
476 well as the new command `profile-call-count-results'.
241
f955c73f5258 Import from CVS: tag r20-5b19
cvs
parents: 227
diff changeset
477
284
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
478 ** It is now an error to change the value of a symbol whose name
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
479 starts with a colon, if it is interned in the standard obarray.
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
480
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
481 However, setting such a symbol to its proper value, which is that
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
482 symbol itself, is not an error. This is for the sake of programs that
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
483 support pre-19.12 XEmacs and pre-20 GNU Emacs by explicitly setting
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
484 these variables to themselves.
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
485
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
486 ** The `concat' function no longer accepts integer arguments.
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
487
278
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
488 ** The new function `string' concatenates all its argument characters
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
489 and returns the resulting string. This is consistent with other
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
490 functions, like `list', `vector', etc.
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
491
290
c9fe270a4101 Import from CVS: tag r21-0b43
cvs
parents: 286
diff changeset
492 ** The function `temp-directory' is now available to return the
c9fe270a4101 Import from CVS: tag r21-0b43
cvs
parents: 286
diff changeset
493 directory to store temporary files. On Unix this will be obtained
c9fe270a4101 Import from CVS: tag r21-0b43
cvs
parents: 286
diff changeset
494 from TMPDIR, defaulting to `/tmp'.
c9fe270a4101 Import from CVS: tag r21-0b43
cvs
parents: 286
diff changeset
495
284
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
496 ** The function load-average now accepts an optional argument
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
497 USE-FLOATS. If it is non-nil, the load average values are returned as
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
498 floating point numbers, rather than as integers to be divided by 100.
278
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
499
223
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
500 ** The `make-event' function now supports the TYPE and PLIST
276
6330739388db Import from CVS: tag r21-0b36
cvs
parents: 274
diff changeset
501 arguments, which can be used to create various events from Lisp. See
6330739388db Import from CVS: tag r21-0b36
cvs
parents: 274
diff changeset
502 the documentation for details.
223
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
503
219
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents: 215
diff changeset
504 ** `function-interactive' is a new function that returns the
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents: 215
diff changeset
505 interactive specification of a funcallable object.
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents: 215
diff changeset
506
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents: 215
diff changeset
507 ** The new `lmessage' function allows printing of a formatted message
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents: 215
diff changeset
508 with a particular label.
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents: 215
diff changeset
509
223
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
510 (lmessage 'progress "Processing... %d" counter)
219
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents: 215
diff changeset
511
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents: 215
diff changeset
512 This function is more convenient than `display-message' because it
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents: 215
diff changeset
513 automatically applies `format' to its arguments.
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents: 215
diff changeset
514
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents: 215
diff changeset
515 ** The new `lwarn' function, analogous to `lmessage', allows printing
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents: 215
diff changeset
516 a formatted warning, with a non-default CLASS or LABEL.
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents: 215
diff changeset
517
284
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
518 ** The new function `split-path' can now be used to explode the
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
519 components of a colon-separated search path into a list.
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
520
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
521 (split-path "foo:bar")
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
522 => ("foo" "bar")
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 280
diff changeset
523
274
ca9a9ec9c1c1 Import from CVS: tag r21-0b35
cvs
parents: 259
diff changeset
524 ** Specifiers and symbols whose value is a specifier are now allowed
276
6330739388db Import from CVS: tag r21-0b36
cvs
parents: 274
diff changeset
525 as modeline specifications.
274
ca9a9ec9c1c1 Import from CVS: tag r21-0b35
cvs
parents: 259
diff changeset
526
ca9a9ec9c1c1 Import from CVS: tag r21-0b35
cvs
parents: 259
diff changeset
527 ** defcustom now accepts the keyword `:version'. Use this to specify
ca9a9ec9c1c1 Import from CVS: tag r21-0b35
cvs
parents: 259
diff changeset
528 in which version of Emacs a certain variable's default value changed.
ca9a9ec9c1c1 Import from CVS: tag r21-0b35
cvs
parents: 259
diff changeset
529 For example,
ca9a9ec9c1c1 Import from CVS: tag r21-0b35
cvs
parents: 259
diff changeset
530
ca9a9ec9c1c1 Import from CVS: tag r21-0b35
cvs
parents: 259
diff changeset
531 (defcustom foo-max 34 "*Maximum number of foo's allowed."
ca9a9ec9c1c1 Import from CVS: tag r21-0b35
cvs
parents: 259
diff changeset
532 :type 'integer
ca9a9ec9c1c1 Import from CVS: tag r21-0b35
cvs
parents: 259
diff changeset
533 :group 'foo
276
6330739388db Import from CVS: tag r21-0b36
cvs
parents: 274
diff changeset
534 :version "21.0")
274
ca9a9ec9c1c1 Import from CVS: tag r21-0b35
cvs
parents: 259
diff changeset
535
ca9a9ec9c1c1 Import from CVS: tag r21-0b35
cvs
parents: 259
diff changeset
536 This information is used to control the customize-changed-options
ca9a9ec9c1c1 Import from CVS: tag r21-0b35
cvs
parents: 259
diff changeset
537 command.
ca9a9ec9c1c1 Import from CVS: tag r21-0b35
cvs
parents: 259
diff changeset
538
225
12579d965149 Import from CVS: tag r20-4b11
cvs
parents: 223
diff changeset
539 ** The line number tracking in modeline is now efficient, even for
12579d965149 Import from CVS: tag r20-4b11
cvs
parents: 223
diff changeset
540 very large buffers. This is achieved by caching the line numbers of
12579d965149 Import from CVS: tag r20-4b11
cvs
parents: 223
diff changeset
541 recent buffer positions, and reusing them. This cache is used only in
12579d965149 Import from CVS: tag r20-4b11
cvs
parents: 223
diff changeset
542 the buffers where `line-number-mode' is in effect.
259
11cf20601dec Import from CVS: tag r20-5b28
cvs
parents: 251
diff changeset
543
274
ca9a9ec9c1c1 Import from CVS: tag r21-0b35
cvs
parents: 259
diff changeset
544 ** When the new GNU Malloc aka Doug Lea Malloc is available, it will
ca9a9ec9c1c1 Import from CVS: tag r21-0b35
cvs
parents: 259
diff changeset
545 be used. This should result in better performance on Linux systems
ca9a9ec9c1c1 Import from CVS: tag r21-0b35
cvs
parents: 259
diff changeset
546 with libc6.
ca9a9ec9c1c1 Import from CVS: tag r21-0b35
cvs
parents: 259
diff changeset
547
276
6330739388db Import from CVS: tag r21-0b36
cvs
parents: 274
diff changeset
548 ** The code XEmacs uses to assemble its various paths into the
6330739388db Import from CVS: tag r21-0b36
cvs
parents: 274
diff changeset
549 directory hierarchy has been rewritten to support the package system.
298
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
550 Look under "Startup Paths" in the Info documentation for more
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
551 information.
276
6330739388db Import from CVS: tag r21-0b36
cvs
parents: 274
diff changeset
552
304
c6de09ad3017 Import from CVS: tag r21-0b50
cvs
parents: 298
diff changeset
553 *** site-lisp is no longer part of the load-path by default.
276
6330739388db Import from CVS: tag r21-0b36
cvs
parents: 274
diff changeset
554 Its use is deprecated, but you can specify --with-site-lisp=yes at the
6330739388db Import from CVS: tag r21-0b36
cvs
parents: 274
diff changeset
555 configure command line to get it back.
6330739388db Import from CVS: tag r21-0b36
cvs
parents: 274
diff changeset
556
6330739388db Import from CVS: tag r21-0b36
cvs
parents: 274
diff changeset
557 *** `Info-default-directory-list' is now obsolete. If you want to
6330739388db Import from CVS: tag r21-0b36
cvs
parents: 274
diff changeset
558 change the path which XEmacs uses to search for info files, set
6330739388db Import from CVS: tag r21-0b36
cvs
parents: 274
diff changeset
559 `Info-directory-list' instead.
259
11cf20601dec Import from CVS: tag r20-5b28
cvs
parents: 251
diff changeset
560
241
f955c73f5258 Import from CVS: tag r20-5b19
cvs
parents: 227
diff changeset
561
f955c73f5258 Import from CVS: tag r20-5b19
cvs
parents: 227
diff changeset
562 * Changes in XEmacs 20.4
f955c73f5258 Import from CVS: tag r20-5b19
cvs
parents: 227
diff changeset
563 ========================
f955c73f5258 Import from CVS: tag r20-5b19
cvs
parents: 227
diff changeset
564
f955c73f5258 Import from CVS: tag r20-5b19
cvs
parents: 227
diff changeset
565 ** XEmacs 20.4 is a bugfix release with no user-visible changes.
225
12579d965149 Import from CVS: tag r20-4b11
cvs
parents: 223
diff changeset
566
219
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents: 215
diff changeset
567
153
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents: 146
diff changeset
568 * Changes in XEmacs 20.3
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents: 146
diff changeset
569 ========================
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents: 146
diff changeset
570
163
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 161
diff changeset
571 ** Quail input method is now available.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 161
diff changeset
572
193
f53b5ca2e663 Import from CVS: tag r20-3b23
cvs
parents: 189
diff changeset
573 Quail is a simple key-translation system that allows users to input
165
5a88923fcbfe Import from CVS: tag r20-3b9
cvs
parents: 163
diff changeset
574 any multilingual text from normal ASCII keyboard. This means that
5a88923fcbfe Import from CVS: tag r20-3b9
cvs
parents: 163
diff changeset
575 XEmacs with Mule now supports a number of European languages.
163
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 161
diff changeset
576
215
1f0dabaa0855 Import from CVS: tag r20-4b6
cvs
parents: 209
diff changeset
577 ** More Windows NT support.
1f0dabaa0855 Import from CVS: tag r20-4b6
cvs
parents: 209
diff changeset
578
1f0dabaa0855 Import from CVS: tag r20-4b6
cvs
parents: 209
diff changeset
579 Thanks to efforts of many people, coordinated by David Hobley
1f0dabaa0855 Import from CVS: tag r20-4b6
cvs
parents: 209
diff changeset
580 <davidh@wr.com.au> and Marc Paquette <marcpa@cam.org>, beta versions
1f0dabaa0855 Import from CVS: tag r20-4b6
cvs
parents: 209
diff changeset
581 of XEmacs now run on 32-bit Windows platforms (Windows NT and Windows
1f0dabaa0855 Import from CVS: tag r20-4b6
cvs
parents: 209
diff changeset
582 95). The current betas require having an X server to run XEmacs;
1f0dabaa0855 Import from CVS: tag r20-4b6
cvs
parents: 209
diff changeset
583 however, a native NT/95 port is in alpha, thanks to Jonathan Harris
1f0dabaa0855 Import from CVS: tag r20-4b6
cvs
parents: 209
diff changeset
584 <jhar@tardis.ed.ac.uk>.
1f0dabaa0855 Import from CVS: tag r20-4b6
cvs
parents: 209
diff changeset
585
1f0dabaa0855 Import from CVS: tag r20-4b6
cvs
parents: 209
diff changeset
586 The NT development is now coordinated by a mailing list at
1f0dabaa0855 Import from CVS: tag r20-4b6
cvs
parents: 209
diff changeset
587 <xemacs-nt@xemacs.org>. Mail to <xemacs-nt-request@xemacs.org> to
1f0dabaa0855 Import from CVS: tag r20-4b6
cvs
parents: 209
diff changeset
588 subscribe.
153
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents: 146
diff changeset
589
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents: 146
diff changeset
590 ** Multiple TTY frames are now available.
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents: 146
diff changeset
591
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents: 146
diff changeset
592 On consoles that display only one frame at a time (e.g. TTY consoles),
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents: 146
diff changeset
593 creating a new frame with `C-x 5 2' also raises and selects that
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents: 146
diff changeset
594 frame. The behavior of window system frames is unchanged.
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents: 146
diff changeset
595
207
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
596 ** Package starting changes.
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
597
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
598 State of Emacs should never be changed with loading a package. The
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
599 following XEmacs packages that used to break this have been changed.
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
600
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
601 *** Loading `paren' no longer enables paren-blinking. Use
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
602 `paren-set-mode' explicitly, or customize `paren-mode'.
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
603
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
604 *** Loading `uniquify' no longer enables uniquify. Set
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
605 `uniquify-buffer-name-style' to a legal value.
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
606
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
607 *** Loading `time' no longer enables display time. Invoke
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
608 `display-time' explicitly.
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
609
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
610 *** Loading `jka-compr' no longer enables on-the-fly compression. Use
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
611 `toggle-auto-compression' instead.
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
612
367
a4f53d9b3154 Import from CVS: tag r21-1-13
cvs
parents: 347
diff changeset
613 *** Loading `id-select' no longer enables its behavior. Use
207
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
614 `id-select-install' instead.
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
615
173
8eaf7971accc Import from CVS: tag r20-3b13
cvs
parents: 169
diff changeset
616 ** Zmacs region is not deactivated when an error is signaled.
8eaf7971accc Import from CVS: tag r20-3b13
cvs
parents: 169
diff changeset
617
8eaf7971accc Import from CVS: tag r20-3b13
cvs
parents: 169
diff changeset
618 The behavior of the zmacs region can now be controlled in the event of
8eaf7971accc Import from CVS: tag r20-3b13
cvs
parents: 169
diff changeset
619 a signaled error. The new variable `errors-deactivate-region' may be
367
a4f53d9b3154 Import from CVS: tag r21-1-13
cvs
parents: 347
diff changeset
620 set to nil to revert to the old behavior. As before, typing C-g
193
f53b5ca2e663 Import from CVS: tag r20-3b23
cvs
parents: 189
diff changeset
621 deactivates the region.
173
8eaf7971accc Import from CVS: tag r20-3b13
cvs
parents: 169
diff changeset
622
207
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
623 ** Multiple Info `dir' functionality has been merged with GNU Emacs
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
624 19.34.
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
625
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
626 XEmacs will now correctly merge all the `dir' files in
243
f220cc83d72e Import from CVS: tag r20-5b20
cvs
parents: 241
diff changeset
627 `Info-directory-list' (initialized from either the `INFOPATH'
207
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
628 env. variable or `Info-default-directory-list'.) These files may be
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
629 full-fledged info files containing subnodes or menus. Previously
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
630 supported `localdir' files are looked for also, secondary to `dir's.
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
631 See the manual for details.
169
15872534500d Import from CVS: tag r20-3b11
cvs
parents: 167
diff changeset
632
167
85ec50267440 Import from CVS: tag r20-3b10
cvs
parents: 165
diff changeset
633 ** Abbreviations can now contain non-word characters.
85ec50267440 Import from CVS: tag r20-3b10
cvs
parents: 165
diff changeset
634
85ec50267440 Import from CVS: tag r20-3b10
cvs
parents: 165
diff changeset
635 This means that it is finally possible to do such simple things as
193
f53b5ca2e663 Import from CVS: tag r20-3b23
cvs
parents: 189
diff changeset
636 define `#in' to expand to `#include' in C mode, `s-c-b' to
167
85ec50267440 Import from CVS: tag r20-3b10
cvs
parents: 165
diff changeset
637 `save-current-buffer' in Lisp mode, `call/cc' to
85ec50267440 Import from CVS: tag r20-3b10
cvs
parents: 165
diff changeset
638 `call-with-current-continuation' in Scheme mode, etc.
85ec50267440 Import from CVS: tag r20-3b10
cvs
parents: 165
diff changeset
639
159
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents: 157
diff changeset
640 ** `C-x n d' now runs the new command `narrow-to-defun',
157
6b37e6ddd302 Import from CVS: tag r20-3b5
cvs
parents: 155
diff changeset
641 which narrows the accessible parts of the buffer to just
6b37e6ddd302 Import from CVS: tag r20-3b5
cvs
parents: 155
diff changeset
642 the current defun.
6b37e6ddd302 Import from CVS: tag r20-3b5
cvs
parents: 155
diff changeset
643
159
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents: 157
diff changeset
644 ** The new command `C-x 4 0' (kill-buffer-and-window) kills the
157
6b37e6ddd302 Import from CVS: tag r20-3b5
cvs
parents: 155
diff changeset
645 current buffer and deletes the selected window. It asks for
6b37e6ddd302 Import from CVS: tag r20-3b5
cvs
parents: 155
diff changeset
646 confirmation first.
6b37e6ddd302 Import from CVS: tag r20-3b5
cvs
parents: 155
diff changeset
647
207
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
648 ** `ESC ESC ESC' (keyboard-escape-quit) will now correctly abort
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
649 recursive edits (as documented.)
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
650
165
5a88923fcbfe Import from CVS: tag r20-3b9
cvs
parents: 163
diff changeset
651 ** arc-mode has a new function called `archive-quit' bound to q, which
5a88923fcbfe Import from CVS: tag r20-3b9
cvs
parents: 163
diff changeset
652 quits archive mode in the same fashion dired-quit works.
207
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
653
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
654 ** A `tetris' clone is now available within XEmacs, written by Glynn
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
655 Clements. Try it out with `M-x tetris'.
165
5a88923fcbfe Import from CVS: tag r20-3b9
cvs
parents: 163
diff changeset
656
167
85ec50267440 Import from CVS: tag r20-3b10
cvs
parents: 165
diff changeset
657 ** The feature to teach the key bindings of extended commands now
85ec50267440 Import from CVS: tag r20-3b10
cvs
parents: 165
diff changeset
658 prints the message after the command finishes. After some time, the
193
f53b5ca2e663 Import from CVS: tag r20-3b23
cvs
parents: 189
diff changeset
659 previous echo area contents are restored (in case the command prints
f53b5ca2e663 Import from CVS: tag r20-3b23
cvs
parents: 189
diff changeset
660 something useful).
165
5a88923fcbfe Import from CVS: tag r20-3b9
cvs
parents: 163
diff changeset
661
195
a2f645c6b9f8 Import from CVS: tag r20-3b24
cvs
parents: 193
diff changeset
662 ** If you set scroll-conservatively to a small number, then when you
a2f645c6b9f8 Import from CVS: tag r20-3b24
cvs
parents: 193
diff changeset
663 move point a short distance off the screen, XEmacs will scroll the
a2f645c6b9f8 Import from CVS: tag r20-3b24
cvs
parents: 193
diff changeset
664 screen just far enough to bring point back on screen, provided that
a2f645c6b9f8 Import from CVS: tag r20-3b24
cvs
parents: 193
diff changeset
665 does not exceed `scroll-conservatively' lines.
a2f645c6b9f8 Import from CVS: tag r20-3b24
cvs
parents: 193
diff changeset
666
197
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 195
diff changeset
667 ** Face background colors now take precedence over the default face
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 195
diff changeset
668 background pixmap, which means that background pixmaps no longer clash
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 195
diff changeset
669 with zmacs-regions, or clickable buttons.
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 195
diff changeset
670
207
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
671 ** Regexps can now contain additional Perl-like constructs.
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
672
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
673 ** Modifiers can be added to a keystroke by preceding it with a `C-x @
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
674 <x>' sequence where <x> is one of letters `S', `c', `m', `a', `h', `s'
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
675 corresponding to shift, control, meta, alt, hyper, and super modifiers,
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
676 respectively. It is possible to add several modifiers by repeating this
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
677 sequence. This feature is especially useful on text terminals where it
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
678 allows one to enter keystrokes like, e.g., `M-home'.
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
679
209
41ff10fd062f Import from CVS: tag r20-4b3
cvs
parents: 207
diff changeset
680 ** An arbitrary keystroke can be generated by entering `C-x @ k
41ff10fd062f Import from CVS: tag r20-4b3
cvs
parents: 207
diff changeset
681 <keysym-name> RET'. For example a sequence:
41ff10fd062f Import from CVS: tag r20-4b3
cvs
parents: 207
diff changeset
682
41ff10fd062f Import from CVS: tag r20-4b3
cvs
parents: 207
diff changeset
683 C-x @ c C-x @ k b a c k s p a c e RET
41ff10fd062f Import from CVS: tag r20-4b3
cvs
parents: 207
diff changeset
684
41ff10fd062f Import from CVS: tag r20-4b3
cvs
parents: 207
diff changeset
685 will result in a `C-backspace' keystroke even on text terminals.
41ff10fd062f Import from CVS: tag r20-4b3
cvs
parents: 207
diff changeset
686
195
a2f645c6b9f8 Import from CVS: tag r20-3b24
cvs
parents: 193
diff changeset
687 ** Customize changes.
a2f645c6b9f8 Import from CVS: tag r20-3b24
cvs
parents: 193
diff changeset
688
a2f645c6b9f8 Import from CVS: tag r20-3b24
cvs
parents: 193
diff changeset
689 *** Customize has undergone a massive speedup, and should now operate
a2f645c6b9f8 Import from CVS: tag r20-3b24
cvs
parents: 193
diff changeset
690 acceptably fast. Slowness of the interface used to be the biggest
a2f645c6b9f8 Import from CVS: tag r20-3b24
cvs
parents: 193
diff changeset
691 gripe.
a2f645c6b9f8 Import from CVS: tag r20-3b24
cvs
parents: 193
diff changeset
692
a2f645c6b9f8 Import from CVS: tag r20-3b24
cvs
parents: 193
diff changeset
693 *** Many more packages have been modified to use the facility, so
207
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
694 almost all of XEmacs options can now be examined through the Customize
195
a2f645c6b9f8 Import from CVS: tag r20-3b24
cvs
parents: 193
diff changeset
695 groups.
a2f645c6b9f8 Import from CVS: tag r20-3b24
cvs
parents: 193
diff changeset
696
a2f645c6b9f8 Import from CVS: tag r20-3b24
cvs
parents: 193
diff changeset
697 *** There is a new `browser' mode of traversing customizations, in
a2f645c6b9f8 Import from CVS: tag r20-3b24
cvs
parents: 193
diff changeset
698 many ways easier to follow than the standard one. Try it out with
a2f645c6b9f8 Import from CVS: tag r20-3b24
cvs
parents: 193
diff changeset
699 `M-x customize-browse'.
a2f645c6b9f8 Import from CVS: tag r20-3b24
cvs
parents: 193
diff changeset
700
189
489f57a838ef Import from CVS: tag r20-3b21
cvs
parents: 183
diff changeset
701 ** Pending-delete changes.
489f57a838ef Import from CVS: tag r20-3b21
cvs
parents: 183
diff changeset
702
489f57a838ef Import from CVS: tag r20-3b21
cvs
parents: 183
diff changeset
703 *** Pending-delete is now a minor mode, with the normal minor-mode
489f57a838ef Import from CVS: tag r20-3b21
cvs
parents: 183
diff changeset
704 semantics and toggle functions. Old functions are left for
489f57a838ef Import from CVS: tag r20-3b21
cvs
parents: 183
diff changeset
705 compatibility.
489f57a838ef Import from CVS: tag r20-3b21
cvs
parents: 183
diff changeset
706
489f57a838ef Import from CVS: tag r20-3b21
cvs
parents: 183
diff changeset
707 *** Loading pending-del no longer turns on pending-delete mode. In
489f57a838ef Import from CVS: tag r20-3b21
cvs
parents: 183
diff changeset
708 fact, it is no longer necessary to explicitly load pending-del. All
489f57a838ef Import from CVS: tag r20-3b21
cvs
parents: 183
diff changeset
709 you need to do to turn on pending-delete is run the pending-delete
489f57a838ef Import from CVS: tag r20-3b21
cvs
parents: 183
diff changeset
710 function:
489f57a838ef Import from CVS: tag r20-3b21
cvs
parents: 183
diff changeset
711
489f57a838ef Import from CVS: tag r20-3b21
cvs
parents: 183
diff changeset
712 Within XEmacs: Type M-x pending-delete <ret>
489f57a838ef Import from CVS: tag r20-3b21
cvs
parents: 183
diff changeset
713 not M-x load-library <ret> pending-delete <ret>
489f57a838ef Import from CVS: tag r20-3b21
cvs
parents: 183
diff changeset
714
489f57a838ef Import from CVS: tag r20-3b21
cvs
parents: 183
diff changeset
715 In .emacs: Use (turn-on-pending-delete)
489f57a838ef Import from CVS: tag r20-3b21
cvs
parents: 183
diff changeset
716 not (load "pending-del")
489f57a838ef Import from CVS: tag r20-3b21
cvs
parents: 183
diff changeset
717
157
6b37e6ddd302 Import from CVS: tag r20-3b5
cvs
parents: 155
diff changeset
718 ** XEmacs can now save the minibuffer histories from various
6b37e6ddd302 Import from CVS: tag r20-3b5
cvs
parents: 155
diff changeset
719 minibuffers. To use this feature, add the line:
6b37e6ddd302 Import from CVS: tag r20-3b5
cvs
parents: 155
diff changeset
720
6b37e6ddd302 Import from CVS: tag r20-3b5
cvs
parents: 155
diff changeset
721 (savehist-load)
6b37e6ddd302 Import from CVS: tag r20-3b5
cvs
parents: 155
diff changeset
722
6b37e6ddd302 Import from CVS: tag r20-3b5
cvs
parents: 155
diff changeset
723 to your .emacs. This will load the minibuffer histories (if any) at
6b37e6ddd302 Import from CVS: tag r20-3b5
cvs
parents: 155
diff changeset
724 startup, as well as instruct XEmacs to save them before exiting. You
6b37e6ddd302 Import from CVS: tag r20-3b5
cvs
parents: 155
diff changeset
725 can use Customize to add or remove the histories being saved.
6b37e6ddd302 Import from CVS: tag r20-3b5
cvs
parents: 155
diff changeset
726
163
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 161
diff changeset
727 ** The default format for ChangeLog entries (as created by `C-x 4 a')
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 161
diff changeset
728 is now the international ISO 8601 format.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 161
diff changeset
729
367
a4f53d9b3154 Import from CVS: tag r21-1-13
cvs
parents: 347
diff changeset
730 To revert to the old behavior, use:
163
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 161
diff changeset
731
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 161
diff changeset
732 (setq add-log-time-format 'current-time-string)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 161
diff changeset
733
197
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 195
diff changeset
734 Or `M-x customize RET add-log RET'.
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 195
diff changeset
735
207
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
736 ** In ChangeLog mode, you can now press `C-c C-c' to save the file
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
737 and restore old window configuration, or `C-c C-k' to abandon the
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
738 changes.
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
739
197
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 195
diff changeset
740 ** The key `C-x m' no longer runs the `mail' command directly.
195
a2f645c6b9f8 Import from CVS: tag r20-3b24
cvs
parents: 193
diff changeset
741 Instead, it runs the command `compose-mail', which invokes the mail
a2f645c6b9f8 Import from CVS: tag r20-3b24
cvs
parents: 193
diff changeset
742 composition mechanism you have selected with the variable
a2f645c6b9f8 Import from CVS: tag r20-3b24
cvs
parents: 193
diff changeset
743 `mail-user-agent'. The default choice of user agent is
a2f645c6b9f8 Import from CVS: tag r20-3b24
cvs
parents: 193
diff changeset
744 `sendmail-user-agent', which gives behavior compatible with the old
a2f645c6b9f8 Import from CVS: tag r20-3b24
cvs
parents: 193
diff changeset
745 behavior.
a2f645c6b9f8 Import from CVS: tag r20-3b24
cvs
parents: 193
diff changeset
746
a2f645c6b9f8 Import from CVS: tag r20-3b24
cvs
parents: 193
diff changeset
747 C-x 4 m now runs compose-mail-other-window, and C-x 5 m runs
a2f645c6b9f8 Import from CVS: tag r20-3b24
cvs
parents: 193
diff changeset
748 compose-mail-other-frame.
a2f645c6b9f8 Import from CVS: tag r20-3b24
cvs
parents: 193
diff changeset
749
a2f645c6b9f8 Import from CVS: tag r20-3b24
cvs
parents: 193
diff changeset
750 ** When you kill a buffer that visits a file, if there are any
a2f645c6b9f8 Import from CVS: tag r20-3b24
cvs
parents: 193
diff changeset
751 registers that save positions in the file, these register values no
a2f645c6b9f8 Import from CVS: tag r20-3b24
cvs
parents: 193
diff changeset
752 longer become completely useless. If you try to go to such a register
a2f645c6b9f8 Import from CVS: tag r20-3b24
cvs
parents: 193
diff changeset
753 with `C-x j', then you are asked whether to visit the file again. If
a2f645c6b9f8 Import from CVS: tag r20-3b24
cvs
parents: 193
diff changeset
754 you say yes, it visits the file and then goes to the same position.
a2f645c6b9f8 Import from CVS: tag r20-3b24
cvs
parents: 193
diff changeset
755
a2f645c6b9f8 Import from CVS: tag r20-3b24
cvs
parents: 193
diff changeset
756 ** When you visit a file that changes frequently outside Emacs--for
a2f645c6b9f8 Import from CVS: tag r20-3b24
cvs
parents: 193
diff changeset
757 example, a log of output from a process that continues to run--it may
a2f645c6b9f8 Import from CVS: tag r20-3b24
cvs
parents: 193
diff changeset
758 be useful for Emacs to revert the file without querying you whenever
a2f645c6b9f8 Import from CVS: tag r20-3b24
cvs
parents: 193
diff changeset
759 you visit the file afresh with `C-x C-f'.
a2f645c6b9f8 Import from CVS: tag r20-3b24
cvs
parents: 193
diff changeset
760
a2f645c6b9f8 Import from CVS: tag r20-3b24
cvs
parents: 193
diff changeset
761 You can request this behavior for certain files by setting the
a2f645c6b9f8 Import from CVS: tag r20-3b24
cvs
parents: 193
diff changeset
762 variable revert-without-query to a list of regular expressions. If a
a2f645c6b9f8 Import from CVS: tag r20-3b24
cvs
parents: 193
diff changeset
763 file's name matches any of these regular expressions, find-file and
a2f645c6b9f8 Import from CVS: tag r20-3b24
cvs
parents: 193
diff changeset
764 revert-buffer revert the buffer without asking for permission--but
a2f645c6b9f8 Import from CVS: tag r20-3b24
cvs
parents: 193
diff changeset
765 only if you have not edited the buffer text yourself.
163
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 161
diff changeset
766
157
6b37e6ddd302 Import from CVS: tag r20-3b5
cvs
parents: 155
diff changeset
767 ** Gnuserv changes
6b37e6ddd302 Import from CVS: tag r20-3b5
cvs
parents: 155
diff changeset
768
6b37e6ddd302 Import from CVS: tag r20-3b5
cvs
parents: 155
diff changeset
769 *** The Lisp part of gnuserv has been rewritten to allow for more
6b37e6ddd302 Import from CVS: tag r20-3b5
cvs
parents: 155
diff changeset
770 flexibility and features.
6b37e6ddd302 Import from CVS: tag r20-3b5
cvs
parents: 155
diff changeset
771
6b37e6ddd302 Import from CVS: tag r20-3b5
cvs
parents: 155
diff changeset
772 *** Many new options and variables are now customizable. Try
207
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
773 `M-x customize RET gnuserv RET'.
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
774
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
775 *** The functionality of `gnuattach' and `gnudoit' programs is
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
776 provided by `gnuclient', which now accepts the standard `-nw',
163
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 161
diff changeset
777 `-display', `-eval' and `-f' options.
157
6b37e6ddd302 Import from CVS: tag r20-3b5
cvs
parents: 155
diff changeset
778
155
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 153
diff changeset
779 ** Etags changes.
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 153
diff changeset
780
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 153
diff changeset
781 *** In C, C++, Objective C and Java, Etags tags global variables by
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 153
diff changeset
782 default. The resulting tags files are inflated by 30% on average.
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 153
diff changeset
783 Use --no-globals to turn this feature off. Etags can also tag
193
f53b5ca2e663 Import from CVS: tag r20-3b23
cvs
parents: 189
diff changeset
784 variables that are members of structure-like constructs, but it does
155
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 153
diff changeset
785 not by default. Use --members to turn this feature on.
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 153
diff changeset
786
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 153
diff changeset
787 *** C++ member functions are now recognized as tags.
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 153
diff changeset
788
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 153
diff changeset
789 *** Java is tagged like C++. In addition, "extends" and "implements"
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 153
diff changeset
790 constructs are tagged. Files are recognised by the extension .java.
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 153
diff changeset
791
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 153
diff changeset
792 *** Etags can now handle programs written in Postscript. Files are
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 153
diff changeset
793 recognised by the extensions .ps and .pdb (Postscript with C syntax).
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 153
diff changeset
794 In Postscript, tags are lines that start with a slash.
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 153
diff changeset
795
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 153
diff changeset
796 *** Etags now handles Objective C and Objective C++ code. The usual C and
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 153
diff changeset
797 C++ tags are recognized in these languages; in addition, etags
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 153
diff changeset
798 recognizes special Objective C syntax for classes, class categories,
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 153
diff changeset
799 methods and protocols.
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 153
diff changeset
800
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 153
diff changeset
801 *** Etags also handles Cobol. Files are recognised by the extension
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 153
diff changeset
802 .cobol. The tagged lines are those containing a word that begins in
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 153
diff changeset
803 column 8 and ends in a full stop, i.e. anything that could be a
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 153
diff changeset
804 paragraph name.
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 153
diff changeset
805
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 153
diff changeset
806 *** Regexps in Etags now support intervals, as in ed or grep. The syntax of
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 153
diff changeset
807 an interval is \{M,N\}, and it means to match the preceding expression
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 153
diff changeset
808 at least M times and as many as N times.
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 153
diff changeset
809
189
489f57a838ef Import from CVS: tag r20-3b21
cvs
parents: 183
diff changeset
810 ** Ada mode changes.
489f57a838ef Import from CVS: tag r20-3b21
cvs
parents: 183
diff changeset
811
489f57a838ef Import from CVS: tag r20-3b21
cvs
parents: 183
diff changeset
812 *** There is now better support for using find-file.el with Ada mode.
489f57a838ef Import from CVS: tag r20-3b21
cvs
parents: 183
diff changeset
813 If you switch between spec and body, the cursor stays in the same
489f57a838ef Import from CVS: tag r20-3b21
cvs
parents: 183
diff changeset
814 procedure (modulo overloading). If a spec has no body file yet, but
489f57a838ef Import from CVS: tag r20-3b21
cvs
parents: 183
diff changeset
815 you try to switch to its body file, Ada mode now generates procedure
489f57a838ef Import from CVS: tag r20-3b21
cvs
parents: 183
diff changeset
816 stubs.
489f57a838ef Import from CVS: tag r20-3b21
cvs
parents: 183
diff changeset
817
489f57a838ef Import from CVS: tag r20-3b21
cvs
parents: 183
diff changeset
818 *** There are two new commands:
489f57a838ef Import from CVS: tag r20-3b21
cvs
parents: 183
diff changeset
819 - `ada-make-local' : invokes gnatmake on the current buffer
489f57a838ef Import from CVS: tag r20-3b21
cvs
parents: 183
diff changeset
820 - `ada-check-syntax' : check syntax of current buffer.
489f57a838ef Import from CVS: tag r20-3b21
cvs
parents: 183
diff changeset
821
489f57a838ef Import from CVS: tag r20-3b21
cvs
parents: 183
diff changeset
822 The user options `ada-compiler-make', `ada-make-options',
489f57a838ef Import from CVS: tag r20-3b21
cvs
parents: 183
diff changeset
823 `ada-language-version', `ada-compiler-syntax-check', and
489f57a838ef Import from CVS: tag r20-3b21
cvs
parents: 183
diff changeset
824 `ada-compile-options' are used within these commands.
489f57a838ef Import from CVS: tag r20-3b21
cvs
parents: 183
diff changeset
825
489f57a838ef Import from CVS: tag r20-3b21
cvs
parents: 183
diff changeset
826 *** Ada mode can now work with Outline minor mode. The outline level
193
f53b5ca2e663 Import from CVS: tag r20-3b23
cvs
parents: 189
diff changeset
827 is calculated from the indenting, not from syntactic constructs.
189
489f57a838ef Import from CVS: tag r20-3b21
cvs
parents: 183
diff changeset
828 Outlining does not work if your code is not correctly indented.
489f57a838ef Import from CVS: tag r20-3b21
cvs
parents: 183
diff changeset
829
489f57a838ef Import from CVS: tag r20-3b21
cvs
parents: 183
diff changeset
830 *** The new function `ada-gnat-style' converts the buffer to the style of
489f57a838ef Import from CVS: tag r20-3b21
cvs
parents: 183
diff changeset
831 formatting used in GNAT. It places two blanks after a comment start,
489f57a838ef Import from CVS: tag r20-3b21
cvs
parents: 183
diff changeset
832 places one blank between a word end and an opening '(', and puts one
489f57a838ef Import from CVS: tag r20-3b21
cvs
parents: 183
diff changeset
833 space between a comma and the beginning of a word.
489f57a838ef Import from CVS: tag r20-3b21
cvs
parents: 183
diff changeset
834
207
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
835 ** New demand based locking implementation
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
836
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
837 A faster, but experimental replacement for lazy-lock (called lazy-shot) is
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
838 provided. Like lazy-lock it provides demand based and idle time
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
839 font-lock-ing. However the lazy-lock versions that came with previous
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
840 versions slowed down XEmacs (possibly quite a lot). Lazy-shot solves
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
841 this problem by relying on new support from the C code part of XEmacs.
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
842 The support however is experimental and will cause some flashing as
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
843 parts of the buffer are colored. This likely to change in the future
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
844 as the C support is completed.
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
845
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
846 The current lazy-shot implementation is mostly interface compatible
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
847 with lazy-lock v2.06 (the version shipped with XEmacs is v1.x).
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
848
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
849 *** To enable:
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
850 1. Despite the flashing, lazy-shot was deemed such an improvement by
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
851 the majority of beta testers that it is now the standard method
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
852 provided by the options menu. Alternatively add
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
853
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
854 (add-hook 'font-lock-mode-hook 'turn-on-lazy-shot)
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
855
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
856 to '.emacs'.
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
857 2. If you were using lazy-lock before, just replace all occurrences of
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
858 "lazy-lock" by "lazy-shot" in your '.emacs' file.
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
859
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
860 *** To disable:
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
861
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
862 If prefer to use lazy-lock in stead of lazy-shot, put
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
863
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
864 (remove-hook 'font-lock-mode-hook 'turn-on-lazy-shot)
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
865 (add-hook 'font-lock-mode-hook 'turn-on-lazy-lock)
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
866
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
867 at the END of `.emacs'.
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
868
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
869 ** RefTeX mode
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
870
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
871 RefTeX mode is a new minor mode with special support for \label{}, \ref{}
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
872 and \cite{} macros in LaTeX documents. RefTeX distinguishes labels of
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
873 different environments (equation, figure, ...) and has full support for
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
874 multifile documents. To use it, select a buffer with a LaTeX document and
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
875 turn the mode on with M-x reftex-mode. Here are the main user commands:
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
876
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
877 C-c ( reftex-label
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
878 Creates a label semi-automatically. RefTeX is context sensitive and
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
879 knows which kind of label is needed.
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
880
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
881 C-c ) reftex-reference
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
882 Offers in a menu all labels in the document, along with context of the
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
883 label definition. The selected label is referenced as \ref{LABEL}.
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
884
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
885 C-c [ reftex-citation
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
886 Prompts for a regular expression and displays a list of matching BibTeX
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
887 database entries. The selected entry is cited with a \cite{KEY} macro.
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
888
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
889 C-c & reftex-view-crossref
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
890 Views the cross reference of a \ref{} or \cite{} command near point.
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
891
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
892 C-c = reftex-toc
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
893 Shows a table of contents of the (multifile) document. From there you
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
894 can quickly jump to every section.
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
895
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
896 Under X, RefTeX installs a "Ref" menu in the menu bar, with additional
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
897 commands. Full documentation and customization examples are in the file
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
898 reftex.el. You can use the finder to view this information:
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
899 C-h p --> tex --> reftex.el
155
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 153
diff changeset
900
153
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents: 146
diff changeset
901
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents: 146
diff changeset
902 * Lisp and internal changes in XEmacs 20.3
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents: 146
diff changeset
903 ==========================================
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents: 146
diff changeset
904
157
6b37e6ddd302 Import from CVS: tag r20-3b5
cvs
parents: 155
diff changeset
905 ** Autoconf 2 is supported, making XEmacs more conforming to
6b37e6ddd302 Import from CVS: tag r20-3b5
cvs
parents: 155
diff changeset
906 conventions used by other free software.
6b37e6ddd302 Import from CVS: tag r20-3b5
cvs
parents: 155
diff changeset
907
159
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents: 157
diff changeset
908 ** `tty-erase-char' is a new variable that reports which character
193
f53b5ca2e663 Import from CVS: tag r20-3b23
cvs
parents: 189
diff changeset
909 was set up as the terminal's erase character at the time Emacs was
159
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents: 157
diff changeset
910 started.
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents: 157
diff changeset
911
207
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
912 ** It is now possible to attach the menubar accelerator keys to menu
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
913 entries. Look at the Lispref under Menus->Menu Accelerators for
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
914 details.
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
915
173
8eaf7971accc Import from CVS: tag r20-3b13
cvs
parents: 169
diff changeset
916 ** `insert-file-contents' can now read from a special file,
8eaf7971accc Import from CVS: tag r20-3b13
cvs
parents: 169
diff changeset
917 as long as the arguments VISIT and REPLACE are nil.
8eaf7971accc Import from CVS: tag r20-3b13
cvs
parents: 169
diff changeset
918
193
f53b5ca2e663 Import from CVS: tag r20-3b23
cvs
parents: 189
diff changeset
919 ** `string-to-number' now accepts an optional BASE argument that
169
15872534500d Import from CVS: tag r20-3b11
cvs
parents: 167
diff changeset
920 specifies which base to use. The default base is 10.
15872534500d Import from CVS: tag r20-3b11
cvs
parents: 167
diff changeset
921
159
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents: 157
diff changeset
922 ** The TIME argument to `format-time-string' is now optional and
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents: 157
diff changeset
923 defaults to the current time.
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents: 157
diff changeset
924
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents: 157
diff changeset
925 ** The PATTERN argument to `split-string' is now optional and defaults
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents: 157
diff changeset
926 to whitespace ("[ \f\t\n\r\v]+").
157
6b37e6ddd302 Import from CVS: tag r20-3b5
cvs
parents: 155
diff changeset
927
195
a2f645c6b9f8 Import from CVS: tag r20-3b24
cvs
parents: 193
diff changeset
928 ** `set-extent-properties' is a new function that can be used to
a2f645c6b9f8 Import from CVS: tag r20-3b24
cvs
parents: 193
diff changeset
929 change properties of an extent at once, and is analogous to
a2f645c6b9f8 Import from CVS: tag r20-3b24
cvs
parents: 193
diff changeset
930 `set-frame-properties'.
a2f645c6b9f8 Import from CVS: tag r20-3b24
cvs
parents: 193
diff changeset
931
207
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
932 ** If a format field width is specified as `*', the field width is
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
933 now assumed to have been specified as an argument (as in C.)
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
934
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
935 (format "%*s" 10 "abc")
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
936 => " abc"
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
937
161
28f395d8dc7a Import from CVS: tag r20-3b7
cvs
parents: 159
diff changeset
938 ** The new macro `with-current-buffer' lets you evaluate an expression
28f395d8dc7a Import from CVS: tag r20-3b7
cvs
parents: 159
diff changeset
939 conveniently with a different current buffer. It looks like this:
28f395d8dc7a Import from CVS: tag r20-3b7
cvs
parents: 159
diff changeset
940
28f395d8dc7a Import from CVS: tag r20-3b7
cvs
parents: 159
diff changeset
941 (with-current-buffer BUFFER BODY-FORMS...)
28f395d8dc7a Import from CVS: tag r20-3b7
cvs
parents: 159
diff changeset
942
28f395d8dc7a Import from CVS: tag r20-3b7
cvs
parents: 159
diff changeset
943 BUFFER is the expression that says which buffer to use.
28f395d8dc7a Import from CVS: tag r20-3b7
cvs
parents: 159
diff changeset
944 BODY-FORMS say what to do in that buffer.
197
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 195
diff changeset
945 The old `eval-in-buffer' macro is obsoleted by `with-current-buffer'.
161
28f395d8dc7a Import from CVS: tag r20-3b7
cvs
parents: 159
diff changeset
946
28f395d8dc7a Import from CVS: tag r20-3b7
cvs
parents: 159
diff changeset
947 ** The new primitive `save-current-buffer' saves and restores the
28f395d8dc7a Import from CVS: tag r20-3b7
cvs
parents: 159
diff changeset
948 choice of current buffer, like `save-excursion', but without saving or
28f395d8dc7a Import from CVS: tag r20-3b7
cvs
parents: 159
diff changeset
949 restoring the value of point or the mark. `with-current-buffer'
28f395d8dc7a Import from CVS: tag r20-3b7
cvs
parents: 159
diff changeset
950 works using `save-current-buffer'.
28f395d8dc7a Import from CVS: tag r20-3b7
cvs
parents: 159
diff changeset
951
28f395d8dc7a Import from CVS: tag r20-3b7
cvs
parents: 159
diff changeset
952 ** The new macro `with-temp-file' lets you do some work in a new buffer and
28f395d8dc7a Import from CVS: tag r20-3b7
cvs
parents: 159
diff changeset
953 write the output to a specified file. Like `progn', it returns the value
28f395d8dc7a Import from CVS: tag r20-3b7
cvs
parents: 159
diff changeset
954 of the last form.
28f395d8dc7a Import from CVS: tag r20-3b7
cvs
parents: 159
diff changeset
955
165
5a88923fcbfe Import from CVS: tag r20-3b9
cvs
parents: 163
diff changeset
956 ** The variable `debug-ignored-errors' now works in XEmacs. It allows
5a88923fcbfe Import from CVS: tag r20-3b9
cvs
parents: 163
diff changeset
957 one to ignore the debugger for some common errors, even when
5a88923fcbfe Import from CVS: tag r20-3b9
cvs
parents: 163
diff changeset
958 `debug-on-error' is t. It has no effect when `debug-on-signal' is
5a88923fcbfe Import from CVS: tag r20-3b9
cvs
parents: 163
diff changeset
959 non-nil.
5a88923fcbfe Import from CVS: tag r20-3b9
cvs
parents: 163
diff changeset
960
197
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 195
diff changeset
961 ** The new function `current-message' returns the message currently
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 195
diff changeset
962 displayed in the echo area, or nil if there is none.
189
489f57a838ef Import from CVS: tag r20-3b21
cvs
parents: 183
diff changeset
963
489f57a838ef Import from CVS: tag r20-3b21
cvs
parents: 183
diff changeset
964 ** File-access primitive functions no longer discard an extra redundant
489f57a838ef Import from CVS: tag r20-3b21
cvs
parents: 183
diff changeset
965 directory name from the beginning of the file name. In other words,
489f57a838ef Import from CVS: tag r20-3b21
cvs
parents: 183
diff changeset
966 they no longer do anything special with // or /~. The same goes for
489f57a838ef Import from CVS: tag r20-3b21
cvs
parents: 183
diff changeset
967 `expand-file-name'. That conversion is now done only in
489f57a838ef Import from CVS: tag r20-3b21
cvs
parents: 183
diff changeset
968 `substitute-in-file-name'.
489f57a838ef Import from CVS: tag r20-3b21
cvs
parents: 183
diff changeset
969
489f57a838ef Import from CVS: tag r20-3b21
cvs
parents: 183
diff changeset
970 This makes it possible for a Lisp program to open a file whose name
489f57a838ef Import from CVS: tag r20-3b21
cvs
parents: 183
diff changeset
971 begins with ~.
489f57a838ef Import from CVS: tag r20-3b21
cvs
parents: 183
diff changeset
972
207
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
973 ** The regexp matcher has been extended to recognize the following
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
974 constructs, borrowed from Perl:
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
975
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
976 *** Additional quantifiers.
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
977
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
978 In addition to `*', `+' and `?', XEmacs now recognizes the following
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
979 quantifiers:
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
980
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
981 \{n\} Match exactly n times
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
982 \{n,\} Match at least n times
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
983 \{n,m\} Match at least n but not more than m times
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
984
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
985 *** Non-greedy quantifiers.
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
986
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
987 Any of the standard quantifiers (`*', `+' and others) can now be
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
988 followed by an optional `?', which will make them become "non-greedy",
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
989 i.e. they will match as little text as possible. Note that the
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
990 meanings don't change, just the "gravity."
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
991
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
992 *** Shy groups.
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
993
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
994 The \(?: ... \) groups things like \( ... \), but doesn't record the
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
995 context for backreferences or future use. This is useful when you
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
996 need a lot of groups for the sake of priorities, but actually want to
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
997 record only one or two.
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
998
197
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 195
diff changeset
999 ** The new function `regexp-opt' returns an efficient regexp to match
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 195
diff changeset
1000 a string. The arguments are STRINGS and (optionally) PAREN. This
189
489f57a838ef Import from CVS: tag r20-3b21
cvs
parents: 183
diff changeset
1001 function can be used where regexp matching or searching is intensively
489f57a838ef Import from CVS: tag r20-3b21
cvs
parents: 183
diff changeset
1002 used and speed is important, e.g., in Font Lock mode.
489f57a838ef Import from CVS: tag r20-3b21
cvs
parents: 183
diff changeset
1003
207
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
1004 ** The featurep syntax has been extended to resemble the Common Lisp
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
1005 one, as suggested by Erik Naggum.
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
1006
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
1007 *** The `xemacs' feature is defined in XEmacs by default.
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
1008
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
1009 *** The expression `#+fexp form' is equivalent to
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
1010 (when (featurep fexp) form), only it is evaluated at read-time. Also,
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
1011 `#-fexp form' is equivalent to (unless (featurep fexp) form).
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
1012
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
1013 *** In addition to symbols, a FEXP can also be a number, or a logical
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
1014 operator. Here are some examples:
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
1015 ;; evaluates to non-nil on XEmacs:
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
1016 (featurep 'xemacs)
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
1017 ;; evaluates to non-nil on XEmacs 20.3 or later:
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
1018 (featurep '(and xemacs 20.03))
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
1019 ;; evaluates to non-nil either on Emacs, or on XEmacs built without
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
1020 ;; X support:
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
1021 (featurep '(or emacs (and xemacs (not x))))
e45d5e7c476e Import from CVS: tag r20-4b2
cvs
parents: 203
diff changeset
1022
157
6b37e6ddd302 Import from CVS: tag r20-3b5
cvs
parents: 155
diff changeset
1023
153
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents: 146
diff changeset
1024
136
b980b6286996 Import from CVS: tag r20-2b2
cvs
parents: 126
diff changeset
1025 * Changes in XEmacs 20.2
126
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1026 ========================
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1027
140
585fb297b004 Import from CVS: tag r20-2b4
cvs
parents: 138
diff changeset
1028 ** Why XEmacs 20.1 is called 20.2
585fb297b004 Import from CVS: tag r20-2b4
cvs
parents: 138
diff changeset
1029
138
6608ceec7cf8 Import from CVS: tag r20-2b3
cvs
parents: 136
diff changeset
1030 Testing of XEmacs 20.1 revealed a number of showstopping bugs at the
6608ceec7cf8 Import from CVS: tag r20-2b3
cvs
parents: 136
diff changeset
1031 very final moment. Instead of confusing the version numbers further,
6608ceec7cf8 Import from CVS: tag r20-2b3
cvs
parents: 136
diff changeset
1032 the `20.1' designation was abandoned, and the release was renamed to
6608ceec7cf8 Import from CVS: tag r20-2b3
cvs
parents: 136
diff changeset
1033 `20.2'.
6608ceec7cf8 Import from CVS: tag r20-2b3
cvs
parents: 136
diff changeset
1034
140
585fb297b004 Import from CVS: tag r20-2b4
cvs
parents: 138
diff changeset
1035 ** Delete/backspace keysyms have been separated
585fb297b004 Import from CVS: tag r20-2b4
cvs
parents: 138
diff changeset
1036
585fb297b004 Import from CVS: tag r20-2b4
cvs
parents: 138
diff changeset
1037 The Delete and Backspace keysyms are now no longer identical. A better
585fb297b004 Import from CVS: tag r20-2b4
cvs
parents: 138
diff changeset
1038 version of delbackspace.el has been added called delbs.el.
138
6608ceec7cf8 Import from CVS: tag r20-2b3
cvs
parents: 136
diff changeset
1039
153
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents: 146
diff changeset
1040 ** XEmacs 20.0 MULE API supported for backwards compatibility
138
6608ceec7cf8 Import from CVS: tag r20-2b3
cvs
parents: 136
diff changeset
1041
6608ceec7cf8 Import from CVS: tag r20-2b3
cvs
parents: 136
diff changeset
1042 XEmacs 20.2 primarily supports the MULE 3 API. It now also supports
6608ceec7cf8 Import from CVS: tag r20-2b3
cvs
parents: 136
diff changeset
1043 the XEmacs 20.0 MULE API.
6608ceec7cf8 Import from CVS: tag r20-2b3
cvs
parents: 136
diff changeset
1044
126
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1045 ** The logo has been changed, and the default background color is
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1046 now a shade of gray instead of the eye-burning white.
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1047
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1048 The sample .Xdefaults and .emacs files contain examples of how to
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1049 revert to the old background color.
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1050
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1051 ** Default modeline colors are now less of a color-salad.
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1052
146
2af401a6ecca Import from CVS: tag r20-2p1
cvs
parents: 144
diff changeset
1053 ** The `C-z' key now iconifies only the current X frame. You can use
2af401a6ecca Import from CVS: tag r20-2p1
cvs
parents: 144
diff changeset
1054 `C-x C-z' to get the old behavior.
2af401a6ecca Import from CVS: tag r20-2p1
cvs
parents: 144
diff changeset
1055
2af401a6ecca Import from CVS: tag r20-2p1
cvs
parents: 144
diff changeset
1056 On the tty frames `C-z' behaves as before.
2af401a6ecca Import from CVS: tag r20-2p1
cvs
parents: 144
diff changeset
1057
126
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1058 ** The command `display-time' now draws a pretty image in the modeline
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1059 when new mail arrives. It also supports balloon-help messages.
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1060
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1061 ** Various commands that were previously disabled are now enabled, like
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1062 eval-expression (`M-:') and upcase-region (`C-x C-u')/downcase-region
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1063 (`C-x C-l').
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1064
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1065 ** It is now possible to customize the functions called by XEmacs toolbar.
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1066
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1067 Type `M-x customize RET toolbar RET' to customize it. Customizations
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1068 include the choice of functions for the buttons to invoke, as well as
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1069 a wide choice of mailers and newsreaders to invoked by the respective
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1070 functions.
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1071
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1072 ** `temp-buffer-shrink-to-fit' now defaults to nil.
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1073
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1074 There are unresolved issues regarding this feature, which is why the
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1075 XEmacs developers decided to disable it by default.
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1076
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1077 ** `ps-print-color-p' now defaults to nil.
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1078
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1079 This is because the new default background color is non-white. The
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1080 `Printing Options' in the `Options' menu now include an item that
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1081 enables color printing, and sets the white background.
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1082
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1083 ** `line-number-mode' should be used to get line numbers in the
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1084 modeline, and `column-number-mode' to get column numbers. Line
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1085 numbers now number from 1 by default.
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1086
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1087 ** font-lock-mode will now correctly fontify `int a, b, c;'
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1088 expressions in C mode.
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1089
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1090 ** The blinking cursor is always "on" during movement.
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1091
146
2af401a6ecca Import from CVS: tag r20-2p1
cvs
parents: 144
diff changeset
1092 ** The XEmacs build process has been changed to make site
2af401a6ecca Import from CVS: tag r20-2p1
cvs
parents: 144
diff changeset
1093 administration easier. See lisp/site-load.el for details.
2af401a6ecca Import from CVS: tag r20-2p1
cvs
parents: 144
diff changeset
1094
2af401a6ecca Import from CVS: tag r20-2p1
cvs
parents: 144
diff changeset
1095 ** Numerous causes of crashes have been fixed. XEmacs should now be
2af401a6ecca Import from CVS: tag r20-2p1
cvs
parents: 144
diff changeset
1096 even more stable than before.
2af401a6ecca Import from CVS: tag r20-2p1
cvs
parents: 144
diff changeset
1097
2af401a6ecca Import from CVS: tag r20-2p1
cvs
parents: 144
diff changeset
1098 ** configure no longer defaults to using --with-xim=motif if Motif libraries
2af401a6ecca Import from CVS: tag r20-2p1
cvs
parents: 144
diff changeset
1099 are linked.
2af401a6ecca Import from CVS: tag r20-2p1
cvs
parents: 144
diff changeset
1100
2af401a6ecca Import from CVS: tag r20-2p1
cvs
parents: 144
diff changeset
1101 There are many bugs in the Xlib XIM support in X11R6.3.
2af401a6ecca Import from CVS: tag r20-2p1
cvs
parents: 144
diff changeset
1102
126
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1103 ** A number of new packages are added, and many packages were
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1104 updated.
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1105
144
318232e2a3f0 Import from CVS: tag r20-2b6
cvs
parents: 140
diff changeset
1106 ** Gnus-5.4.52, courtesy of Lars Magne Ingebrigtsen
126
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1107
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1108 *** nntp.el has been totally rewritten in an asynchronous fashion.
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1109
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1110 *** Article prefetching functionality has been moved up into
124
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
1111 Gnus.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
1112
126
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1113 *** Scoring can now be performed with logical operators like
124
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
1114 `and', `or', `not', and parent redirection.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
1115
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
1116 *** Article washing status can be displayed in the
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
1117 article mode line.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
1118
126
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1119 *** gnus.el has been split into many smaller files.
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1120
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1121 *** Suppression of duplicate articles based on Message-ID.
124
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
1122
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
1123 (setq gnus-suppress-duplicates t)
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
1124
126
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1125 *** New variables for specifying what score and adapt files
124
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
1126 are to be considered home score and adapt files. See
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
1127 `gnus-home-score-file' and `gnus-home-adapt-files'.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
1128
126
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1129 *** Groups can inherit group parameters from parent topics.
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1130
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1131 *** Article editing has been revamped and is now usable.
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1132
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1133 *** Signatures can be recognized in more intelligent fashions.
124
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
1134 See `gnus-signature-separator' and `gnus-signature-limit'.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
1135
126
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1136 *** Summary pick mode has been made to look more nn-like.
124
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
1137 Line numbers are displayed and the `.' command can be
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
1138 used to pick articles.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
1139
126
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1140 *** Commands for moving the .newsrc.eld from one server to
124
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
1141 another have been added.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
1142
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
1143 `M-x gnus-change-server'
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
1144
126
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1145 *** A way to specify that "uninteresting" fields be suppressed when
124
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
1146 generating lines in buffers.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
1147
126
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1148 *** Several commands in the group buffer can be undone with
124
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
1149 `M-C-_'.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
1150
126
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1151 *** Scoring can be done on words using the new score type `w'.
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1152
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1153 *** Adaptive scoring can be done on a Subject word-by-word basis:
124
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
1154
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
1155 (setq gnus-use-adaptive-scoring '(word))
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
1156
126
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1157 *** Scores can be decayed.
124
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
1158
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
1159 (setq gnus-decay-scores t)
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
1160
126
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1161 *** Scoring can be performed using a regexp on the Date header. The
124
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
1162 Date is normalized to compact ISO 8601 format first.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
1163
126
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1164 *** A new command has been added to remove all data on articles from
124
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
1165 the native server.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
1166
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
1167 `M-x gnus-group-clear-data-on-native-groups'
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
1168
126
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1169 *** A new command for reading collections of documents
124
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
1170 (nndoc with nnvirtual on top) has been added -- `M-C-d'.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
1171
126
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1172 *** Process mark sets can be pushed and popped.
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1173
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1174 *** A new mail-to-news backend makes it possible to post
124
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
1175 even when the NNTP server doesn't allow posting.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
1176
126
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1177 *** A new backend for reading searches from Web search engines
124
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
1178 (DejaNews, Alta Vista, InReference) has been added.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
1179
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
1180 Use the `G w' command in the group buffer to create such
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
1181 a group.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
1182
126
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1183 *** Groups inside topics can now be sorted using the standard
124
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
1184 sorting functions, and each topic can be sorted independently.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
1185
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
1186 See the commands under the `T S' submap.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
1187
126
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1188 *** Subsets of the groups can be sorted independently.
124
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
1189
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
1190 See the commands under the `G P' submap.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
1191
126
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1192 *** Cached articles can be pulled into the groups.
124
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
1193
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
1194 Use the `Y c' command.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
1195
126
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1196 *** Score files are now applied in a more reliable order.
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1197
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1198 *** Reports on where mail messages end up can be generated.
124
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
1199
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
1200 `M-x nnmail-split-history'
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
1201
126
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1202 *** More hooks and functions have been added to remove junk
124
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
1203 from incoming mail before saving the mail.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
1204
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
1205 See `nnmail-prepare-incoming-header-hook'.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
1206
126
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1207 *** The nnml mail backend now understands compressed article files.
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1208
136
b980b6286996 Import from CVS: tag r20-2b2
cvs
parents: 126
diff changeset
1209 ** Custom 1.86, courtesy of Per Abrahamsen
124
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
1210
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
1211 The Customize library enables Emacs Lisp programmers to specify types
126
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1212 of their variables, so that the users can customize them.
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1213
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1214 Invoke the customizations buffer using the menus (Customize is at the
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1215 top of the Options menu), or using commands `M-x customize',
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1216 `M-x customize-variable' and `M-x customize-face'. Customize can save
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1217 the changed settings to your `.emacs' file.
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1218
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1219 Customize is now the preferred way to change XEmacs settings. Tens of
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1220 packages have been converted to take advantage of the Customize
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1221 features, including Gnus, Message, Supercite, Psgml, Comint, W3,
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1222 cc-mode (and many other programming language modes), ispell.el,
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1223 ps-print.el, id-select.el, most of the programming language modes, and
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1224 many many more.
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1225
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1226 See the "Lisp Changes" section later for a short description of why
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1227 and how to add custom support to your Lisp packages. Custom is also
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1228 documented in the XEmacs info manuals.
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1229
144
318232e2a3f0 Import from CVS: tag r20-2b6
cvs
parents: 140
diff changeset
1230 ** W3-3.0.86, courtesy of William Perry
126
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1231
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1232 Version 3 of Emacs/W3, the Emacs World Wide Web browser, has been
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1233 included. It is significantly faster than any of the previous
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1234 versions, and contains numerous new features.
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1235
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1236 ** AUCTeX-9.7k, courtesy of Per Abrahamsen
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1237
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1238 AUC TeX is a comprehensive customizable integrated environment for
146
2af401a6ecca Import from CVS: tag r20-2p1
cvs
parents: 144
diff changeset
1239 writing input files for LaTeX using Emacs.
126
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1240
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1241 AUC TeX lets you run TeX/LaTeX and other LaTeX-related tools, such as
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1242 a output filters or post processor from inside Emacs. Especially
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1243 `running LaTeX' is interesting, as AUC TeX lets you browse through the
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1244 errors TeX reported, while it moves the cursor directly to the
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1245 reported error, and displays some documentation for that particular
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1246 error. This will even work when the document is spread over several
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1247 files.
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1248
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1249 AUC TeX automatically indents your `LaTeX-source', not only as you
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1250 write it -- you can also let it indent and format an entire document.
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1251 It has a special outline feature, which can greatly help you `getting
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1252 an overview' of a document.
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1253
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1254 Apart from these special features, AUC TeX provides an large range of
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1255 handy Emacs macros, which in several different ways can help you write
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1256 your LaTeX documents fast and painless.
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1257
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1258 ** redo.el-1.01, courtesy of Kyle Jones
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1259
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1260 redo.el is a package that implements true redo mechanism in XEmacs
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1261 buffers. Once you load it from your `.emacs', you can bind the `redo'
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1262 command to a convenient key to use it.
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1263
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1264 Emacs' normal undo system allows you to undo an arbitrary number of
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1265 buffer changes. These undos are recorded as ordinary buffer changes
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1266 themselves. So when you break the chain of undos by issuing some
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1267 other command, you can then undo all the undos. The chain of recorded
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1268 buffer modifications therefore grows without bound, truncated only at
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1269 garbage collection time.
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1270
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1271 The redo/undo system is different in two ways:
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1272
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1273 *** The undo/redo command chain is only broken by a buffer modification.
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1274
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1275 You can move around the buffer or switch buffers and still come back
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1276 and do more undos or redos.
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1277
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1278 *** The `redo' command rescinds the most recent undo without
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1279 recording the change as a _new_ buffer change.
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1280
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1281 It completely reverses the effect of the undo, which includes making
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1282 the chain of buffer modification records shorter by one, to counteract
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1283 the effect of the undo command making the record list longer by one.
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1284
136
b980b6286996 Import from CVS: tag r20-2b2
cvs
parents: 126
diff changeset
1285 ** edmacro.el-3.10, courtesy of Dave Gillespie, ported to XEmacs by
126
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1286 Hrvoje Niksic.
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1287
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1288 Edmacro is a utility that provides easy editing of keyboard macros.
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1289 Originally written by Dave Gillespie, it has been mostly rewritten by
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1290 Hrvoje Niksic, in order to make it distinguish characters and integer,
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1291 as well as to adapt it to XEmacs keysyms.
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1292
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1293 Press `C-x C-k' to invoke the `edit-kbd-macro' command that lets you
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1294 edit old as well as define new keyboard macros. You can also edit the
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1295 last 100 keystrokes and insert them into a macro to be bound to a key
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1296 or named as a command. The recorded/edited macros can be dumped to
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1297 `.emacs' file.
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1298
140
585fb297b004 Import from CVS: tag r20-2b4
cvs
parents: 138
diff changeset
1299 ** xmine.el-1.8, courtesy of Jens Lautenbacher
126
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1300
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1301 XEmacs now includes a minesweeper game with a full-featured graphics
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1302 and mouse interface. Invoke with `M-x xmine'.
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1303
140
585fb297b004 Import from CVS: tag r20-2b4
cvs
parents: 138
diff changeset
1304 ** efs-1.15-x5 courtesy of Andy Norman and Michael Sperber
126
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1305
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1306 EFS is now integrated with XEmacs, and replaces the old ange-ftp. It
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1307 has many more features, including info documentation, support for many
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1308 different FTP servers, and integration with dired.
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1309
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1310 ** mic-paren.el-1.3.1, courtesy of Mikael Sjödin
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1311 ** hyperbole-4.022, courtesy of Bob Weiner
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1312 ** hm--html-menus-5.3, courtesy of Heiko Muenkel
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1313 ** python-mode.el-2.90, courtesy of Barry Warsaw
140
585fb297b004 Import from CVS: tag r20-2b4
cvs
parents: 138
diff changeset
1314 ** balloon-help-1.06, courtesy of Kyle Jones
126
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1315 ** xrdb-mode.el-1.21, courtesy of Barry Warsaw
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1316 ** igrep.el-2.56, courtesy of Kevin Rodgers
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1317 ** frame-icon.el, courtesy of Michael Lamoureux and Bob Weiner
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1318 ** itimer.el-1.05, courtesy of Kyle Jones
140
585fb297b004 Import from CVS: tag r20-2b4
cvs
parents: 138
diff changeset
1319 ** VM-6.30, courtesy of Kyle Jones
126
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1320 ** OO-Browser-2.10, courtesy of Bob Weiner
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1321 ** viper-2.93, courtesy of Michael Kifer
144
318232e2a3f0 Import from CVS: tag r20-2b6
cvs
parents: 140
diff changeset
1322 ** ediff-2.65, courtesy of Michael Kifer
126
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1323 ** detached-minibuf-1.1, courtesy of Alvin Shelton
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1324 ** whitespace-mode.el, courtesy of Heiko Muenkel
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1325 ** winmgr-mode.el, courtesy of David Konerding, Stefan Strobel & Barry Warsaw
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1326 ** fast-lock.el-3.11.01, courtesy of Simon Marshall
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1327 ** lazy-lock.el-1.16, courtesy of Simon Marshall
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1328 ** browse-cltl2.el-1.1, courtesy of Holger Schauer
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1329 ** eldoc.el-1.10, courtesy of Noah Friedman
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1330 ** tm-7.105, courtesy of MORIOKA Tomohiko
140
585fb297b004 Import from CVS: tag r20-2b4
cvs
parents: 138
diff changeset
1331 ** verilog-mode.el-2.25, courtesy of Michael McNamara & Adrian Aichner
126
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1332 ** overlay.el, courtesy of Joseph Nuspl
140
585fb297b004 Import from CVS: tag r20-2b4
cvs
parents: 138
diff changeset
1333 ** live-icon.el-1.3, fixes courtesy of Karl Hegbloom
585fb297b004 Import from CVS: tag r20-2b4
cvs
parents: 138
diff changeset
1334 ** tpu-edt.el, fixes courtesy of R. Kevin Oberman
144
318232e2a3f0 Import from CVS: tag r20-2b6
cvs
parents: 140
diff changeset
1335 ** etags.c-11.86 Courtesy of F. Potortì
140
585fb297b004 Import from CVS: tag r20-2b4
cvs
parents: 138
diff changeset
1336
126
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1337
136
b980b6286996 Import from CVS: tag r20-2b2
cvs
parents: 126
diff changeset
1338 * Lisp and internal changes in XEmacs 20.2
126
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1339 ==========================================
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1340
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1341 ** `defcustom' and `defgroup' can now be used to specify types and
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1342 placement of the user-settable variables.
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1343
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1344 You can now specify the types of user-settable variables in your Lisp
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1345 packages to be customized by users. To do so, use `defcustom' as a
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1346 replacement for `defvar'.
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1347
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1348 For example, the old declaration:
124
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
1349
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
1350 (defvar foo-blurgoze nil
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
1351 "*non-nil means that foo will act very blurgozely.")
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
1352
126
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1353 can be rewritten as:
124
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
1354
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
1355 (defcustom foo-blurgoze nil
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
1356 "*non-nil means that foo will act very blurgozely."
126
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1357 :type 'boolean
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1358 :group 'foo)
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1359
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1360 From a package writer's point of view, nothing has been changed
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1361 However, the user can now type `M-x customize RET foo-blurgoze RET' to
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1362 customize the variable.
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1363
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1364 Other, more complex data structures can be described with `defcustom'
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1365 too, for instance:
124
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
1366
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
1367 (defcustom foo-hairy-alist '((somekey . "somestring")
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
1368 (otherkey . (foo-doit))
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
1369 (thirdkey . [1 2 3]))
126
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1370 "*Alist describing the hairy options of the foo package.
124
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
1371 The CAR of each element is a symbol, whereas the CDR can be either a
126
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1372 string, a form to evaluate, or a vector of integers.
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1373 New Emacs users simply adore alists like this one."
124
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
1374 :type '(repeat (cons (symbol :tag "Key")
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
1375 (choice string
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
1376 (vector (repeat :inline t integer))
126
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1377 sexp)))
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1378 :group 'foo)
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1379
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1380 The user will be able to add and remove the entries to the list in a
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1381 visually appealing way, as well as save the settings to his/her
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1382 `.emacs'.
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1383
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1384 Note that `defcustom' will also be included in GNU Emacs 19.35, and
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1385 that both XEmacs and GNU Emacs will be using it in the future.
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1386 Although the user-interface of customize may change, the Lisp
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1387 interface will remain the same. This is why we recommend that you use
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1388 `defcustom' for user-settable variables in your new Lisp packages.
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1389
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1390 ** The `read-kbd-macro' function is now available.
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1391
136
b980b6286996 Import from CVS: tag r20-2b2
cvs
parents: 126
diff changeset
1392 The `read-kbd-macro' function (as well as the read-time evaluated
b980b6286996 Import from CVS: tag r20-2b2
cvs
parents: 126
diff changeset
1393 `kbd' macro) from the edmacro package is now available in XEmacs. For
b980b6286996 Import from CVS: tag r20-2b2
cvs
parents: 126
diff changeset
1394 example:
126
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1395
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1396 (define-key foo-mode-map (kbd "C-c <up>") 'foo-up)
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1397
136
b980b6286996 Import from CVS: tag r20-2b2
cvs
parents: 126
diff changeset
1398 is completely equivalent to
126
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1399
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1400 (define-key foo-mode-map [(control ?c) up] 'foo-up)
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1401
136
b980b6286996 Import from CVS: tag r20-2b2
cvs
parents: 126
diff changeset
1402 The `kbd' macro is preferred over `read-kbd-macro' function , as it
b980b6286996 Import from CVS: tag r20-2b2
cvs
parents: 126
diff changeset
1403 evaluates before compiling, thus having no loading overhead.
b980b6286996 Import from CVS: tag r20-2b2
cvs
parents: 126
diff changeset
1404
b980b6286996 Import from CVS: tag r20-2b2
cvs
parents: 126
diff changeset
1405 Using `kbd' is not necessary for GNU Emacs compatibility (GNU Emacs
b980b6286996 Import from CVS: tag r20-2b2
cvs
parents: 126
diff changeset
1406 supports the XEmacs-style keysyms), but adds to clarity. For example,
b980b6286996 Import from CVS: tag r20-2b2
cvs
parents: 126
diff changeset
1407 (kbd "C-?") is usually easier to read than [(control ??)]. The full
b980b6286996 Import from CVS: tag r20-2b2
cvs
parents: 126
diff changeset
1408 description of the syntax of keybindings accepted by `read-kbd-macro'
b980b6286996 Import from CVS: tag r20-2b2
cvs
parents: 126
diff changeset
1409 is documented in the docstring of `edmacro-mode'.
126
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1410
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1411 ** Overlay compatibility is implemented.
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1412
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1413 The overlay support in XEmacs is now functional. Written by Joe
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1414 Nuspl, the overlay compatibility library overlay.el is implemented on
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1415 top of the native XEmacs extents, and can be used as a GNU
124
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
1416 Emacs-compatible way of changing display properties.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
1417
126
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1418 ** You should use keysyms kp-* (kp-1, kp-2, ..., kp-enter etc.)
136
b980b6286996 Import from CVS: tag r20-2b2
cvs
parents: 126
diff changeset
1419 rather than the old form kp_*. The new form is also compatible with
b980b6286996 Import from CVS: tag r20-2b2
cvs
parents: 126
diff changeset
1420 GNU Emacs.
126
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1421
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1422 ** The keysyms mouse-1, mouse-2, mouse-3 and down-mouse-1,
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1423 down-mouse-2, and down-mouse-3 have been added for GNU Emacs
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1424 compatibility.
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1425
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1426 ** A new user variable `signal-error-on-buffer-boundary' has been
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1427 added.
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1428
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1429 Set this to variable to nil to avoid XEmacs usual lossage of zmacs
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1430 region when moving up against a buffer boundary.
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1431
146
2af401a6ecca Import from CVS: tag r20-2p1
cvs
parents: 144
diff changeset
1432 ** lib-complete.el was MULE-ized.
2af401a6ecca Import from CVS: tag r20-2p1
cvs
parents: 144
diff changeset
1433
2af401a6ecca Import from CVS: tag r20-2p1
cvs
parents: 144
diff changeset
1434 The commands `find-library', `find-library-other-window' and
2af401a6ecca Import from CVS: tag r20-2p1
cvs
parents: 144
diff changeset
1435 `find-library-other-frame' now take an optional coding system
2af401a6ecca Import from CVS: tag r20-2p1
cvs
parents: 144
diff changeset
1436 argument.
2af401a6ecca Import from CVS: tag r20-2p1
cvs
parents: 144
diff changeset
1437
2af401a6ecca Import from CVS: tag r20-2p1
cvs
parents: 144
diff changeset
1438 ** Experimental support for Lisp reader macros #-, #+.
2af401a6ecca Import from CVS: tag r20-2p1
cvs
parents: 144
diff changeset
1439
2af401a6ecca Import from CVS: tag r20-2p1
cvs
parents: 144
diff changeset
1440 The Common Lisp reader macros for feature test are now supported. This
2af401a6ecca Import from CVS: tag r20-2p1
cvs
parents: 144
diff changeset
1441 feature is present for evaluation purposes and is subject to change.
2af401a6ecca Import from CVS: tag r20-2p1
cvs
parents: 144
diff changeset
1442
2af401a6ecca Import from CVS: tag r20-2p1
cvs
parents: 144
diff changeset
1443 ** `values' now has a setf method
2af401a6ecca Import from CVS: tag r20-2p1
cvs
parents: 144
diff changeset
1444
126
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1445 ** The `eval-after-load' and `eval-next-after-load' functions are
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1446 now available.
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1447
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1448 ** A bug that prevented `current-display-table' to be correctly set
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1449 with `set-specifier' has been fixed.
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1450
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1451 ** The bug in easymenu which prevented multiple menus from being
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1452 accessible through button3 has been fixed.
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1453
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1454 You can now safely use easymenu to define multiple menu entries in a
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1455 compatible way, with the added menus accessible via button3 as local
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1456 submenus.
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1457
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1458 ** Many bugs in the scrollbar code have been fixed.
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1459
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1460 ** First alpha level support of MS Windows NT is available, courtesy
140
585fb297b004 Import from CVS: tag r20-2b4
cvs
parents: 138
diff changeset
1461 of David Hobley and Marc Paquette.
126
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1462
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1463 ** Wnn/egg now has initial support Courtesy of Jareth Hein.
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1464
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1465 ** Some old non-working code has been removed until someone chooses
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1466 to work on it.
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1467
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1468 This includes much of the NeXTStep stuff. The VMS support is also
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1469 likely to be removed in the future.
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1470
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1471 ** Many files have been purged out of the etc/ directory.
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1472
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1473 If you still need the purged files, look for them in the GNU Emacs
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1474 distribution.
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1475
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1476
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1477 * Major Differences Between 19.14 and 20.0
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 124
diff changeset
1478 ===========================================
88
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1479
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1480 XEmacs 20.0 is the first public release to have support for MULE
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1481 (Multi-Lingual Emacs). The --with-mule configuration flag must be
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1482 used to enable Mule support.
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1483
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1484 Many bugs have been fixed. An effort has been made to eradicate all
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1485 XEmacs crashes, although we are not quite done yet. The overall
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1486 quality of XEmacs should be higher than any previous release. XEmacs
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1487 now compiles with nary a warning with some compilers.
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1488
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1489 -- Multiple character sets can be displayed in a buffer. The file
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1490 mule-doc/demo in the distribution contains a greeting in many
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1491 different languages.
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1492
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1493 -- Although the Mule work is for all languages, particular effort has
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1494 been invested in Japanese, with particular focus on Japanese users
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1495 of Sun WorkShop. Many menubar labels have been translated into
90
99da576a67e7 Import from CVS: tag xemacs-20-0
cvs
parents: 88
diff changeset
1496 Japanese. Martin Buchholz, the maintainer of MULE features within
153
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents: 146
diff changeset
1497 XEmacs normally runs XEmacs in a Japanese language environment.
90
99da576a67e7 Import from CVS: tag xemacs-20-0
cvs
parents: 88
diff changeset
1498 Some of the other contributors are Japanese, most importantly
99da576a67e7 Import from CVS: tag xemacs-20-0
cvs
parents: 88
diff changeset
1499 Morioka Tomohiko, author of the TM package, providing MIME support
99da576a67e7 Import from CVS: tag xemacs-20-0
cvs
parents: 88
diff changeset
1500 for Mail and News.
88
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1501
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1502 -- Input for complex Asian languages is supported via XIM, a mechanism
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1503 introduced in X11R5 to allow applications to get localized input
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1504 without knowledge of the language. The way XIM works is that when
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1505 the locale has a complex character set, such as Japanese, and extra
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1506 minibuffer-like status window appears attached to various
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1507 application windows, and indicates the status of the input method.
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1508 Composed input in XEmacs should work the same as with other
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1509 applications. If Motif and Mule support is configured into XEmacs,
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1510 then XIM support is automatically configured in as well.
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1511
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1512 -- TM (Tools for Mime) now comes with XEmacs. This provides MIME
243
f220cc83d72e Import from CVS: tag r20-5b20
cvs
parents: 241
diff changeset
1513 (Multipurpose Internet Mail Extensions) support for Mail and News.
f220cc83d72e Import from CVS: tag r20-5b20
cvs
parents: 241
diff changeset
1514 The primary author is Morioka Tomohiko.
88
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1515
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1516 -- Japanese input can also be input using the `canna' input method.
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1517 This support was contributed by Morioka Tomohiko. Setting up canna
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1518 usually requires more user effort (and better knowledge of Japanese!)
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1519 than XIM, but provides a better-integrated input method.
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1520
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1521 -- A mini-tutorial on using Mule:
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1522
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1523 -- Every time data passes between XEmacs and the rest of the
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1524 environment, via file or process input or output, XEmacs must
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1525 convert between its internal multi-character representation and
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1526 the external representation (`coding system'). Many
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1527 difficulties with Mule are related to controlling these coding
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1528 system conversions.
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1529
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1530 -- file-coding-system, file-coding-system-for-read,
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1531 overriding-file-coding-system, and file-coding-system-alist
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1532 are used to determine the coding systems used on file input
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1533 and output.
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1534
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1535 -- For each process, (set-process-input-coding-system) and
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1536 (set-process-output-coding-system) determine the coding
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1537 system used for I/O from the process.
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1538
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1539 -- Many other things are encoded using pathname-coding-system:
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1540 -- file and directory names
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1541 -- window manager properties: window title, icon name
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1542 -- process names and process arguments
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1543 -- XIM input.
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1544
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1545 -- In many cases, you will want to have the same values for all
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1546 the above variables in many cases. For example, in a
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1547 Japanese environment, you will want to use the 'euc-japan
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1548 coding system consistently, except when running certain
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1549 processes that do byte-oriented, rather than
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1550 character-oriented I/O, such as gzip, or when processing Mail
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1551 or News, where ISO2022-based coding systems are the norm,
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1552 since they support multiple character sets.
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1553
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1554 -- To add support for a new language or character set, start by
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1555 trying to copy code in japanese-hooks.el.
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1556
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1557 -- The traditional pre-Mule data conversion is equivalent to the
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1558 'binary coding system under Mule. In this case all characters
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1559 are treated as iso8859-1 (i.e. characters for English + Western
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1560 European languages).
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1561
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1562 -- many fileio-related commands such as find-file and write-file
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1563 take an extra argument, coding-system, which specifies the
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1564 encoding to be used with the file on disk. For example, here is
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1565 a command that converts from the Japanese EUC to ISO2022 format:
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1566
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1567 xemacs -batch -eval '(progn (find-file
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1568 "locale-start.el.euc" (quote euc-japan)) (write-file
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1569 "locale-start.el" nil (quote iso-2022-8-unix)))'
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1570
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1571 Interactively, you can be prompted for a coding system by
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1572 providing a prefix argument to the fileio command. In
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1573 particular, C-u C-x C-f is a useful sequence to edit a file
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1574 using a particular coding system.
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1575
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1576 -- In an Asian locale (i.e. if $LANG is set to ja, ko, or zh),
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1577 XEmacs automatically sets up a language environment assuming
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1578 that the operating system encodes information in the national
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1579 version of EUC, which supports English and the national
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1580 language, but typically no other character sets.
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1581
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1582 -- Command line processing should work much better now - no more order
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1583 dependencies.
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1584
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1585 -- Many many package upgraded (thanks go to countless maintainers):
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1586
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1587 -- ediff 2.64 (Michael Kifer)
90
99da576a67e7 Import from CVS: tag xemacs-20-0
cvs
parents: 88
diff changeset
1588 -- Gnus 5.2.40 (Lars Magne Ingebrigtsen)
88
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1589 -- w3 3.0.51 (Bill Perry)
90
99da576a67e7 Import from CVS: tag xemacs-20-0
cvs
parents: 88
diff changeset
1590 -- ilisp 5.8 (Chris McConnell, Ivan Vasquez, Marco Antoniotti, Rick
99da576a67e7 Import from CVS: tag xemacs-20-0
cvs
parents: 88
diff changeset
1591 Campbell)
88
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1592 -- VM 5.97 (Kyle Jones)
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1593 -- etags 11.78 (Francesco Potorti`)
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1594 -- ksh-mode.el 2.9
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1595 -- vhdl-mode.el 2.73 (Rod Whitby)
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1596 -- id-select.el (Bob Weiner)
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1597 -- EDT/TPU emulation modes should work now for the first time.
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1598 -- viper 2.92 (Michael Kifer) is now the `official' vi emulator for XEmacs.
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1599 -- big-menubar should work much better now.
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1600 -- mode-motion+.el 3.16
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1601 -- backup-dir 2.0 (Greg Klanderman)
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1602 -- ps-print.el-3.05 (Jacques Duthen Prestataire)
90
99da576a67e7 Import from CVS: tag xemacs-20-0
cvs
parents: 88
diff changeset
1603 -- lazy-lock-1.15 (Simon Marshall)
99da576a67e7 Import from CVS: tag xemacs-20-0
cvs
parents: 88
diff changeset
1604 -- reporter 3.3 (Barry Warsaw)
88
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1605 -- hm--html-menus 5.0 (Heiko Muenkel)
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1606 -- cc-mode 4.322 (Barry Warsaw)
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1607 -- elp 2.37 (Barry Warsaw)
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1608
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1609
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1610 -- Many new packages have been added:
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1611 -- m4-mode 1.8 (Andrew Csillag)
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1612 -- crisp.el - crisp/brief emulation (Gary D. Foster)
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1613 -- Johan Vroman's iso-acc.el has been ported to XEmacs by Alexandre Oliva
90
99da576a67e7 Import from CVS: tag xemacs-20-0
cvs
parents: 88
diff changeset
1614 -- psgml-1.01 (Lennart Staflin, James Clark)
88
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1615 -- python-mode.el 2.83 (Barry Warsaw)
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1616 -- vrml-mode.el (Ben Wing)
90
99da576a67e7 Import from CVS: tag xemacs-20-0
cvs
parents: 88
diff changeset
1617 -- enriched.el, face-menu.el (Boris Goldowsky, Michael Sperber)
99da576a67e7 Import from CVS: tag xemacs-20-0
cvs
parents: 88
diff changeset
1618 -- sh-script.el (Daniel Pfeiffer)
99da576a67e7 Import from CVS: tag xemacs-20-0
cvs
parents: 88
diff changeset
1619 -- decipher.el (Christopher J. Madsen)
88
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1620
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1621 -- New function x-keysym-on-keyboard-p helps determine keyboard
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1622 characteristics for key rebinding:
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1623
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1624 x-keysym-on-keyboard-p: (KEYSYM &optional DEVICE)
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1625 -- a built-in function.
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1626 Return true if KEYSYM names a key on the keyboard of DEVICE.
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1627 More precisely, return true if pressing a physical key
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1628 on the keyboard of DEVICE without any modifier keys generates KEYSYM.
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1629 Valid keysyms are listed in the files /usr/include/X11/keysymdef.h and in
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1630 /usr/lib/X11/XKeysymDB, or whatever the equivalents are on your system.
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1631
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1632 -- Installed info files are now compressed (support courtesy of Joseph J Nuspl)
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1633
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1634 -- (load-average) works on Solaris, even if you're not root. Thanks to
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1635 Hrvoje Niksic.
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1636
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1637 -- OffiX drag-and-drop support added
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1638
821dec489c24 Import from CVS: tag r20-0
cvs
parents: 70
diff changeset
1639 -- lots of syncing with 19.34 elisp files, most by Steven Baur
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 56
diff changeset
1640
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 56
diff changeset
1641
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1642 ** Major Differences Between 19.13 and 19.14
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1643 ============================================
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1644
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1645 XEmacs has a new address! The canonical ftp site is now
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1646 ftp.xemacs.org:/pub/xemacs and the Web page is now at
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1647 http://www.xemacs.org/. All mailing lists now have @xemacs.org
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1648 addresses. For the time being the @cs.uiuc.edu addresses will
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1649 continue to function.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1650
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1651 This is a major new release. Many features have been added, as well
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1652 as many bugs fixed. The Motif menubar has still _NOT_ been fixed for
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1653 19.14. You should use the Lucid menubar instead.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1654
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1655
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1656
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1657 Major user-visible changes:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1658 ---------------------------
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1659
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1660 -- Color support in TTY mode is provided. You have to have a TTY capable
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1661 of displaying them, such as color xterm or the console under Linux.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1662 If your terminal type supports colors (e.g. `xterm-color'), XEmacs
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1663 will automatically notice this and start using color.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1664
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1665 -- blink-cursor-mode enables a blinking text cursor. There is a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1666 menubar option for this also.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1667
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1668 -- auto-show-mode is turned on by default; this means that XEmacs
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1669 will automatically scroll a window horizontally as necessary to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1670 keep point in view.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1671
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1672 -- a file dialog box is provided and will be used whenever you
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1673 are prompted for a filename as a result of a menubar selection.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1674
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1675 -- XEmacs can be compiled with built-in GIF, JPEG, and PNG support.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1676 The GIF libraries are supplied with XEmacs; for JPEG and PNG,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1677 you have to obtain the appropriate libraries (this is well-
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1678 documented). This makes image display much easier and faster under
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1679 W3 (the web browser) and TM (adds MIME support to VM and GNUS;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1680 not yet included with XEmacs but will be in 19.15).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1681
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1682 -- XEmacs provides a really nice mode (PSGML with "Wing improvements")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1683 for editing HTML and other SGML documents. It parses the document,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1684 and as a result it does proper indentation, can show you the context
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1685 you're in, the allowed tags at a particular position, etc.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1686
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1687 -- XEmacs comes standard with modes for editing Java and VRML code,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1688 including font-lock support.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1689
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1690 -- GNUS 5.2 comes standard with XEmacs.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1691
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1692 -- You can now embed colors in the modeline, with different sections
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1693 of the modeline responding appropriately to various mouse gestures:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1694 For example, clicking on the "read-only" indicator toggles the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1695 read-only status of a buffer, and clicking on the buffer name
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1696 cycles to the next buffer. Pressing button3 on these areas brings
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1697 up a popup menu of appropriate commands.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1698
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1699 -- There is a much nicer mode for completion lists and such.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1700 At the minibuffer prompt, if you hit page-up or Meta-V, the completion
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1701 buffer will be displayed (if it wasn't already), you're moved into
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1702 it, and can move around and select filenames using the arrow keys
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1703 and the return key. Rather than a cursor, a filename is highlighted,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1704 and the arrow keys change which filename is highlighted.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1705
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1706 -- The edit-faces subsystem has also been much improved, in somewhat
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1707 similar ways to the completion list improvements.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1708
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1709 -- Many improvements were made to the multi-device support.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1710 We now provide an auxiliary utility called "gnuattach" that
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1711 lets you connect to an existing XEmacs process and display
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1712 a TTY frame on the current TTY connection, and commands
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1713 `make-frame-on-display' (with a corresponding menubar entry)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1714 and `make-frame-on-tty' for more easily creating frames on
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1715 new TTY or X connections.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1716
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1717 -- We have incorporated nearly all of the functionality of GNU Emacs
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1718 19.30 into XEmacs. This includes support for lazy-loaded
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1719 byte code and documentation strings, improved paragraph filling,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1720 better support for margins within documents, v19 regular expression
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1721 routines (including caching of compiled regexps), etc.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1722
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1723 -- In accordance with GNU Emacs 19.30, the following key binding
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1724 changes have been made:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1725
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1726 C-x ESC -> C-x ESC ESC
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1727 ESC ESC -> ESC :
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1728 ESC ESC ESC is "abort anything" (keyboard-escape-quit).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1729
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1730 -- All major packages have been updated to their latest-released
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1731 versions.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1732
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1733 -- XEmacs now gracefully handles a full colormap (such as typically
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1734 results when running Netscape). The nearest available color
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1735 is automatically substituted.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1736
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1737 -- Many bug fixes to the subprocess/PTY code, ps-print, menubar
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1738 functions, `set-text-properties', DEC Alpha support, toolbar
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1739 resizing (the "phantom VM toolbar" bug), and lots and lots
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1740 of other things were made.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1741
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1742 -- The ncurses library (a replacement for curses, found especially
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1743 under Linux) is supported, and will be automatically used
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1744 if it can be found.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1745
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1746 -- You can now undo in the minibuffer.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1747
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1748 -- Surrogate minibuffers now work. These are also sometimes referred
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1749 to as "global" minibuffers.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1750
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1751 -- font-lock has been merged with GNU Emacs 19.30, improved defaults
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1752 have been added, and changes have been made to the way it is
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1753 configured.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1754
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1755 -- Many, many modes have menubar entries for them.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1756
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1757 -- `recover-session' lets you recover whatever files can be recovered
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1758 after your XEmacs process has died unexpectedly.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1759
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1760 -- C-h k followed by a toolbar button press correctly reports
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1761 the binding of the toolbar button.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1762
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1763 -- `function-key-map', `key-translation-map', and `keyboard-translate-table'
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1764 are now correctly implemented.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1765
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1766 -- `show-message-log' (and its menubar entry under Edit) have been
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1767 removed; instead use `view-lossage' (and its menubar entry under
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1768 Help).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1769
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1770 -- There is a standard menubar entry for specifying which browser
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1771 (Netscape, W3, Mosaic, etc.) to use when dispatching URL's
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1772 in mail, Usenet news, etc.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1773
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1774 -- Improved native sound support under Linux.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1775
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1776 -- Lots of other things we forgot to mention.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1777
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1778
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1779
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1780 Significant Lisp-level changes:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1781 -------------------------------
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1782
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1783 -- Many improvements to the E-Lisp documentation have been made;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1784 it should now be up-to-date and complete in nearly all cases.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1785
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1786 -- XEmacs has extensive documentation on its internals, for
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1787 would-be C hackers.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1788
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1789 -- Common-Lisp support (the CL package) is now dumped standard
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1790 into XEmacs. No more need for (require 'cl) or anything
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1791 like that.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1792
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1793 -- Full support for extents and text properties over strings is
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1794 provided.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1795
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1796 -- The extent properties `start-open', `end-open', `start-closed',
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1797 and `end-closed' now work correctly w.r.t. text properties.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1798
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1799 -- The `face' property of extents and text properties can now
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1800 be a list.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1801
116
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents: 104
diff changeset
1802 -- The `mouse-face' property from GNU Emacs is now supported.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1803 It supersedes the `highlight' property.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1804
116
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents: 104
diff changeset
1805 -- `enriched' and `facemenu' packages from GNU Emacs have been ported.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1806
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1807 -- New functions for easier creation of dialog boxes:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1808 `get-dialog-box-response', `message-box', and `message-or-box'.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1809
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1810 -- `function-min-args' and `function-max-args' allow you to determine
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1811 the minimum and maximum allowed arguments for any type of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1812 function (i.e. subr, lambda expression, byte-compiled function, etc.).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1813
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1814 -- Some C-level support for doing E-Lisp profiling is provided.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1815 See `start-profiling', `stop-profiling', and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1816 `pretty-print-profiling-info'.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1817
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1818 -- `current-process-time' reports the user, system, and real times
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1819 for the currently running XEmacs process.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1820
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1821 -- `next-window', `previous-window', `next-frame', `previous-frame',
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1822 `other-window', `get-lru-window', etc. have an extra device
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1823 argument that allows you to restrict which devices it includes
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1824 (normally all devices). Some functions that incorrectly ignored
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1825 frames on different devices (e.g. C-x 0) are fixed.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1826
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1827 -- new functions `run-hook-with-args-until-success',
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1828 `run-hook-with-args-until-failure'.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1829
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1830 -- generalized facility for local vs. global hooks. See `make-local-hook',
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1831 `add-hook'.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1832
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1833 -- New functions for querying the window tree: `frame-leftmost-window',
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1834 `frame-rightmost-window', `window-first-hchild', `window-first-vchild',
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1835 `window-next-child', `window-previous-child', and `window-parent'.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1836
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1837 -- Epoch support works. This gets you direct access to some X events
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1838 and objects (e.g. properties and property-notify events).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1839
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1840 -- The multi-device support has been majorly revamped. There is now
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1841 a new concept of "consoles" (devices grouped together under a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1842 common keyboard/mouse), console-local variables, and a generalized
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1843 concept of device/console connection.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1844
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1845 -- `display-buffer' synched with GNU Emacs 19.30, giving you lots of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1846 wondrous cruft such as
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1847 -- unsplittable frames
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1848 -- pop-up-frames, pop-up-frame-function
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1849 -- special-display-buffer-names, special-display-regexps,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1850 special-display-function
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1851 -- same-window-buffer-names, same-window-regexps
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1852
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1853 -- XEmacs has support for accessing DBM- and/or DB-format databases,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1854 provided that you have the appropriate libraries on your system.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1855
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1856 -- There is a new font style: "strikethru" fonts.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1857
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1858 -- New data type "weak list", which is a list with special
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1859 garbage-collection properties, similar to weak hash tables.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1860
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1861 -- `set-face-parent' makes one face inherit all properties from another.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1862
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1863 -- The junky frame parameters mechanism has been revamped as
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1864 frame properties, which a standard property-list interface.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1865
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1866 -- Lots and lots of functions for working with property lists have
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1867 been added.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1868
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1869 -- New functions `push-window-configuration', `pop-window-configuration',
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1870 `unpop-window-configuration' for maintain a stack of window
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1871 configurations.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1872
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1873 -- Many fixups to the glyph code; icons and mouse pointers are now
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1874 properly merged into the glyph mechanism.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1875
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1876 -- `set-specifier' works more sensibly, like `set-face-property'.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1877
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1878 -- Many new specifiers for individually controlling toolbar height/width
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1879 and visibility and text cursor visibility.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1880
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1881 -- New face `text-cursor' controls the colors of the text cursor.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1882
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1883 -- Many new variables for turning on debug information about the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1884 inner workings of XEmacs.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1885
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1886 -- Hash tables can now compare their keys using `equal' or `eql'
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1887 as well as `eq'.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1888
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1889 -- Other things too numerous to mention.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1890
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1891
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1892
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1893 Significant configuration/build changes:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1894 ----------------------------------------
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1895
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1896 -- You can disable TTY support, toolbar support, scrollbar support,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1897 menubar support, and/or dialog box support at configure time
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1898 to save memory.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1899
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1900 -- New configure option `--extra-verbose' shows the diagnostic
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1901 output from feature testing; this should help track down
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1902 problems with incorrect feature detection.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1903
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1904 -- `dont-have-xmu' is now `with-xmu', with the reversed sense.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1905 (It defaults to `yes'.)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1906
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1907 -- `with-mocklisp' lets you add Mocklisp support if you really
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1908 need this.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1909
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1910 -- `with-term' for adding TERM support for Linux users.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1911
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1912
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1913
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1914 ** Major Differences Between 19.12 and 19.13
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1915 ============================================
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1916
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1917 This is primarily a bug-fix release. Lots of bugs have been fixed.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1918 Hopefully only a few have been introduced. The most noteworthy bug
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1919 fixes are:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1920
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1921 -- There should be no more problems connecting XEmacs to an X
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1922 server over SLIP or other slow connections.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1923 -- Periodic crashes when using the Buffers menu should be gone.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1924 -- etags would sometimes erase the current buffer; it doesn't
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1925 any more.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1926 -- XEmacs will correctly exit if the X server dies.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1927 -- uniconified frames are displayed properly under TVTWM.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1928 -- Breakage in `add-menu-item' / `add-menu-button' is fixed.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1929
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1930 The Motif menubar has _NOT_ been fixed for 19.13. You should use the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1931 Lucid menubar instead.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1932
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1933 Multi-device support should now be working properly. You can now open
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1934 an X device after having started out on a TTY device.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1935
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1936 Background pixmaps now work. See `set-face-background-pixmap'.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1937
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1938 Echo area messages are now saved to a buffer, " *Message Log*". To
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1939 see this buffer, use the command `show-message-log'. It is possible
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1940 to filter the message which are actually included by modifying the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1941 variables `log-message-ignore-regexps' and `log-message-ignore-labels'.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1942
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1943 You can now control which warnings you want to see. See
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1944 `display-warning-suppressed-classes' and friends.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1945
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1946 You can now set the default location of an "other window" from the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1947 Options menu.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1948
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1949 "Save Options" now saves the state of all faces.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1950
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1951 You can choose which file "Save Options" writes into; see
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1952 `save-options-file'.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1953
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1954 XPM support is no longer required for the toolbar.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1955
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1956 The relocating allocator is now enabled by default whenever possible.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1957 This allows buffer memory to be returned to the system when no longer
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1958 in use which helps keep XEmacs process size down.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1959
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1960 The ability to have captioned toolbars has been added. Currently only
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1961 the default toolbar actually has a captioned version provided. A new
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1962 specifier variable, `toolbar-buttons-captioned-p' controls whether the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1963 toolbar is captioned.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1964
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1965 A copy of the XEmacs FAQ is now included and is available through info.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1966
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1967 The on-line E-Lisp reference manual has been significantly updated.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1968
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1969 There is now audio support under Linux.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1970
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1971 Modifier keys can now be sticky. This is controlled by the variable
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1972 `modifier-keys-are-sticky'.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1973
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1974 manual-entry should now work correctly under Irix with the penalty of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1975 a longer startup time the first time it is invoked. If you are having
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1976 problems with this on another system try setting
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1977 `Manual-use-subdirectory-list' to t.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1978
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1979 make-tty-device no longer automatically creates the first frame.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1980
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1981 Rectangular regions now work correctly.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1982
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1983 ediff no longer sets synchronize-minibuffers to t unless you first set
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1984 ediff-synchronize-minibuffers
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1985
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1986 keyboard-translate-table has been implemented. This means that the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1987 `enable-flow-control' command for dealing with TTY connections that
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1988 filter out ^S and ^Q now works.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1989
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1990 You can now create frames that are initially unmapped and frames that
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1991 are "transient for another frame", meaning that they behave more like
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1992 dialog-box frames.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1993
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1994 Other E-Lisp changes:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1995
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1996 -- Specifier `menubar-visible-p' for controlling menubar visibility
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1997 -- Local command hooks should be set using `local-pre-command-hook'
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1998 and `local-post-command-hook' instead of making the global
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1999 equivalents be buffer-local.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2000 -- `quit-char', `help-char', `meta-prefix-char' can be any key specifier
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2001 instead of just an integer.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2002 -- new functions `add-async-timeout' and `disable-async-timeout'.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2003 These let you create asynchronous timeouts, which are like
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2004 normal timeouts except that they're executed even during
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2005 running Lisp code. Use this with care!
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2006 -- `debug-on-error' and `stack-trace-on-error' now enter the debugger
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2007 only when an *unhandled* error occurs. If you want the old
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2008 behavior, use `debug-on-signal' and `stack-trace-on-signal'.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2009 -- \U, \L, \u, \l, \E recognized specially in `replace-match'.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2010 These are standard ex/perl commands for changing the case of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2011 replaced text.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2012 -- New function event-matches-key-specifier-p. This provides
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2013 a clean way of comparing keypress events with key specifiers
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2014 such as 65, (shift home), etc. without having to resort
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2015 to ugly `character-to-event' / `event-to-character' hacks.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2016 -- New function `add-to-list'
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2017 -- New Common-Lisp functions `some', `every', `notevery', `notany',
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2018 `adjoin', `union', `intersection', `set-difference',
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2019 `set-exclusive-or', `subsetp'
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2020 -- `remove-face-property' provides a clean way of removing a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2021 face property.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2022
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2023 Many of the Emacs Lisp packages have been updated. Some of the new
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2024 Emacs Lisp packages ---
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2025
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2026 ada-mode: major mode for editing Ada source
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2027
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2028 arc-mode: simple editing of archives
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2029
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 56
diff changeset
2030 auto-show-mode: automatically scrolls horizontally to keep point on-screen
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2031
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2032 completion: dynamic word completion mode
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2033
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2034 dabbrev: the dynamic abbrev package has been rewritten and is much
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2035 more powerful -- e.g. it searches in other buffers as well
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2036 as the current one
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2037
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2038 easymenu: menu support package
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2039
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2040 live-icon: makes frame icons represent the current frame contents
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2041
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2042 mailcrypt 3.2: mail encryption with PGP; included but v2.4 is still
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 56
diff changeset
2043 the default
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 56
diff changeset
2044
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 56
diff changeset
2045 two-column: for editing two-column text
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2046
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2047
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2048 ** Major Differences Between 19.11 and 19.12
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2049 ============================================
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2050
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2051 This is a huge new release. Almost every aspect of XEmacs has been changed
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2052 at least somewhat. The highlights are:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2053
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2054 -- TTY support (includes face support)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2055 -- new redisplay engine; should be faster, less buggy, and more powerful
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2056 -- terminology change from "screen" to "frame"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2057 -- built-in toolbar
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2058 -- toolbar support added to many packages
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2059 -- multiple device support (still in beta; improvements to come in
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2060 19.13)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2061 -- Purify used to ensure that there are no memory leaks or memory corruption
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2062 problems
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2063 -- horizontal and vertical scrollbars in all windows
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2064 -- new Lucid (i.e. look-alike Motif) scrollbar widget
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2065 -- stay-up menus in the Lucid (look-alike Motif) menubar widget
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2066 -- 3-d modeline
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2067 -- new extents engine; should be faster, less buggy, and more powerful
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2068 -- much more powerful control over faces
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2069 -- expanded menubar
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2070 -- more work on synching with GNU Emacs 19.28
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2071 -- new packages: Hyperbole, OOBR (object browser), hm--html-menus, viper,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2072 lazy-lock.el, ksh-mode.el, rsz-minibuf.el
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2073 -- package updates for all major packages
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2074 -- dynodump package for Solaris: provides proper undumping and portable
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2075 binaries across different OS versions and machine types
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2076 -- Greatly expanded concept of "glyphs" (pixmaps etc. in a buffer)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2077 -- built-in support for displaying X-Faces, if the X-Face library is
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2078 available
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2079 -- built-in support for SOCKS if the SOCKS library is available
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2080 -- graceful behavior when the colormap is full (e.g. Netscape ate
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2081 all the colors)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2082 -- built-in MD5 (secure hashing function) support
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2083
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2084
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2085 More specific information:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2086
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2087 *** TTY Support
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2088 ---------------
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2089
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2090 The long-awaited TTY support is now available. XEmacs will start up
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2091 in TTY mode (using the tty you started XEmacs from) if the DISPLAY
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2092 environment variable is not set or if you use the `-nw' option.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2093
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2094 Faces are available on TTY's. For a demonstration, try editing a C
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2095 file and turning on font-lock-mode.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2096
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2097 You can also connect to additional TTY's using `make-tty-device',
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2098 whether your first frame was a TTY or an X window. This ability is
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2099 not yet completely finished.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2100
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2101 The full event-loop capabilities (processes, timeouts, etc.) are
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2102 available on TTY's.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2103
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2104
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2105
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2106 *** New Redisplay Engine
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2107 ------------------------
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2108
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2109 The redisplay engine has been rewritten to improve its efficiency and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2110 to increase its functionality. It should also be significantly more
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2111 bug-free than the previous redisplay engine.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2112
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2113 A line that is not big enough to display at the bottom of the window
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2114 will normally be clipped (so that it is partially visible) rather than
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2115 not displayed at all. The variable `pixel-vertical-clip-threshold'
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2116 can be used to control the minimum space that must be available for a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2117 line to be clipped rather than not displayed at all.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2118
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2119 Tabs are displayed in such a way that things line up fairly well even
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2120 in the presence of variable-width fonts and/or lines with
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2121 multiply-sized fonts.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2122
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2123 Display tables are implemented, through the specifier variable
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2124 `current-display-table'. They can be buffer-local, window-local,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2125 frame-local, or device-local. See below for info about specifiers.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2126
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2127
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2128
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2129 *** Toolbar
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2130 -----------
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2131
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2132 There is now built-in support for a toolbar. A sample toolbar is
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2133 visible by default at the top of the frame. Four separate toolbars
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2134 can be configured (at the top, bottom, left, and right of the frame).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2135 The toolbar specification is similar to the menubar specification.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2136 The up, down, and disabled glyphs of a toolbar button can be
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2137 separately controlled. Explanatory text can be echoed in the echo
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2138 area when the mouse passes over a toolbar button. The size, contents,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2139 and visibility of the various toolbars can be controlled on a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2140 per-buffer, per-window, per-frame, and per-device basis through the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2141 use of specifiers. See the chapter on toolbars in the Lisp Reference
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2142 Manual (included with XEmacs) for more information.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2143
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2144 The toolbar color and shadow thicknesses are currently controlled only
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2145 through `modify-frame-parameters' and through X resources. We are
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2146 planning on making these controllable through specifiers as well. (Our
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2147 hope is to make `modify-frame-parameters' obsolete, as it is a clunky
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2148 and not very powerful mechanism.)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2149
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2150 Info, GNUS, VM, W3, and various other packages include custom toolbars
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2151 with them.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2152
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2153
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2154
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2155 *** Menubar
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2156 -----------
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2157
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2158 Stay-up menus are implemented in the look-alike Motif menubar.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2159
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2160 The default menubar has been expanded to include most commonly-used
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2161 functions in XEmacs.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2162
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2163 The options menu has been greatly expanded to include many more
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2164 options.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2165
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2166 The menubar specification format has been greatly expanded. Per-menu
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2167 activation hooks can be specified through the :filter keyword (thus
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2168 obsoleting `activate-menubar-hook'); this allows for fast response
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2169 time when you have a large and complex menu. You can dynamically
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2170 control whether menu items are present through the :included and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2171 :config keywords. (The latter keyword implements a simple menubar
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2172 configuration scheme, in conjunction with the variable
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2173 `menubar-configuration'.) Many different menu-item separators (single
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2174 or double line; solid or dashed; flat, etched-in, or etched-out) are
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2175 available. See the chapter on menus in the Lisp Reference Manual for
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2176 more information about all of this.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2177
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2178 New functions `add-submenu' and `add-menu-button' are available.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2179 These supersede the older `add-menu' and `add-menu-item' functions,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2180 and provide a more powerful and consistent interface.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2181
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2182 New convenience functions for popping up the part or all of the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2183 menubar in a pop-up menu are available: `popup-menubar-menu' and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2184 `popup-buffer-menu'.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2185
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2186 Menus are now incrementally constructed greatly improving menubar
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2187 response time.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2188
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2189
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2190
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2191 *** Scrollbars
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2192 --------------
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2193
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2194 A look-alike Motif scrollbar is now included with XEmacs. No longer
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2195 will you have to suffer with ugly Athena scrollbars.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2196
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2197 Windows can now have horizontal scrollbars. Normally they are visible
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2198 when the window's buffer is set to truncate lines rather than wrap
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2199 them (e.g. `(setq truncate-lines t)').
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2200
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2201 All windows, not only the right-most ones, can have vertical
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2202 scrollbars.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2203
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2204 The functions to change a scrollbar's width have been superseded by
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2205 the specifier variables `scrollbar-width' and `scrollbar-height'.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2206 This allows their values to be controlled on a buffer-local,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2207 window-local, frame-local, and device-local basis. See below.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2208
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2209 The scrollbars interact better with the event loop (for example, you
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2210 can type `C-h k', do a scrollbar action, and see a description of this
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2211 scrollbar action printed as if you had pressed a key sequence or
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2212 selected a menu item).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2213
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2214 The scrollbar behavior can be reprogrammed, by advising the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2215 `scrollbar-*' functions.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2216
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2217
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2218
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2219 *** Key Bindings
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2220 ----------------
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2221
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2222 The oft-used function `goto-line' now has its own binding: M-g.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2223
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2224 New bindings are available for scrolling the "other" window: M-next,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2225 M-prior, M-home, M-end. (On many keyboards, `next' and `prior'
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2226 labelled `PgUp' and `PgDn'.)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2227
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2228 You can reactivate a deactivated Zmacs region, without having any
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2229 other effects, with the binding M-C-z.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2230
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2231 The bindings `M-u', `M-l', and `M-c' now work on the region (if a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2232 region is active) or work on a word, as before.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2233
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2234 Shift-Control-G forces a "critical quit", which drops immediately into
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2235 the debugger; see below.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2236
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2237
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2238
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2239 *** Modeline
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2240 ------------
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2241
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2242 The modeline can now have a 3-d look; this is enabled by default. The
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2243 specifier variable `modeline-shadow-thickness' controls the size.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2244
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2245 The modeline can now be turned off on a per-buffer, per-window,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2246 per-frame, or per-device basis. The specifier variable
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2247 `has-modeline-p' controls whether the modeline is visible. See below
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2248 for details about the vastly powerful specifier mechanism.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2249
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2250 The modeline functions and variables have been renamed to be
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2251 `*-modeline-*' rather than `*-mode-line-*'. Aliases are provided for
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2252 all the old names.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2253
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2254 Variable width fonts now work correctly when used in the modeline.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2255
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2256
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2257
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2258 *** Minibuffer, Echo Area
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2259 -------------------------
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2260
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2261 The minibuffer is no longer constrained to be one line high. The
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2262 package rsz-minibuf.el is included to automatically resize the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2263 minibuffer when its contents are too big; enable this with
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2264 `resize-minibuffer-mode'.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2265
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2266 The echo area is now a true buffer, called " *Echo Area*". This
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2267 allows you to customize the echo area behavior through
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2268 before-change-functions and after-change-functions.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2269
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2270
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2271
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2272 *** Specifiers
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2273 --------------
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2274
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2275 XEmacs has a new concept called "specifiers", used to configure most
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2276 display options (toolbar size and contents, scrollbar size, face
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2277 properties, modeline visibility and shadow-thickness, glyphs, display
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2278 tables, etc.). We are planning on converting all display
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2279 characteristics to use specifiers, and obsoleting the clunky functions
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2280 `frame-parameters' and `modify-frame-parameters'. Specifically:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2281
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2282 -- You can specify values (called "instantiators") for particular
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2283 "locales" (i.e. buffers, windows, frames, devices, or a global value).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2284 When determining what the actual value (or "instance") of a specifier
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2285 is, the specifications that are provided are searched from most
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2286 specific (i.e. buffer-local) to most general (i.e. global), looking
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2287 for a matching one.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2288
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2289 -- You can specify multiple instantiators for a particular locale.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2290 For example, when specifying what the foreground color of a face
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2291 is in a particular buffer, you could specify two instantiators:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2292 "dark sea green" and "green". The color would then be dark sea
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2293 green on devices that recognize that color, and green on other
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2294 devices. You have effectively provided a fallback value to make
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2295 sure you get reasonable behavior on all devices.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2296
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2297 -- You can add one or more tags to an instantiator, where a tag
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2298 is a symbol that has been previously registered with XEmacs.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2299 This allows you to identify your instantiators for later
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2300 removal in a way that won't interfere with other applications
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2301 using the same specifier. Furthermore, particular tags can
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2302 be restricted to match only particular sorts of devices.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2303 Any tagged instantiator will be ignored if the device over which
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2304 it is being instanced does not match any of its tags. This
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2305 allows you, for example, to restrict an instantiator to a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2306 particular device type (X or TTY) and/or class (color, grayscale,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2307 or mono). (You might want to specify, for example, that a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2308 particular face is displayed in green on color devices and is
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2309 underlined on mono devices.)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2310
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2311 -- A full API is provided for manipulating specifiers, and full
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2312 documentation is provided in the Lisp Reference Manual.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2313
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2314
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2315
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2316 *** Basic Lisp Stuff
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2317 --------------------
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2318
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2319 Common-Lisp backquote syntax is recognized. For example, the old
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2320 expression
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2321
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2322 (` (a b (, c)))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2323
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2324 can now be written
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2325
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2326 `(a b ,c)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2327
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2328 The old backquote syntax is still accepted.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2329
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2330 The new function `type-of' returns a symbol describing the type of a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2331 Lisp object (`integer', `string', `symbol', etc.)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2332
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2333 Symbols beginning with a colon (called "keywords") are treated
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2334 specially in that they are automatically made self-evaluating when
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2335 they are interned into `obarray'. The new function `keywordp' returns
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2336 whether a symbol begins with a colon.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2337
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2338 `get', `put', and `remprop' have been generalized to allow you to set
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2339 and retrieve properties on many different kinds of objects: symbols,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2340 strings, faces, glyphs, and extents (for extents, however, this is not
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2341 yet implemented). They are joined by a new function `object-props'
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2342 that returns all of the properties that have been set on an object.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2343
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2344 New functions `plists-eq' and `plists-equal' are provided for
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2345 comparing property lists (a property list is an alternating list
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2346 of keys and values).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2347
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2348 The Common-Lisp functions `caar', `cadr', `cdar', `cddr', `caaar', etc.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2349 (up to four a's and/or d's), `first', `second', `third', etc. (up to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2350 `tenth'), `last', `rest', and `endp' have been added, for more
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2351 convenient manipulation of lists.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2352
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2353 New function `mapvector' maps over a sequence and returns a vector
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2354 of the results, analogous to `mapcar'.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2355
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2356 New functions `rassoc', `remassoc', `remassq', `remrassoc', and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2357 `remrassq' are provided for working with alists.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2358
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2359 New functions `defvaralias', `variable-alias' and `indirect-variable'
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2360 are provided for creating variable aliases.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2361
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2362 Strings have a modified-tick that is bumped every time a string
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2363 is modified in-place with `aset' or `fillarray'. This is retrieved
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2364 with the new function `string-modified-tick'.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2365
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2366 New macro `push' destructively adds an element to the beginning of a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2367 list. New macro `pop' destructively removes and returns the first
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2368 element of a list.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2369
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2370
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2371
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2372 *** Buffers
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2373 -----------
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2374
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2375 Most functions that operate on buffer text now take an optional BUFFER
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2376 argument, specifying which buffer they operate on. (Previously, they
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2377 always operated on the current buffer.)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2378
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2379 The new function `transpose-regions' is provided, ported from GNU
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2380 Emacs.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2381
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2382 The new function `save-current-buffer' works like `save-excursion'
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2383 but only saves the current buffer, not the location of point in
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2384 that buffer.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2385
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2386
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2387
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2388 *** Devices
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2389 -----------
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2390
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2391 XEmacs has a new concept of "device", which is represents a particular
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2392 X display or TTY connection. `make-frame' has a new, optional device
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2393 parameter that allows you to specify which device the frame is to be
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2394 created on.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2395
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2396 Multiple simultaneous TTY and/or X connections may be made. The
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2397 specifier mechanism provides reasonable behavior of glyphs, faces,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2398 etc. over heterogeneous device types and over devices whose individual
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2399 capabilities may vary.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2400
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2401 There is also a device type called "stream" that represents a STDIO
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2402 device that has no redisplay or cursor-motion capabilities, such as
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2403 the "glass terminal" that XEmacs uses when it is run noninteractively.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2404 There is not all that much you can do with stream devices currently;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2405 please let us know if there are good uses you can think of for this
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2406 capability. (For example, log files?)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2407
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2408 A new device API is provided. Functions are provided such as
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2409 `device-name' (the name of the device, which generally is based on the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2410 X display or TTY file name), `device-type' (X, TTY, or stream),
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2411 `device-class' (color, grayscale, or mono), etc. See the Lisp
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2412 Reference Manual.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2413
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2414 Many functions have been extended to contain an additional, optional
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2415 device argument, where such an extension makes sense. In general, if
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2416 the argument is omitted, it is equivalent to specifying
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2417 `(selected-device)'.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2418
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2419 Many previous functions and variables are obsoleted in favor of the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2420 device API. For example, `window-system' is obsoleted by
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2421 `device-type', and `x-color-display-p' and friends are obsoleted by
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2422 `device-class'.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2423
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 56
diff changeset
2424 ** NOTE **: The obsolete variable `window-system' is going
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2425 to be deleted soon, probably in 19.14. Please correct all
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2426 your code to use `device-type'.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2427
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 56
diff changeset
2428 ** INCOMPATIBLE CHANGE **: The function `x-display-visual-class'
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2429 returns different values from previous versions of XEmacs.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2430
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2431
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2432
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2433 *** Errors, Warnings, C-g
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2434 -------------------------
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2435
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2436 There is a new warnings system implemented. Many warnings that were
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2437 formerly displayed in various ad-hoc ways (e.g. warnings about screwy
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2438 modifier mappings, messages about failures handling the mouse cursor
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2439 and errors in a gc-hook) have been regularized through this system.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2440 The new function `warn' displays a warning before the next redisplay
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2441 (the actually display of the warning messages is accomplished through
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2442 `display-warning-buffer'). Both `warn' and `display-warning-buffer'
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2443 are Lisp functions (the C code calls out to them as necessary), and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2444 thus you can customize the warning system.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2445
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2446 Under an X display, you can press Shift-Control-G to force a "critical
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2447 quit". This will immediately display a backtrace and pop you into the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2448 debugger, regardless of the settings of `inhibit-quit' and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2449 `debug-on-quit'.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2450
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2451 C-g now works properly even on systems that don't implement SIGIO or
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2452 for which SIGIO is broken (e.g. IRIX 5.3 and older versions of Linux).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2453 In addition, the SIGIO support has been fixed for many systems on
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2454 which it didn't always work properly before (e.g. HPUX and Solaris).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2455
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 56
diff changeset
2456
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2457
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2458 *** Events
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2459 ----------
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2460
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 56
diff changeset
2461 ** INCOMPATIBLE CHANGE **: Many event functions have been changed to
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2462 accept and return windows instead of frames.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2463
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2464 New function: `event-live-p', specifying whether `deallocate-event'
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2465 has been called on an event.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2466
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2467 The "menu event" type has been renamed to "misc-user event", and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2468 encompasses scrollbar events as well as menu events. We are planning
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2469 on making it also encompass toolbar events in a future release.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2470
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2471 New functions are provided for determining whether an particular
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2472 sections of a frame: `event-over-border-p', `event-over-glyph-p',
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2473 `event-over-modeline-p', `event-over-text-area-p', and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2474 `event-over-toolbar-p'. The old, kludgey methods of checking the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2475 window-height, the internal-border-width, etc. are unreliable and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2476 should not be used.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2477
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2478 New functions `event-window-x-pixel' and `event-window-y-pixel' are
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2479 provided for determining where in a particular window an event
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2480 happened.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2481
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2482 New functions `event-glyph-x-pixel' and `event-glyph-y-pixel' are
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2483 provided for determining where in a particular glyph an event
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2484 happened.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2485
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2486 New function `event-closest-point', which returns the closest buffer
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2487 position to the event even if the event did not occur over any text.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2488
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2489 New variable `unread-command-events', superseding the older
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2490 `unread-command-event'.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2491
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2492 Many event-loop bugs have been fixed.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2493
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2494
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2495
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2496 *** Extents
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2497 -----------
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2498
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2499 The extent code has been largely rewritten. It should be faster and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2500 more reliable.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2501
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2502 The text-property implementation has been greatly improved.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2503
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2504 Some new extent primitives are provided to return the position of the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2505 next or previous property change in a buffer.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2506
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2507 Extents can now have a parent specified; then all of its properties
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2508 (except for the buffer it's in and its position in that buffer) come
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2509 from that extent. Hierarchies of such extents can be created.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2510
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2511 Extents now have a `detachable' property that controls what happens
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2512 (they either get detached or shrink down to zero-length) when their
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2513 text is deleted. Previously, such extents would always be detached.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2514
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2515 The `invisible' property on extents now works.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2516
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2517 `map-extents' has three additional parameters that provide more
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2518 control over which extents are mapped.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2519
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2520 `map-extents' deals better with changes made to extents in the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2521 buffer being mapped over.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2522
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2523 A new function `mapcar-extents' (an alternative to `map-extents') has
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2524 been provided and should be easier to use than `map-extents'.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2525
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2526
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2527
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2528 *** Faces
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2529 ---------
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2530
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2531 Faces can now be buffer-local, window-local, and device-local as well
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2532 as frame-local, and can be further restricted to a particular device
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2533 type or class. The way in which faces can be controlled is now based
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2534 on the general and powerful specifier mechanism; see above.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2535
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2536 The new function `set-face-property' generalizes `set-face-font',
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2537 `set-face-foreground', etc. and takes many new optional arguments, in
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2538 accordance with the new specifier mechanism.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2539
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2540 The new functions `face-property' and `face-property-instance'
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2541 generalize `face-font', `face-foreground', etc. and take many new
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2542 optional arguments, in accordance with the new specifier mechanism.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2543 (`face-property' returns the value, if any, that was specified for a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2544 particular locale, and `face-property-instance' returns the actual
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2545 value that will be used for display. See the section on specifiers.)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2546
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2547 The functions `face-font', `face-foreground', `face-background',
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2548 `set-face-font', `set-face-foreground', `set-face-background',
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2549 etc. are now convenience functions, trivially implemented using
153
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents: 146
diff changeset
2550 `face-property' and `set-face-property' and take new optional
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2551 arguments in accordance with those functions. New convenience
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2552 functions `face-font-instance', `face-foreground-instance',
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2553 `face-background-instance', etc. are provided and are trivially
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2554 implemented using `face-property-instance'.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2555
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2556 Inheritance of face properties can now be specified. Each individual
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2557 face property can inherit differently from other properties, or not
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2558 inherit at all.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2559
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2560 You can set user-defined properties on faces using
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2561 `set-face-property'.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2562
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2563 You can create "temporary" faces, which are faces that disappear
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2564 when they are no longer in use. This is as opposed to normal
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2565 faces, which stay around forever.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2566
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2567 The function `make-face' takes a new optional argument specifying
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2568 whether a face should be permanent or temporary, and returns the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2569 actual face object rather than the face symbol, as in previous
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2570 versions of XEmacs.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2571
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2572 The function `face-list' takes a new optional argument specifying
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2573 whether permanent, temporary, or both kinds of faces should be
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2574 returned.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2575
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2576 Faces have new TTY-specific properties: `highlight', `reverse',
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2577 `alternate', `blinking', and `dim'.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2578
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2579 Redisplay is smarter about dealing with face changes: changes to a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2580 particular face no longer cause all frames to be cleared and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2581 redisplayed.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2582
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2583 The Edit-Faces package is provided for interactively changing faces.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2584 A menu item on the options menu is provided for this.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2585
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2586 New functions are provided for retrieving the ascent, descent, height,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2587 and width of a character in a particular face.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2588
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2589
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2590
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2591 *** Fonts, Colors
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2592 -----------------
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2593
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 56
diff changeset
2594 ** INCOMPATIBLE CHANGE **: The old "font" and "pixel" objects are gone.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2595 In place are new objects "font specifier", "font instance", "color
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2596 specifier", and "color instance". Functions `font-name', `pixel-name'
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2597 (an obsolete alias for `color-name'), etc. are now convenience
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2598 functions for working with font and color specifiers. Old code that
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2599 is not too sophisticated about working with font and pixel objects may
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2600 still work, though. (For example, the idiom `(font-name (face-font
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2601 'default))' still works.)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2602
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2603 You can now extract the RGB components of a color-instance object
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2604 (similar to the old pixel object) with the function
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2605 `color-instance-rgb-components'. There is also a convenience function
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2606 `color-rgb-components' for working with color specifiers.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2607
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2608 If there are no more colors available in the colormap, the nearest
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2609 existing color will be used when allocating a new color.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2610
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2611
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2612
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2613 *** Frames
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2614 ----------
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2615
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2616 What used to be called "screens" are now called "frames", for clarity
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2617 and consistency with GNU Emacs. Aliases are provided for all the old
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2618 screen functions and variables, to avoid introducing a huge E-Lisp
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2619 incompatibility.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2620
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2621 The frame code has been merged with GNU Emacs 19.28, providing
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2622 improved functionality for many functions.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2623
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2624
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2625
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2626 *** Glyphs, Images, and Pixmaps
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2627 -------------------------------
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2628
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2629 Glyphs (used in various places, i.e. as begin-glyphs and end-glyphs
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2630 attached to extents and appearing in a buffer or in marginal
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2631 annotations; as the truncator and continuor glyphs marking line wrap
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2632 or truncation; as an overlay at the beginning of a line; as the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2633 displayable element in a toolbar button; etc.) can now be
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2634 buffer-local, window-local, frame-local, and device-local, and can be
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2635 further restricted to a particular device type or class. The way in
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2636 which faces can be controlled is now based on the general and powerful
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2637 specifier mechanism; see above.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2638
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 56
diff changeset
2639 ** INCOMPATIBLE CHANGE **: The glyph and pixmap API has been completely
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2640 overhauled. A new Lisp object "glyph" is provided and should be used
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2641 where the old "pixmap" object would have been used. The pixmap object
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2642 exists no longer. There are also new Lisp objects "image specifier"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2643 and "image instance" (an image-instance is the closest equivalent to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2644 what a pixmap object was). More work on glyphs and images is slated
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2645 for 19.13. The glyph and image docs in the Lisp Reference Manual are
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2646 incomplete and will be finished in 19.13.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2647
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2648 The new function `set-glyph-property' allows setting of all the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2649 glyph properties (`baseline', `contrib-p', etc.). Convenience
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2650 functions for particular properties are also provided, just like
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2651 for faces.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2652
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2653 You can set user-defined properties on glyphs using the new function
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2654 `set-glyph-property'.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2655
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2656 When displaying pixmaps, existing, closest-matching colors will be
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2657 used if the colormap is full.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2658
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2659 If the compface library is compiled into XEmacs, there is built-in
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2660 support for displaying X-Face bitmaps. (These are typically small
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2661 pictures of people's faces, included in a mail message through the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2662 X-Face: header.) VM and highlight-headers will automatically use the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2663 built-in X-Face support if it is available.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2664
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2665 Annotations in the right margin (as well as the left margin) are now
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2666 implemented. The left and right margin width functions have been
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2667 superseded by the specifier variables `left-margin-width' and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2668 `right-margin-width', allowing much more flexible control through the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2669 specifier mechanism.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2670
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 56
diff changeset
2671 ** INCOMPATIBLE CHANGE **: The variable `use-left-overflow',
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2672 for controlling annotations in the left margin, is now a specifier
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2673 variable instead of a buffer-local variable. (There is also a new
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2674 variable `use-right-overflow', that is complementary.)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2675
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2676
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2677
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2678 *** Hashing
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2679 -----------
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2680
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2681 Two new types of weak hashtables can be created: key-weak and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2682 value-weak. In a key-weak hashtable, an entry remains around
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2683 if its key is referenced elsewhere, regardless of whether this
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2684 is also the case for the value. Value-weak hashtables are
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2685 complementary. (This is as opposed to the traditional weak
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2686 hashtables, where an entry remains around only if both the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2687 key and value are referenced elsewhere.) New functions
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2688 `make-key-weak-hashtable' and `make-value-weak-hashtable'
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2689 are provided for creating these hashtables.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2690
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2691 The new function `md5' is provided for performing an MD5
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2692 hash of an object. MD5 is a secure message digest algorithm
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2693 developed by RSA, inc.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2694
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2695
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2696
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2697 *** Keymaps
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2698 -----------
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2699
116
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents: 104
diff changeset
2700 The GNU Emacs concept of `function-key-map' is now partially
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2701 implemented. This allows conversion of function-key escape sequences
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2702 such as `ESC [ 1 1 ~' into an equivalent human-readable keysym such as
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2703 `F1'. This work will be completed in 19.14. The function-key map is
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2704 device-local and controllable through the functions
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2705 `device-function-key-map' and `set-device-function-key-map'.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2706
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2707 `where-is-internal' now correctly searches minor-mode keymaps,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2708 extent-local keymaps, etc. As a side effect of this, menu items will
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2709 now correctly show the keyboard equivalent for commands that are
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2710 available through a minor-mode keymap, extent-local keymap, etc.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2711
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 56
diff changeset
2712 ** INCOMPATIBLE CHANGE **: The modifier key "Symbol" has
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2713 been renamed to "Alt", for compatibility with the rest of the world.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2714 Keep in mind that on many keyboards, the key labelled "Alt" actually
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2715 generates the "Meta" modifier. (On Sun keyboards, however, the key
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2716 labelled "Alt" does indeed generate the "Alt" modifier, and the key
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2717 labelled with a diamond generates the "Meta" modifier.)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2718
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2719
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2720
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2721 *** Mouse, Active Region
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2722 ------------------------
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2723
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2724 The mouse internals in mouse.el have been rewritten. Hooks have been
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2725 provided for easier customization of mouse behavior. For example, you
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2726 can now easily specify an action to be invoked on single-click
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2727 (i.e. down-up without appreciable motion), double-click, drag-up, etc.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2728
116
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents: 104
diff changeset
2729 Some code from GNU Emacs has been ported over, generalizing some of
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2730 the X-specific mouse stuff.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2731
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 56
diff changeset
2732 ** INCOMPATIBLE CHANGE **: The function `set-mouse-position' accepts
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2733 a window instead of a frame.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2734
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2735 New function `mouse-position' that obsoletes and is more powerful than
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2736 `read-mouse-position'.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2737
153
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents: 146
diff changeset
2738 New functions `mouse-pixel-position' and `set-mouse-pixel-position' for
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2739 working with pixels instead of characters.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2740
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2741 The active (Zmacs) region is now highlighted using the `zmacs-region-face'
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2742 instead of the `primary-selection-face'; this generalizes what used
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2743 to be X-specific.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2744
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2745 New functions `region-active-p', `region-exists-p', and `activate-region'
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2746 provide a uniform API for dealing with the region irrespective of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2747 whether the variable `zmacs-regions' is set.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2748
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2749 XEmacs is now a better X citizen with respect to the primary selection:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2750 it does not stomp on the primary selection quite so much. This makes
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2751 things more manageable if you set `zmacs-regions' to nil.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2752
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2753
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2754
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2755 *** Processes
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2756 -------------
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2757
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2758 Various process race conditions and bugs have been fixed. Problems
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2759 with process termination not getting noticed until much later (if at
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2760 all) should be gone now, as well as problems with zombie processes
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2761 under some systems.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2762
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2763 SOCKS support is now included. SOCKS is a package that allows hosts
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2764 behind a firewall to gain full access to the Internet without
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2765 requiring direct IP reachability.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2766
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2767
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2768
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2769 *** Windows
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2770 -----------
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2771
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2772 Windows 95 is still not out yet.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2773
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 56
diff changeset
2774 ** INCOMPATIBLE CHANGE **: The functions `locate-window-from-coordinates'
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2775 and `window-edges' have been eliminated. It no longer makes sense to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2776 work with windows in terms of character positions, because windows can
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2777 (and often do) have many differently-sized fonts in them, because the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2778 3-D modeline is not exactly one line high, etc.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2779
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2780 The new functions `window-pixel-edges', `window-highest-p',
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2781 `window-lowest-p', `frame-highest-window', and `frame-lowest-window'
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2782 are provided as substitutes for the above-mentioned, deleted
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2783 functions.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2784
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2785 The function `window-end' now takes an optional GUARANTEE argument
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2786 that will ensure that the value is actually correct as of the next
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2787 redisplay.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2788
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2789 The window code has been merged with GNU Emacs 19.28, providing
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2790 improved functionality for many functions.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2791
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2792
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2793
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2794 *** System-Specific Information
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2795 -------------------------------
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2796
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2797 Georg Nikodym's dynodump package is provided, for proper unexec()ing
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2798 on Solaris systems. Executables built on Solaris 2.3 can now run on
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2799 Solaris 2.4 without crashing; similarly with executables built on one
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2800 type of Sun machine and run on another.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2801
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2802 AIX 4.x is supported.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2803
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2804 The NeXTstep operating system is supported in TTY mode (this is still
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2805 in beta). There are plans to port XEmacs to the NeXTstep window
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2806 system, but it may be awhile before this is complete.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2807
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2808 Problems with the `round' function causing arithmetic errors on HPUX 9
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2809 have been fixed.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2810
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2811 You can now build XEmacs as an ELF executable on Linux systems that
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2812 support ELF.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2813
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2814 Various other new system configurations are supported.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2815
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2816
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2817
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 56
diff changeset
2818 *** Packages
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 56
diff changeset
2819 ------------
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 56
diff changeset
2820
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 56
diff changeset
2821 Most packages have been updated to the latest available versions.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 56
diff changeset
2822
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 56
diff changeset
2823
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 56
diff changeset
2824 Some of the new Emacs Lisp packages ---
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 56
diff changeset
2825
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 56
diff changeset
2826 Hyperbole: the everyday information manager. Provides a Rolodex,
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 56
diff changeset
2827 allows links to be embedded in text, etc.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 56
diff changeset
2828
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 56
diff changeset
2829 OOBR: a sophisticated class browser for object-oriented languages.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 56
diff changeset
2830
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 56
diff changeset
2831 viper: a better VI emulator that allows Emacs and VI features
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 56
diff changeset
2832 to coexist happily.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 56
diff changeset
2833
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 56
diff changeset
2834 hm--html-menus: a sophisticated package for editing HTML code,
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 56
diff changeset
2835 from Heiko Muenkel.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 56
diff changeset
2836
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 56
diff changeset
2837 ksh-mode.el: for editing shell scripts.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 56
diff changeset
2838
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 56
diff changeset
2839 lazy-lock.el: a lazy, on-the-fly fontifier.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 56
diff changeset
2840
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 56
diff changeset
2841 paren.el: an improved matching paren highlighter
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 56
diff changeset
2842
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 56
diff changeset
2843
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 56
diff changeset
2844
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 56
diff changeset
2845 Major changes to existing packages --
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 56
diff changeset
2846
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 56
diff changeset
2847 VM: has a toolbar, many other nice features.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 56
diff changeset
2848
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 56
diff changeset
2849 w3: has a toolbar, many other nice features.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 56
diff changeset
2850
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 56
diff changeset
2851 ediff: provides three-way merging, has a better user interface.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 56
diff changeset
2852
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 56
diff changeset
2853 info: has a toolbar.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 56
diff changeset
2854
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 56
diff changeset
2855 highlight-headers.el: now highlights URL's and makes them active so
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 56
diff changeset
2856 that when clicked either Netscape 1.1 is called
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 56
diff changeset
2857 or Emacs W3 is run.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 56
diff changeset
2858
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2859
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2860 ** Major Differences Between 19.10 and 19.11
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2861 ============================================
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 56
diff changeset
2862
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2863 The name has changed from "Lucid Emacs" to "XEmacs". Along with this is a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2864 new canonical ftp site: cs.uiuc.edu:/pub/xemacs.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2865
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2866 XEmacs now has its very own World Wide Web page! It contains a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2867 complete list of the FTP distribution sites, the most recent FAQ,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2868 pointers to Emacs Lisp packages not included with the distribution, and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2869 other useful stuff. Check it out at http://xemacs.cs.uiuc.edu/.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2870
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2871 A preliminary New Users Guide.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2872
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2873 cc-mode.el now provides the default C, C++ and Objective-C modes.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2874
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2875 The primary goal of this release is stability. Very few new features have
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2876 been introduced but lots of bugs have been fixed. Many of the Emacs Lisp
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2877 packages have been updated.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2878
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2879 Some of the new Emacs Lisp packages ---
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2880
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2881 tcl-mode.el: major mode for editing TCL code
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2882
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2883 fast-lock.el: saves and restores font-lock highlighting, greatly
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2884 reducing the time necessary for loading a font-lock'ed
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2885 file
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2886
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2887 ps-print.el: prints buffers to Postscript printers preserving the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2888 buffer's bold and italic text attributes
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2889
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2890 toolbar.el: provides a "fake" toolbar for use with XEmacs (an
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2891 integrated one will be included with 19.12)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2892
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2893
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2894 ** Major Differences Between 19.9 and 19.10
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2895 ===========================================
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2896
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2897 The GNU `configure' system is now used to build lemacs.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2898
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2899 The Emacs Manual and Emacs Lisp Reference Manual now document version 19.10.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2900 If you notice any errors, please let us know.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2901
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2902 When pixmaps are displayed in a buffer, they contribute to the line height -
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2903 that is, if the glyph is taller than the rest of the text on the line, the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2904 line will be as tall as necessary to display the glyph.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2905
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2906 In addition to using arbitrary sound files as emacs beeps, one can control
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2907 the pitch and duration of the standard X beep, on X servers which allow that
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2908 (Note: most don't.)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2909
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2910 There is support for playing sounds on systems with NetAudio servers.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2911
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2912 Minor modes may have mode-specific key bindings; keymaps may have an arbitrary
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2913 number of parent maps.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2914
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2915 Menus can have toggle and radio buttons in them.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2916
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2917 There is a font selection menu.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2918
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2919 Some default key bindings have changed to match FSF19; the new bindings are
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2920
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2921 Screen-related commands:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2922 C-x 5 2 make-screen
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2923 C-x 5 0 delete-screen
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2924 C-x 5 b switch-to-buffer-other-screen
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2925 C-x 5 f find-file-other-screen
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2926 C-x 5 C-f find-file-other-screen
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2927 C-x 5 m mail-other-screen
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2928 C-x 5 o other-screen
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2929 C-x 5 r find-file-read-only-other-screen
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2930 Abbrev-related commands:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2931 C-x a l add-mode-abbrev
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2932 C-x a C-a add-mode-abbrev
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2933 C-x a g add-global-abbrev
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2934 C-x a + add-mode-abbrev
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2935 C-x a i g inverse-add-global-abbrev
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2936 C-x a i l inverse-add-mode-abbrev
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2937 C-x a - inverse-add-global-abbrev
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2938 C-x a e expand-abbrev
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2939 C-x a ' expand-abbrev
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2940 Register-related commands:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2941 C-x r C-SPC point-to-register
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2942 C-x r SPC point-to-register
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2943 C-x r j jump-to-register
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2944 C-x r s copy-to-register
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2945 C-x r x copy-to-register
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2946 C-x r i insert-register
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2947 C-x r g insert-register
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2948 C-x r r copy-rectangle-to-register
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2949 C-x r c clear-rectangle
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2950 C-x r k kill-rectangle
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2951 C-x r y yank-rectangle
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2952 C-x r o open-rectangle
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2953 C-x r t string-rectangle
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2954 C-x r w window-configuration-to-register
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2955 Narrowing-related commands:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2956 C-x n n narrow-to-region
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2957 C-x n w widen
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2958 Other changes:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2959 C-x 3 split-window-horizontally (was undefined)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2960 C-x - shrink-window-if-larger-than-buffer
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2961 C-x + balance-windows
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2962
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 56
diff changeset
2963 The variable allow-deletion-of-last-visible-screen has been removed, since
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2964 it was widely hated. You can now always delete the last visible screen if
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2965 there are other iconified screens in existence.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2966
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2967 ToolTalk support is provided.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2968
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2969 An Emacs screen can be placed within an "external client widget" managed
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2970 by another application. This allows an application to use an Emacs screen
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2971 as its text pane rather than the standard Text widget that is provided
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2972 with Motif or Athena.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2973
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2974 Additional compatibility with Epoch is provided (though this is not yet
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2975 complete.)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2976
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2977
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2978 ** Major Differences Between 19.8 and 19.9
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2979 ==========================================
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2980
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2981 Scrollbars! If you have Motif, these are real Motif scrollbars; otherwise,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2982 Athena scrollbars are used. They obey all the usual resources of their
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2983 respective toolkits.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2984
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
2985 There is now an implementation of dialog boxes based on the Athena
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2986 widgets, as well as the existing Motif implementation.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2987
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 56
diff changeset
2988 This release works with Motif 1.2 as well as 1.1. If you link with Motif,
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2989 you do not also need to link with Athena.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2990
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2991 If you compile lwlib with both USE_MOTIF and USE_LUCID defined (which is the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2992 recommended configuration) then the Lucid menus will draw text using the Motif
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2993 string-drawing library, instead of the Xlib one. The reason for this is that
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2994 one can take advantage of the XmString facilities for including non-Latin1
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2995 characters in resource specifications. However, this is a user-visible change
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 56
diff changeset
2996 in that, in this configuration, the menubar will use the "*fontList" resource
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2997 in preference to the "*font" resource, if it is set.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2998
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2999 It's possible to make extents which are copied/pasted by kill and undo.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3000 There is an implementation of FSF19-style text properties based on this.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3001
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3002 There is a new variable, minibuffer-max-depth, which is intended to circumvent
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3003 a common source of confusion among new Emacs users. Since, under a window
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3004 system, it's easy to jump out of the minibuffer (by doing M-x, then getting
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3005 distracted, and clicking elsewhere) many, many novice users have had the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3006 problem of having multiple minibuffers build up, even to the point of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3007 exhausting the lisp stack. So the default behavior is to disallow the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3008 minibuffer to ever be reinvoked while active; if you attempt to do so, you
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3009 will be prompted about it.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3010
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3011 There is a new variable, teach-extended-commands-p, which if set, will cause
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3012 `M-x' to remind you of any key bindings of the command you just invoked the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3013 "long way."
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3014
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3015 There are menus in Dired, Tar, Comint, Compile, and Grep modes.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3016
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3017 There is a menu of window management commands on the right mouse button over
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3018 the modelines.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3019
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 56
diff changeset
3020 Popup menus now have titles at the top; this is controlled by the new
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3021 variable `popup-menu-titles'.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3022
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3023 The `Find' key on Sun keyboards will search for the next (or previous)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3024 occurrence of the selected text, as in OpenWindows programs.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3025
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3026 The `timer' package has been renamed to `itimer' to avoid a conflict with
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3027 a different package called `timer'.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3028
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3029 VM 5.40 is included.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3030
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3031 W3, the emacs interface to the World Wide Web, is included.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3032
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3033 Felix Lee's GNUS speedups have been installed, including his new version of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3034 nntp.el which makes GNUS efficiently utilize the NNTP XOVER command if
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 56
diff changeset
3035 available (which is much faster.)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3036
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3037 GNUS should also be much friendlier to new users: it starts up much faster,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3038 and doesn't (necessarily) subscribe you to every single newsgroup.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3039
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3040 The byte-compiler issues a new class of warnings: variables which are
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3041 bound but not used. This is merely an advisory, and does not mean the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3042 code is incorrect; you can disable these warnings in the usual way with
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3043 the `byte-compiler-options' macro.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3044
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3045 the `start-open' and `end-open' extent properties, for specifying whether
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3046 characters inserted exactly at a boundary of an extent should go into the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3047 extent or out of it, now work correctly.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3048
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3049 The `extent-data' slot has been generalized/replaced with a property list,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3050 so it's easier to attach arbitrary data to extent objects.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3051
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3052 The `event-modifiers' and `event-modifier-bits' functions work on motion
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3053 events as well as other mouse and keyboard events.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3054
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3055 Forms-mode uses fonts and read-only regions.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3056
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3057 The behavior of the -geometry command line option should be correct now.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3058
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3059 The `iconic' screen parameter works when passed to x-create-screen.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3060
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3061 The user's manual now documents Lucid Emacs 19.9.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3062
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3063 The relocating buffer allocator is turned on by default; this means that when
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 56
diff changeset
3064 buffers are killed, their storage will be returned to the operating system,
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3065 and the size of the emacs process will shrink.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3066
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3067 CAVEAT: code which contains calls to certain `face' accessor functions will
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3068 need to be recompiled by version 19.9 before it will work. The functions
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3069 whose callers must be recompiled are: face-font, face-foreground,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3070 face-background, face-background-pixmap, and face-underline-p. The symptom
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3071 of this problem is the error "Wrong type argument, arrayp, #<face ... >".
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3072 The .elc files generated by version 19.9 will work in 19.6 and 19.8, but
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3073 older .elc files which contain calls to these functions will not work in 19.9.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3074
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3075 Work In Progress:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3076
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3077 - We have been in the process of internationalizing Lucid Emacs. This code is
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3078 ***not*** ready for general use yet. However, the code is included (and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3079 turned off by default) in this release.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3080
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3081 - If you define I18N2 at compile-time, then sorting/collation will be done
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3082 according to the locale returned by setlocale().
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3083
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3084 - If you define I18N3 at compile-time, then all messages printed by lemacs
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3085 will be filtered through the gettext() library routine, to enable the use
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3086 of locale-specific translation catalogues. The current implementation of
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 56
diff changeset
3087 this is quite dependent on Solaris 2, and has a very large impact on
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3088 existing code, therefore we are going to be making major changes soon.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3089 (You'll notice calls to `gettext' and `GETTEXT' scattered around much of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3090 the lisp and C code; ignore it, this will be going away.)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3091
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3092 - If you define I18N4 at compile-time, then lemacs will internally use a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3093 wide representation of characters, enabling the use of large character
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 56
diff changeset
3094 sets such as Kanji. This code is very OS dependent: it requires X11R5,
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3095 and several OS-supplied library routines for reading and writing wide
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3096 characters (getwc(), putwc(), and a few others.) Performance is also a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3097 problem. This code is also scheduled for a major overhaul, with the
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 56
diff changeset
3098 intent of improving performance and portability.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3099
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3100 Our eventual goal is to merge with MULE, or at least provide the same base
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 56
diff changeset
3101 level of functionality. If you would like to help out with this, let us
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3102 know.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3103
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 56
diff changeset
3104 - Other work-in-progress includes Motif drag-and-drop support, ToolTalk
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 56
diff changeset
3105 support, and support for embedding an Emacs widget inside another
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3106 application (where it can function as that other application's text-entry
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3107 area). This code has not been extensively tested, and may (or may not)
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 56
diff changeset
3108 have portability problems, but it's there for the adventurous. Comments,
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3109 suggestions, bug reports, and especially fixes are welcome. But have no
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3110 expectations that this experimental code will work at all.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3111
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3112
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3113 ** Major Differences Between 19.6 and 19.8
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3114 ==========================================
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3115
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3116 There were almost no differences between versions 19.6 and 19.7; version 19.7
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3117 was a bug-fix release that was distributed with Energize 2.1.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3118
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3119 Lucid Emacs 19.8 represents the first stage of the Lucid Emacs/Epoch merger.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3120 The redisplay engine now in lemacs is an improved descendant of the Epoch
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3121 redisplay. As a result, many bugs have been eliminated, and several disabled
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3122 features have been re-enabled. Notably:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3123
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3124 Selective display (and outline-mode) work.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3125
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3126 Horizontally split windows work.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3127
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3128 The height of a line is the height of the tallest font displayed on that line;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3129 it is possible for a screen to display lines of differing heights. (Previously,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3130 the height of all lines was the height of the tallest font loaded.)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3131
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3132 There is lisp code to scale fonts up and down, for example, to load the next-
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3133 taller version of a font.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3134
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3135 There is a new internal representation for lisp objects, giving emacs-lisp 28
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3136 bit integers and a 28 bit address space, up from the previous maximum of 26.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3137 We expect eventually to increase this to 30 bit integers and a 32 bit address
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3138 space, eliminating the need for DATA_SEG_BITS on some architectures. (On 64
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3139 bit machines, add 32 to all of these numbers.)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3140
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3141 GC performance is improved.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3142
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3143 Various X objects (fonts, colors, cursors, pixmaps) are accessible as first-
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3144 class lisp objects, with finalization.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3145
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3146 An alternate interface to embedding images in the text is provided, called
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3147 "annotations." You may create an "annotation margin" which is whitespace at
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3148 the left side of the screen that contains only annotations, not buffer text.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3149
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3150 When using XPM files, one can specify the values of logical color names to be
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3151 used when loading the files.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3152
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3153 It is possible to resize windows by dragging their modelines up and down. More
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3154 generally, it is possible to add bindings for mouse gestures on the modelines.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3155
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3156 There is support for playing sound files on HP machines.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3157
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3158 ILISP version 5.5 is included.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3159
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3160 The Common Lisp #' read syntax is supported (#' is to "function" as ' is to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3161 "quote".)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3162
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3163 The `active-p' slot of menu items is now evaluated, so one can put arbitrary
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3164 lisp code in a menu to decide whether that item should be selectable, rather
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3165 than doing this with an `activate-menubar-hook'.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3166
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3167 The X resource hierarchy has changed slightly, to be more consistent. It used
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3168 to be
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3169 argv[0] SCREEN-NAME pane screen
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3170 ApplicationShell EmacsShell Paned EmacsFrame
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3171
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3172 now it is
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3173
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3174 argv[0] shell pane SCREEN-NAME
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3175 ApplicationShell EmacsShell Paned EmacsFrame
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3176
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3177 The Lucid Emacs sources have been largely merged with FSF version 19; this
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3178 means that the lisp library contains the most recent releases of various
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3179 packages, and many new features of FSF 19 have been incorporated.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3180
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3181 Because of this, the lemacs sources should also be substantially more portable.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3182
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3183
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3184 ** Major Differences Between 19.4 and 19.6
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3185 ==========================================
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3186
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3187 There were almost no differences between versions 19.4 and 19.5; we fixed
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3188 a few minor bugs and repacked 19.4 as 19.5 for a CD-ROM that we gave away
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3189 as a trade show promotion.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3190
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3191 The primary goal of the 19.6 release is stability, rather than improved
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3192 functionality, so there aren't many user-visible changes. The most notable
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3193 changes are:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3194
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3195 - The -geometry command-line option now correctly overrides geometry
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3196 specifications in the resource database.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3197 - The `width' and `height' screen-parameters work.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3198 - Font-lock-mode considers the comment start and end characters to be
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3199 a part of the comment.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3200 - The lhilit package has been removed. Use font-lock-mode instead.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3201 - vm-isearch has been fixed to work with isearch-mode.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3202 - new versions of ispell and calendar.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3203 - sccs.el has menus.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3204
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3205 Lots of bugs were fixed, including the problem that lemacs occasionally
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3206 grabbed the keyboard focus.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3207
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3208 Also, as of Lucid Emacs 19.6 and Energize 2.0 (shipping now) it is possible
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3209 to compile the public release of Lucid Emacs with support for Energize; so
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3210 now Energize users will be able to build their own Energize-aware versions
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3211 of lemacs, and will be able to use newer versions of lemacs as they are
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3212 released to the net. (Of course, this is not behavior covered by your
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3213 Energize support contract; you do it at your own risk.)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3214
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3215 I have not incorporated all portability patches that I have been sent since
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3216 19.4; I will try to get to them soon. However, if you need to make any
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3217 changes to lemacs to get it to compile on your system, it would be quite
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3218 helpful if you would send me context diffs (diff -c) against version 19.6.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3219
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3220
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3221 ** Major Differences Between 19.3 and 19.4
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3222 ==========================================
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3223
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3224 Prototypes have been added for all functions. Emacs compiles in the strict
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3225 ANSI modes of lcc and gcc, so portability should be vastly improved.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3226
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 56
diff changeset
3227 Many many many many core leaks have been plugged, especially in screen
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3228 creation and deletion.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3229
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3230 The float support reworked to be more portable and ANSI conformant. This
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 56
diff changeset
3231 resulted in these new configuration parameters: HAVE_INVERSE_HYPERBOLIC,
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 56
diff changeset
3232 HAVE_CBRT, HAVE_RINT, FLOAT_CHECK_ERRNO, FLOAT_CATCH_SIGILL,
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3233 FLOAT_CHECK_DOMAIN. Let us know if you had to change the defaults on your
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3234 architecture.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3235
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 56
diff changeset
3236 The SunOS unexec has been rewritten, and now works with either static or
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3237 dynamic libraries, depending on whether -Bstatic or -Bdynamic were specified
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3238 at link-time.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3239
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3240 Small (character-sized) bitmaps can be mixed in with buffer text via the new
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3241 functions set-extent-begin-glyph and set-extent-end-glyph. (This is actually
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3242 a piece of functionality that Energize has been using for a while, but we've
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3243 just gotten around to making it possible to use it without Energize. See how
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3244 nice we are? Go buy our product.)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3245
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3246 If compiled with Motif support, one can pop up dialog boxes from emacs lisp.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3247 We encourage someone to contribute Athena an version of this code; it
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 56
diff changeset
3248 shouldn't be much work.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3249
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3250 If dialog boxes are available, then y-or-n-p and yes-or-no-p use dialog boxes
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 56
diff changeset
3251 instead of the minibuffer if invoked as a result of a command that was
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3252 executed from a menu instead of from the keyboard.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3253
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3254 Multiple screen support works better; check out doc of get-screen-for-buffer.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3255
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3256 The default binding of backspace is the same as delete. (C-h is still help.)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3257
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 56
diff changeset
3258 A middle click while the minibuffer is active does completion if you click on
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3259 a highlighted completion, otherwise it executes the global binding of button2.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3260
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3261 New versions of Barry Warsaw's c++-mode and syntax.c. Font-lock-mode works
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3262 with C++ mode now.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3263
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3264 The semantics of activate-menubar-hook has changed; the functions are called
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3265 with no arguments now.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3266
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3267 `truename' no longer hacks the automounter; use directory-abbrev-alist instead.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3268
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3269 Most minibuffer handling has been reimplemented in emacs-lisp.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3270
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3271 There is now a builtin minibuffer history mechanism which replaces gmhist.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3272
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3273
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3274 ** Major Differences Between 19.2 and 19.3
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3275 ==========================================
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3276
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3277 The ISO characters have correct case and syntax tables now, so the word-motion
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3278 and case-converting commands work sensibly on them.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3279
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3280 If you set ctl-arrow to an integer, you can control exactly which characters
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3281 are printable. (There will be a less crufty way to do this eventually.)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3282
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3283 Menubars can now be buffer local; the function set-screen-menubar no longer
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 56
diff changeset
3284 exists. Look at GNUS and VM for examples of how to do this, or read
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3285 menubar.el.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3286
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3287 When emacs is reading from the minibuffer with completions, any completions
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3288 which are visible on the screen will highlight when the mouse moves over them;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3289 clicking middle on a completion is the same as typing it at the minibuffer.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3290 Some implications of this: The *Completions* buffer is always mousable. If
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3291 you're using the completion feature of find-tag, your source code will be
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 56
diff changeset
3292 mousable when you type M-. Dired buffers will be mousable as soon as you
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3293 type ^X^F. And so on.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3294
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3295 The old isearch code has been replaced with a descendant of Dan LaLiberte's
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3296 excellent isearch-mode; it is more customizable, and generally less bogus.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3297 You can search for "composed" characters. There are new commands, too; see
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3298 the doc for ^S, or the NEWS file.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3299
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3300 A patched GNUS 3.14 is included.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3301
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3302 The user's manual now documents Lucid Emacs 19.3.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3303
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3304 A few more modes have mouse and menu support.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3305
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3306 The startup code should be a little more robust, and give you more reasonable
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3307 error messages when things aren't installed quite right (instead of the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3308 ubiquitous "cannot open DISPLAY"...)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3309
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3310 Subdirectories of the lisp directory whose names begin with a hyphen or dot
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3311 are not automatically added to the load-path, so you can use this to avoid
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3312 accidentally inflicting experimental software on your users.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3313
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3314 I've tried to incorporate all of the portability patches that were sent to
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 56
diff changeset
3315 me; I tried to solve some of the problems in different ways than the
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3316 patches did, so let me know if I missed something.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3317
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3318 Some systems will need to define NEED_STRDUP, NEED_REALPATH, HAVE_DREM, or
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3319 HAVE_REMAINDER in config.h. Really this should be done in the appropriate
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3320 s- or m- files, but I don't know which systems need these and which don't.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3321 If yours does, let me know which file it should be in.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3322
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3323 Check out these new packages:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3324
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3325 blink-paren.el: causes the matching parenthesis to flash on and off whenever
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3326 the cursor is sitting on a paren-syntax character.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3327
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3328 pending-del.el: Certain commands implicitly delete the highlighted region:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3329 Typing a character when there is a highlighted region replaces
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3330 that region with the typed character.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3331
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3332 font-lock.el: A code-highlighting package, driven off of syntax tables, so
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 56
diff changeset
3333 that it understands block comments, strings, etc. The
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3334 insertion hook is used to fontify text as you type it in.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3335
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3336 shell-font.el: Displays your shell-buffer prompt in boldface.
124
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3337
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3338 * The History of XEmacs
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3339 =======================
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3340
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3341 This product is an extension of GNU Emacs, previously known to some as
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3342 "Lucid Emacs" or "ERA". It was initially based on an early version of Emacs
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3343 Version 19 from the Free Software Foundation and has since been kept
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3344 up-to-date with recent versions of that product. It stems from a
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3345 collaboration of Lucid, Inc. with SunSoft DevPro (a division of Sun
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3346 Microsystems, Inc.; formerly called SunPro) and the University of Illinois.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3347
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3348 NOTE: Lucid, Inc. is currently out of business but development on XEmacs
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3349 continues strong. Recently, Amdahl Corporation and INS Engineering have
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3350 both contributed significantly to the development of XEmacs.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3351
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3352
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3353 * What's Different?
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3354 ===================
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3355
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3356
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3357 ** Differences between XEmacs and GNU Emacs 19
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3358 ==================================================
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3359 In XEmacs 20, characters are first-class objects. Characters can be
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3360 converted to integers, but are not integers. FSF 19, XEmacs 19, and Mule
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3361 represent them as integers.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3362
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3363 In XEmacs, events are first-class objects. FSF 19 represents them as
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3364 integers, which obscures the differences between a key gesture and the
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3365 ancient ASCII code used to represent a particular overlapping subset of them.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3366
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3367 In XEmacs, keymaps are first-class opaque objects. FSF 19 represents them as
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3368 complicated combinations of association lists and vectors. If you use the
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3369 advertised functional interface to manipulation of keymaps, the same code
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3370 will work in XEmacs, Emacs 18, and GNU Emacs 19; if your code depends
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3371 on the underlying implementation of keymaps, it will not.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3372
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3373 XEmacs uses "extents" to represent all non-textual aspects of buffers;
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3374 FSF 19 uses two distinct objects, "text properties" and "overlays",
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3375 which divide up the functionality between them. Extents are a
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3376 superset of the functionality of the two FSF data types. The full FSF
223
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
3377 19 interface to text properties and overlays is supported in XEmacs
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
3378 (with extents being the underlying representation).
124
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3379
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3380 Extents can be made to be copied into strings, and thus restored by kill
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3381 and yank. Thus, one can specify this behavior on either "extents" or
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3382 "text properties", whereas in FSF 19 text properties always have this
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3383 behavior and overlays never do.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3384
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3385 Many more packages are provided standard with XEmacs than with FSF 19.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3386
223
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 219
diff changeset
3387 Images of arbitrary size can be embedded in a buffer.
124
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3388
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3389 Variable width fonts work.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3390
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3391 The height of a line is the height of the tallest font on that line, instead
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3392 of all lines having the same height.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3393
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3394 XEmacs uses the MIT "Xt" toolkit instead of raw Xlib calls, which
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3395 makes it be a more well-behaved X citizen (and also improves
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3396 portability). A result of this is that it is possible to include
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3397 other Xt "Widgets" in the XEmacs window. Also, XEmacs understands the
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3398 standard Xt command-line arguments.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3399
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3400 XEmacs provides support for ToolTalk on systems that have it.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3401
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3402 XEmacs can ask questions using popup dialog boxes. Any command executed from
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3403 a menu will ask yes/no questions with dialog boxes, while commands executed
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3404 via the keyboard will use the minibuffer.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3405
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3406 XEmacs has a built-in toolbar. Four toolbars can actually be configured:
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3407 top, bottom, left, and right toolbars.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3408
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3409 XEmacs has vertical and horizontal scrollbars. Unlike in FSF 19 (which
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3410 provides a primitive form of vertical scrollbar), these are true toolkit
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3411 scrollbars. A look-alike Motif scrollbar is provided for those who
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3412 don't have Motif. (Even for those who do, the look-alike may be preferable
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3413 as it is faster.)
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3414
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3415 If you're running on a machine with audio hardware, you can specify sound
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3416 files for XEmacs to play instead of the default X beep. See the documentation
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3417 of the function load-sound-file and the variable sound-alist.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3418
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3419 An XEmacs frame can be placed within an "external client widget" managed by
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3420 another application. This allows an application to use an XEmacs frame as its
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3421 text pane rather than the standard Text widget that is provided with Motif or
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3422 Athena. XEmacs supports Motif applications, generic Xt (e.g. Athena)
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3423 applications, and raw Xlib applications.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3424
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3425 Here are some more specifics about the XEmacs implementation:
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3426
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3427 *** The Input Model
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3428 -------------------
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3429
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3430 The fundamental unit of input is an "event" instead of a character. An
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3431 event is a new data type that contains several pieces of information.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3432 There are several kinds of event, and corresponding accessor and utility
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3433 functions. We tried to abstract them so that they would apply equally
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3434 well to a number of window systems.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3435
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3436 NOTE: All timestamps are measured as milliseconds since Emacs started.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3437
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3438 key_press_event
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3439 event_channel A token representing which keyboard generated it.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3440 For this kind of event, this is a console object.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3441 timestamp When it happened
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3442 key What keysym this is; a character or a symbol.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3443 If it is a character, it will be a printing
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3444 ASCII character.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3445 modifiers Bucky-bits on that key: control, meta, etc.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3446 For most keys, Shift is not a bit; that is implicit
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3447 in the keyboard layout.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3448
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3449 button_press_event
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3450 button_release_event
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3451 event_channel A token representing which mouse generated it.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3452 For this kind of event, this is a frame object.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3453 timestamp When it happened
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3454 button What button went down or up.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3455 modifiers Bucky-bits on that button: shift, control, meta, etc.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3456 x, y Where it was at the button-state-change (in pixels).
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3457
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3458 pointer_motion_event
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3459 event_channel A token representing which mouse generated it.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3460 For this kind of event, this is a frame object.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3461 timestamp When it happened
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3462 x, y Where it was after it moved (in pixels).
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3463 modifiers Bucky-bits down when the motion was detected.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3464 (Possibly not all window systems will provide this?)
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3465
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3466 process_event
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3467 timestamp When it happened
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3468 process the emacs "process" object in question
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3469
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3470 timeout_event
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3471 timestamp Now (really, when the timeout was signaled)
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3472 interval_id The ID returned when the associated call to
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3473 add_timeout_cb() was made
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3474 ------ the rest of the fields are filled in by Emacs -----
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3475 id_number The Emacs timeout ID for this timeout (more
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3476 than one timeout event can have the same value
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3477 here, since Emacs timeouts, as opposed to
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3478 add_timeout_cb() timeouts, can resignal
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3479 themselves)
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3480 function An elisp function to call when this timeout is
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3481 processed.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3482 object The object passed to that function.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3483
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3484 eval_event
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3485 timestamp When it happened
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3486 function An elisp function to call with this event object.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3487 object Anything.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3488 This kind of event is used internally; sometimes the
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3489 window system interface would like to inform emacs of
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3490 some user action (such as focusing on another frame)
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3491 but needs that to happen synchronously with the other
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3492 user input, like keypresses. This is useful when
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3493 events are reported through callbacks rather
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3494 than in the standard event stream.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3495
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3496 misc_user_event
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3497 timestamp When it happened
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3498 function An elisp function to call with this event object.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3499 object Anything.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3500 This is similar to an eval_event, except that it is
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3501 generated by user actions: selections in the
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3502 menubar or scrollbar actions. It is a "command"
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3503 event, like key and mouse presses (and unlike mouse
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3504 motion, process output, and enter and leave window
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3505 hooks). In many ways, eval_events are not the same
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3506 as keypresses or misc_user_events.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3507
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3508 magic_event
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3509 No user-serviceable parts within. This is for things
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3510 like KeymapNotify and ExposeRegion events and so on
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3511 that emacs itself doesn't care about, but which it
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3512 must do something with for proper interaction with
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3513 the window system.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3514
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3515 Magic_events are handled somewhat asynchronously, just
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3516 like subprocess filters. However, occasionally a
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3517 magic_event needs to be handled synchronously; in that
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3518 case, the asynchronous handling of the magic_event will
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3519 push an eval_event back onto the queue, which will be
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3520 handled synchronously later. This is one of the
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3521 reasons why eval_events exist; I'm not entirely happy
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3522 with this aspect of this event model.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3523
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3524
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3525 The function `next-event' blocks and returns one of the above-described
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3526 event objects. The function `dispatch-event' takes an event and processes
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3527 it in the appropriate way.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3528
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3529 For a process-event, dispatch-event calls the process's handler; for a
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3530 mouse-motion event, the mouse-motion-handler hook is called, and so on.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3531 For magic-events, dispatch-event does window-system-dependent things,
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3532 including calling some non-window-system-dependent hooks: map-frame-hook,
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3533 unmap-frame-hook, mouse-enter-frame-hook, and mouse-leave-frame-hook.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3534
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3535 The function `next-command-event' calls `next-event' until it gets a key or
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3536 button from the user (that is, not a process, motion, timeout, or magic
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3537 event). If it gets an event that is not a key or button, it calls
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3538 `dispatch-event' on it immediately and reads another one. The
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3539 next-command-event function could be implemented in Emacs Lisp, though it
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3540 isn't. Generally one should call `next-command-event' instead of
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3541 `next-event'.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3542
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3543 read-char calls next-command-event; if it doesn't get an event that can be
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3544 converted to an ASCII character, it signals an error. Otherwise it returns
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3545 an integer.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3546
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3547 The variable `last-command-char' always contains an integer, or nil (if the
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3548 last read event has no ASCII equivalent, as when it is a mouse-click or a
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3549 non-ASCII character chord.)
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3550
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3551 The new variable `last-command-event' holds an event object, that could be
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3552 a non-ASCII character, a button click, a menu selection, etc.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3553
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3554 The variable `unread-command-char' no longer exists, and has been replaced
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3555 by `unread-command-events'. With the new event model, it is incorrect for
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3556 code to do (setq unread-command-char (read-char)), because all user-input
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3557 can't be represented as ASCII characters. *** This is an incompatible
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3558 change. Code which sets `unread-command-char' must be updated to use the
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3559 combination of `next-command-event' and `unread-command-events' instead.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3560
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3561 The functions `this-command-keys' and `recent-keys' return a vector of
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3562 event objects, instead of a string of ASCII characters. *** This also
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3563 is an incompatible change.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3564
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3565 Almost nothing happens at interrupt level; the SIGIO handler simply sets a
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3566 flag, and later, the X event queue is scanned for KeyPress events which map
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3567 to ^G. All redisplay happens in the main thread of the process.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3568
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3569
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3570 *** Keymaps
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3571 -----------
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3572
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3573 Instead of keymaps being alists or obarrays, they are a new primary data
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3574 type. The only user access to the contents of a keymap is through the
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3575 existing keymap-manipulation functions, and a new function, map-keymap.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3576 This means that existing code that manipulates keymaps may need to
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3577 be changed.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3578
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3579 One of our goals with the new input and keymap code was to make more
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3580 character combinations available for binding, besides just ASCII and
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3581 function keys. We want to be able bind different commands to Control-a
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3582 and Control-Shift-a; we also want it to be possible for the keys Control-h
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3583 and Backspace (and Control-M and Return, and Control-I and Tab, etc) to
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3584 be distinct.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3585
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3586 One of the most common complaints that new Emacs users have is that backspace
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3587 is help. The answer is to play around with the keyboard-translate-table, or
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3588 be lucky enough to have a system administrator who has done this for you
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3589 already; but if it were possible to bind backspace and C-h to different
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3590 things, then (under a window manager at least) both backspace and delete
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3591 would delete a character, and ^H would be help. There's no need to deal
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3592 with xmodmap, kbd-translate-table, etc.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3593
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3594 Here are some more examples: suppose you want to bind one function to Tab,
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3595 and another to Control-Tab. This can't be done if Tab and Control-I are the
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3596 same thing. What about control keys that have no ASCII equivalent, like
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3597 Control-< ? One might want that to be bound to set-mark-at-point-min. We
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3598 want M-C-Backspace to be kill-backward-sexp. But we want M-Backspace to be
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3599 kill-backward-word. Again, this can't be done if Backspace and C-h are
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3600 indistinguishable.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3601
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3602 The user represents keys as a string of ASCII characters (when possible and
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3603 convenient), or as a vector of event objects, or as a vector of "key
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3604 description lists", that looks like (control a), or (control meta delete)
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3605 or (shift f1). The order of the modifier-names is not significant, so
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3606 (meta control x) and (control meta x) are the same.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3607
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3608 `define-key' knows how to take any of the above representations and store them
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3609 into a keymap. When Emacs wants to return a key sequence (this-command-keys,
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3610 recent-keys, keyboard-macros, and read-key-sequence, for example) it returns
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3611 a vector of event objects. Keyboard macros can also be represented as ASCII
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3612 strings or as vectors of key description lists.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3613
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3614 This is an incompatible change: code which calls `this-command-keys',
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3615 `recent-keys', `read-key-sequence', or manipulates keyboard-macros probably
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3616 needs to be changed so that it no longer assumes that the returned value is a
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3617 string.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3618
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3619 Control-Shift-a is specified as (control A), not (control shift a), since A
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3620 is a two-case character. But for keys that don't have an upper case
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3621 version, like F1, Backspace, and Escape, you use the (shift backspace) syntax.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3622
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3623 See the doc string for our version of define-key, reproduced below in the
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3624 `Changed Functions' section. Note that when the KEYS argument is a string,
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3625 it has the same semantics as the v18 define-key.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3626
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3627
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3628 *** Xt Integration
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3629 ------------------
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3630
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3631 The heart of the event loop is implemented in terms of the Xt event functions
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3632 (specifically XtAppProcessEvent), and uses Xt's concept of timeouts and
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3633 file-descriptor callbacks, eliminating a large amount of system-dependent code
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3634 (Xt does it for you.)
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3635
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3636 If Emacs is compiled with support for X, it uses the Xt event loop even when
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3637 Emacs is not running on an X display (the Xt event loop supports this). This
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3638 makes it possible to run Emacs on a dumb TTY, and later connect it to one or
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3639 more X servers. It should also be possible to later connect an existing Emacs
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3640 process to additional TTY's, although this code is still experimental. (Our
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3641 intent at this point is not to have an Emacs that is being used by multiple
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3642 people at the same time: it is to make it possible for someone to go home, log
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3643 in on a dialup line, and connect to the same Emacs process that is running
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3644 under X in their office without having to recreate their buffer state and so
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3645 on.)
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3646
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3647 If Emacs is not compiled with support for X, then it instead uses more general
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3648 code, something like what v18 does; but this way of doing things is a lot more
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3649 modular.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3650
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3651 (Linking Emacs with Xt seems to only add about 300k to the executable size,
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3652 compared with an Emacs linked with Xlib only.)
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3653
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3654
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3655 *** Region Highlighting
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3656 -----------------------
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3657
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3658 If the variable `zmacs-regions' is true, then the region between point and
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3659 mark will be highlighted when "active". Those commands which push a mark
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3660 (such as C-SPC, and C-x C-x) make the region become "active" and thus
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3661 highlighted. Most commands (all non-motion commands, basically) cause it to
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3662 become non-highlighted (non-"active"). Commands that operate on the region
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3663 (such as C-w, C-x C-l, etc.) only work if the region is in the highlighted
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3664 state.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3665
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3666 zmacs-activate-region-hook and zmacs-deactivate-region-hook are run at the
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3667 appropriate times; under X, zmacs-activate-region-hook makes the X selection
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3668 be the region between point and mark, thus doing two things at once: making
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3669 the region and the X selection be the same; and making the region highlight
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3670 in the same way as the X selection.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3671
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3672 If `zmacs-regions' is true, then the `mark-marker' command returns nil unless
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3673 the region is currently in the active (highlighted) state. With an argument
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3674 of t, this returns the mark (if there is one) regardless of the active-region
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3675 state. You should *generally* not use the mark unless the region is active,
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3676 if the user has expressed a preference for the active-region model. Watch
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3677 out! Moving this marker changes the mark position. If you set the marker not
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3678 to point anywhere, the buffer will have no mark.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3679
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3680 In this way, the primary selection is a fairly transitory entity; but
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3681 when something is copied to the kill ring, it is made the Clipboard
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3682 selection. It is also stored into CUT_BUFFER0, for compatibility with
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3683 X applications that don't understand selections (like Emacs18).
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3684
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3685 Compatibility note: if you have code which uses (mark) or (mark-marker),
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3686 then you need to either: change those calls to (mark t) or (mark-marker t);
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3687 or simply bind `zmacs-regions' to nil around the call to mark or mark-marker.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3688 This is probably the best solution, since it will work in Emacs 18 as well.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3689
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3690
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3691 *** Menubars and Dialog Boxes
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3692 -----------------------------
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3693
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3694 Here is an example of a menubar definition:
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3695
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3696 (defvar default-menubar
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3697 '(("File" ["Open File..." find-file t]
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3698 ["Save Buffer" save-buffer t]
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3699 ["Save Buffer As..." write-file t]
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3700 ["Revert Buffer" revert-buffer t]
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3701 "-----"
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3702 ["Print Buffer" lpr-buffer t]
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3703 "-----"
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3704 ["Delete Frame" delete-frame t]
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3705 ["Kill Buffer..." kill-buffer t]
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3706 ["Exit Emacs" save-buffers-kill-emacs t]
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3707 )
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3708 ("Edit" ["Undo" advertised-undo t]
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3709 ["Cut" kill-primary-selection t]
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3710 ["Copy" copy-primary-selection t]
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3711 ["Paste" yank-clipboard-selection t]
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3712 ["Clear" delete-primary-selection t]
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3713 )
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3714 ...))
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3715
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3716 The first element of each menu item is the string to print on the menu.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3717
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3718 The second element is the callback function; if it is a symbol, it is
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3719 invoked with `call-interactively.' If it is a list, it is invoked with
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3720 `eval'.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3721
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3722 If the second element is a symbol, then the menu also displays the key that
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3723 is bound to that command (if any).
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3724
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3725 The third element of the menu items determines whether the item is selectable.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3726 It may be t, nil, or a form to evaluate. Also, a hook is run just before a
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3727 menu is exposed, which can be used to change the value of these slots.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3728 For example, there is a hook that makes the "undo" menu item be selectable
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3729 only in the cases when `advertised-undo' would not signal an error.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3730
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3731 Menus may have other menus nested within them; they will cascade.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3732
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3733 There are utility functions for adding items to menus, deleting items,
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3734 disabling them, etc.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3735
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3736 The function `popup-menu' takes a menu description and pops it up.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3737
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3738 The function `popup-dialog-box' takes a dialog-box description and pops
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3739 it up. Dialog box descriptions look a lot like menu descriptions.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3740
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3741 The menubar, menu, and dialog-box code is implemented as a library,
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3742 with an interface which hides the toolkit that implements it.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3743
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3744
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3745 *** Isearch Changes
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3746 -------------------
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3747
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3748 Isearch has been reimplemented in a different way, adding some new features,
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3749 and causing a few incompatible changes.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3750
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3751 - the old isearch-*-char variables are no longer supported. In the old
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3752 system, one could make ^A mean "repeat the search" by doing something
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3753 like (setq search-repeat-char ?C-a). In the new system, this is
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3754 accomplished with
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3755
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3756 (define-key isearch-mode-map "\C-a" 'isearch-repeat-forward)
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3757
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3758 - The advantage of using the normal keymap mechanism for this is that you
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3759 can bind more than one key to an isearch command: for example, both C-a
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3760 and C-s could do the same thing inside isearch mode. You can also bind
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3761 multi-key sequences inside of isearch mode, and bind non-ASCII keys.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3762 For example, to use the F1 key to terminate a search:
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3763
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3764 (define-key isearch-mode-map 'f1 'isearch-exit)
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3765
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3766 or to make ``C-c C-c'' terminate a search:
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3767
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3768 (define-key isearch-mode-map "\C-c\C-c" 'isearch-exit)
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3769
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3770 - If isearch is behaving case-insensitively (the default) and you type an
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3771 upper case character, then the search will become case-sensitive. This
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3772 can be disabled by setting `search-caps-disable-folding' to nil.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3773
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3774 - There is a history ring of the strings previously searched for; typing
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3775 M-p or M-n while searching will cycle through this ring. Typing M-TAB
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3776 will do completion across the set of items in the history ring.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3777
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3778 - The ESC key is no longer used to terminate an incremental search. The
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3779 RET key should be used instead. This change is necessary for it to be
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3780 possible to bind "meta" characters to isearch commands.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3781
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3782
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3783 *** Startup Code Changes
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3784 ------------------------
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3785
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3786 The initial X frame is mapped before the user's .emacs file is executed.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3787 Without this, there is no way for the user to see any error messages
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3788 generated by their .emacs file, any windows created by the .emacs file
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3789 don't show up, and the copyleft notice isn't shown.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3790
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3791 The default values for load-path, exec-path, lock-directory, and
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3792 Info-directory-list are not (necessarily) built into Emacs, but are
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3793 computed at startup time.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3794
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3795 First, Emacs looks at the directory in which its executable file resides:
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3796
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3797 o If that directory contains subdirectories named "lisp" and "lib-src",
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3798 then those directories are used as the lisp library and exec directory.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3799
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3800 o If the parent of the directory in which the emacs executable is located
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3801 contains "lisp" and "lib-src" subdirectories, then those are used.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3802
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3803 o If ../lib/xemacs-<version> (starting from the directory in which the
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3804 emacs executable is located) contains a "lisp" subdirectory and either
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3805 a "lib-src" subdirectory or a <configuration-name> subdirectory, then
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3806 those are used.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3807
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3808 o If the emacs executable that was run is a symbolic link, then the link
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3809 is chased, and the resultant directory is checked as above.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3810
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3811 (Actually, it doesn't just look for "lisp/", it looks for "lisp/prim/",
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3812 which reduces the chances of a false positive.)
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3813
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3814 If the lisp directory contains subdirectories, they are added to the default
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3815 load-path as well. If the site-lisp directory exists and contains
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3816 subdirectories, they are then added. Subdirectories whose names begin with
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3817 a dot or a hyphen are not added to the load-path.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3818
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3819 These heuristics fail if the Emacs binary was copied from the main Emacs
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3820 tree to some other directory, and links for the lisp directory were not put
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3821 in. This isn't much of a restriction: either make there be subdirectories
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3822 (or symbolic links) of the directory of the emacs executable, or make the
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3823 "installed" emacs executable be a symbolic link to an executable in a more
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3824 appropriate directory structure. For example, this setup works:
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3825
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3826 /usr/local/xemacs/xemacs* ; The executable.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3827 /usr/local/xemacs/lisp/ ; The associated directories.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3828 /usr/local/xemacs/etc/ ; Any of the files in this list
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3829 /usr/local/xemacs/lock/ ; could be symbolic links as well.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3830 /usr/local/xemacs/info/
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3831
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3832 As does this:
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3833
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3834 /usr/local/bin/xemacs -> ../xemacs/src/xemacs-19.14 ; A link...
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3835 /usr/local/xemacs/src/xemacs-19.14* ; The executable,
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3836 /usr/local/xemacs/lisp/ ; and the rest of
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3837 /usr/local/xemacs/etc/ ; the source tree
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3838 /usr/local/xemacs/lock/
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3839 /usr/local/xemacs/info/
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3840
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3841 This configuration might be used for a multi-architecture installation; assume
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3842 that $LOCAL refers to a directory which contains only files specific to a
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3843 particular architecture (i.e., executables) and $SHARED refers to those files
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3844 which are not machine specific (i.e., lisp code and documentation.)
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3845
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3846 $LOCAL/bin/xemacs@ -> $LOCAL/xemacs-19.14/xemacs*
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3847 $LOCAL/xemacs-19.14/lisp@ -> $SHARED/xemacs-19.14/lisp/
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3848 $LOCAL/xemacs-19.14/etc@ -> $SHARED/xemacs-19.14/etc/
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3849 $LOCAL/xemacs-19.14/info@ -> $SHARED/xemacs-19.14/info/
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3850
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3851 The following would also work, but the above is probably more attractive:
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3852
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3853 $LOCAL/bin/xemacs*
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3854 $LOCAL/bin/lisp@ -> $SHARED/xemacs-19.14/lisp/
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3855 $LOCAL/bin/etc@ -> $SHARED/xemacs-19.14/etc/
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3856 $LOCAL/bin/info@ -> $SHARED/xemacs-19.14/info/
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3857
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3858 If Emacs can't find the requisite directories, it writes a message like this
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3859 (or some appropriate subset of it) to stderr:
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3860
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3861 WARNING:
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3862 couldn't find an obvious default for load-path, exec-directory, and
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3863 lock-directory, and there were no defaults specified in paths.h when
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3864 Emacs was built. Perhaps some directories don't exist, or the Emacs
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3865 executable, /cadillac-th/jwz/somewhere/xemacs is in a strange place?
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3866
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3867 Without both exec-directory and load-path, Emacs will be very broken.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3868 Consider making a symbolic link from /cadillac-th/jwz/somewhere/etc
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3869 to wherever the appropriate Emacs etc/ directory is, and from
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3870 /cadillac-th/jwz/somewhere/lisp/ to wherever the appropriate Emacs
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3871 lisp library is.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3872
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3873 Without lock-directory set, file locking won't work. Consider
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3874 creating /cadillac-th/jwz/somewhere/lock as a directory or symbolic
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3875 link for use as the lock directory.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3876
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3877 The default installation tree is the following:
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3878
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3879 /usr/local/bin/b2m ;
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3880 ctags ; executables that
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3881 emacsclient ; should be in
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3882 etags ; user's path
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3883 xemacs -> xemacs-<version> ;
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3884 xemacs ;
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3885 /usr/local/lib/xemacs/site-lisp
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3886 /usr/local/lib/xemacs/lock
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3887 /usr/local/lib/xemacs-<version>/etc ; architecture ind. files
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3888 /usr/local/lib/xemacs-<version>/info
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3889 /usr/local/lib/xemacs-<version>/lisp
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3890 /usr/local/lib/xemacs-<version>/<configuration> ; binaries emacs may run
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3891
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3892
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3893 *** X Resources
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3894 ---------------
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3895
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3896 (Note: This section is copied verbatim from the XEmacs Reference Manual.)
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3897
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3898 The Emacs resources are generally set per-frame. Each Emacs frame
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3899 can have its own name or the same name as another, depending on the
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3900 name passed to the `make-frame' function.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3901
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3902 You can specify resources for all frames with the syntax:
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3903
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3904 Emacs*parameter: value
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3905
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3906 or
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3907
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3908 Emacs*EmacsFrame.parameter:value
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3909
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3910 You can specify resources for a particular frame with the syntax:
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3911
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3912 Emacs*FRAME-NAME.parameter: value
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3913
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3914
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3915 **** Geometry Resources
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3916 -----------------------
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3917
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3918 To make the default size of all Emacs frames be 80 columns by 55
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3919 lines, do this:
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3920
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3921 Emacs*EmacsFrame.geometry: 80x55
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3922
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3923 To set the geometry of a particular frame named `fred', do this:
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3924
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3925 Emacs*fred.geometry: 80x55
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3926
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3927 Important! Do not use the following syntax:
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3928
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3929 Emacs*geometry: 80x55
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3930
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3931 You should never use `*geometry' with any X application. It does not
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3932 say "make the geometry of Emacs be 80 columns by 55 lines." It really
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3933 says, "make Emacs and all subwindows thereof be 80x55 in whatever units
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3934 they care to measure in." In particular, that is both telling the
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3935 Emacs text pane to be 80x55 in characters, and telling the menubar pane
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3936 to be 80x55 pixels, which is surely not what you want.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3937
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3938 As a special case, this geometry specification also works (and sets
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3939 the default size of all Emacs frames to 80 columns by 55 lines):
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3940
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3941 Emacs.geometry: 80x55
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3942
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3943 since that is the syntax used with most other applications (since most
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3944 other applications have only one top-level window, unlike Emacs). In
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3945 general, however, the top-level shell (the unmapped ApplicationShell
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3946 widget named `Emacs' that is the parent of the shell widgets that
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3947 actually manage the individual frames) does not have any interesting
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3948 resources on it, and you should set the resources on the frames instead.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3949
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3950 The `-geometry' command-line argument sets only the geometry of the
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3951 initial frame created by Emacs.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3952
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3953 A more complete explanation of geometry-handling is
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3954
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3955 * The `-geometry' command-line option sets the `Emacs.geometry'
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3956 resource, that is, the geometry of the ApplicationShell.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3957
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3958 * For the first frame created, the size of the frame is taken from
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3959 the ApplicationShell if it is specified, otherwise from the
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3960 geometry of the frame.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3961
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3962 * For subsequent frames, the order is reversed: First the frame, and
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3963 then the ApplicationShell.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3964
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3965 * For the first frame created, the position of the frame is taken
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3966 from the ApplicationShell (`Emacs.geometry') if it is specified,
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3967 otherwise from the geometry of the frame.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3968
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3969 * For subsequent frames, the position is taken only from the frame,
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3970 and never from the ApplicationShell.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3971
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3972 This is rather complicated, but it does seem to provide the most
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3973 intuitive behavior with respect to the default sizes and positions of
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3974 frames created in various ways.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3975
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3976
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3977 **** Iconic Resources
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3978 ---------------------
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3979
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3980 Analogous to `-geometry', the `-iconic' command-line option sets the
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3981 iconic flag of the ApplicationShell (`Emacs.iconic') and always applies
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3982 to the first frame created regardless of its name. However, it is
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3983 possible to set the iconic flag on particular frames (by name) by using
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3984 the `Emacs*FRAME-NAME.iconic' resource.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3985
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3986
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3987 **** Resource List
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3988 ------------------
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3989
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3990 Emacs frames accept the following resources:
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3991
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3992 `geometry' (class `Geometry'): string
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3993 Initial geometry for the frame. *Note Geometry Resources:: for a
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3994 complete discussion of how this works.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3995
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3996 `iconic' (class `Iconic'): boolean
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3997 Whether this frame should appear in the iconified state.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3998
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
3999 `internalBorderWidth' (class `InternalBorderWidth'): int
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4000 How many blank pixels to leave between the text and the edge of the
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4001 window.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4002
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4003 `interline' (class `Interline'): int
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4004 How many pixels to leave between each line (may not be
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4005 implemented).
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4006
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4007 `menubar' (class `Menubar'): boolean
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4008 Whether newly-created frames should initially have a menubar. Set
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4009 to true by default.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4010
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4011 `initiallyUnmapped' (class `InitiallyUnmapped'): boolean
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4012 Whether XEmacs should leave the initial frame unmapped when it
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4013 starts up. This is useful if you are starting XEmacs as a server
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4014 (e.g. in conjunction with gnuserv or the external client widget).
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4015 You can also control this with the `-unmapped' command-line option.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4016
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4017 `barCursor' (class `BarColor'): boolean
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4018 Whether the cursor should be displayed as a bar, or the
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4019 traditional box.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4020
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4021 `textPointer' (class `Cursor'): cursor-name
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4022 The cursor to use when the mouse is over text. This resource is
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4023 used to initialize the variable `x-pointer-shape'.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4024
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4025 `selectionPointer' (class `Cursor'): cursor-name
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4026 The cursor to use when the mouse is over a selectable text region
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4027 (an extent with the `highlight' property; for example, an Info
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4028 cross-reference). This resource is used to initialize the variable
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4029 `x-selection-pointer-shape'.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4030
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4031 `spacePointer' (class `Cursor'): cursor-name
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4032 The cursor to use when the mouse is over a blank space in a buffer
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4033 (that is, after the end of a line or after the end-of-file). This
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4034 resource is used to initialize the variable
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4035 `x-nontext-pointer-shape'.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4036
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4037 `modeLinePointer' (class `Cursor'): cursor-name
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4038 The cursor to use when the mouse is over a mode line. This
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4039 resource is used to initialize the variable `x-mode-pointer-shape'.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4040
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4041 `gcPointer' (class `Cursor'): cursor-name
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4042 The cursor to display when a garbage-collection is in progress.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4043 This resource is used to initialize the variable
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4044 `x-gc-pointer-shape'.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4045
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4046 `scrollbarPointer' (class `Cursor'): cursor-name
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4047 The cursor to use when the mouse is over the scrollbar. This
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4048 resource is used to initialize the variable
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4049 `x-scrollbar-pointer-shape'.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4050
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4051 `pointerColor' (class `Foreground'): color-name
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4052 `pointerBackground' (class `Background'): color-name
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4053 The foreground and background colors of the mouse cursor. These
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4054 resources are used to initialize the variables
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4055 `x-pointer-foreground-color' and `x-pointer-background-color'.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4056
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4057 `scrollBarWidth' (class `ScrollBarWidth'): integer
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4058 How wide the vertical scrollbars should be, in pixels; 0 means no
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4059 vertical scrollbars. You can also use a resource specification of
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4060 the form `*scrollbar.width', or the usual toolkit scrollbar
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4061 resources: `*XmScrollBar.width' (Motif), `*XlwScrollBar.width'
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4062 (Lucid), or `*Scrollbar.thickness' (Athena). We don't recommend
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4063 that you use the toolkit resources, though, because they're
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4064 dependent on how exactly your particular build of XEmacs was
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4065 configured.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4066
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4067 `scrollBarHeight' (class `ScrollBarHeight'): integer
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4068 How high the horizontal scrollbars should be, in pixels; 0 means no
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4069 horizontal scrollbars. You can also use a resource specification
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4070 of the form `*scrollbar.height', or the usual toolkit scrollbar
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4071 resources: `*XmScrollBar.height' (Motif), `*XlwScrollBar.height'
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4072 (Lucid), or `*Scrollbar.thickness' (Athena). We don't recommend
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4073 that you use the toolkit resources, though, because they're
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4074 dependent on how exactly your particular build of XEmacs was
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4075 configured.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4076
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4077 `scrollBarPlacement' (class `ScrollBarPlacement'): string
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4078 Where the horizontal and vertical scrollbars should be positioned.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4079 This should be one of the four strings `bottom-left',
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4080 `bottom-right', `top-left', and `top-right'. Default is
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4081 `bottom-right' for the Motif and Lucid scrollbars and
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4082 `bottom-left' for the Athena scrollbars.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4083
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4084 `topToolBarHeight' (class `TopToolBarHeight'): integer
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4085 `bottomToolBarHeight' (class `BottomToolBarHeight'): integer
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4086 `leftToolBarWidth' (class `LeftToolBarWidth'): integer
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4087 `rightToolBarWidth' (class `RightToolBarWidth'): integer
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4088 Height and width of the four possible toolbars.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4089
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4090 `topToolBarShadowColor' (class `TopToolBarShadowColor'): color-name
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4091 `bottomToolBarShadowColor' (class `BottomToolBarShadowColor'): color-name
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4092 Color of the top and bottom shadows for the toolbars. NOTE: These
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4093 resources do *not* have anything to do with the top and bottom
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4094 toolbars (i.e. the toolbars at the top and bottom of the frame)!
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4095 Rather, they affect the top and bottom shadows around the edges of
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4096 all four kinds of toolbars.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4097
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4098 `topToolBarShadowPixmap' (class `TopToolBarShadowPixmap'): pixmap-name
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4099 `bottomToolBarShadowPixmap' (class `BottomToolBarShadowPixmap'): pixmap-name
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4100 Pixmap of the top and bottom shadows for the toolbars. If set,
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4101 these resources override the corresponding color resources. NOTE:
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4102 These resources do *not* have anything to do with the top and
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4103 bottom toolbars (i.e. the toolbars at the top and bottom of the
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4104 frame)! Rather, they affect the top and bottom shadows around the
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4105 edges of all four kinds of toolbars.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4106
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4107 `toolBarShadowThickness' (class `ToolBarShadowThickness'): integer
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4108 Thickness of the shadows around the toolbars, in pixels.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4109
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4110 `visualBell' (class `VisualBell'): boolean
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4111 Whether XEmacs should flash the screen rather than making an
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4112 audible beep.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4113
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4114 `bellVolume' (class `BellVolume'): integer
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4115 Volume of the audible beep.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4116
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4117 `useBackingStore' (class `UseBackingStore'): boolean
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4118 Whether XEmacs should set the backing-store attribute of the X
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4119 windows it creates. This increases the memory usage of the X
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4120 server but decreases the amount of X traffic necessary to update
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4121 the screen, and is useful when the connection to the X server goes
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4122 over a low-bandwidth line such as a modem connection.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4123
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4124
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4125 **** Face Resources
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4126 -------------------
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4127
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4128 The attributes of faces are also per-frame. They can be specified as:
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4129
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4130 Emacs.FACE_NAME.parameter: value
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4131
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4132 (*do not* use `Emacs*FACE_NAME...')
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4133
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4134 or
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4135
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4136 Emacs*FRAME_NAME.FACE_NAME.parameter: value
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4137
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4138 Faces accept the following resources:
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4139
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4140 `attributeFont' (class `AttributeFont'): font-name
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4141 The font of this face.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4142
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4143 `attributeForeground' (class `AttributeForeground'): color-name
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4144 `attributeBackground' (class `AttributeBackground'): color-name
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4145 The foreground and background colors of this face.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4146
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4147 `attributeBackgroundPixmap' (class `AttributeBackgroundPixmap'): file-name
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4148 The name of an XBM file (or XPM file, if your version of Emacs
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4149 supports XPM), to use as a background stipple.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4150
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4151 `attributeUnderline' (class `AttributeUnderline'): boolean
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4152 Whether text in this face should be underlined.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4153
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4154 All text is displayed in some face, defaulting to the face named
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4155 `default'. To set the font of normal text, use
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4156 `Emacs*default.attributeFont'. To set it in the frame named `fred', use
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4157 `Emacs*fred.default.attributeFont'.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4158
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4159 These are the names of the predefined faces:
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4160
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4161 `default'
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4162 Everything inherits from this.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4163
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4164 `bold'
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4165 If this is not specified in the resource database, Emacs tries to
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4166 find a bold version of the font of the default face.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4167
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4168 `italic'
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4169 If this is not specified in the resource database, Emacs tries to
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4170 find an italic version of the font of the default face.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4171
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4172 `bold-italic'
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4173 If this is not specified in the resource database, Emacs tries to
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4174 find a bold-italic version of the font of the default face.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4175
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4176 `modeline'
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4177 This is the face that the modeline is displayed in. If not
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4178 specified in the resource database, it is determined from the
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4179 default face by reversing the foreground and background colors.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4180
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4181 `highlight'
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4182 This is the face that highlighted extents (for example, Info
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4183 cross-references and possible completions, when the mouse passes
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4184 over them) are displayed in.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4185
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4186 `left-margin'
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4187 `right-margin'
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4188 These are the faces that the left and right annotation margins are
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4189 displayed in.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4190
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4191 `zmacs-region'
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4192 This is the face that mouse selections are displayed in.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4193
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4194 `text-cursor'
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4195 This is the face that the cursor is displayed in.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4196
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4197 `isearch'
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4198 This is the face that the matched text being searched for is
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4199 displayed in.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4200
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4201 `info-node'
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4202 This is the face of info menu items. If unspecified, it is copied
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4203 from `bold-italic'.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4204
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4205 `info-xref'
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4206 This is the face of info cross-references. If unspecified, it is
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4207 copied from `bold'. (Note that, when the mouse passes over a
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4208 cross-reference, the cross-reference's face is determined from a
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4209 combination of the `info-xref' and `highlight' faces.)
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4210
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4211 Other packages might define their own faces; to see a list of all
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4212 faces, use any of the interactive face-manipulation commands such as
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4213 `set-face-font' and type `?' when you are prompted for the name of a
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4214 face.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4215
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4216 If the `bold', `italic', and `bold-italic' faces are not specified
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4217 in the resource database, then XEmacs attempts to derive them from the
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4218 font of the default face. It can only succeed at this if you have
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4219 specified the default font using the XLFD (X Logical Font Description)
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4220 format, which looks like
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4221
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4222 *-courier-medium-r-*-*-*-120-*-*-*-*-*-*
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4223
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4224 If you use any of the other, less strict font name formats, some of
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4225 which look like
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4226
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4227 lucidasanstypewriter-12
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4228 fixed
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4229 9x13
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4230
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4231 then XEmacs won't be able to guess the names of the bold and italic
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4232 versions. All X fonts can be referred to via XLFD-style names, so you
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4233 should use those forms. See the man pages for `X(1)', `xlsfonts(1)',
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4234 and `xfontsel(1)'.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4235
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4236
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4237 **** Widgets
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4238 ------------
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4239
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4240 There are several structural widgets between the terminal EmacsFrame
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4241 widget and the top level ApplicationShell; the exact names and types of
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4242 these widgets change from release to release (for example, they changed
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4243 in 19.9, 19.10, 19.12, and 19.13) and are subject to further change in
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4244 the future, so you should avoid mentioning them in your resource database.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4245 The above-mentioned syntaxes should be forward-compatible. As of 19.14,
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4246 the exact widget hierarchy is as follows:
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4247
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4248 INVOCATION-NAME "shell" "container" FRAME-NAME
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4249 x-emacs-application-class "TopLevelEmacsShell" "EmacsManager" "EmacsFrame"
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4250
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4251 (for normal frames)
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4252
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4253 or
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4254
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4255 INVOCATION-NAME "shell" "container" FRAME-NAME
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4256 x-emacs-application-class "TransientEmacsShell" "EmacsManager" "EmacsFrame"
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4257
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4258 (for popup/dialog-box frames)
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4259
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4260 where INVOCATION-NAME is the terminal component of the name of the
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4261 XEmacs executable (usually `xemacs'), and `x-emacs-application-class'
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4262 is generally `Emacs'.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4263
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4264
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4265 **** Menubar Resources
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4266 ----------------------
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4267
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4268 As the menubar is implemented as a widget which is not a part of
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4269 XEmacs proper, it does not use the face mechanism for specifying fonts
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4270 and colors: It uses whatever resources are appropriate to the type of
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4271 widget which is used to implement it.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4272
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4273 If Emacs was compiled to use only the Motif-lookalike menu widgets,
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4274 then one way to specify the font of the menubar would be
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4275
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4276 Emacs*menubar*font: *-courier-medium-r-*-*-*-120-*-*-*-*-*-*
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4277
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4278 If the Motif library is being used, then one would have to use
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4279
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4280 Emacs*menubar*fontList: *-courier-medium-r-*-*-*-120-*-*-*-*-*-*
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4281
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4282 because the Motif library uses the `fontList' resource name instead
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4283 of `font', which has subtly different semantics.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4284
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4285 The same is true of the scrollbars: They accept whichever resources
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4286 are appropriate for the toolkit in use.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4287
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4288
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4289 *** Source Code Highlighting
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4290 ----------------------------
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4291
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4292 It's possible to have your buffers "decorated" with fonts or colors
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4293 indicating syntactic structures (such as strings, comments, function names,
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4294 "reserved words", etc.). In XEmacs, the preferred way to do this is with
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4295 font-lock-mode; activate it by adding the following code to your .emacs file:
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4296
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4297 (add-hook 'emacs-lisp-mode-hook 'turn-on-font-lock)
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4298 (add-hook 'c-mode-hook 'turn-on-font-lock)
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4299 (add-hook 'c++-mode-hook 'turn-on-font-lock)
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4300 (add-hook 'dired-mode-hook 'turn-on-font-lock)
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4301 ...etc...
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4302
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4303 To customize it, see the descriptions of the function `font-lock-mode' and
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4304 the variables `font-lock-keywords', `c-font-lock-keywords', etc.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4305
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4306 There exist several other source code highlighting packages, but font-lock
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4307 does one thing that most others don't do: highlights as you type new text;
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4308 and one thing that no others do: bases part of its decoration on the
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4309 syntax table of the major mode. Font-lock has C-level support to do this
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4310 efficiently, so it should also be significantly faster than the others.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4311
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4312 If there's something that another highlighting package does that you can't
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4313 make font-lock do, let us know. We would prefer to consolidate all of the
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4314 desired functionality into one package rather than ship several different
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4315 packages which do essentially the same thing in different ways.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4316
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4317
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4318 ** Differences Between XEmacs and Emacs 18
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4319 ==========================================
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4320
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4321 Auto-configure support has been added, so it should be fairly easy to compile
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4322 XEmacs on different systems. If you have any problems or feedback about
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4323 compiling on your system, please let us know.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4324
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4325 We have reimplemented the basic input model in a more general way; instead of
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4326 X input being a special-case of the normal ASCII input stream, XEmacs has a
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4327 concept of "input events", and ASCII characters are a subset of that. The
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4328 events that XEmacs knows about are not X events, but are a generalization of
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4329 them, so that XEmacs can eventually be ported to different window systems.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4330
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4331 We have reimplemented keymaps so that sequences of events can be stored into
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4332 them instead of just ASCII codes; it is possible to, for example, bind
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4333 different commands to each of the chords Control-h, Control-H, Backspace,
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4334 Control-Backspace, and Super-Shift-Backspace. Key bindings, function key
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4335 bindings, and mouse bindings live in the same keymaps.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4336
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4337 Input and display of all ISO-8859-1 characters is supported.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4338
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4339 You can have multiple X windows ("frames" in XEmacs terminology).
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4340
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4341 XEmacs has objects called "extents" and "faces", which are roughly
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4342 analogous to Epoch's "buttons," "zones," and "styles." An extent is a
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4343 region of text (a start position and an end position) and a face is a
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4344 collection of textual attributes like fonts and colors. Every extent
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4345 is displayed in some "face", so changing the properties of a face
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4346 immediately updates the display of all associated extents. Faces can
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4347 be frame-local: you can have a region of text which displays with
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4348 completely different attributes when its buffer is viewed from a
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4349 different X window.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4350
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4351 The display attributes of faces may be specified either in lisp or through
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4352 the X resource manager.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4353
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4354 Pixmaps of arbitrary size can be embedded in a buffer.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4355
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4356 Variable width fonts work.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4357
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4358 The height of a line is the height of the tallest font on that line, instead
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4359 of all lines having the same height.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4360
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4361 XEmacs uses the MIT "Xt" toolkit instead of raw Xlib calls, which
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4362 makes it be a more well-behaved X citizen (and also improves
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4363 portability). A result of this is that it is possible to include
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4364 other Xt "Widgets" in the XEmacs window. Also, XEmacs understands the
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4365 standard Xt command-line arguments.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4366
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4367 XEmacs understands the X11 "Selection" mechanism; it's possible to define
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4368 and customize selection converter functions and new selection types from
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4369 Emacs Lisp, without having to recompile XEmacs.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4370
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4371 XEmacs provides support for ToolTalk on systems that have it.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4372
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4373 XEmacs supports the Zmacs/Lispm style of region highlighting, where the
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4374 region between the point and mark is highlighted when in its "active" state.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4375
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4376 XEmacs has a menubar, whose contents are customizable from emacs-lisp.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4377 This menubar looks Motif-ish, but does not require Motif. If you already
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4378 own Motif, however, you can configure XEmacs to use a *real* Motif menubar
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4379 instead.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4380
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4381 XEmacs can ask questions using popup dialog boxes. Any command executed from
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4382 a menu will ask yes/no questions with dialog boxes, while commands executed
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4383 via the keyboard will use the minibuffer.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4384
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4385 XEmacs has vertical and horizontal scrollbars.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4386
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4387 The initial load-path is computed at run-time, instead of at compile-time.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4388 This means that if you move the XEmacs executable and associated directories
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4389 to somewhere else, you don't have to recompile anything.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4390
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4391 You can specify what the title of the XEmacs windows and icons should be
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4392 with the variables `frame-title-format' and `frame-icon-title-format',
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4393 which have the same syntax as `mode-line-format'.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4394
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4395 XEmacs now supports floating-point numbers.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4396
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4397 XEmacs now knows about timers directly, instead of them being simulated by
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4398 a subprocess.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4399
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4400 XEmacs understands truenames, and can be configured to notice when you are
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4401 visiting two names of the same file. See the variables find-file-use-truenames
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4402 and find-file-compare-truenames.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4403
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4404 If you're running on a machine with audio hardware, you can specify sound
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4405 files for XEmacs to play instead of the default X beep. See the documentation
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4406 of the function load-sound-file and the variable sound-alist.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4407
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4408 An XEmacs frame can be placed within an "external client widget" managed by
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4409 another application. This allows an application to use an XEmacs frame as its
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4410 text pane rather than the standard Text widget that is provided with Motif or
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4411 Athena. XEmacs supports Motif applications, generic Xt (e.g. Athena)
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4412 applications, and raw Xlib applications.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4413
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4414 Random changes to the emacs-lisp library: (some of this was not written by
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4415 us, but is included because it's free software and we think it's good stuff)
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4416
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4417 - there is a new optimizing byte-compiler
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4418 - there is a new abbrev-based mail-alias mechanism
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4419 - the -*- line can contain local-variable settings
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4420 - there is a new TAGS package
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4421 - there is a new VI-emulation mode (viper)
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4422 - there is a new implementation of Dired
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4423 - there is a new implementation of Isearch
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4424 - the VM package for reading mail is provided
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4425 - the W3 package for browsing the World Wide Web hypertext information
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4426 system is provided
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4427 - the Hyperbole package, a programmable information management and
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4428 hypertext system
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4429 - the OO-Browser package, a multi-language object-oriented browser
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4430
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4431 There are many more specifics in the "Miscellaneous Changes" section, below.
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4432
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4433 The online Emacs Manual and Emacs-Lisp Manual are now both relatively
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 116
diff changeset
4434 up-to-date.