Mercurial > hg > xemacs-beta
comparison man/xemacs-faq.texi @ 274:ca9a9ec9c1c1 r21-0b35
Import from CVS: tag r21-0b35
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:29:42 +0200 |
parents | c5d627a313b1 |
children | 6330739388db |
comparison
equal
deleted
inserted
replaced
273:411aac7253ef | 274:ca9a9ec9c1c1 |
---|---|
2 @c %**start of header | 2 @c %**start of header |
3 @setfilename xemacs-faq.info | 3 @setfilename xemacs-faq.info |
4 @settitle Frequently asked questions about XEmacs | 4 @settitle Frequently asked questions about XEmacs |
5 @setchapternewpage off | 5 @setchapternewpage off |
6 @c %**end of header | 6 @c %**end of header |
7 | 7 @finalout |
8 @titlepage | 8 @titlepage |
9 @title XEmacs FAQ | 9 @title XEmacs FAQ |
10 @subtitle Frequently asked questions about XEmacs | 10 @subtitle Frequently asked questions about XEmacs |
11 @subtitle Last Modified: 1997-12-04 02:05:05 EET | 11 @subtitle Last Modified: $Date: 1998/04/07 05:39:30 $ |
12 @sp 1 | 12 @sp 1 |
13 @author Tony Rossini <arossini@@stat.sc.edu> | 13 @author Tony Rossini <arossini@@stat.sc.edu> |
14 @author Ben Wing <wing@@666.com> | 14 @author Ben Wing <wing@@666.com> |
15 @author Chuck Thompson <cthomp@@xemacs.org> | 15 @author Chuck Thompson <cthomp@@xemacs.org> |
16 @author Steve Baur <steve@@xemacs.org> | 16 @author Steve Baur <steve@@xemacs.org> |
17 @author Andreas Kaempf <andreas@@sccon.com> | 17 @author Andreas Kaempf <andreas@@sccon.com> |
18 @author Christian Nyb@o{} <chr@@mediascience.no> | |
18 @page | 19 @page |
19 @end titlepage | 20 @end titlepage |
20 | 21 |
21 @node Top, Introduction, (dir), (dir) | 22 @node Top, Introduction, (dir), (dir) |
22 @top XEmacs FAQ | 23 @top XEmacs FAQ |
30 FAQ is distributed in the hope that it will be useful, but WITHOUT ANY | 31 FAQ is distributed in the hope that it will be useful, but WITHOUT ANY |
31 WARRANTY; without even the implied warranty of MERCHANTABILITY or | 32 WARRANTY; without even the implied warranty of MERCHANTABILITY or |
32 FITNESS FOR A PARTICULAR PURPOSE. | 33 FITNESS FOR A PARTICULAR PURPOSE. |
33 | 34 |
34 If you have a Web browser, the official hypertext version is at | 35 If you have a Web browser, the official hypertext version is at |
35 <URL:http://www.sccon.com/~andreas/xemacs-faq.html> and also at | 36 @iftex |
36 <URL:http://www.xemacs.org/faq/xemacs-faq.html>. This version is much | 37 @* |
37 nicer than the unofficial hypertext versions that are archived at | 38 @end iftex |
38 Utrecht, Oxford, Smart Pages, and other FAQ archives. | 39 @uref{http://www.xemacs.org/faq/xemacs-faq.html}. |
40 | |
41 This version is somewhat nicer than the unofficial hypertext versions | |
42 that are archived at Utrecht, Oxford, Smart Pages, and other FAQ | |
43 archives. | |
39 | 44 |
40 @menu | 45 @menu |
41 * Introduction:: Introduction, Policy, Credits. | 46 * Introduction:: Introduction, Policy, Credits. |
42 * Installation:: Installation and Trouble Shooting. | 47 * Installation:: Installation and Trouble Shooting. |
43 * Customization:: Customization and Options. | 48 * Customization:: Customization and Options. |
54 * Q1.0.1:: What is XEmacs? | 59 * Q1.0.1:: What is XEmacs? |
55 * Q1.0.2:: What is the current version of XEmacs? | 60 * Q1.0.2:: What is the current version of XEmacs? |
56 * Q1.0.3:: Where can I find it? | 61 * Q1.0.3:: Where can I find it? |
57 * Q1.0.4:: Why Another Version of Emacs? | 62 * Q1.0.4:: Why Another Version of Emacs? |
58 * Q1.0.5:: Why Haven't XEmacs and GNU Emacs Merged? | 63 * Q1.0.5:: Why Haven't XEmacs and GNU Emacs Merged? |
59 * Q1.0.6:: Where can I get help? | 64 * Q1.0.6:: Where can I get help? |
60 * Q1.0.7:: Where is the mailing list archived? | 65 * Q1.0.7:: Where is the mailing list archived? |
61 * Q1.0.8:: How do you pronounce XEmacs? | 66 * Q1.0.8:: How do you pronounce XEmacs? |
62 * Q1.0.9:: What does XEmacs look like? | 67 * Q1.0.9:: What does XEmacs look like? |
63 * Q1.0.10:: Is there a port of XEmacs to Microsoft ('95 or NT)? | 68 * Q1.0.10:: Is there a port of XEmacs to Microsoft ('95 or NT)? |
64 * Q1.0.11:: Is there a port of XEmacs to the Macintosh? | 69 * Q1.0.11:: Is there a port of XEmacs to the Macintosh? |
65 * Q1.0.12:: Is there a port of XEmacs to NextStep? | 70 * Q1.0.12:: Is there a port of XEmacs to NextStep? |
66 * Q1.0.13:: Is there a port of XEmacs to OS/2? | 71 * Q1.0.13:: Is there a port of XEmacs to OS/2? |
67 * Q1.0.14:: Where can I get a printed copy of the XEmacs users manual? | 72 * Q1.0.14:: Where can I get a printed copy of the XEmacs users manual? |
71 * Q1.1.2:: How do I become a Beta Tester? | 76 * Q1.1.2:: How do I become a Beta Tester? |
72 * Q1.1.3:: How do I contribute to XEmacs itself? | 77 * Q1.1.3:: How do I contribute to XEmacs itself? |
73 | 78 |
74 Credits: | 79 Credits: |
75 * Q1.2.1:: Who wrote XEmacs? | 80 * Q1.2.1:: Who wrote XEmacs? |
76 * Q1.2.2:: Who contributed to this version of the FAQ? | 81 * Q1.2.2:: Who contributed to this version of the FAQ? |
77 * Q1.2.3:: Who contributed to the FAQ in the past? | 82 * Q1.2.3:: Who contributed to the FAQ in the past? |
78 | 83 |
79 Internationalization: | 84 Internationalization: |
80 * Q1.3.1:: What is the status of XEmacs v20? | 85 * Q1.3.1:: What is the status of XEmacs v20? |
81 * Q1.3.2:: What is the status of Asian-language support, aka @var{mule}? | 86 * Q1.3.2:: What is the status of Asian-language support, aka @var{mule}? |
82 * Q1.3.3:: How do I type non-ASCII characters? | 87 * Q1.3.3:: How do I type non-ASCII characters? |
83 * Q1.3.4:: Can XEmacs messages come out in a different language? | 88 * Q1.3.4:: Can XEmacs messages come out in a different language? |
84 * Q1.3.5:: Please explain the various input methods in MULE/XEmacs 20.0 | 89 * Q1.3.5:: Please explain the various input methods in MULE/XEmacs 20.0 |
85 * Q1.3.6:: How do I portably code for MULE/XEmacs 20.0? | 90 * Q1.3.6:: How do I portably code for MULE/XEmacs 20.0? |
86 * Q1.3.7:: How about Cyrillic Modes? | 91 * Q1.3.7:: How about Cyrillic Modes? |
87 | 92 |
88 Getting Started: | 93 Getting Started: |
89 * Q1.4.1:: What is a @file{.emacs} and is there a sample one? | 94 * Q1.4.1:: What is a @file{.emacs} and is there a sample one? |
90 * Q1.4.2:: Can I use the same @file{.emacs} with the other Emacs? | 95 * Q1.4.2:: Can I use the same @file{.emacs} with the other Emacs? |
91 * Q1.4.3:: Any good XEmacs tutorials around? | 96 * Q1.4.3:: Any good XEmacs tutorials around? |
94 * Q1.4.6:: What's the difference between a macro and a function? | 99 * Q1.4.6:: What's the difference between a macro and a function? |
95 * Q1.4.7:: Why options saved with 19.13 don't work with 19.14 or later? | 100 * Q1.4.7:: Why options saved with 19.13 don't work with 19.14 or later? |
96 | 101 |
97 Installation and Trouble Shooting | 102 Installation and Trouble Shooting |
98 | 103 |
99 * Q2.0.1:: Running XEmacs without installing. | 104 * Q2.0.1:: Running XEmacs without installing. |
100 * Q2.0.2:: XEmacs is too big. | 105 * Q2.0.2:: XEmacs is too big. |
101 * Q2.0.3:: Compiling XEmacs with Netaudio. | 106 * Q2.0.3:: Compiling XEmacs with Netaudio. |
102 * Q2.0.4:: Problems with Linux and ncurses. | 107 * Q2.0.4:: Problems with Linux and ncurses. |
103 * Q2.0.5:: Do I need X11 to run XEmacs? | 108 * Q2.0.5:: Do I need X11 to run XEmacs? |
104 * Q2.0.6:: I'm having strange crashes. What do I do? | 109 * Q2.0.6:: I'm having strange crashes. What do I do? |
105 * Q2.0.7:: Libraries in non-standard locations. | 110 * Q2.0.7:: Libraries in non-standard locations. |
106 * Q2.0.8:: can't resolve symbol _h_errno | 111 * Q2.0.8:: can't resolve symbol _h_errno |
107 * Q2.0.9:: Where do I find external libraries? | 112 * Q2.0.9:: Where do I find external libraries? |
108 * Q2.0.10:: After I run configure I find a coredump, is something wrong? | 113 * Q2.0.10:: After I run configure I find a coredump, is something wrong? |
109 * Q2.0.11:: XEmacs can't resolve host names. | 114 * Q2.0.11:: XEmacs can't resolve host names. |
110 * Q2.0.12:: Why can't I strip XEmacs? | 115 * Q2.0.12:: Why can't I strip XEmacs? |
111 * Q2.0.13:: Can't link XEmacs on Solaris with Gcc. | 116 * Q2.0.13:: Can't link XEmacs on Solaris with Gcc. |
112 * Q2.0.14:: Make on HP/UX 9 fails after linking temacs | 117 * Q2.0.14:: Make on HP/UX 9 fails after linking temacs |
113 | 118 |
114 Trouble Shooting: | 119 Trouble Shooting: |
115 * Q2.1.1:: XEmacs just crashed on me! | 120 * Q2.1.1:: XEmacs just crashed on me! |
116 * Q2.1.2:: Cryptic Minibuffer messages. | 121 * Q2.1.2:: Cryptic Minibuffer messages. |
117 * Q2.1.3:: Translation Table Syntax messages at Startup. | 122 * Q2.1.3:: Translation Table Syntax messages at Startup. |
136 * Q2.1.22:: XEmacs seems to take a really long time to do some things. | 141 * Q2.1.22:: XEmacs seems to take a really long time to do some things. |
137 * Q2.1.23:: Movemail on Linux does not work for XEmacs 19.15 and later. | 142 * Q2.1.23:: Movemail on Linux does not work for XEmacs 19.15 and later. |
138 | 143 |
139 Customization and Options | 144 Customization and Options |
140 | 145 |
141 * Q3.0.1:: What version of Emacs am I running? | 146 * Q3.0.1:: What version of Emacs am I running? |
142 * Q3.0.2:: How do I evaluate Elisp expressions? | 147 * Q3.0.2:: How do I evaluate Elisp expressions? |
143 * Q3.0.3:: @code{(setq tab-width 6)} behaves oddly. | 148 * Q3.0.3:: @code{(setq tab-width 6)} behaves oddly. |
144 * Q3.0.4:: How can I add directories to the @code{load-path}? | 149 * Q3.0.4:: How can I add directories to the @code{load-path}? |
145 * Q3.0.5:: How to check if a lisp function is defined? | 150 * Q3.0.5:: How to check if a lisp function is defined? |
146 * Q3.0.6:: Can I force the output of @code{(face-list)} to a buffer? | 151 * Q3.0.6:: Can I force the output of @code{(face-list)} to a buffer? |
147 * Q3.0.7:: Font selections don't get saved after @code{Save Options}. | 152 * Q3.0.7:: Font selections don't get saved after @code{Save Options}. |
148 * Q3.0.8:: How do I make a single minibuffer frame? | 153 * Q3.0.8:: How do I make a single minibuffer frame? |
149 * Q3.0.9:: What is @code{Customize}? | 154 * Q3.0.9:: What is @code{Customize}? |
150 | 155 |
151 X Window System & Resources: | 156 X Window System & Resources: |
152 * Q3.1.1:: Where is a list of X resources? | 157 * Q3.1.1:: Where is a list of X resources? |
154 * Q3.1.3:: @code{(set-screen-width)} worked in 19.6, but not in 19.13? | 159 * Q3.1.3:: @code{(set-screen-width)} worked in 19.6, but not in 19.13? |
155 * Q3.1.4:: Specifying @code{Emacs*EmacsScreen.geometry} in @file{.emacs} does not work in 19.15? | 160 * Q3.1.4:: Specifying @code{Emacs*EmacsScreen.geometry} in @file{.emacs} does not work in 19.15? |
156 * Q3.1.5:: How can I get the icon to just say @samp{XEmacs}? | 161 * Q3.1.5:: How can I get the icon to just say @samp{XEmacs}? |
157 * Q3.1.6:: How can I have the window title area display the full path? | 162 * Q3.1.6:: How can I have the window title area display the full path? |
158 * Q3.1.7:: @samp{xemacs -name junk} doesn't work? | 163 * Q3.1.7:: @samp{xemacs -name junk} doesn't work? |
159 * Q3.1.8:: @samp{-iconic} doesn't work. | 164 * Q3.1.8:: @samp{-iconic} it doesn't work. |
160 | 165 |
161 Textual Fonts & Colors: | 166 Textual Fonts & Colors: |
162 * Q3.2.1:: How can I set color options from @file{.emacs}? | 167 * Q3.2.1:: How can I set color options from @file{.emacs}? |
163 * Q3.2.2:: How do I set the text, menu and modeline fonts? | 168 * Q3.2.2:: How do I set the text, menu and modeline fonts? |
164 * Q3.2.3:: How can I set the colors when highlighting a region? | 169 * Q3.2.3:: How can I set the colors when highlighting a region? |
165 * Q3.2.4:: How can I limit color map usage? | 170 * Q3.2.4:: How can I limit color map usage? |
166 * Q3.2.5:: My tty supports color, but XEmacs doesn't use them. | 171 * Q3.2.5:: My tty supports color, but XEmacs doesn't use them. |
167 | 172 |
168 The Modeline: | 173 The Modeline: |
169 * Q3.3.1:: How can I make the modeline go away? | 174 * Q3.3.1:: How can I make the modeline go away? |
170 * Q3.3.2:: How do you have XEmacs display the line number in the modeline? | 175 * Q3.3.2:: How do you have XEmacs display the line number in the modeline? |
171 * Q3.3.3:: How do I get XEmacs to put the time of day on the modeline? | 176 * Q3.3.3:: How do I get XEmacs to put the time of day on the modeline? |
172 * Q3.3.4:: How do I turn off current chapter from AUC TeX modeline? | 177 * Q3.3.4:: How do I turn off current chapter from AUC TeX modeline? |
173 * Q3.3.5:: How can one change the modeline color based on the mode used? | 178 * Q3.3.5:: How can one change the modeline color based on the mode used? |
174 | 179 |
175 3.4 Multiple Device Support: | 180 3.4 Multiple Device Support: |
176 * Q3.4.1:: How do I open a frame on another screen of my multi-headed display? | 181 * Q3.4.1:: How do I open a frame on another screen of my multi-headed display? |
177 * Q3.4.2:: Can I really connect to a running XEmacs after calling up over a modem? How? | 182 * Q3.4.2:: Can I really connect to a running XEmacs after calling up over a modem? How? |
178 | 183 |
179 3.5 The Keyboard: | 184 3.5 The Keyboard: |
180 * Q3.5.1:: How can I bind complex functions (or macros) to keys? | 185 * Q3.5.1:: How can I bind complex functions (or macros) to keys? |
181 * Q3.5.2:: How can I stop down-arrow from adding empty lines to the bottom of my buffers? | 186 * Q3.5.2:: How can I stop down-arrow from adding empty lines to the bottom of my buffers? |
182 * Q3.5.3:: How do I bind C-. and C-; to scroll one line up and down? | 187 * Q3.5.3:: How do I bind C-. and C-; to scroll one line up and down? |
183 * Q3.5.4:: Globally binding @kbd{Delete}? | 188 * Q3.5.4:: Globally binding @kbd{Delete}? |
184 * Q3.5.5:: Scrolling one line at a time. | 189 * Q3.5.5:: Scrolling one line at a time. |
185 * Q3.5.6:: How to map @kbd{Help} key alone on Sun type4 keyboard? | 190 * Q3.5.6:: How to map @kbd{Help} key alone on Sun type4 keyboard? |
186 * Q3.5.7:: How can you type in special characters in XEmacs? | 191 * Q3.5.7:: How can you type in special characters in XEmacs? |
187 * Q3.5.8:: Why does @code{(global-set-key [delete-forward] 'delete-char)} complain? | 192 * Q3.5.8:: Why does @code{(global-set-key [delete-forward] 'delete-char)} complain? |
188 * Q3.5.9:: How do I make the Delete key delete forward? | 193 * Q3.5.9:: How do I make the Delete key delete forward? |
189 * Q3.5.10:: Can I turn on @dfn{sticky} modifier keys? | 194 * Q3.5.10:: Can I turn on @dfn{sticky} modifier keys? |
190 | 195 |
215 * Q3.9.2:: How can one use resources to change scrollbar colors? | 220 * Q3.9.2:: How can one use resources to change scrollbar colors? |
216 * Q3.9.3:: Moving the scrollbar can move the point; can I disable this? | 221 * Q3.9.3:: Moving the scrollbar can move the point; can I disable this? |
217 * Q3.9.4:: How can I get automatic horizontal scrolling? | 222 * Q3.9.4:: How can I get automatic horizontal scrolling? |
218 | 223 |
219 Text Selections: | 224 Text Selections: |
220 * Q3.10.1:: How can I turn off or change highlighted selections? | 225 * Q3.10.1:: How can I turn off or change highlighted selections? |
221 * Q3.10.2:: How do I get that typing on an active region removes it? | 226 * Q3.10.2:: How do I get that typing on an active region removes it? |
222 * Q3.10.3:: Can I turn off the highlight during isearch? | 227 * Q3.10.3:: Can I turn off the highlight during isearch? |
223 * Q3.10.4:: How do I turn off highlighting after @kbd{C-x C-p} (mark-page)? | 228 * Q3.10.4:: How do I turn off highlighting after @kbd{C-x C-p} (mark-page)? |
224 * Q3.10.5:: The region disappears when I hit the end of buffer while scrolling. | 229 * Q3.10.5:: The region disappears when I hit the end of buffer while scrolling. |
225 | 230 |
242 * Q4.1.1:: What is W3? | 247 * Q4.1.1:: What is W3? |
243 * Q4.1.2:: How do I run W3 from behind a firewall? | 248 * Q4.1.2:: How do I run W3 from behind a firewall? |
244 * Q4.1.3:: Is it true that W3 supports style sheets and tables? | 249 * Q4.1.3:: Is it true that W3 supports style sheets and tables? |
245 | 250 |
246 Reading Netnews and Mail with Gnus: | 251 Reading Netnews and Mail with Gnus: |
247 * Q4.2.1:: GNUS, (ding) Gnus, Gnus 5, September Gnus, Red Gnus, Quassia Gnus, argh! | 252 * Q4.2.1:: GNUS, (ding) Gnus, Gnus 5, September Gnus, Red Gnus, Quassia Gnus, argh! |
248 * Q4.2.2:: [This question intentionally left blank] | 253 * Q4.2.2:: [This question intentionally left blank] |
249 * Q4.2.3:: How do I make Gnus stay within a single frame? | 254 * Q4.2.3:: How do I make Gnus stay within a single frame? |
250 * Q4.2.4:: How do I customize the From: line? | 255 * Q4.2.4:: How do I customize the From: line? |
251 | 256 |
252 Other Mail & News: | 257 Other Mail & News: |
255 * Q4.3.3:: Why isn't this @code{movemail} program working? | 260 * Q4.3.3:: Why isn't this @code{movemail} program working? |
256 * Q4.3.4:: Movemail is also distributed by Netscape? Can that cause problems? | 261 * Q4.3.4:: Movemail is also distributed by Netscape? Can that cause problems? |
257 * Q4.3.5:: Where do I find pstogif (required by tm)? | 262 * Q4.3.5:: Where do I find pstogif (required by tm)? |
258 | 263 |
259 Sparcworks, EOS, and WorkShop: | 264 Sparcworks, EOS, and WorkShop: |
260 * Q4.4.1:: What is SPARCworks, EOS, and WorkShop | 265 * Q4.4.1:: What is SPARCworks, EOS, and WorkShop |
261 | 266 |
262 Energize: | 267 Energize: |
263 * Q4.5.1:: What is/was Energize? | 268 * Q4.5.1:: What is/was Energize? |
264 | 269 |
265 Infodock: | 270 Infodock: |
281 * Q5.0.5:: How can I get XEmacs to come up in text/auto-fill mode by default? | 286 * Q5.0.5:: How can I get XEmacs to come up in text/auto-fill mode by default? |
282 * Q5.0.6:: How do I start up a second shell buffer? | 287 * Q5.0.6:: How do I start up a second shell buffer? |
283 * Q5.0.7:: Telnet from shell filters too much. | 288 * Q5.0.7:: Telnet from shell filters too much. |
284 * Q5.0.8:: Why does edt emulation not work? | 289 * Q5.0.8:: Why does edt emulation not work? |
285 * Q5.0.9:: How can I emulate VI and use it as my default mode? | 290 * Q5.0.9:: How can I emulate VI and use it as my default mode? |
286 * Q5.0.10:: [This question intentionally left blank] | 291 * Q5.0.10:: [This question intentionally left blank] |
287 * Q5.0.11:: Filladapt doesn't work in 19.15? | 292 * Q5.0.11:: Filladapt doesn't work in 19.15? |
288 * Q5.0.12:: How do I disable gnuserv from opening a new frame? | 293 * Q5.0.12:: How do I disable gnuserv from opening a new frame? |
289 * Q5.0.13:: How do I start gnuserv so that each subsequent XEmacs is a client? | 294 * Q5.0.13:: How do I start gnuserv so that each subsequent XEmacs is a client? |
290 * Q5.0.14:: Strange things are happening in Shell Mode. | 295 * Q5.0.14:: Strange things are happening in Shell Mode. |
291 * Q5.0.15:: Where do I get the latest CC Mode? | 296 * Q5.0.15:: Where do I get the latest CC Mode? |
292 * Q5.0.16:: I find auto-show-mode disconcerting. How do I turn it off? | 297 * Q5.0.16:: I find auto-show-mode disconcerting. How do I turn it off? |
293 * Q5.0.17:: How can I get two instances of info? | 298 * Q5.0.17:: How can I get two instances of info? |
294 * Q5.0.18:: I upgraded to XEmacs 19.14 and gnuserv stopped working | 299 * Q5.0.18:: I upgraded to XEmacs 19.14 and gnuserv stopped working |
295 * Q5.0.19:: Is there something better than LaTeX mode? | 300 * Q5.0.19:: Is there something better than LaTeX mode? |
301 * Q5.0.20:: Is there a way to start a new XEmacs if there's no gnuserv running, and otherwise use gnuclient? | |
296 | 302 |
297 Emacs Lisp Programming Techniques: | 303 Emacs Lisp Programming Techniques: |
298 * Q5.1.1:: The difference in key sequences between XEmacs and GNU Emacs? | 304 * Q5.1.1:: The difference in key sequences between XEmacs and GNU Emacs? |
299 * Q5.1.2:: Can I generate "fake" keyboard events? | 305 * Q5.1.2:: Can I generate "fake" keyboard events? |
300 * Q5.1.3:: Could you explain @code{read-kbd-macro} in more detail? | 306 * Q5.1.3:: Could you explain @code{read-kbd-macro} in more detail? |
327 | 333 |
328 What the Future Holds | 334 What the Future Holds |
329 | 335 |
330 * Q6.0.1:: What is new in 20.2? | 336 * Q6.0.1:: What is new in 20.2? |
331 * Q6.0.2:: What is new in 20.3? | 337 * Q6.0.2:: What is new in 20.3? |
332 * Q6.0.3:: Procedural changes in XEmacs development. | 338 * Q6.0.3:: What is new in 20.4? |
339 * Q6.0.4:: Procedural changes in XEmacs development. | |
333 @end detailmenu | 340 @end detailmenu |
334 @end menu | 341 @end menu |
335 | 342 |
336 @node Introduction, Installation, Top, Top | 343 @node Introduction, Installation, Top, Top |
337 @chapter Introduction, Policy, Credits | 344 @unnumbered 1 Introduction, Policy, Credits |
338 | 345 |
339 Learning XEmacs is a lifelong activity. I've been using Emacs for | 346 Learning XEmacs is a lifelong activity. Even people who have used Emacs |
340 over a decade now, and I'm still discovering new features. Therefore | 347 for years keep discovering new features. Therefore this document cannot |
341 this document cannot be complete. Instead it is aimed at the person | 348 be complete. Instead it is aimed at the person who is either |
342 who is either considering XEmacs for their own use, or has just | 349 considering XEmacs for their own use, or has just obtained it and is |
343 obtained it and is wondering what to do next. It is also useful as a | 350 wondering what to do next. It is also useful as a reference to |
344 reference to available resources. | 351 available resources. |
345 | 352 |
346 The previous maintainer of the FAQ was Anthony Rossini | 353 The previous maintainer of the FAQ was @email{rossini@@stat.sc.edu, |
347 <rossini@@stat.sc.edu>, who started it, after getting tired of hearing | 354 Anthony Rossini}, who started it, after getting tired of hearing JWZ |
348 JWZ complain about repeatedly having to answer questions. Ben Wing | 355 complain about repeatedly having to answer questions. |
349 <ben@@666.com> and Chuck Thompson <cthomp@@xemacs.org>, the principal | 356 @email{ben@@666.com, Ben Wing} and @email{cthomp@@xemacs.org, Chuck |
350 authors of XEmacs, then took over and Ben did a massive update | 357 Thompson}, the principal authors of XEmacs, then took over and Ben did |
351 reorganizing the whole thing. At which point Anthony took back over, | 358 a massive update reorganizing the whole thing. At which point Anthony |
352 but then had to give it up again. Some of the other contributors to | 359 took back over, but then had to give it up again. Some of the other |
353 this FAQ are listed later in this document. | 360 contributors to this FAQ are listed later in this document. |
354 | 361 |
355 The previous version was converted to hypertext format, and edited by | 362 The previous version was converted to hypertext format, and edited by |
356 Steven L. Baur <steve@@altair.xemacs.org>. It was converted back to | 363 @email{steve@@altair.xemacs.org, Steven L. Baur}. It was converted back to |
357 texinfo by Hrvoje Niksic <hniksic@@srce.hr>. | 364 texinfo by @email{hniksic@@srce.hr, Hrvoje Niksic}. |
358 | 365 |
359 Since Steve Baur is so busy putting out multiple versions of XEmacs I | 366 The FAQ was then maintained by @email{andreas@@sccon.com, Andreas |
360 have taken on the task of maintaining the FAQ. I use XEmacs on a daily | 367 Kaempf}, who passed it on to @email{chr@@mediascience.no, Christian |
361 basis and I wanted to give something back to the community that has made | 368 Nyb@o{}}, the current FAQ maintainer. |
362 XEmacs possible. If you notice any errors or items which should be | 369 |
363 added or amended to this FAQ please send email to Andreas Kaempf | 370 If you notice any errors or items which should be added or amended to |
364 <andreas@@sccon.com>. Include @samp{XEmacs FAQ} on the Subject: line. | 371 this FAQ please send email to @email{chr@@mediascience.no, Christian |
372 Nyb@o{}}. Include @samp{XEmacs FAQ} on the Subject: line. | |
365 | 373 |
366 @menu | 374 @menu |
367 Introduction: | 375 Introduction: |
368 * Q1.0.1:: What is XEmacs? | 376 * Q1.0.1:: What is XEmacs? |
369 * Q1.0.2:: What is the current version of XEmacs? | 377 * Q1.0.2:: What is the current version of XEmacs? |
370 * Q1.0.3:: Where can I find it? | 378 * Q1.0.3:: Where can I find it? |
371 * Q1.0.4:: Why Another Version of Emacs? | 379 * Q1.0.4:: Why Another Version of Emacs? |
372 * Q1.0.5:: Why Haven't XEmacs and GNU Emacs Merged? | 380 * Q1.0.5:: Why Haven't XEmacs and GNU Emacs Merged? |
373 * Q1.0.6:: Where can I get help? | 381 * Q1.0.6:: Where can I get help? |
374 * Q1.0.7:: Where is the mailing list archived? | 382 * Q1.0.7:: Where is the mailing list archived? |
375 * Q1.0.8:: How do you pronounce XEmacs? | 383 * Q1.0.8:: How do you pronounce XEmacs? |
376 * Q1.0.9:: What does XEmacs look like? | 384 * Q1.0.9:: What does XEmacs look like? |
377 * Q1.0.10:: Is there a port of XEmacs to Microsoft ('95 or NT)? | 385 * Q1.0.10:: Is there a port of XEmacs to Microsoft ('95 or NT)? |
378 * Q1.0.11:: Is there a port of XEmacs to the Macintosh? | 386 * Q1.0.11:: Is there a port of XEmacs to the Macintosh? |
379 * Q1.0.12:: Is there a port of XEmacs to NextStep? | 387 * Q1.0.12:: Is there a port of XEmacs to NextStep? |
380 * Q1.0.13:: Is there a port of XEmacs to OS/2? | 388 * Q1.0.13:: Is there a port of XEmacs to OS/2? |
381 * Q1.0.14:: Where can I get a printed copy of the XEmacs users manual? | 389 * Q1.0.14:: Where can I get a printed copy of the XEmacs users manual? |
385 * Q1.1.2:: How do I become a Beta Tester? | 393 * Q1.1.2:: How do I become a Beta Tester? |
386 * Q1.1.3:: How do I contribute to XEmacs itself? | 394 * Q1.1.3:: How do I contribute to XEmacs itself? |
387 | 395 |
388 Credits: | 396 Credits: |
389 * Q1.2.1:: Who wrote XEmacs? | 397 * Q1.2.1:: Who wrote XEmacs? |
390 * Q1.2.2:: Who contributed to this version of the FAQ? | 398 * Q1.2.2:: Who contributed to this version of the FAQ? |
391 * Q1.2.3:: Who contributed to the FAQ in the past? | 399 * Q1.2.3:: Who contributed to the FAQ in the past? |
392 | 400 |
393 Internationalization: | 401 Internationalization: |
394 * Q1.3.1:: What is the status of XEmacs v20? | 402 * Q1.3.1:: What is the status of XEmacs v20? |
395 * Q1.3.2:: What is the status of Asian-language support, aka @var{mule}? | 403 * Q1.3.2:: What is the status of Asian-language support, aka @var{mule}? |
396 * Q1.3.3:: How do I type non-ASCII characters? | 404 * Q1.3.3:: How do I type non-ASCII characters? |
397 * Q1.3.4:: Can XEmacs messages come out in a different language? | 405 * Q1.3.4:: Can XEmacs messages come out in a different language? |
398 * Q1.3.5:: Please explain the various input methods in MULE/XEmacs 20.0 | 406 * Q1.3.5:: Please explain the various input methods in MULE/XEmacs 20.0 |
399 * Q1.3.6:: How do I portably code for MULE/XEmacs 20.0? | 407 * Q1.3.6:: How do I portably code for MULE/XEmacs 20.0? |
400 * Q1.3.7:: How about Cyrillic Modes? | 408 * Q1.3.7:: How about Cyrillic Modes? |
401 | 409 |
402 Getting Started: | 410 Getting Started: |
403 * Q1.4.1:: What is a @file{.emacs} and is there a sample one? | 411 * Q1.4.1:: What is a @file{.emacs} and is there a sample one? |
404 * Q1.4.2:: Can I use the same @file{.emacs} with the other Emacs? | 412 * Q1.4.2:: Can I use the same @file{.emacs} with the other Emacs? |
405 * Q1.4.3:: Any good XEmacs tutorials around? | 413 * Q1.4.3:: Any good XEmacs tutorials around? |
408 * Q1.4.6:: What's the difference between a macro and a function? | 416 * Q1.4.6:: What's the difference between a macro and a function? |
409 * Q1.4.7:: Why options saved with 19.13 don't work with 19.14 or later? | 417 * Q1.4.7:: Why options saved with 19.13 don't work with 19.14 or later? |
410 @end menu | 418 @end menu |
411 | 419 |
412 @node Q1.0.1, Q1.0.2, Introduction, Introduction | 420 @node Q1.0.1, Q1.0.2, Introduction, Introduction |
413 @section What is XEmacs? | 421 @unnumberedsec 1.0: Introduction |
422 @unnumberedsubsec Q1.0.1: What is XEmacs? | |
423 | |
414 | 424 |
415 An alternative to GNU Emacs, originally based on an early alpha version | 425 An alternative to GNU Emacs, originally based on an early alpha version |
416 of FSF's version 19, and has diverged quite a bit since then. XEmacs | 426 of FSF's version 19, and has diverged quite a bit since then. XEmacs |
417 was known as Lucid Emacs through version 19.10. Almost all features of | 427 was known as Lucid Emacs through version 19.10. Almost all features of |
418 GNU Emacs are supported in XEmacs. The maintainers of XEmacs actively | 428 GNU Emacs are supported in XEmacs. The maintainers of XEmacs actively |
419 track changes to GNU Emacs while also working to add new features. | 429 track changes to GNU Emacs while also working to add new features. |
420 | 430 |
421 @node Q1.0.2, Q1.0.3, Q1.0.1, Introduction | 431 @node Q1.0.2, Q1.0.3, Q1.0.1, Introduction |
422 @section What is the current version of XEmacs? | 432 @unnumberedsubsec Q1.0.2: What is the current version of XEmacs? |
423 | 433 |
424 The current stable version of XEmacs is 20.3, released in November, | 434 XEmacs 20.4 is a minor upgrade from 20.3, containing many bugfixes. It |
425 1997. | 435 was released in February 1998. |
426 | |
427 The next feature release will be XEmacs 20.4. | |
428 | 436 |
429 XEmacs 19.16 was the last release of v19, released in November, 1997, | 437 XEmacs 19.16 was the last release of v19, released in November, 1997, |
430 which was also the last version without international language support. | 438 which was also the last version without international language support. |
431 | 439 |
432 @node Q1.0.3, Q1.0.4, Q1.0.2, Introduction | 440 @node Q1.0.3, Q1.0.4, Q1.0.2, Introduction |
433 @section Where can I find it? | 441 @unnumberedsubsec Q1.0.3: Where can I find it? |
434 | 442 |
435 The canonical source and binaries is found via anonymous FTP at: | 443 The canonical source and binaries is found via anonymous FTP at: |
436 | 444 |
437 @example | 445 @example |
438 <URL:ftp.xemacs.org:/pub/xemacs/> | 446 @uref{ftp://ftp.xemacs.org/pub/xemacs/} |
439 @end example | 447 @end example |
440 | 448 |
441 @node Q1.0.4, Q1.0.5, Q1.0.3, Introduction | 449 @node Q1.0.4, Q1.0.5, Q1.0.3, Introduction |
442 @section Why Another Version of Emacs? | 450 @unnumberedsubsec Q1.0.4: Why Another Version of Emacs? |
443 | 451 |
444 For a detailed description of the differences between GNU Emacs and | 452 For a detailed description of the differences between GNU Emacs and |
445 XEmacs and a detailed history of XEmacs, check out the | 453 XEmacs and a detailed history of XEmacs, check out the |
446 @example | 454 @example |
447 <URL:http://www.xemacs.org/NEWS.html> | 455 @uref{http://www.xemacs.org/NEWS.html, NEWS file} |
448 @end example | 456 @end example |
449 | 457 |
450 However, here is a list of some of the reasons why we think you might | 458 However, here is a list of some of the reasons why we think you might |
451 consider using it: | 459 consider using it: |
452 | 460 |
509 @item | 517 @item |
510 First production Web Browser supporting Style Sheets. | 518 First production Web Browser supporting Style Sheets. |
511 @end itemize | 519 @end itemize |
512 | 520 |
513 @node Q1.0.5, Q1.0.6, Q1.0.4, Introduction | 521 @node Q1.0.5, Q1.0.6, Q1.0.4, Introduction |
514 @section Why Haven't XEmacs and GNU Emacs Merged? | 522 @unnumberedsubsec Q1.0.5: Why Haven't XEmacs and GNU Emacs Merged? |
515 | 523 |
516 There are currently irreconcilable differences in the views about | 524 There are currently irreconcilable differences in the views about |
517 technical, programming, design and organizational matters between RMS | 525 technical, programming, design and organizational matters between RMS |
518 and the XEmacs development team which provide little hope for a merge to | 526 and the XEmacs development team which provide little hope for a merge to |
519 take place in the short-term future. | 527 take place in the short-term future. |
520 | 528 |
521 If you have a comment to add regarding the merge, it is a good idea to | 529 If you have a comment to add regarding the merge, it is a good idea to |
522 avoid posting to the newsgroups, because of the very heated flamewars | 530 avoid posting to the newsgroups, because of the very heated flamewars |
523 that often result. Mail your questions to <xemacs-beta@@xemacs.org> and | 531 that often result. Mail your questions to @email{xemacs-beta@@xemacs.org} and |
524 <bug-gnu-emacs@@prep.ai.mit.edu>. | 532 @email{bug-gnu-emacs@@prep.ai.mit.edu}. |
525 | 533 |
526 @node Q1.0.6, Q1.0.7, Q1.0.5, Introduction | 534 @node Q1.0.6, Q1.0.7, Q1.0.5, Introduction |
527 @section Where can I get help? | 535 @unnumberedsubsec Q1.0.6: Where can I get help? |
528 | 536 |
529 Probably the easiest way, if everything is installed, is to use info, by | 537 Probably the easiest way, if everything is installed, is to use info, by |
530 pressing @kbd{C-h i}, or selecting @code{Emacs Info} from the Help Menu. | 538 pressing @kbd{C-h i}, or selecting @code{Emacs Info} from the Help Menu. |
531 | 539 |
532 Also, @kbd{M-x apropos} will look for commands for you. | 540 Also, @kbd{M-x apropos} will look for commands for you. |
533 | 541 |
534 Try reading this FAQ, examining the regular GNU Emacs FAQ (which can be | 542 Try reading this FAQ, examining the regular GNU Emacs FAQ (which can be |
535 found with the Emacs 19 distribution) as well as at | 543 found with the Emacs 19 distribution) as well as at |
536 <URL:http://www.eecs.nwu.edu/emacs/faq/> and reading the Usenet group | 544 @uref{http://www.eecs.nwu.edu/emacs/faq/} and reading the Usenet group |
537 comp.emacs.xemacs. | 545 comp.emacs.xemacs. |
538 | 546 |
539 If that does not help, try posting your question to comp.emacs.xemacs. | 547 If that does not help, try posting your question to comp.emacs.xemacs. |
540 Please @strong{do not} post XEmacs related questions to gnu.emacs.help. | 548 Please @strong{do not} post XEmacs related questions to gnu.emacs.help. |
541 | 549 |
542 If you cannot post or read Usenet news, there is a corresponding mailing | 550 If you cannot post or read Usenet news, there is a corresponding mailing |
543 list which is available. It can be subscribed to by sending a message | 551 list which is available. It can be subscribed to by sending a message |
544 with a subject of @samp{subscribe} to <xemacs-request@@xemacs.org> | 552 with a subject of @samp{subscribe} to @email{xemacs-request@@xemacs.org} |
545 for subscription information and <xemacs@@xemacs.org> to send messages | 553 for subscription information and @email{xemacs@@xemacs.org} to send messages |
546 to the list. | 554 to the list. |
547 | 555 |
548 To cancel a subscription, you @strong{must} use the xemacs-request | 556 To cancel a subscription, you @strong{must} use the xemacs-request |
549 address. Send a message with a subject of @samp{unsubscribe} to be | 557 address. Send a message with a subject of @samp{unsubscribe} to be |
550 removed. | 558 removed. |
551 | 559 |
552 @node Q1.0.7, Q1.0.8, Q1.0.6, Introduction | 560 @node Q1.0.7, Q1.0.8, Q1.0.6, Introduction |
553 @section Where is the mailing list archived? | 561 @unnumberedsubsec Q1.0.7: Where is the mailing list archived? |
554 | 562 |
555 The mailing list was archived in the directory | 563 The mailing list was archived in the directory |
556 @example | 564 @example |
557 <URL:ftp://ftp.xemacs.org:/pub/mlists/>. | 565 @uref{ftp://ftp.xemacs.org/pub/mlists/}. |
558 @end example | 566 @end example |
559 | 567 |
560 However, this archive is out of date. The current mailing list server | 568 However, this archive is out of date. The current mailing list server |
561 supports an @code{archive} feature, which may be utilized. | 569 supports an @code{archive} feature, which may be utilized. |
562 | 570 |
563 @node Q1.0.8, Q1.0.9, Q1.0.7, Introduction | 571 @node Q1.0.8, Q1.0.9, Q1.0.7, Introduction |
564 @section How do you pronounce XEmacs? | 572 @unnumberedsubsec Q1.0.8: How do you pronounce XEmacs? |
565 | 573 |
566 I pronounce it @samp{Eks eemax}. | 574 I pronounce it @samp{Eks eemax}. |
567 | 575 |
568 @node Q1.0.9, Q1.0.10, Q1.0.8, Introduction | 576 @node Q1.0.9, Q1.0.10, Q1.0.8, Introduction |
569 @section What does XEmacs look like? | 577 @unnumberedsubsec Q1.0.9: What does XEmacs look like? |
570 | 578 |
571 Screen snapshots are available in the WWW version of the FAQ. | 579 Screen snapshots are available in the WWW version of the FAQ. |
572 @example | 580 @example |
573 <URL:http://www.xemacs.org/faq/xemacs-faq.html> | 581 @uref{http://www.xemacs.org/faq/xemacs-faq.html} |
574 @end example | 582 @end example |
575 | 583 |
576 @node Q1.0.10, Q1.0.11, Q1.0.9, Introduction | 584 @node Q1.0.10, Q1.0.11, Q1.0.9, Introduction |
577 @section Is there a port of XEmacs to Microsoft ('95 or NT)? | 585 @unnumberedsubsec Q1.0.10: Is there a port of XEmacs to Microsoft ('95 or NT)? |
578 | 586 |
579 Thanks to efforts of many people, coordinated by David Hobley | 587 Thanks to efforts of many people, coordinated by |
580 <davidh@@wr.com.au> and Marc Paquette <marcpa@@cam.org>, beta versions | 588 @email{davidh@@wr.com.au, David Hobley} and @email{marcpa@@cam.org, Marc |
581 of XEmacs now run on 32-bit Windows platforms (NT and 95). The current | 589 Paquette}, beta versions of XEmacs now run on 32-bit Windows platforms |
582 betas require having an X server to run XEmacs; however, a native NT/95 | 590 (NT and 95). The current betas require having an X server to run |
583 port is in alpha, thanks to Jonathan Harris <jhar@@tardis.ed.ac.uk>. | 591 XEmacs; however, a native NT/95 port is in alpha, thanks to |
592 @email{jhar@@tardis.ed.ac.uk, Jonathan Harris}. | |
584 | 593 |
585 The NT development is now coordinated by a mailing list at | 594 The NT development is now coordinated by a mailing list at |
586 <xemacs-nt@@xemacs.org>. If you are willing to contribute or want to | 595 @email{xemacs-nt@@xemacs.org}. |
587 follow the progress, mail to <xemacs-nt-request@@xemacs.org> to | 596 |
588 subscribe. | 597 If you are willing to contribute or want to follow the progress, mail to |
598 @iftex | |
599 @* | |
600 @end iftex | |
601 @email{xemacs-nt-request@@xemacs.org} to subscribe. | |
589 | 602 |
590 Furthermore, Altrasoft is seeking corporate and government sponsors to | 603 Furthermore, Altrasoft is seeking corporate and government sponsors to |
591 help fund a fully native port of XEmacs to Windows 95 and NT using | 604 help fund a fully native port of XEmacs to Windows 95 and NT using |
592 full-time, senior-level staff working under a professionally managed | 605 full-time, senior-level staff working under a professionally managed |
593 project structure. See <URL:http://www.altrasoft.com/> for more details | 606 project structure. See @uref{http://www.altrasoft.com/, the Altrasoft |
607 web site} for more details | |
594 or contact Altrasoft directly at 1-888-ALTSOFT. | 608 or contact Altrasoft directly at 1-888-ALTSOFT. |
595 | 609 |
596 | 610 |
597 The closest existing port is @dfn{Win-Emacs}, which is based on Lucid | 611 The closest existing port is @dfn{Win-Emacs}, which is based on Lucid |
598 Emacs 19.6. Available from <URL:http://www.pearlsoft.com/>. | 612 Emacs 19.6. Available from @uref{http://www.pearlsoft.com/}. |
599 | 613 |
600 There's a port of GNU Emacs (not XEmacs) at | 614 There's a port of GNU Emacs (not XEmacs) at |
601 @example | 615 @example |
602 <URL:http://www.cs.washington.edu/homes/voelker/ntemacs.html>. | 616 @uref{http://www.cs.washington.edu/homes/voelker/ntemacs.html}. |
603 @end example | 617 @end example |
604 | 618 |
605 @node Q1.0.11, Q1.0.12, Q1.0.10, Introduction | 619 @node Q1.0.11, Q1.0.12, Q1.0.10, Introduction |
606 @section Is there a port of XEmacs to the Macintosh? | 620 @unnumberedsubsec Q1.0.11: Is there a port of XEmacs to the Macintosh? |
607 | 621 |
608 There has been a port to the MachTen environment of XEmacs 19.13, but no | 622 There has been a port to the MachTen environment of XEmacs 19.13, but no |
609 patches have been submitted to the maintainers to get this in the | 623 patches have been submitted to the maintainers to get this in the |
610 mainstream distribution. | 624 mainstream distribution. |
611 | 625 |
612 @node Q1.0.12, Q1.0.13, Q1.0.11, Introduction | 626 @node Q1.0.12, Q1.0.13, Q1.0.11, Introduction |
613 @section Is there a port of XEmacs to NextStep? | 627 @unnumberedsubsec Q1.0.12: Is there a port of XEmacs to NextStep? |
614 | 628 |
615 Carl Edman, apparently no longer at <cedman@@princeton.edu>, did the | 629 Carl Edman, apparently no longer at @email{cedman@@princeton.edu}, did |
616 port of GNU Emacs to NeXTstep and expressed interest in doing the XEmacs | 630 the port of GNU Emacs to NeXTstep and expressed interest in doing the |
617 port, but never went any farther. | 631 XEmacs port, but never went any farther. |
618 | 632 |
619 @node Q1.0.13, Q1.0.14, Q1.0.12, Introduction | 633 @node Q1.0.13, Q1.0.14, Q1.0.12, Introduction |
620 @section Is there a port of XEmacs to OS/2? | 634 @unnumberedsubsec Q1.0.13: Is there a port of XEmacs to OS/2? |
621 | 635 |
622 No, and there is no news of anyone working on it. | 636 No, and there is no news of anyone working on it. |
623 | 637 |
624 @node Q1.0.14, Q1.1.1, Q1.0.13, Introduction | 638 @node Q1.0.14, Q1.1.1, Q1.0.13, Introduction |
625 @section Where can I obtain a printed copy of the XEmacs users manual? | 639 @unnumberedsubsec Q1.0.14: Where can I obtain a printed copy of the XEmacs users manual? |
626 | 640 |
627 Altrasoft Associates, a firm specializing in Emacs-related support and | 641 Altrasoft Associates, a firm specializing in Emacs-related support and |
628 development, will be maintaining the XEmacs user manual. The firm plans | 642 development, will be maintaining the XEmacs user manual. The firm plans |
629 to begin publishing printed copies of the manual soon. | 643 to begin publishing printed copies of the manual soon. |
630 @c This used to say `March 1997'! | 644 @c This used to say `March 1997'! |
631 | 645 |
632 @example | 646 @example |
633 Web: http://www.xemacs.com | 647 Web: @uref{http://www.xemacs.com} |
634 E-mail: <info@@xemacs.com> | 648 E-mail: @email{info@@xemacs.com} |
635 Tel: +1 408 243 3300 | 649 Tel: +1 408 243 3300 |
636 @end example | 650 @end example |
637 | 651 |
638 @node Q1.1.1, Q1.1.2, Q1.0.14, Introduction | 652 @node Q1.1.1, Q1.1.2, Q1.0.14, Introduction |
639 @section What is the FAQ editorial policy? | 653 @unnumberedsec 1.1: Policies |
654 @unnumberedsubsec Q1.1.1: What is the FAQ editorial policy? | |
640 | 655 |
641 The FAQ is actively maintained and modified regularly. All links should | 656 The FAQ is actively maintained and modified regularly. All links should |
642 be up to date. | 657 be up to date. |
643 | 658 |
644 Changes are displayed on a monthly basis. @dfn{Months}, for this | 659 Changes are displayed on a monthly basis. @dfn{Months}, for this |
645 purpose are defined as the 5th of the month through the 5th of the | 660 purpose are defined as the 5th of the month through the 5th of the |
646 month. Preexisting questions that have been changed are marked as such. | 661 month. Preexisting questions that have been changed are marked as such. |
647 Brand new questions are tagged. | 662 Brand new questions are tagged. |
648 | 663 |
649 All submissions are welcome. E-mail submissions to Andreas Kaempf | 664 All submissions are welcome. E-mail submissions |
650 <andreas@@sccon.com>. | 665 to @iftex |
666 @* | |
667 @end iftex | |
668 @email{chr@@mediascience.no, Christian Nyb@o{}}. | |
651 | 669 |
652 Please make sure that @samp{XEmacs FAQ} appears on the Subject: line. | 670 Please make sure that @samp{XEmacs FAQ} appears on the Subject: line. |
653 If you think you have a better way of answering a question, or think a | 671 If you think you have a better way of answering a question, or think a |
654 question should be included, I'd like to hear about it. Questions and | 672 question should be included, I'd like to hear about it. Questions and |
655 answers included into the FAQ will be edited for spelling and grammar, | 673 answers included into the FAQ will be edited for spelling and grammar, |
658 of the four people listed at the top of this document. Answers quoted | 676 of the four people listed at the top of this document. Answers quoted |
659 from Usenet news articles will always be attributed, regardless of the | 677 from Usenet news articles will always be attributed, regardless of the |
660 author. | 678 author. |
661 | 679 |
662 @node Q1.1.2, Q1.1.3, Q1.1.1, Introduction | 680 @node Q1.1.2, Q1.1.3, Q1.1.1, Introduction |
663 @section How do I become a Beta Tester? | 681 @unnumberedsubsec Q1.1.2: How do I become a Beta Tester? |
664 | 682 |
665 Send an email message to <xemacs-beta-request@@xemacs.org> with a | 683 Send an email message to @email{xemacs-beta-request@@xemacs.org} with a |
666 subject line of @samp{subscribe}. | 684 subject line of @samp{subscribe}. |
667 | 685 |
668 Be prepared to get your hands dirty, as beta testers are expected to | 686 Be prepared to get your hands dirty, as beta testers are expected to |
669 identify problems as best they can. | 687 identify problems as best they can. |
670 | 688 |
671 @node Q1.1.3, Q1.2.1, Q1.1.2, Introduction | 689 @node Q1.1.3, Q1.2.1, Q1.1.2, Introduction |
672 @section How do I contribute to XEmacs itself? | 690 @unnumberedsubsec Q1.1.3: How do I contribute to XEmacs itself? |
673 | 691 |
674 Ben Wing <ben@@666.com> writes: | 692 Ben Wing @email{ben@@666.com} writes: |
675 | 693 |
676 @quotation | 694 @quotation |
677 BTW if you have a wish list of things that you want added, you have to | 695 BTW if you have a wish list of things that you want added, you have to |
678 speak up about it! More specifically, you can do the following if you | 696 speak up about it! More specifically, you can do the following if you |
679 want a feature added (in increasing order of usefulness): | 697 want a feature added (in increasing order of usefulness): |
699 (not that we're necessarily requiring you to write the code, but we can | 717 (not that we're necessarily requiring you to write the code, but we can |
700 always hope :) | 718 always hope :) |
701 @end quotation | 719 @end quotation |
702 | 720 |
703 @node Q1.2.1, Q1.2.2, Q1.1.3, Introduction | 721 @node Q1.2.1, Q1.2.2, Q1.1.3, Introduction |
704 @section Who wrote XEmacs? | 722 @unnumberedsec 1.2: Credits |
723 @unnumberedsubsec Q1.2.1: Who wrote XEmacs? | |
705 | 724 |
706 XEmacs is the result of the time and effort of many people. The | 725 XEmacs is the result of the time and effort of many people. The |
707 developers responsible for the 19.16/20.x releases are: | 726 developers responsible for the 19.16/20.x releases are: |
708 | 727 |
709 @itemize @bullet | 728 @itemize @bullet |
710 @item Martin Buchholz <martin@@xemacs.org> | 729 @item @email{martin@@xemacs.org, Martin Buchholz} |
711 | 730 @ifhtml |
712 @item Steve Baur <steve@@altair.xemacs.org> | 731 <img src="mrb.jpeg"> |
713 | 732 @end ifhtml |
714 @item Hrvoje Niksic <hniksic@@srce.hr> | 733 |
734 | |
735 @item @email{steve@@altair.xemacs.org, Steve Baur} | |
736 | |
737 @ifhtml | |
738 <img src="steve.gif"> | |
739 @end ifhtml | |
740 | |
741 | |
742 @item @email{hniksic@@srce.hr, Hrvoje Niksic} | |
743 | |
744 @ifhtml | |
745 <img src="hniksic.jpeg"> | |
746 @end ifhtml | |
747 | |
715 @end itemize | 748 @end itemize |
716 | 749 |
717 The developers responsible for the 19.14 release are: | 750 The developers responsible for the 19.14 release are: |
718 | 751 |
719 @itemize @bullet | 752 @itemize @bullet |
720 @item Chuck Thompson <cthomp@@xemacs.org> | 753 @item @email{cthomp@@xemacs.org, Chuck Thompson} |
754 @ifhtml | |
755 <img src="cthomp.jpeg"> | |
756 @end ifhtml | |
721 | 757 |
722 Chuck was Mr. XEmacs from 19.11 through 19.14, and is responsible | 758 Chuck was Mr. XEmacs from 19.11 through 19.14, and is responsible |
723 for XEmacs becoming a widely distributed program over the Internet. | 759 for XEmacs becoming a widely distributed program over the Internet. |
724 | 760 |
725 @item Ben Wing <ben@@666.com> | 761 @item @email{ben@@666.com, Ben Wing} |
762 @ifhtml | |
763 <img src="wing.gif"> | |
764 @end ifhtml | |
765 | |
726 @end itemize | 766 @end itemize |
727 | 767 |
728 Jamie Zawinski was Mr. Lucid Emacs from 19.0 through 19.10, the last | 768 Jamie Zawinski was Mr. Lucid Emacs from 19.0 through 19.10, the last |
729 release actually named Lucid Emacs. Richard Mlynarik was crucial to | 769 release actually named Lucid Emacs. Richard Mlynarik was crucial to |
730 most of those releases. | 770 most of those releases. |
731 | 771 |
732 @itemize @bullet | 772 @itemize @bullet |
733 @item Jamie Zawinski <jwz@@netscape.com> | 773 @item @email{jwz@@netscape.com, Jamie Zawinski} |
734 | 774 @ifhtml |
735 @item Richard Mlynarik <mly@@adoc.xerox.com> | 775 <img src="jwz.gif"> |
776 @end ifhtml | |
777 | |
778 @item @email{mly@@adoc.xerox.com, Richard Mlynarik} | |
736 @end itemize | 779 @end itemize |
737 | 780 |
738 Along with many other contributors, partially enumerated in the | 781 Along with many other contributors, partially enumerated in the |
739 @samp{About XEmacs} option in the Help menu. | 782 @samp{About XEmacs} option in the Help menu. |
740 | 783 |
741 @node Q1.2.2, Q1.2.3, Q1.2.1, Introduction | 784 @node Q1.2.2, Q1.2.3, Q1.2.1, Introduction |
742 @section Who contributed to this version of the FAQ? | 785 @unnumberedsubsec Q1.2.2: Who contributed to this version of the FAQ? |
743 | 786 |
744 The following people contributed valuable suggestions to building this | 787 The following people contributed valuable suggestions to building this |
745 version of the FAQ (listed in alphabetical order): | 788 version of the FAQ (listed in alphabetical order): |
746 | 789 |
747 @itemize @bullet | 790 @itemize @bullet |
748 @item SL Baur <steve@@xemacs.org> | 791 @item @email{steve@@xemacs.org, SL Baur} |
749 | 792 |
750 @item Hrvoje Niksic <hniksic@@srce.hr> | 793 @item @email{hniksic@@srce.hr, Hrvoje Niksic} |
751 | 794 |
752 @item Aki Vehtari <Aki.Vehtari@@hut.fi> | 795 @item @email{Aki.Vehtari@@hut.fi, Aki Vehtari} |
753 | 796 |
754 @end itemize | 797 @end itemize |
755 | 798 |
756 @node Q1.2.3, Q1.3.1, Q1.2.2, Introduction | 799 @node Q1.2.3, Q1.3.1, Q1.2.2, Introduction |
757 @section Who contributed to the FAQ in the past? | 800 @unnumberedsubsec Q1.2.3: Who contributed to the FAQ in the past? |
758 | 801 |
759 This is only a partial list, as many names were lost in a hard disk | 802 This is only a partial list, as many names were lost in a hard disk |
760 crash some time ago. | 803 crash some time ago. |
761 | 804 |
762 @itemize @bullet | 805 @itemize @bullet |
763 @item Curtis.N.Bingham <binge@@aloft.att.com> | 806 @item @email{binge@@aloft.att.com, Curtis.N.Bingham} |
764 | 807 |
765 @item Richard Caley <rjc@@cogsci.ed.ac.uk> | 808 @item @email{rjc@@cogsci.ed.ac.uk, Richard Caley} |
766 | 809 |
767 @item Richard Cognot <cognot@@ensg.u-nancy.fr> | 810 @item @email{cognot@@ensg.u-nancy.fr, Richard Cognot} |
768 | 811 |
769 @item William G. Dubuque <wgd@@martigny.ai.mit.edu> | 812 @item @email{wgd@@martigny.ai.mit.edu, William G. Dubuque} |
770 | 813 |
771 @item Eric Eide <eeide@@cs.utah.edu> | 814 @item @email{eeide@@cs.utah.edu, Eric Eide} |
772 | 815 |
773 @item Chris Flatters <cflatter@@nrao.edu> | 816 @item @email{cflatter@@nrao.edu, Chris Flatters} |
774 | 817 |
775 @item Evelyn Ginsparg <ginsparg@@adra.com> | 818 @item @email{ginsparg@@adra.com, Evelyn Ginsparg} |
776 | 819 |
777 @item Marty Hall <hall@@aplcenmp.apl.jhu.edu> | 820 @item @email{hall@@aplcenmp.apl.jhu.edu, Marty Hall} |
778 | 821 |
779 @item Darrell Kindred <dkindred@@cmu.edu> | 822 @item @email{dkindred@@cmu.edu, Darrell Kindred} |
780 | 823 |
781 @item David Moore <dmoore@@ucsd.edu> | 824 @item @email{dmoore@@ucsd.edu, David Moore} |
782 | 825 |
783 @item Arup Mukherjee <arup+@@cmu.edu> | 826 @item @email{arup+@@cmu.edu, Arup Mukherjee} |
784 | 827 |
785 @item Juergen Nickelsen <nickel@@prz.tu-berlin.de> | 828 @item @email{nickel@@prz.tu-berlin.de, Juergen Nickelsen} |
786 | 829 |
787 @item Kevin R. Powell <powell@@csl.ncsa.uiuc.edu> | 830 @item @email{powell@@csl.ncsa.uiuc.edu, Kevin R. Powell} |
788 | 831 |
789 @item Justin Sheehy <dworkin@@ccs.neu.edu> | 832 @item @email{dworkin@@ccs.neu.edu, Justin Sheehy} |
790 | 833 |
791 @item Stig <stig@@hackvan.com> | 834 @item @email{stig@@hackvan.com, Stig} |
792 | 835 |
793 @item Aki Vehtari <Aki.Vehtari@@hut.fi> | 836 @item @email{Aki.Vehtari@@hut.fi, Aki Vehtari} |
794 @end itemize | 837 @end itemize |
795 | 838 |
796 @node Q1.3.1, Q1.3.2, Q1.2.3, Introduction | 839 @node Q1.3.1, Q1.3.2, Q1.2.3, Introduction |
797 @section What is the status of XEmacs v20? | 840 @unnumberedsec 1.3: Internationalization |
841 @unnumberedsubsec Q1.3.1: What is the status of XEmacs v20? | |
798 | 842 |
799 XEmacs v20 is the version of XEmacs that includes MULE (Asian-language) | 843 XEmacs v20 is the version of XEmacs that includes MULE (Asian-language) |
800 support. XEmacs 20.0 was released in February 1997, followed by XEmacs | 844 support. XEmacs 20.0 was released in February 1997, followed by XEmacs |
801 20.2 in May and XEmacs 20.3 in November. When compiled without MULE | 845 20.2 in May, XEmacs 20.3 in November and XEmacs 20.4 in February 1998. When compiled without MULE |
802 support, 20.3 is approximately as stable as 19.16, and probably faster | 846 support, 20.4 is approximately as stable as 19.16, and probably faster |
803 (due to additional optimization work.) | 847 (due to additional optimization work.) |
804 | 848 |
805 As of XEmacs 20.3, version 20 is @emph{the} supported version of | 849 As of XEmacs 20.3, version 20 is @emph{the} supported version of |
806 XEmacs. This means that 19.16 will optionally receive stability fixes | 850 XEmacs. This means that 19.16 will optionally receive stability fixes |
807 (if any), but that all the real development work will be done on the v20 | 851 (if any), but that all the real development work will be done on the v20 |
808 tree. | 852 tree. |
809 | 853 |
810 The incompatible changes in XEmacs 20 include the additional byte-codes, | 854 The incompatible changes in XEmacs 20 include the additional byte-codes, |
811 new primitive data types (@code{character}, @code{char-table}, and | 855 new primitive data types (@code{character}, @code{char-table}, and |
812 @code{range-table}). This means that the character-integer equivalence | 856 @code{range-table}). This means that the character-integer equivalence |
813 inherent to all the previous Emacs and XEmacs releases no longer | 857 inherent to all the previous Emacs and XEmacs releases no longer |
814 applies. | 858 applies. |
815 | 859 |
816 However, to avoid breaking old code, many functions that should normally | 860 However, to avoid breaking old code, many functions that should normally |
817 accept characters work with integers, and vice versa. For more | 861 accept characters work with integers, and vice versa. For more |
818 information, see the Lisp reference manual. Here is a relevant excerpt, | 862 information, see the Lisp reference manual. Here is a relevant excerpt, |
819 for your convenience. | 863 for your convenience. |
820 | 864 |
821 @quotation | 865 @quotation |
822 In XEmacs version 19, and in all versions of FSF GNU Emacs, a | 866 In XEmacs version 19, and in all versions of FSF GNU Emacs, a |
823 @dfn{character} in XEmacs Lisp is nothing more than an integer. | 867 @dfn{character} in XEmacs Lisp is nothing more than an integer. |
863 common to work with @emph{strings}, which are sequences composed of | 907 common to work with @emph{strings}, which are sequences composed of |
864 characters. | 908 characters. |
865 @end quotation | 909 @end quotation |
866 | 910 |
867 @node Q1.3.2, Q1.3.3, Q1.3.1, Introduction | 911 @node Q1.3.2, Q1.3.3, Q1.3.1, Introduction |
868 @section What is the status of Asian-language support, aka MULE? | 912 @unnumberedsubsec Q1.3.2: What is the status of Asian-language support, aka MULE? |
869 | 913 |
870 The MULE support works OK but still needs a fair amount of work before | 914 The MULE support works OK but still needs a fair amount of work before |
871 it's really solid. We could definitely use some help here, esp. people | 915 it's really solid. We could definitely use some help here, esp. people |
872 who speak Japanese and will use XEmacs/MULE to work with Japanese and | 916 who speak Japanese and will use XEmacs/MULE to work with Japanese and |
873 have some experience with E-Lisp. | 917 have some experience with E-Lisp. |
874 | 918 |
875 As the funding on Mule have stopped, Mule part of XEmacs is currently | 919 As the fundings on Mule have stopped, Mule part of XEmacs is currently |
876 looking for a full-time maintainer. If you can provide help here, or | 920 looking for a full-time maintainer. If you can provide help here, or |
877 are willing to fund the work, please mail to <xemacs-beta@@xemacs.org>. | 921 are willing to fund the work, please mail to @email{xemacs-beta@@xemacs.org}. |
878 | 922 |
879 @xref{Q1.1.2}. | 923 @xref{Q1.1.2}. |
880 | 924 |
881 @node Q1.3.3, Q1.3.4, Q1.3.2, Introduction | 925 @node Q1.3.3, Q1.3.4, Q1.3.2, Introduction |
882 @section How do I type non-ASCII characters? | 926 @unnumberedsubsec Q1.3.3: How do I type non-ASCII characters? |
883 | 927 |
884 See question 3.5.7 (@xref{Q3.5.7}) in part 3 of this FAQ. | 928 See question 3.5.7 (@xref{Q3.5.7}) in part 3 of this FAQ. |
885 | 929 |
886 @node Q1.3.4, Q1.3.5, Q1.3.3, Introduction | 930 @node Q1.3.4, Q1.3.5, Q1.3.3, Introduction |
887 @section Can XEmacs messages come out in a different language? | 931 @unnumberedsubsec Q1.3.4: Can XEmacs messages come out in a different language? |
888 | 932 |
889 The message-catalog support has mostly been written but doesn't | 933 The message-catalog support has mostly been written but doesn't |
890 currently work. The first release of XEmacs 20 will @emph{not} support | 934 currently work. The first release of XEmacs 20 will @emph{not} support |
891 it. However, menubar localization @emph{does} work, even in 19.14. To | 935 it. However, menubar localization @emph{does} work, even in 19.14. To |
892 enable it, add to your @file{Emacs} file entries like this: | 936 enable it, add to your @file{Emacs} file entries like this: |
899 | 943 |
900 The name of the resource is derived from the non-localized entry by | 944 The name of the resource is derived from the non-localized entry by |
901 removing punctuation and capitalizing as above. | 945 removing punctuation and capitalizing as above. |
902 | 946 |
903 @node Q1.3.5, Q1.3.6, Q1.3.4, Introduction | 947 @node Q1.3.5, Q1.3.6, Q1.3.4, Introduction |
904 @section Please explain the various input methods in MULE/XEmacs 20.0 | 948 @unnumberedsubsec Q1.3.5: Please explain the various input methods in MULE/XEmacs 20.0 |
905 | 949 |
906 MORIOKA Tomohiko <morioka@@jaist.ac.jp> writes: | 950 @email{morioka@@jaist.ac.jp, MORIOKA Tomohiko} writes: |
907 | 951 |
908 @quotation | 952 @quotation |
909 Original Mule supports the following input methods: Wnn4, Wnn6, Canna, SJ3 | 953 Original Mule supports following input methods: Wnn4, Wnn6, Canna, SJ3 |
910 and XIM. Interfaces for Wnn and SJ3 uses the @code{egg} user | 954 and XIM. Interfaces for Wnn and SJ3 uses the @code{egg} user |
911 interface. Interface for Canna does not use @samp{egg}. I don't know | 955 interface. Interface for Canna does not use @samp{egg}. I don't know |
912 about XIM. It is to support ATOK, of course, it may work for another | 956 about XIM. It is to support ATOK, of course, it may work for another |
913 servers. | 957 servers. |
914 | 958 |
948 plan is stopped. Perhaps after Mule merged GNU Emacs will be released, | 992 plan is stopped. Perhaps after Mule merged GNU Emacs will be released, |
949 it will be continued. | 993 it will be continued. |
950 @end quotation | 994 @end quotation |
951 | 995 |
952 @node Q1.3.6, Q1.3.7, Q1.3.5, Introduction | 996 @node Q1.3.6, Q1.3.7, Q1.3.5, Introduction |
953 @section How do I portably code for MULE/XEmacs 20? | 997 @unnumberedsubsec Q1.3.6: How do I portably code for MULE/XEmacs 20? |
954 | 998 |
955 MORIOKA Tomohiko <morioka@@jaist.ac.jp> writes: | 999 @email{morioka@@jaist.ac.jp, MORIOKA Tomohiko} writes: |
956 | 1000 |
957 @quotation | 1001 @quotation |
958 MULE and XEmacs are quite different. So the application | 1002 MULE and XEmacs are quite different. So the application |
959 implementor must write separate code for these mule variants. | 1003 implementor must write separate code for these mule variants. |
960 | 1004 |
997 ) | 1041 ) |
998 @end lisp | 1042 @end lisp |
999 @end quotation | 1043 @end quotation |
1000 | 1044 |
1001 @node Q1.3.7, Q1.4.1, Q1.3.6, Introduction | 1045 @node Q1.3.7, Q1.4.1, Q1.3.6, Introduction |
1002 @section How about Cyrillic Modes? | 1046 @unnumberedsubsec Q1.3.7: How about Cyrillic Modes? |
1003 | 1047 |
1004 Ilya Zakharevich <ilya@@math.ohio-state.edu> writes: | 1048 @email{ilya@@math.ohio-state.edu, Ilya Zakharevich} writes: |
1005 | 1049 |
1006 @quotation | 1050 @quotation |
1007 There is a cyrillic mode in the file @file{mysetup.zip} in | 1051 There is a cyrillic mode in the file @file{mysetup.zip} in |
1008 <URL:ftp://ftp.math.ohio-state.edu/pub/users/ilya/emacs/>. This is a | 1052 @iftex |
1009 modification to Valery Alexeev's <ava@@math.jhu.ed> @file{russian.el} | 1053 @* |
1010 which can be obtained from <URL:ftp://ftp.cis.ohio-state.edu/pub/gnu/emacs/elisp-archive/packages/russian.el.Z>. | 1054 @end iftex |
1011 @end quotation | 1055 @uref{ftp://ftp.math.ohio-state.edu/pub/users/ilya/emacs/}. This is a |
1012 | 1056 modification to @email{ava@@math.jhu.ed, Valery Alexeev's} @file{russian.el} |
1013 Dima Barsky <d.barsky@@ee.surrey.ac.uk> writes: | 1057 which can be obtained from @uref{ftp://ftp.cis.ohio-state.edu/pub/gnu/emacs/elisp-archive/packages/russian.el.Z}. |
1014 | 1058 @end quotation |
1015 @quotation | 1059 |
1016 There is another cyrillic mode for both GNU Emacs and XEmacs by Dmitrii | 1060 @email{d.barsky@@ee.surrey.ac.uk, Dima Barsky} writes: |
1017 (Mitya) Manin <manin@@camelot.mssm.edu> at | 1061 |
1018 <URL:http://camelot.mssm.edu/~manin/cyr.el>. | 1062 @quotation |
1019 @end quotation | 1063 There is another cyrillic mode for both GNU Emacs and XEmacs by |
1020 | 1064 @email{manin@@camelot.mssm.edu, Dmitrii |
1021 Rebecca Ore <rebecca.ore@@op.net> writes: | 1065 (Mitya) Manin} at |
1066 @iftex | |
1067 | |
1068 @end iftex | |
1069 @uref{http://camelot.mssm.edu/~manin/cyr.el}. | |
1070 @end quotation | |
1071 | |
1072 @email{rebecca.ore@@op.net, Rebecca Ore} writes: | |
1022 | 1073 |
1023 @quotation | 1074 @quotation |
1024 The fullest resource I found on Russian language use (in and out of | 1075 The fullest resource I found on Russian language use (in and out of |
1025 XEmacs) is <URL:http://sunsite.oit.unc.edu/sergei/Software/Software.html> | 1076 XEmacs) is @uref{http://sunsite.oit.unc.edu/sergei/Software/Software.html} |
1026 @end quotation | 1077 @end quotation |
1027 | 1078 |
1028 @node Q1.4.1, Q1.4.2, Q1.3.7, Introduction | 1079 @node Q1.4.1, Q1.4.2, Q1.3.7, Introduction |
1029 @section What is a @file{.emacs} and is there a sample one? | 1080 @unnumberedsec 1.4: Getting Started, Backing up & Recovery |
1081 @unnumberedsubsec Q1.4.1: What is a @file{.emacs} and is there a sample one? | |
1030 | 1082 |
1031 The @file{.emacs} file is used to customize XEmacs to your tastes. No | 1083 The @file{.emacs} file is used to customize XEmacs to your tastes. No |
1032 two are alike, nor are they expected to be alike, but that's the point. | 1084 two are alike, nor are they expected to be alike, but that's the point. |
1033 The XEmacs distribution contains an excellent starter example in the etc | 1085 The XEmacs distribution contains an excellent starter example in the etc |
1034 directory called @file{sample.emacs}. Copy this file from there to your | 1086 directory called @file{sample.emacs}. Copy this file from there to your |
1038 XEmacs buffer by selecting @samp{Help->Sample .emacs} from the menubar. | 1090 XEmacs buffer by selecting @samp{Help->Sample .emacs} from the menubar. |
1039 To determine the location of the @file{etc} directory type the command | 1091 To determine the location of the @file{etc} directory type the command |
1040 @kbd{C-h v data-directory RET}. | 1092 @kbd{C-h v data-directory RET}. |
1041 | 1093 |
1042 @node Q1.4.2, Q1.4.3, Q1.4.1, Introduction | 1094 @node Q1.4.2, Q1.4.3, Q1.4.1, Introduction |
1043 @section Can I use the same @file{.emacs} with the other Emacs? | 1095 @unnumberedsubsec Q1.4.2: Can I use the same @file{.emacs} with the other Emacs? |
1044 | 1096 |
1045 Yes. The sample @file{.emacs} included in the XEmacs distribution will | 1097 Yes. The sample @file{.emacs} included in the XEmacs distribution will |
1046 show you how to handle different versions and flavors of Emacs. | 1098 show you how to handle different versions and flavors of Emacs. |
1047 | 1099 |
1048 @node Q1.4.3, Q1.4.4, Q1.4.2, Introduction | 1100 @node Q1.4.3, Q1.4.4, Q1.4.2, Introduction |
1049 @section Any good tutorials around? | 1101 @unnumberedsubsec Q1.4.3: Any good tutorials around? |
1050 | 1102 |
1051 There's the XEmacs tutorial available from the Help Menu, or by typing | 1103 There's the XEmacs tutorial available from the Help Menu, or by typing |
1052 @kbd{C-h t}. | 1104 @kbd{C-h t}. To check whether it's available in a non-english language, |
1105 type @kbd{C-u C-h t TAB}, type the first letters of your preferred | |
1106 language, then type @kbd{RET}. | |
1053 | 1107 |
1054 There's an Emacs Lisp tutorial at | 1108 There's an Emacs Lisp tutorial at |
1055 | 1109 |
1056 @example | 1110 @example |
1057 <URL:ftp://prep.ai.mit.edu/pub/gnu/emacs-lisp-intro-1.04.tar.gz>. | 1111 @uref{ftp://prep.ai.mit.edu/pub/gnu/emacs-lisp-intro-1.04.tar.gz}. |
1058 @end example | 1112 @end example |
1059 | 1113 |
1060 Erik Sundermann <erik@@petaxp.rug.ac.be> has made a tutorial web page at | 1114 @email{erik@@petaxp.rug.ac.be, Erik Sundermann} has made a tutorial web |
1061 <URL:http://petaxp.rug.ac.be/~erik/xemacs/>. | 1115 page at |
1116 @iftex | |
1117 @* | |
1118 @end iftex | |
1119 @uref{http://petaxp.rug.ac.be/~erik/xemacs/}. | |
1062 | 1120 |
1063 @node Q1.4.4, Q1.4.5, Q1.4.3, Introduction | 1121 @node Q1.4.4, Q1.4.5, Q1.4.3, Introduction |
1064 @section May I see an example of a useful XEmacs Lisp function? | 1122 @unnumberedsubsec Q1.4.4: May I see an example of a useful XEmacs Lisp function? |
1065 | 1123 |
1066 The following function does a little bit of everything useful. It does | 1124 The following function does a little bit of everything useful. It does |
1067 something with the prefix argument, it examines the text around the | 1125 something with the prefix argument, it examines the text around the |
1068 cursor, and it's interactive so it may be bound to a key. It inserts | 1126 cursor, and it's interactive so it may be bound to a key. It inserts |
1069 copies of the current word the cursor is sitting on at the cursor. If | 1127 copies of the current word the cursor is sitting on at the cursor. If |
1094 this will tell you that the @code{*} requires a writable buffer, and | 1152 this will tell you that the @code{*} requires a writable buffer, and |
1095 @code{p} converts the prefix argument to a number, and | 1153 @code{p} converts the prefix argument to a number, and |
1096 @code{interactive} allows you to execute the command with @kbd{M-x}. | 1154 @code{interactive} allows you to execute the command with @kbd{M-x}. |
1097 | 1155 |
1098 @node Q1.4.5, Q1.4.6, Q1.4.4, Introduction | 1156 @node Q1.4.5, Q1.4.6, Q1.4.4, Introduction |
1099 @section And how do I bind it to a key? | 1157 @unnumberedsubsec Q1.4.5: And how do I bind it to a key? |
1100 | 1158 |
1101 To bind to a key do: | 1159 To bind to a key do: |
1102 | 1160 |
1103 @lisp | 1161 @lisp |
1104 (global-set-key "\C-cd" 'double-word) | 1162 (global-set-key "\C-cd" 'double-word) |
1105 @end lisp | 1163 @end lisp |
1106 | 1164 |
1107 Or interactively, @kbd{M-x global-set-key} and follow the prompts. | 1165 Or interactively, @kbd{M-x global-set-key} and follow the prompts. |
1108 | 1166 |
1109 @node Q1.4.6, Q1.4.7, Q1.4.5, Introduction | 1167 @node Q1.4.6, Q1.4.7, Q1.4.5, Introduction |
1110 @section What's the difference between a macro and a function? | 1168 @unnumberedsubsec Q1.4.6: What's the difference between a macro and a function? |
1111 | 1169 |
1112 Quoting from the Lisp Reference (a.k.a @dfn{Lispref}) Manual: | 1170 Quoting from the Lisp Reference (a.k.a @dfn{Lispref}) Manual: |
1113 | 1171 |
1114 @dfn{Macros} enable you to define new control constructs and other | 1172 @dfn{Macros} enable you to define new control constructs and other |
1115 language features. A macro is defined much like a function, but instead | 1173 language features. A macro is defined much like a function, but instead |
1125 Do not confuse the two terms with @dfn{keyboard macros}, which are | 1183 Do not confuse the two terms with @dfn{keyboard macros}, which are |
1126 another matter, entirely. A keyboard macro is a key bound to several | 1184 another matter, entirely. A keyboard macro is a key bound to several |
1127 other keys. Refer to manual for details. | 1185 other keys. Refer to manual for details. |
1128 | 1186 |
1129 @node Q1.4.7, , Q1.4.6, Introduction | 1187 @node Q1.4.7, , Q1.4.6, Introduction |
1130 @section How come options saved with 19.13 don't work with 19.14 or later? | 1188 @unnumberedsubsec Q1.4.7: How come options saved with 19.13 don't work with 19.14 or later? |
1131 | 1189 |
1132 There's a problem with options of the form: | 1190 There's a problem with options of the form: |
1133 | 1191 |
1134 @lisp | 1192 @lisp |
1135 (add-spec-list-to-specifier (face-property 'searchm-field 'font) | 1193 (add-spec-list-to-specifier (face-property 'searchm-field 'font) |
1150 ((and (string-match "XEmacs" emacs-version) | 1208 ((and (string-match "XEmacs" emacs-version) |
1151 (boundp 'emacs-major-version) | 1209 (boundp 'emacs-major-version) |
1152 (or (and (= emacs-major-version 19) | 1210 (or (and (= emacs-major-version 19) |
1153 (>= emacs-minor-version 12)) | 1211 (>= emacs-minor-version 12)) |
1154 (>= emacs-major-version 20))) | 1212 (>= emacs-major-version 20))) |
1155 ... | 1213 ... |
1156 )) | 1214 )) |
1157 @end lisp | 1215 @end lisp |
1158 | 1216 |
1159 @node Installation, Customization, Introduction, Top | 1217 @node Installation, Customization, Introduction, Top |
1160 @chapter Installation and Trouble Shooting | 1218 @unnumbered 2 Installation and Trouble Shooting |
1161 | 1219 |
1162 This is part 2 of the XEmacs Frequently Asked Questions list. This | 1220 This is part 2 of the XEmacs Frequently Asked Questions list. This |
1163 section is devoted to Installation, Maintenance and Trouble Shooting. | 1221 section is devoted to Installation, Maintenance and Trouble Shooting. |
1164 | 1222 |
1165 @menu | 1223 @menu |
1166 Installation: | 1224 Installation: |
1167 * Q2.0.1:: Running XEmacs without installing. | 1225 * Q2.0.1:: Running XEmacs without installing. |
1168 * Q2.0.2:: XEmacs is too big. | 1226 * Q2.0.2:: XEmacs is too big. |
1169 * Q2.0.3:: Compiling XEmacs with Netaudio. | 1227 * Q2.0.3:: Compiling XEmacs with Netaudio. |
1170 * Q2.0.4:: Problems with Linux and ncurses. | 1228 * Q2.0.4:: Problems with Linux and ncurses. |
1171 * Q2.0.5:: Do I need X11 to run XEmacs? | 1229 * Q2.0.5:: Do I need X11 to run XEmacs? |
1172 * Q2.0.6:: I'm having strange crashes. What do I do? | 1230 * Q2.0.6:: I'm having strange crashes. What do I do? |
1173 * Q2.0.7:: Libraries in non-standard locations. | 1231 * Q2.0.7:: Libraries in non-standard locations. |
1174 * Q2.0.8:: can't resolve symbol _h_errno | 1232 * Q2.0.8:: can't resolve symbol _h_errno |
1175 * Q2.0.9:: Where do I find external libraries? | 1233 * Q2.0.9:: Where do I find external libraries? |
1176 * Q2.0.10:: After I run configure I find a coredump, is something wrong? | 1234 * Q2.0.10:: After I run configure I find a coredump, is something wrong? |
1177 * Q2.0.11:: XEmacs can't resolve host names. | 1235 * Q2.0.11:: XEmacs can't resolve host names. |
1178 * Q2.0.12:: Why can't I strip XEmacs? | 1236 * Q2.0.12:: Why can't I strip XEmacs? |
1179 * Q2.0.13:: Can't link XEmacs on Solaris with Gcc. | 1237 * Q2.0.13:: Can't link XEmacs on Solaris with Gcc. |
1180 * Q2.0.14:: Make on HP/UX 9 fails after linking temacs | 1238 * Q2.0.14:: Make on HP/UX 9 fails after linking temacs |
1181 | 1239 |
1182 Trouble Shooting: | 1240 Trouble Shooting: |
1183 * Q2.1.1:: XEmacs just crashed on me! | 1241 * Q2.1.1:: XEmacs just crashed on me! |
1184 * Q2.1.2:: Cryptic Minibuffer messages. | 1242 * Q2.1.2:: Cryptic Minibuffer messages. |
1185 * Q2.1.3:: Translation Table Syntax messages at Startup. | 1243 * Q2.1.3:: Translation Table Syntax messages at Startup. |
1204 * Q2.1.22:: XEmacs seems to take a really long time to do some things. | 1262 * Q2.1.22:: XEmacs seems to take a really long time to do some things. |
1205 * Q2.1.23:: Movemail on Linux does not work for XEmacs 19.15 and later. | 1263 * Q2.1.23:: Movemail on Linux does not work for XEmacs 19.15 and later. |
1206 @end menu | 1264 @end menu |
1207 | 1265 |
1208 @node Q2.0.1, Q2.0.2, Installation, Installation | 1266 @node Q2.0.1, Q2.0.2, Installation, Installation |
1209 @section Running XEmacs without installing | 1267 @unnumberedsec 2.0: Installation |
1210 | 1268 @unnumberedsubsec Q2.0.1: Running XEmacs without installing |
1211 The @file{INSTALL} file says that up to 108 MB of space is needed | 1269 The @file{INSTALL} file says that up to 108 MB of space is needed |
1212 temporarily during installation! How can I just try it out? | 1270 temporarily during installation! How can I just try it out? |
1213 | 1271 |
1214 XEmacs will run in place without requiring installation and copying of | 1272 XEmacs will run in place without requiring installation and copying of |
1215 the Lisp directories, and without having to specify a special build-time | 1273 the Lisp directories, and without having to specify a special build-time |
1226 tree to instead of @file{/i/xemacs-20.2}). | 1284 tree to instead of @file{/i/xemacs-20.2}). |
1227 | 1285 |
1228 This will let you run XEmacs without massive copying. | 1286 This will let you run XEmacs without massive copying. |
1229 | 1287 |
1230 @node Q2.0.2, Q2.0.3, Q2.0.1, Installation | 1288 @node Q2.0.2, Q2.0.3, Q2.0.1, Installation |
1231 @section XEmacs is too big | 1289 @unnumberedsubsec Q2.0.2: XEmacs is too big |
1232 | 1290 |
1233 Although this entry has been written for XEmacs 19.13, most of it still | 1291 Although this entry has been written for XEmacs 19.13, most of it still |
1234 stands true. | 1292 stands true. |
1235 | 1293 |
1236 Steve Baur <steve@@altair.xemacs.org> writes: | 1294 @email{steve@@altair.xemacs.org, Steve Baur} writes: |
1237 | 1295 |
1238 @quotation | 1296 @quotation |
1239 The 45MB of space required by the installation directories can be | 1297 The 45MB of space required by the installation directories can be |
1240 reduced dramatically if desired. Gzip all the .el files. Remove all | 1298 reduced dramatically if desired. Gzip all the .el files. Remove all |
1241 the packages you'll never want to use (or even ones you do like the two | 1299 the packages you'll never want to use (or even ones you do like the two |
1358 | 1416 |
1359 The 20MB achieved is less than half of what the full distribution takes up, | 1417 The 20MB achieved is less than half of what the full distribution takes up, |
1360 @strong{and} can be achieved without deleting a single file. | 1418 @strong{and} can be achieved without deleting a single file. |
1361 @end quotation | 1419 @end quotation |
1362 | 1420 |
1363 giacomo boffi <boffi@@hp735.stru.polimi.it> provides this procedure: | 1421 @email{boffi@@hp735.stru.polimi.it, Giacomo Boffi} provides this procedure: |
1364 | 1422 |
1365 @quotation | 1423 @quotation |
1366 Substitute @file{/usr/local/lib/} with the path where the xemacs tree is | 1424 Substitute @file{/usr/local/lib/} with the path where the xemacs tree is |
1367 rooted, then use this script: | 1425 rooted, then use this script: |
1368 | 1426 |
1378 for d in * ; do | 1436 for d in * ; do |
1379 if test -d $d ; then | 1437 if test -d $d ; then |
1380 cd $d | 1438 cd $d |
1381 for f in *.el ; do | 1439 for f in *.el ; do |
1382 # compress (remove) only (ONLY) the sources that have a | 1440 # compress (remove) only (ONLY) the sources that have a |
1383 # corresponding compiled file --- do not (DO NOT) touch other | 1441 # corresponding compiled file --- do not (DO NOT) |
1384 # sources | 1442 # touch other sources |
1385 if test -f $@{f@}c ; then gzip -v9 $f >> $r/cmpr ; fi | 1443 if test -f $@{f@}c ; then gzip -v9 $f >> $r/cmpr ; fi |
1386 done | 1444 done |
1387 cd .. | 1445 cd .. |
1388 fi | 1446 fi |
1389 done | 1447 done |
1404 XEmacs 20.5 will unbundle the lisp hierarchy and allow the installer | 1462 XEmacs 20.5 will unbundle the lisp hierarchy and allow the installer |
1405 to choose exactly how much support code gets installed. | 1463 to choose exactly how much support code gets installed. |
1406 @end quotation | 1464 @end quotation |
1407 | 1465 |
1408 @node Q2.0.3, Q2.0.4, Q2.0.2, Installation | 1466 @node Q2.0.3, Q2.0.4, Q2.0.2, Installation |
1409 @section Compiling XEmacs with Netaudio. | 1467 @unnumberedsubsec Q2.0.3: Compiling XEmacs with Netaudio. |
1410 | 1468 |
1411 What is the best way to compile XEmacs with the netaudio system, since I | 1469 What is the best way to compile XEmacs with the netaudio system, since I |
1412 have got the netaudio system compiled but installed at a weird place, I | 1470 have got the netaudio system compiled but installed at a weird place, I |
1413 am not root. Also in the READMEs it does not say anything about | 1471 am not root. Also in the READMEs it does not say anything about |
1414 compiling with the audioserver? | 1472 compiling with the audioserver? |
1430 netaudio isn't perfect). | 1488 netaudio isn't perfect). |
1431 | 1489 |
1432 BTW, netaudio has been renamed as it has a name clash with something | 1490 BTW, netaudio has been renamed as it has a name clash with something |
1433 else, so if you see references to NAS or Network Audio System, it's the | 1491 else, so if you see references to NAS or Network Audio System, it's the |
1434 same thing. It also might be found at | 1492 same thing. It also might be found at |
1435 <URL:ftp.x.org:/contrib/audio/nas/>. | 1493 @uref{ftp://ftp.x.org/contrib/audio/nas/}. |
1436 | 1494 |
1437 @node Q2.0.4, Q2.0.5, Q2.0.3, Installation | 1495 @node Q2.0.4, Q2.0.5, Q2.0.3, Installation |
1438 @section Problems with Linux and ncurses. | 1496 @unnumberedsubsec Q2.0.4: Problems with Linux and ncurses. |
1439 | 1497 |
1440 On Linux 1.3.98 with termcap 2.0.8 and the ncurses that came with libc | 1498 On Linux 1.3.98 with termcap 2.0.8 and the ncurses that came with libc |
1441 5.2.18, XEmacs 20.0b20 is unable to open a tty device: | 1499 5.2.18, XEmacs 20.0b20 is unable to open a tty device: |
1442 | 1500 |
1443 @example | 1501 @example |
1444 src/xemacs -nw -q | 1502 src/xemacs -nw -q |
1445 Initialization error: Terminal type `xterm' undefined (or can't access database?) | 1503 Initialization error: @iftex |
1446 @end example | 1504 @* |
1447 | 1505 @end iftex |
1448 Ben Wing <ben@@666.com> writes: | 1506 Terminal type `xterm' undefined (or can't access database?) |
1507 @end example | |
1508 | |
1509 @email{ben@@666.com, Ben Wing} writes: | |
1449 | 1510 |
1450 @quotation | 1511 @quotation |
1451 Your ncurses configuration is messed up. Your /usr/lib/terminfo is a | 1512 Your ncurses configuration is messed up. Your /usr/lib/terminfo is a |
1452 bad pointer, perhaps to a CD-ROM that is not inserted. | 1513 bad pointer, perhaps to a CD-ROM that is not inserted. |
1453 @end quotation | 1514 @end quotation |
1454 | 1515 |
1455 @node Q2.0.5, Q2.0.6, Q2.0.4, Installation | 1516 @node Q2.0.5, Q2.0.6, Q2.0.4, Installation |
1456 @section Do I need X11 to run XEmacs? | 1517 @unnumberedsubsec Q2.0.5: Do I need X11 to run XEmacs? |
1457 | 1518 |
1458 No. The name @dfn{XEmacs} is unfortunate in the sense that it is | 1519 No. The name @dfn{XEmacs} is unfortunate in the sense that it is |
1459 @strong{not} an X Window System-only version of Emacs. Starting with | 1520 @strong{not} an X Window System-only version of Emacs. Starting with |
1460 19.14 XEmacs has full color support on a color capable character | 1521 19.14 XEmacs has full color support on a color capable character |
1461 terminal. | 1522 terminal. |
1462 | 1523 |
1463 @node Q2.0.6, Q2.0.7, Q2.0.5, Installation | 1524 @node Q2.0.6, Q2.0.7, Q2.0.5, Installation |
1464 @section I'm having strange crashes. What do I do? | 1525 @unnumberedsubsec Q2.0.6: I'm having strange crashes. What do I do? |
1465 | 1526 |
1466 There have been a variety of reports of crashes due to compilers with | 1527 There have been a variety of reports of crashes due to compilers with |
1467 buggy optimizers. Please see the @file{PROBLEMS} file that comes with | 1528 buggy optimizers. Please see the @file{PROBLEMS} file that comes with |
1468 XEmacs to read what it says about your platform. | 1529 XEmacs to read what it says about your platform. |
1469 | 1530 |
1470 @node Q2.0.7, Q2.0.8, Q2.0.6, Installation | 1531 @node Q2.0.7, Q2.0.8, Q2.0.6, Installation |
1471 @section Libraries in non-standard locations | 1532 @unnumberedsubsec Q2.0.7: Libraries in non-standard locations |
1472 | 1533 |
1473 I have x-faces, jpeg, xpm etc. all in different places. I've tried | 1534 I have x-faces, jpeg, xpm etc. all in different places. I've tried |
1474 space-separated, comma-separated, several --site-libraries, all to no | 1535 space-separated, comma-separated, several --site-libraries, all to no |
1475 avail. | 1536 avail. |
1476 | 1537 |
1477 @example | 1538 @example |
1478 --site-libraries='/path/one /path/two /path/etc' | 1539 --site-libraries='/path/one /path/two /path/etc' |
1479 @end example | 1540 @end example |
1480 | 1541 |
1481 @node Q2.0.8, Q2.0.9, Q2.0.7, Installation | 1542 @node Q2.0.8, Q2.0.9, Q2.0.7, Installation |
1482 @section can't resolve symbol _h_errno | 1543 @unnumberedsubsec Q2.0.8: can't resolve symbol _h_errno |
1483 | 1544 |
1484 You are using the Linux/ELF distribution of XEmacs 19.14, and your ELF | 1545 You are using the Linux/ELF distribution of XEmacs 19.14, and your ELF |
1485 libraries are out of date. You have the following options: | 1546 libraries are out of date. You have the following options: |
1486 | 1547 |
1487 @enumerate | 1548 @enumerate |
1489 Upgrade your libc to at least 5.2.16 (better is 5.2.18, 5.3.12, or | 1550 Upgrade your libc to at least 5.2.16 (better is 5.2.18, 5.3.12, or |
1490 5.4.10). | 1551 5.4.10). |
1491 | 1552 |
1492 @item | 1553 @item |
1493 Patch the XEmacs binary by replacing all occurrences of | 1554 Patch the XEmacs binary by replacing all occurrences of |
1494 @samp{_h_errno^@@} with @samp{h_errno^@@^@@}. Any version of Emacs will | 1555 @samp{_h_errno^@@} with @iftex |
1556 @* | |
1557 @end iftex | |
1558 @samp{h_errno^@@^@@}. Any version of Emacs will | |
1495 suffice. If you don't understand how to do this, don't do it. | 1559 suffice. If you don't understand how to do this, don't do it. |
1496 | 1560 |
1497 @item | 1561 @item |
1498 Rebuild XEmacs yourself -- any working ELF version of libc should be | 1562 Rebuild XEmacs yourself -- any working ELF version of libc should be |
1499 O.K. | 1563 O.K. |
1500 @end enumerate | 1564 @end enumerate |
1501 | 1565 |
1502 Hrvoje Niksic <hniksic@@srce.hr> writes: | 1566 @email{hniksic@@srce.hr, Hrvoje Niksic} writes: |
1503 | 1567 |
1504 @quotation | 1568 @quotation |
1505 Why not use a Perl one-liner for No. 2? | 1569 Why not use a Perl one-liner for No. 2? |
1506 | 1570 |
1507 @example | 1571 @example |
1508 perl -pi -e 's/_h_errno\0/h_errno\0\0/g' /usr/local/bin/xemacs-19.14 | 1572 perl -pi -e 's/_h_errno\0/h_errno\0\0/g' \ |
1573 /usr/local/bin/xemacs-19.14 | |
1509 @end example | 1574 @end example |
1510 | 1575 |
1511 NB: You @emph{must} patch @file{/usr/local/bin/xemacs-19.14}, and not | 1576 NB: You @emph{must} patch @file{/usr/local/bin/xemacs-19.14}, and not |
1512 @file{xemacs} because @file{xemacs} is a link to @file{xemacs-19.14}; | 1577 @file{xemacs} because @file{xemacs} is a link to @file{xemacs-19.14}; |
1513 the Perl @samp{-i} option will cause unwanted side-effects if applied to | 1578 the Perl @samp{-i} option will cause unwanted side-effects if applied to |
1514 a symbolic link. | 1579 a symbolic link. |
1515 @end quotation | 1580 @end quotation |
1516 | 1581 |
1517 SL Baur <steve@@xemacs.org> writes: | 1582 @email{steve@@xemacs.org, SL Baur} writes: |
1518 | 1583 |
1519 @quotation | 1584 @quotation |
1520 If you build against a recent libc-5.4 (late enough to have caused | 1585 If you build against a recent libc-5.4 (late enough to have caused |
1521 problems earlier in the beta cycle) and then run with an earlier version | 1586 problems earlier in the beta cycle) and then run with an earlier version |
1522 of libc, you get a | 1587 of libc, you get a |
1531 | 1596 |
1532 The solution is to upgrade to at least libc-5.4.23. Sigh. Drat. | 1597 The solution is to upgrade to at least libc-5.4.23. Sigh. Drat. |
1533 @end quotation | 1598 @end quotation |
1534 | 1599 |
1535 @node Q2.0.9, Q2.0.10, Q2.0.8, Installation | 1600 @node Q2.0.9, Q2.0.10, Q2.0.8, Installation |
1536 @section Where do I find external libraries? | 1601 @unnumberedsubsec Q2.0.9: Where do I find external libraries? |
1537 | 1602 |
1538 All external libraries used by XEmacs can be found at the XEmacs FTP | 1603 All external libraries used by XEmacs can be found at the XEmacs FTP |
1539 site <URL:ftp://ftp.xemacs.org/pub/aux/>. | 1604 site |
1605 @iftex | |
1606 @* | |
1607 @end iftex | |
1608 @uref{ftp://ftp.xemacs.org/pub/aux/}. | |
1540 | 1609 |
1541 @c This list is a pain in the you-know-what to keep in synch with the | 1610 @c This list is a pain in the you-know-what to keep in synch with the |
1542 @c world. | 1611 @c world. |
1543 The canonical locations (at the time of this writing) are as follows: | 1612 The canonical locations (at the time of this writing) are as follows: |
1544 | 1613 |
1545 @table @asis | 1614 @table @asis |
1546 @item JPEG | 1615 @item JPEG |
1547 <URL:ftp://ftp.uu.net/graphics/jpeg/>. Version 6a is current. | 1616 @uref{ftp://ftp.uu.net/graphics/jpeg/}. Version 6a is current. |
1548 | 1617 |
1549 @item XPM | 1618 @item XPM |
1550 <URL:ftp://ftp.x.org/contrib/libraries/>. Version 3.4j is current. | 1619 @uref{ftp://ftp.x.org/contrib/libraries/}. Version 3.4j is current. |
1551 Older versions of this package are known to cause XEmacs crashes. | 1620 Older versions of this package are known to cause XEmacs crashes. |
1552 | 1621 |
1553 @item TIFF | 1622 @item TIFF |
1554 <URL:ftp://ftp.sgi.com/graphics/tiff/>. v3.4 is current. The latest | 1623 @uref{ftp://ftp.sgi.com/graphics/tiff/}. v3.4 is current. The latest |
1555 beta is v3.4b035. There is a HOWTO here. | 1624 beta is v3.4b035. There is a HOWTO here. |
1556 | 1625 |
1557 @item PNG | 1626 @item PNG |
1558 <URL:ftp://ftp.uu.net/graphics/png/>. 0.89c is current. XEmacs | 1627 @uref{ftp://ftp.uu.net/graphics/png/}. 0.89c is current. XEmacs |
1559 requires a fairly recent version to avoid using temporary files. | 1628 requires a fairly recent version to avoid using temporary files. |
1560 | 1629 |
1561 <URL:ftp://swrinde.nde.swri.edu/pub/png/src/> | 1630 @uref{ftp://swrinde.nde.swri.edu/pub/png/src/} |
1562 | 1631 |
1563 @item Compface | 1632 @item Compface |
1564 <URL:ftp://ftp.cs.indiana.edu/pub/faces/compface/>. This library has | 1633 @uref{ftp://ftp.cs.indiana.edu/pub/faces/compface/}. This library has |
1565 been frozen for about 6 years, and is distributed without version | 1634 been frozen for about 6 years, and is distributed without version |
1566 numbers. @emph{It should be compiled with the same options that X11 was | 1635 numbers. @emph{It should be compiled with the same options that X11 was |
1567 compiled with on your system}. The version of this library at | 1636 compiled with on your system}. The version of this library at |
1568 XEmacs.org includes the @file{xbm2xface.pl} script, written by | 1637 XEmacs.org includes the @file{xbm2xface.pl} script, written by |
1569 stig@@hackvan.com, which may be useful when generating your own xface. | 1638 @email{stig@@hackvan.com}, which may be useful when generating your own xface. |
1570 | 1639 |
1571 @item NAS | 1640 @item NAS |
1572 <URL:ftp://ftp.x.org/contrib/audio/nas/>. | 1641 @uref{ftp://ftp.x.org/contrib/audio/nas/}. |
1573 Version 1.2p5 is current. There is a FAQ here. | 1642 Version 1.2p5 is current. There is a FAQ here. |
1574 @end table | 1643 @end table |
1575 | 1644 |
1576 @node Q2.0.10, Q2.0.11, Q2.0.9, Installation | 1645 @node Q2.0.10, Q2.0.11, Q2.0.9, Installation |
1577 @section After I run configure I find a core dump, is something wrong? | 1646 @unnumberedsubsec Q2.0.10: After I run configure I find a core dump, is something wrong? |
1578 | 1647 |
1579 Not necessarily. If you have GNU sed 3.0 you should downgrade it to | 1648 Not necessarily. If you have GNU sed 3.0 you should downgrade it to |
1580 2.05. From the @file{README} at prep.ai.mit.edu: | 1649 2.05. From the @file{README} at prep.ai.mit.edu: |
1581 | 1650 |
1582 @quotation | 1651 @quotation |
1591 | 1660 |
1592 It has also been observed that the vfork test on Solaris will leave a | 1661 It has also been observed that the vfork test on Solaris will leave a |
1593 core dump. | 1662 core dump. |
1594 | 1663 |
1595 @node Q2.0.11, Q2.0.12, Q2.0.10, Installation | 1664 @node Q2.0.11, Q2.0.12, Q2.0.10, Installation |
1596 @section XEmacs doesn't resolve hostnames. | 1665 @unnumberedsubsec Q2.0.11: XEmacs doesn't resolve hostnames. |
1597 | 1666 |
1598 This is the result of a long-standing problem with SunOS and the fact | 1667 This is the result of a long-standing problem with SunOS and the fact |
1599 that stock SunOS systems do not ship with DNS resolver code in libc. | 1668 that stock SunOS systems do not ship with DNS resolver code in libc. |
1600 | 1669 |
1601 Christopher Davis <ckd@@loiosh.kei.com> writes: | 1670 @email{ckd@@loiosh.kei.com, Christopher Davis} writes: |
1602 | 1671 |
1603 @quotation | 1672 @quotation |
1604 That's correct [The SunOS 4.1.3 precompiled binaries don't do name | 1673 That's correct [The SunOS 4.1.3 precompiled binaries don't do name |
1605 lookup]. Since Sun figured that everyone used NIS to do name lookups | 1674 lookup]. Since Sun figured that everyone used NIS to do name lookups |
1606 (that DNS thing was apparently only a passing fad, right?), the stock | 1675 (that DNS thing was apparently only a passing fad, right?), the stock |
1612 check to see if you've put DNS in the shared libc and will then proceed | 1681 check to see if you've put DNS in the shared libc and will then proceed |
1613 to link against the DNS resolver library code. | 1682 to link against the DNS resolver library code. |
1614 @end quotation | 1683 @end quotation |
1615 | 1684 |
1616 @node Q2.0.12, Q2.0.13, Q2.0.11, Installation | 1685 @node Q2.0.12, Q2.0.13, Q2.0.11, Installation |
1617 @section Why can't I strip XEmacs? | 1686 @unnumberedsubsec Q2.0.12: Why can't I strip XEmacs? |
1618 | 1687 |
1619 Richard Cognot <cognot@@fronsac.ensg.u-nancy.fr> writes: | 1688 @email{cognot@@fronsac.ensg.u-nancy.fr, Richard Cognot} writes: |
1620 | 1689 |
1621 @quotation | 1690 @quotation |
1622 Because of the way XEmacs (and every other Emacsen, AFAIK) is built. The | 1691 Because of the way XEmacs (and every other Emacsen, AFAIK) is built. The |
1623 link gives you a bare-boned emacs (called temacs). temacs is then run, | 1692 link gives you a bare-boned emacs (called temacs). temacs is then run, |
1624 preloading some of the lisp files. The result is then dumped into a new | 1693 preloading some of the lisp files. The result is then dumped into a new |
1636 dumping xemacs. This will always work, although you can do that only if | 1705 dumping xemacs. This will always work, although you can do that only if |
1637 you install from sources (as temacs is @file{not} part of the binary | 1706 you install from sources (as temacs is @file{not} part of the binary |
1638 kits). | 1707 kits). |
1639 @end quotation | 1708 @end quotation |
1640 | 1709 |
1641 Nat Makarevitch <nat@@nataa.fr.eu.org> writes: | 1710 @email{nat@@nataa.fr.eu.org, Nat Makarevitch} writes: |
1642 | 1711 |
1643 @quotation | 1712 @quotation |
1644 Here is the trick: | 1713 Here is the trick: |
1645 | 1714 |
1646 @enumerate | 1715 @enumerate |
1658 | 1727 |
1659 @item | 1728 @item |
1660 cp src/xemacs /usr/local/bin/xemacs | 1729 cp src/xemacs /usr/local/bin/xemacs |
1661 | 1730 |
1662 @item | 1731 @item |
1663 cp lib-src/DOC-19.16-XEmacs /usr/local/lib/xemacs-19.16/i586-unknown-linuxaout | 1732 cp lib-src/DOC-19.16-XEmacs |
1733 @iftex | |
1734 \ @* | |
1735 @end iftex | |
1736 /usr/local/lib/xemacs-19.16/i586-unknown-linuxaout | |
1664 @end enumerate | 1737 @end enumerate |
1665 @end quotation | 1738 @end quotation |
1666 | 1739 |
1667 @node Q2.0.13, Q2.0.14, Q2.0.12, Installation | 1740 @node Q2.0.13, Q2.0.14, Q2.0.12, Installation |
1668 @section Problems linking with Gcc on Solaris | 1741 @unnumberedsubsec Q2.0.13: Problems linking with Gcc on Solaris |
1669 | 1742 |
1670 There are known difficulties linking with Gnu ld on Solaris. A typical | 1743 There are known difficulties linking with Gnu ld on Solaris. A typical |
1671 error message might look like: | 1744 error message might look like: |
1672 | 1745 |
1673 @example | 1746 @example |
1674 unexec(): dlopen(../dynodump/dynodump.so): ld.so.1: ./temacs: | 1747 unexec(): dlopen(../dynodump/dynodump.so): ld.so.1: ./temacs: |
1675 fatal: relocation error: | 1748 fatal: relocation error: |
1676 symbol not found: main: referenced in ../dynodump/dynodump.so | 1749 symbol not found: main: referenced in ../dynodump/dynodump.so |
1677 @end example | 1750 @end example |
1678 | 1751 |
1679 Martin Buchholz <martin@@xemacs.org> writes: | 1752 @email{martin@@xemacs.org, Martin Buchholz} writes: |
1680 | 1753 |
1681 @quotation | 1754 @quotation |
1682 You need to specify @samp{-fno-gnu-linker} as part of your flags to pass | 1755 You need to specify @samp{-fno-gnu-linker} as part of your flags to pass |
1683 to ld. Future releases of XEmacs will try to do this automatically. | 1756 to ld. Future releases of XEmacs will try to do this automatically. |
1684 @end quotation | 1757 @end quotation |
1685 | 1758 |
1686 @node Q2.0.14, Q2.1.1, Q2.0.13, Installation | 1759 @node Q2.0.14, Q2.1.1, Q2.0.13, Installation |
1687 @section Make on HP/UX 9 fails after linking temacs | 1760 @unnumberedsubsec Q2.0.14: Make on HP/UX 9 fails after linking temacs |
1688 | 1761 |
1689 Problem when building xemacs-19.16 on hpux 9: | 1762 Problem when building xemacs-19.16 on hpux 9: |
1690 | 1763 |
1691 Richard Cognot <cognot@@ensg.u-nancy.fr> writes: | 1764 @email{cognot@@ensg.u-nancy.fr, Richard Cognot} writes: |
1692 | 1765 |
1693 @quotation | 1766 @quotation |
1694 make on hpux fails after linking temacs with a message: | 1767 make on hpux fails after linking temacs with a message: |
1695 | 1768 |
1696 @example | 1769 @example |
1702 72.24.1.17. | 1775 72.24.1.17. |
1703 @end quotation | 1776 @end quotation |
1704 | 1777 |
1705 | 1778 |
1706 @node Q2.1.1, Q2.1.2, Q2.0.14, Installation | 1779 @node Q2.1.1, Q2.1.2, Q2.0.14, Installation |
1707 @section Help! XEmacs just crashed on me! | 1780 @unnumberedsec 2.1: Trouble Shooting |
1781 @unnumberedsubsec Q2.1.1: Help! XEmacs just crashed on me! | |
1708 | 1782 |
1709 First of all, don't panic. Whenever XEmacs crashes, it tries extremely | 1783 First of all, don't panic. Whenever XEmacs crashes, it tries extremely |
1710 hard to auto-save all of your files before dying. (The main time that | 1784 hard to auto-save all of your files before dying. (The main time that |
1711 this will not happen is if the machine physically lost power or if you | 1785 this will not happen is if the machine physically lost power or if you |
1712 killed the XEmacs process using @code{kill -9}). The next time you try | 1786 killed the XEmacs process using @code{kill -9}). The next time you try |
1720 Now, XEmacs is not perfect, and there may occasionally be times, or | 1794 Now, XEmacs is not perfect, and there may occasionally be times, or |
1721 particular sequences of actions, that cause it to crash. If you can | 1795 particular sequences of actions, that cause it to crash. If you can |
1722 come up with a reproducible way of doing this (or even if you have a | 1796 come up with a reproducible way of doing this (or even if you have a |
1723 pretty good memory of exactly what you were doing at the time), the | 1797 pretty good memory of exactly what you were doing at the time), the |
1724 maintainers would be very interested in knowing about it. Post a | 1798 maintainers would be very interested in knowing about it. Post a |
1725 message to comp.emacs.xemacs or send mail to <crashes@@xemacs.org>. | 1799 message to comp.emacs.xemacs or send mail to @email{crashes@@xemacs.org}. |
1726 Please note that the @samp{crashes} address is exclusively for crash | 1800 Please note that the @samp{crashes} address is exclusively for crash |
1727 reports. | 1801 reports. |
1728 | 1802 |
1729 If at all possible, include a stack backtrace of the core dump that was | 1803 If at all possible, include a stack backtrace of the core dump that was |
1730 produced. This shows where exactly things went wrong, and makes it much | 1804 produced. This shows where exactly things went wrong, and makes it much |
1772 @item | 1846 @item |
1773 If the problem happened on a tty, please include the terminal type. | 1847 If the problem happened on a tty, please include the terminal type. |
1774 @end enumerate | 1848 @end enumerate |
1775 | 1849 |
1776 @node Q2.1.2, Q2.1.3, Q2.1.1, Installation | 1850 @node Q2.1.2, Q2.1.3, Q2.1.1, Installation |
1777 @section Cryptic Minibuffer messages. | 1851 @unnumberedsubsec Q2.1.2: Cryptic Minibuffer messages. |
1778 | 1852 |
1779 When I try to use some particular option of some particular package, I | 1853 When I try to use some particular option of some particular package, I |
1780 get a cryptic error in the minibuffer. | 1854 get a cryptic error in the minibuffer. |
1781 | 1855 |
1782 If you can't figure out what's going on, select Options/General | 1856 If you can't figure out what's going on, select Options/General |
1803 Messages (19.13 and earlier) or Help->Recent Keystrokes/Messages (19.14 | 1877 Messages (19.13 and earlier) or Help->Recent Keystrokes/Messages (19.14 |
1804 and later) from the menubar to see the most recent messages. This | 1878 and later) from the menubar to see the most recent messages. This |
1805 command is bound to @kbd{C-h l} by default. | 1879 command is bound to @kbd{C-h l} by default. |
1806 | 1880 |
1807 @node Q2.1.3, Q2.1.4, Q2.1.2, Installation | 1881 @node Q2.1.3, Q2.1.4, Q2.1.2, Installation |
1808 @section Translation Table Syntax messages at Startup | 1882 @unnumberedsubsec Q2.1.3: Translation Table Syntax messages at Startup |
1809 | 1883 |
1810 I get tons of translation table syntax error messages during startup. | 1884 I get tons of translation table syntax error messages during startup. |
1811 How do I get rid of them? | 1885 How do I get rid of them? |
1812 | 1886 |
1813 There are two causes of this problem. The first usually only strikes | 1887 There are two causes of this problem. The first usually only strikes |
1820 hardcoded at compile time so if the system the binary was built on puts | 1894 hardcoded at compile time so if the system the binary was built on puts |
1821 it a different place than your system does, you have problems. To fix, | 1895 it a different place than your system does, you have problems. To fix, |
1822 set the environment variable @var{XKEYSYMDB} to the location of the | 1896 set the environment variable @var{XKEYSYMDB} to the location of the |
1823 @file{XKeysymDB} file on your system or to the location of the one | 1897 @file{XKeysymDB} file on your system or to the location of the one |
1824 included with XEmacs which should be at | 1898 included with XEmacs which should be at |
1899 @iftex | |
1900 @* | |
1901 @end iftex | |
1825 @file{<xemacs_root_directory>/lib/xemacs-19.16/etc/XKeysymDB}. | 1902 @file{<xemacs_root_directory>/lib/xemacs-19.16/etc/XKeysymDB}. |
1826 | 1903 |
1827 @item | 1904 @item |
1828 The binary is finding the XKeysymDB but it is out-of-date on your system | 1905 The binary is finding the XKeysymDB but it is out-of-date on your system |
1829 and does not contain the necessary lines. Either ask your system | 1906 and does not contain the necessary lines. Either ask your system |
1831 is the stock R6 version and is backwards compatible) or set your | 1908 is the stock R6 version and is backwards compatible) or set your |
1832 @var{XKEYSYMDB} variable to the location of XEmacs's described above. | 1909 @var{XKEYSYMDB} variable to the location of XEmacs's described above. |
1833 @end itemize | 1910 @end itemize |
1834 | 1911 |
1835 @node Q2.1.4, Q2.1.5, Q2.1.3, Installation | 1912 @node Q2.1.4, Q2.1.5, Q2.1.3, Installation |
1836 @section Startup warnings about deducing proper fonts? | 1913 @unnumberedsubsec Q2.1.4: Startup warnings about deducing proper fonts? |
1837 | 1914 |
1838 How can I avoid the startup warnings about deducing proper fonts? | 1915 How can I avoid the startup warnings about deducing proper fonts? |
1839 | 1916 |
1840 This is highly dependent on your installation, but try with the | 1917 This is highly dependent on your installation, but try with the |
1841 following font as your base font for XEmacs and see what it does: | 1918 following font as your base font for XEmacs and see what it does: |
1858 @end lisp | 1935 @end lisp |
1859 | 1936 |
1860 The buffer still exists; it just isn't in your face. | 1937 The buffer still exists; it just isn't in your face. |
1861 | 1938 |
1862 @node Q2.1.5, Q2.1.6, Q2.1.4, Installation | 1939 @node Q2.1.5, Q2.1.6, Q2.1.4, Installation |
1863 @section XEmacs cannot connect to my X Terminal! | 1940 @unnumberedsubsec Q2.1.5: XEmacs cannot connect to my X Terminal! |
1864 | 1941 |
1865 Help! I can not get XEmacs to display on my Envizex X-terminal! | 1942 Help! I can not get XEmacs to display on my Envizex X-terminal! |
1866 | 1943 |
1867 Try setting the @var{DISPLAY} variable using the numeric IP address of | 1944 Try setting the @var{DISPLAY} variable using the numeric IP address of |
1868 the host you are running XEmacs from. | 1945 the host you are running XEmacs from. |
1869 | 1946 |
1870 @node Q2.1.6, Q2.1.7, Q2.1.5, Installation | 1947 @node Q2.1.6, Q2.1.7, Q2.1.5, Installation |
1871 @section XEmacs just locked up my Linux X server! | 1948 @unnumberedsubsec Q2.1.6: XEmacs just locked up my Linux X server! |
1872 | 1949 |
1873 There have been several reports of the X server locking up under Linux. | 1950 There have been several reports of the X server locking up under Linux. |
1874 In all reported cases removing speedo and scaled fonts from the font | 1951 In all reported cases removing speedo and scaled fonts from the font |
1875 path corrected the problem. This can be done with the command | 1952 path corrected the problem. This can be done with the command |
1876 @code{xset}. | 1953 @code{xset}. |
1877 | 1954 |
1878 It is possible that using a font server may also solve the problem. | 1955 It is possible that using a font server may also solve the problem. |
1879 | 1956 |
1880 @node Q2.1.7, Q2.1.8, Q2.1.6, Installation | 1957 @node Q2.1.7, Q2.1.8, Q2.1.6, Installation |
1881 @section HP Alt key as Meta. | 1958 @unnumberedsubsec Q2.1.7: HP Alt key as Meta. |
1882 | 1959 |
1883 How can I make XEmacs recognize the Alt key of my HP workstation as a | 1960 How can I make XEmacs recognize the Alt key of my HP workstation as a |
1884 Meta key? | 1961 Meta key? |
1885 | 1962 |
1886 Put the following line into a file and load it with xmodmap(1) before | 1963 Put the following line into a file and load it with xmodmap(1) before |
1889 @example | 1966 @example |
1890 remove Mod1 = Mode_switch | 1967 remove Mod1 = Mode_switch |
1891 @end example | 1968 @end example |
1892 | 1969 |
1893 @node Q2.1.8, Q2.1.9, Q2.1.7, Installation | 1970 @node Q2.1.8, Q2.1.9, Q2.1.7, Installation |
1894 @section got (wrong-type-argument color-instance-p nil) | 1971 @unnumberedsubsec Q2.1.8: got (wrong-type-argument color-instance-p nil) |
1895 | 1972 |
1896 Natalie Kershaw <nataliek@@rd.scitec.com.au> writes: | 1973 @email{nataliek@@rd.scitec.com.au, Natalie Kershaw} writes: |
1897 | 1974 |
1898 @quotation | 1975 @quotation |
1899 I am trying to run xemacs 19.13 under X11R4. Whenever I move the mouse I | 1976 I am trying to run xemacs 19.13 under X11R4. Whenever I move the mouse I |
1900 get the following error. Has anyone seen anything like this? This | 1977 get the following error. Has anyone seen anything like this? This |
1901 doesn't occur on X11R5. | 1978 doesn't occur on X11R5. |
1902 | 1979 |
1903 @lisp | 1980 @lisp |
1904 Signalling: (error "got (wrong-type-argument color-instance-p nil) and I don't know why!") | 1981 Signalling: |
1905 @end lisp | 1982 (error "got (wrong-type-argument color-instance-p nil) |
1906 @end quotation | 1983 and I don't know why!") |
1907 | 1984 @end lisp |
1908 dinos <map01kd@@gold.ac.uk> writes: | 1985 @end quotation |
1986 | |
1987 @email{map01kd@@gold.ac.uk, dinos} writes: | |
1909 | 1988 |
1910 @quotation | 1989 @quotation |
1911 I think this is due to undefined resources; You need to define color | 1990 I think this is due to undefined resources; You need to define color |
1912 backgrounds and foregrounds into your @file{.../app-defaults/Emacs} | 1991 backgrounds and foregrounds into your @file{.../app-defaults/Emacs} |
1913 like: | 1992 like: |
1930 @example | 2009 @example |
1931 xemacs*cursorColor: black | 2010 xemacs*cursorColor: black |
1932 xemacs*pointerColor: black | 2011 xemacs*pointerColor: black |
1933 @end example | 2012 @end example |
1934 | 2013 |
1935 With the new colors installed the problem still occurs if the above | 2014 With the new colours installed the problem still occurs if the above |
1936 resources are not defined. | 2015 resources are not defined. |
1937 | 2016 |
1938 If the new colors are not present then an additional error occurs on | 2017 If the new colours are not present then an additional error occurs on |
1939 XEmacs startup, which says @samp{Color Red3} not defined. | 2018 XEmacs startup, which says @samp{Color Red3} not defined. |
1940 @end quotation | 2019 @end quotation |
1941 | 2020 |
1942 @node Q2.1.9, Q2.1.10, Q2.1.8, Installation | 2021 @node Q2.1.9, Q2.1.10, Q2.1.8, Installation |
1943 @section XEmacs causes my OpenWindows 3.0 server to crash. | 2022 @unnumberedsubsec Q2.1.9: XEmacs causes my OpenWindows 3.0 server to crash. |
1944 | 2023 |
1945 The OpenWindows 3.0 server is incredibly buggy. Your best bet is to | 2024 The OpenWindows 3.0 server is incredibly buggy. Your best bet is to |
1946 replace it with one from the generic MIT X11 release. You might also | 2025 replace it with one from the generic MIT X11 release. You might also |
1947 try disabling parts of your @file{.emacs}, like enabling background | 2026 try disabling parts of your @file{.emacs}, like enabling background |
1948 pixmaps. | 2027 pixmaps. |
1949 | 2028 |
1950 @node Q2.1.10, Q2.1.11, Q2.1.9, Installation | 2029 @node Q2.1.10, Q2.1.11, Q2.1.9, Installation |
1951 @section Warnings from incorrect key modifiers. | 2030 @unnumberedsubsec Q2.1.10: Warnings from incorrect key modifiers. |
1952 | 2031 |
1953 The following information comes from the @file{PROBLEMS} file that comes | 2032 The following information comes from the @file{PROBLEMS} file that comes |
1954 with XEmacs. | 2033 with XEmacs. |
1955 | 2034 |
1956 If you're having troubles with HP/UX it is because HP/UX defines the | 2035 If you're having troubles with HP/UX it is because HP/UX defines the |
1972 add mod2 = Mode_switch | 2051 add mod2 = Mode_switch |
1973 EOF | 2052 EOF |
1974 @end example | 2053 @end example |
1975 | 2054 |
1976 @node Q2.1.11, Q2.1.12, Q2.1.10, Installation | 2055 @node Q2.1.11, Q2.1.12, Q2.1.10, Installation |
1977 @section [This question intentionally left blank] | 2056 @unnumberedsubsec Q2.1.11: [This question intentionally left blank] |
1978 | 2057 |
1979 Obsolete question, left blank to avoid renumbering. | 2058 Obsolete question, left blank to avoid renumbering. |
1980 | 2059 |
1981 @node Q2.1.12, Q2.1.13, Q2.1.11, Installation | 2060 @node Q2.1.12, Q2.1.13, Q2.1.11, Installation |
1982 @section Problems with Regular Expressions on DEC OSF1. | 2061 @unnumberedsubsec Q2.1.12: Problems with Regular Expressions on DEC OSF1. |
1983 | 2062 |
1984 I have xemacs 19.13 running on an alpha running OSF1 V3.2 148 and ispell | 2063 I have xemacs 19.13 running on an alpha running OSF1 V3.2 148 and ispell |
1985 would not run because it claimed the version number was incorrect | 2064 would not run because it claimed the version number was incorrect |
1986 although it was indeed OK. I traced the problem to the regular | 2065 although it was indeed OK. I traced the problem to the regular |
1987 expression handler. | 2066 expression handler. |
1988 | 2067 |
1989 Douglas Kosovic <douglask@@dstc.edu.au> writes: | 2068 @email{douglask@@dstc.edu.au, Douglas Kosovic} writes: |
1990 | 2069 |
1991 @quotation | 2070 @quotation |
1992 Actually it's a DEC cc optimization bug that screws up the regexp | 2071 Actually it's a DEC cc optimisation bug that screws up the regexp |
1993 handling in XEmacs. | 2072 handling in XEmacs. |
1994 | 2073 |
1995 Rebuilding using the @samp{-migrate} switch for DEC cc (which uses a | 2074 Rebuilding using the @samp{-migrate} switch for DEC cc (which uses a |
1996 different sort of optimization) works fine. | 2075 different sort of optimisation) works fine. |
1997 @end quotation | 2076 @end quotation |
1998 | 2077 |
1999 See @file{xemacs-19_13-dunix-3_2c.patch} at the following URL on how to | 2078 See @file{xemacs-19_13-dunix-3_2c.patch} at the following URL on how to |
2000 build with the @samp{-migrate} flag: | 2079 build with the @samp{-migrate} flag: |
2001 | 2080 |
2002 @example | 2081 @example |
2003 <URL:http://www-digital.cern.ch/carney/emacs/emacs.html> | 2082 @uref{http://www-digital.cern.ch/carney/emacs/emacs.html} |
2004 @end example | 2083 @end example |
2005 | 2084 |
2006 NOTE: There have been a variety of other problems reported that are | 2085 NOTE: There have been a variety of other problems reported that are |
2007 fixed in this fashion. | 2086 fixed in this fashion. |
2008 | 2087 |
2009 @node Q2.1.13, Q2.1.14, Q2.1.12, Installation | 2088 @node Q2.1.13, Q2.1.14, Q2.1.12, Installation |
2010 @section HP/UX 10.10 and @code{create_process} failure. | 2089 @unnumberedsubsec Q2.1.13: HP/UX 10.10 and @code{create_process} failure. |
2011 | 2090 |
2012 Dave Carrigan <Dave.Carrigan@@ipl.ca> writes: | 2091 @email{Dave.Carrigan@@ipl.ca, Dave Carrigan} writes: |
2013 | 2092 |
2014 @quotation | 2093 @quotation |
2015 With XEmacs 19.13 and HP/UX 10.10, anything that relies on the | 2094 With XEmacs 19.13 and HP/UX 10.10, anything that relies on the |
2016 @code{create_process} function fails. This breaks a lot of things | 2095 @code{create_process} function fails. This breaks a lot of things |
2017 (shell-mode, compile, ange-ftp, to name a few). | 2096 (shell-mode, compile, ange-ftp, to name a few). |
2018 @end quotation | 2097 @end quotation |
2019 | 2098 |
2020 Phil Johnson <johnson@@dtc.hp.com> writes: | 2099 @email{johnson@@dtc.hp.com, Phil Johnson} writes: |
2021 | 2100 |
2022 @quotation | 2101 @quotation |
2023 This is a problem specific to HP-UX 10.10. It only occurs when XEmacs | 2102 This is a problem specific to HP-UX 10.10. It only occurs when XEmacs |
2024 is compiled for shared libraries (the default), so you can work around | 2103 is compiled for shared libraries (the default), so you can work around |
2025 it by compiling a statically-linked binary (run configure with | 2104 it by compiling a statically-linked binary (run configure with |
2027 | 2106 |
2028 I'm not sure whether the problem is with a particular shared library or | 2107 I'm not sure whether the problem is with a particular shared library or |
2029 if it's a kernel problem which crept into 10.10. | 2108 if it's a kernel problem which crept into 10.10. |
2030 @end quotation | 2109 @end quotation |
2031 | 2110 |
2032 Richard Cognot <cognot@@ensg.u-nancy.fr> writes: | 2111 @email{cognot@@ensg.u-nancy.fr, Richard Cognot} writes: |
2033 | 2112 |
2034 @quotation | 2113 @quotation |
2035 I had a few problems with 10.10. Apparently, some of them were solved by | 2114 I had a few problems with 10.10. Apparently, some of them were solved by |
2036 forcing a static link of libc (manually). | 2115 forcing a static link of libc (manually). |
2037 @end quotation | 2116 @end quotation |
2038 | 2117 |
2039 @node Q2.1.14, Q2.1.15, Q2.1.13, Installation | 2118 @node Q2.1.14, Q2.1.15, Q2.1.13, Installation |
2040 @section @kbd{C-g} doesn't work for me. Is it broken? | 2119 @unnumberedsubsec Q2.1.14: @kbd{C-g} doesn't work for me. Is it broken? |
2041 | 2120 |
2042 Ben Wing <ben@@666.com> writes: | 2121 @email{ben@@666.com, Ben Wing} writes: |
2043 | 2122 |
2044 @quotation | 2123 @quotation |
2045 @kbd{C-g} does work for most people in most circumstances. If it | 2124 @kbd{C-g} does work for most people in most circumstances. If it |
2046 doesn't, there are only two explanations: | 2125 doesn't, there are only two explanations: |
2047 | 2126 |
2056 | 2135 |
2057 To test #2, try executing @code{(while t)} from the @samp{*scratch*} | 2136 To test #2, try executing @code{(while t)} from the @samp{*scratch*} |
2058 buffer. If @kbd{C-g} doesn't interrupt, then you're seeing #2. | 2137 buffer. If @kbd{C-g} doesn't interrupt, then you're seeing #2. |
2059 @end quotation | 2138 @end quotation |
2060 | 2139 |
2061 Morten Welinder <terra@@diku.dk> writes: | 2140 @email{terra@@diku.dk, Morten Welinder} writes: |
2062 | 2141 |
2063 @quotation | 2142 @quotation |
2064 On some (but @emph{not} all) machines a hung XEmacs can be revived by | 2143 On some (but @emph{not} all) machines a hung XEmacs can be revived by |
2065 @code{kill -FPE <pid>}. This is a hack, of course, not a solution. | 2144 @code{kill -FPE <pid>}. This is a hack, of course, not a solution. |
2066 This technique works on a Sun4 running 4.1.3_U1. To see if it works for | 2145 This technique works on a Sun4 running 4.1.3_U1. To see if it works for |
2068 dump the method doesn't work and if you get @samp{Arithmetic error} then | 2147 dump the method doesn't work and if you get @samp{Arithmetic error} then |
2069 it does. | 2148 it does. |
2070 @end quotation | 2149 @end quotation |
2071 | 2150 |
2072 @node Q2.1.15, Q2.1.16, Q2.1.14, Installation | 2151 @node Q2.1.15, Q2.1.16, Q2.1.14, Installation |
2073 @section How to Debug an XEmacs problem with a debugger | 2152 @unnumberedsubsec Q2.1.15: How to Debug an XEmacs problem with a debugger |
2074 | 2153 |
2075 If XEmacs does crash on you, one of the most productive things you can | 2154 If XEmacs does crash on you, one of the most productive things you can |
2076 do to help get the bug fixed is to poke around a bit with the debugger. | 2155 do to help get the bug fixed is to poke around a bit with the debugger. |
2077 Here are some hints: | 2156 Here are some hints: |
2078 | 2157 |
2079 @itemize @bullet | 2158 @itemize @bullet |
2080 @item | 2159 @item |
2081 First of all, if the crash is at all reproducible, consider very | 2160 First of all, if the crash is at all reproducible, consider very |
2082 strongly recompiling your XEmacs with debugging symbols, with no | 2161 strongly recompiling your XEmacs with debugging symbols, with no |
2083 optimization, and with the configure options @samp{--debug=yes} and | 2162 optimization, and with the configure options @samp{--debug=yes}, |
2084 @samp{--error-checking=all}. This will make your XEmacs run somewhat | 2163 @samp{--error-checking=all}, and @samp{--dynamic=no}. This will make |
2085 slower but make it a lot more likely to catch the problem earlier | 2164 your XEmacs run somewhat slower but make it a lot more likely to catch |
2086 (closer to its source), and a lot easier to determine what's going on | 2165 the problem earlier (closer to its source), and a lot easier to |
2087 with a debugger. | 2166 determine what's going on with a debugger. |
2088 | 2167 |
2089 @item | 2168 @item |
2090 If you're able to run XEmacs under a debugger and reproduce the crash | 2169 If you're able to run XEmacs under a debugger and reproduce the crash |
2091 (if it's inconvenient to do this because XEmacs is already running or is | 2170 (if it's inconvenient to do this because XEmacs is already running or is |
2092 running in batch mode as part of a bunch of scripts, consider attaching | 2171 running in batch mode as part of a bunch of scripts, consider attaching |
2106 | 2185 |
2107 @item | 2186 @item |
2108 Internally, you will probably see lots of variables that hold objects of | 2187 Internally, you will probably see lots of variables that hold objects of |
2109 type @code{Lisp_Object}. These are exactly what they appear to be, | 2188 type @code{Lisp_Object}. These are exactly what they appear to be, |
2110 i.e. references to Lisp objects. Printing them out with the debugger | 2189 i.e. references to Lisp objects. Printing them out with the debugger |
2111 probably won't be too useful---you'll likely just see a number. To | 2190 probably won't be too useful---you'll just see a number. To decode |
2112 decode them, do this: | 2191 them, do this: |
2113 | 2192 |
2114 @example | 2193 @example |
2115 call debug_print (OBJECT) | 2194 call debug_print (OBJECT) |
2116 @end example | 2195 @end example |
2117 | 2196 |
2154 Linux), stack backtraces of core dumps will have the frame where the | 2233 Linux), stack backtraces of core dumps will have the frame where the |
2155 fatal signal occurred mangled; if you can obtain a stack trace while | 2234 fatal signal occurred mangled; if you can obtain a stack trace while |
2156 running the XEmacs process under a debugger, the stack trace should be | 2235 running the XEmacs process under a debugger, the stack trace should be |
2157 clean. | 2236 clean. |
2158 | 2237 |
2159 Curtiss <1CMC3466@@ibm.mtsac.edu> suggests upgrading to ld.so version 1.8 | 2238 @email{1CMC3466@@ibm.mtsac.edu, Curtiss} suggests upgrading to ld.so version 1.8 |
2160 if dynamic linking and debugging is a problem on Linux. | 2239 if dynamic linking and debugging is a problem on Linux. |
2161 | 2240 |
2162 @item | 2241 @item |
2163 If you're using a debugger to get a C stack backtrace and you're | 2242 If you're using a debugger to get a C stack backtrace and you're |
2164 getting a completely mangled and bogus stack trace, it's probably due to | 2243 getting a completely mangled and bogus stack trace, it's probably due to |
2170 do this---it doesn't accomplish anything except to save a bit of disk | 2249 do this---it doesn't accomplish anything except to save a bit of disk |
2171 space, and makes debugging much much harder. | 2250 space, and makes debugging much much harder. |
2172 | 2251 |
2173 @item | 2252 @item |
2174 Your stack is getting trashed. Debugging this is hard; you have to do a | 2253 Your stack is getting trashed. Debugging this is hard; you have to do a |
2175 binary-search type of narrowing down where the crash occurs, until you | 2254 binary-search-type of narrowing down where the crash occurs, until you |
2176 figure out exactly which line is causing the problem. Of course, this | 2255 figure out exactly which line is causing the problem. Of course, this |
2177 only works if the bug is highly reproducible. | 2256 only works if the bug is highly reproducible. |
2178 | 2257 |
2179 @item | 2258 @item |
2180 If your stack trace has exactly one frame in it, with address 0x0, this | 2259 If your stack trace has exactly one frame in it, with address 0x0, this |
2187 use the narrowing-down process described above. | 2266 use the narrowing-down process described above. |
2188 | 2267 |
2189 @item | 2268 @item |
2190 If you compiled 19.14 with @samp{--debug} (or by default in later | 2269 If you compiled 19.14 with @samp{--debug} (or by default in later |
2191 versions), you will get a Lisp backtrace output when XEmacs crashes, so | 2270 versions), you will get a Lisp backtrace output when XEmacs crashes, so |
2192 you'll have something useful. | 2271 you'll have something useful. If you're in 19.13, you could try doing |
2272 @code{call debug_backtrace()}---sometimes this works even after a fatal | |
2273 signal has been received. | |
2274 | |
2193 @end enumerate | 2275 @end enumerate |
2194 | 2276 |
2195 @item | |
2196 If you compile with the newer gcc variants gcc-2.8 or egcs, you will | |
2197 need gdb 4.17. At the time of writing, this has not yet been released. | |
2198 Pre-releases are available at ftp://ftp.cygnus.com/private/gdb. | |
2199 | |
2200 @item | |
2201 The above information on using @file{src/gdbinit} works for XEmacs-21.0 | |
2202 and above. For older versions of XEmacs, there are different | |
2203 @file{gdbinit} files provided in the @file{src} directory. Use the one | |
2204 corresponding to the configure options used when building XEmacs. | |
2205 | |
2206 @end itemize | 2277 @end itemize |
2207 | 2278 |
2279 | |
2280 | |
2281 Here's some more info about using gdbinit: | |
2282 | |
2283 Different version of @code{gdbinit} are provided for different | |
2284 platforms. One of these should be installed as @file{.gdbinit} in your | |
2285 home directory. If you're using XEmacs 19.14 or better, you should | |
2286 install the default @code{gdbinit} in the @file{src/} directory if you | |
2287 have GDB 4.14 or better. With GDB 4.13 or earlier, install | |
2288 @file{gdbinit.pre-4.14}; however, this is noticeably harder to use. If | |
2289 you're on a machine that uses a union type for Lisp_Objects (only the | |
2290 DEC Alpha, I think), you'll have to use @code{gdbinit.union}, which is | |
2291 of the pre-4.14 variety but should be easily upgradable. | |
2292 | |
2293 With XEmacs 19.13 and earlier, only one @code{gdbinit} is provided (I | |
2294 think); it's of the pre-4.14 variety and of the union-type | |
2295 variety. (Many more machines used the union type under 19.13). | |
2296 | |
2297 With the GDB 4.14+ gdbinit, you can print out a Lisp_Object using | |
2298 @code{p1 OBJECT} (which calls @code{debug_print()}, and hence only works | |
2299 if you have a running process) or @code{frob OBJECT} (which works even | |
2300 on core dumps, and does its own decoding of the object, but its output | |
2301 isn't always so convenient). | |
2302 | |
2303 With the pre-GDB 4.14 gdbinit, you have to do these steps: | |
2304 | |
2305 @example | |
2306 print OBJECT | |
2307 xtype | |
2308 <then type "xcons" or "xstring" or | |
2309 whatever, depending on the type> | |
2310 @end example | |
2311 | |
2312 If the object is a record type, you'll probably have to the following | |
2313 steps: | |
2314 | |
2315 @example | |
2316 print OBJECT | |
2317 xtype | |
2318 xrecord | |
2319 <remember what type is printed> | |
2320 print OBJECT | |
2321 <then type "xbuffer" or "xsymbol" or whatever> | |
2322 @end example | |
2323 | |
2324 Of course, if you know in advance what type the object is of, you can | |
2325 omit all but the last two steps. | |
2326 | |
2208 @node Q2.1.16, Q2.1.17, Q2.1.15, Installation | 2327 @node Q2.1.16, Q2.1.17, Q2.1.15, Installation |
2209 @section XEmacs crashes in @code{strcat} on HP/UX 10 | 2328 @unnumberedsubsec Q2.1.16: XEmacs crashes in @code{strcat} on HP/UX 10 |
2210 | 2329 |
2211 >From the problems database (through | 2330 >From the problems database (through |
2212 <URL:http://support.mayfield.hp.com/>): | 2331 @uref{http://support.mayfield.hp.com/}): |
2213 | 2332 |
2214 @example | 2333 @example |
2215 Problem Report: 5003302299 | 2334 Problem Report: 5003302299 |
2216 Status: Open | 2335 Status: Open |
2217 | 2336 |
2218 System/Model: 9000/700 | 2337 System/Model: 9000/700 |
2219 Product Name: HPUX S800 10.0X | 2338 Product Name: HPUX S800 10.0X |
2220 Product Vers: 9245XB.10.00 | 2339 Product Vers: 9245XB.10.00 |
2221 | 2340 |
2222 Description: strcat(3C) may read beyond end of source string, can cause | 2341 Description: strcat(3C) may read beyond |
2223 SIGSEGV | 2342 end of source string, can cause SIGSEGV |
2224 | 2343 |
2225 | 2344 |
2226 *** PROBLEM TEXT *** | 2345 *** PROBLEM TEXT *** |
2227 strcat(3C) may read beyond the source string onto an unmapped page, | 2346 strcat(3C) may read beyond the source string onto an unmapped page, |
2228 causing a segmentation violation. | 2347 causing a segmentation violation. |
2229 @end example | 2348 @end example |
2230 | 2349 |
2231 @node Q2.1.17, Q2.1.18, Q2.1.16, Installation | 2350 @node Q2.1.17, Q2.1.18, Q2.1.16, Installation |
2232 @section @samp{Marker does not point anywhere} | 2351 @unnumberedsubsec Q2.1.17: @samp{Marker does not point anywhere} |
2233 | 2352 |
2234 As with other errors, set @code{debug-on-error} to @code{t} to get the | 2353 As with other errors, set @code{debug-on-error} to @code{t} to get the |
2235 backtrace when the error occurs. Specifically, two problems have been | 2354 backtrace when the error occurs. Specifically, two problems have been |
2236 reported (and fixed). | 2355 reported (and fixed). |
2237 | 2356 |
2245 A problem with some early versions of Gnus 5.4 caused this error. | 2364 A problem with some early versions of Gnus 5.4 caused this error. |
2246 Upgrade your Gnus. | 2365 Upgrade your Gnus. |
2247 @end enumerate | 2366 @end enumerate |
2248 | 2367 |
2249 @node Q2.1.18, Q2.1.19, Q2.1.17, Installation | 2368 @node Q2.1.18, Q2.1.19, Q2.1.17, Installation |
2250 @section 19.14 hangs on HP/UX 10.10. | 2369 @unnumberedsubsec Q2.1.18: 19.14 hangs on HP/UX 10.10. |
2251 | 2370 |
2252 Richard Cognot <cognot@@ensg.u-nancy.fr> writes: | 2371 @email{cognot@@ensg.u-nancy.fr, Richard Cognot} writes: |
2253 | 2372 |
2254 @quotation | 2373 @quotation |
2255 For the record, compiling on hpux 10.10 leads to a hang in Gnus when | 2374 For the record, compiling on hpux 10.10 leads to a hang in Gnus when |
2256 compiled with optimization on. | 2375 compiled with optimization on. |
2257 | 2376 |
2264 is needed on 10.10, but @strong{not} on 10.01: if I run my 10.01 binary | 2383 is needed on 10.10, but @strong{not} on 10.01: if I run my 10.01 binary |
2265 on a 10.01 machine, without @code{BROKEN_SIGIO} being defined, @kbd{C-g} | 2384 on a 10.01 machine, without @code{BROKEN_SIGIO} being defined, @kbd{C-g} |
2266 works as expected. | 2385 works as expected. |
2267 @end quotation | 2386 @end quotation |
2268 | 2387 |
2269 Richard Cognot <cognot@@ensg.u-nancy.fr> adds: | 2388 @email{cognot@@ensg.u-nancy.fr, Richard Cognot} adds: |
2270 | 2389 |
2271 @quotation | 2390 @quotation |
2272 Apparently somebody has found the reason why there is this @samp{poll: | 2391 Apparently somebody has found the reason why there is this |
2392 @iftex | |
2393 @* | |
2394 @end iftex | |
2395 @samp{poll: | |
2273 interrupted...} message for each event. For some reason, libcurses | 2396 interrupted...} message for each event. For some reason, libcurses |
2274 reimplements a @code{select()} system call, in a highly broken fashion. | 2397 reimplements a @code{select()} system call, in a highly broken fashion. |
2275 The fix is to add a -lc to the link line @emph{before} the | 2398 The fix is to add a -lc to the link line @emph{before} the |
2276 -lxcurses. XEmacs will then use the right version of @code{select()}. | 2399 -lxcurses. XEmacs will then use the right version of @code{select()}. |
2277 @end quotation | 2400 @end quotation |
2278 | 2401 |
2279 | 2402 |
2280 Alain Fauconnet <af@@biomath.jussieu.fr> writes: | 2403 @email{af@@biomath.jussieu.fr, Alain Fauconnet} writes: |
2281 | 2404 |
2282 @quotation | 2405 @quotation |
2283 The @emph{real} solution is to @emph{not} link -lcurses in! I just | 2406 The @emph{real} solution is to @emph{not} link -lcurses in! I just |
2284 changed -lcurses to -ltermcap in the Makefile and it fixed: | 2407 changed -lcurses to -ltermcap in the Makefile and it fixed: |
2285 | 2408 |
2295 socket which connects stdout... | 2418 socket which connects stdout... |
2296 @end enumerate | 2419 @end enumerate |
2297 @end quotation | 2420 @end quotation |
2298 | 2421 |
2299 @node Q2.1.19, Q2.1.20, Q2.1.18, Installation | 2422 @node Q2.1.19, Q2.1.20, Q2.1.18, Installation |
2300 @section XEmacs does not follow the local timezone. | 2423 @unnumberedsubsec Q2.1.19: XEmacs does not follow the local timezone. |
2301 | 2424 |
2302 When using one of the prebuilt binaries many users have observed that | 2425 When using one of the prebuilt binaries many users have observed that |
2303 XEmacs uses the timezone under which it was built, but not the timezone | 2426 XEmacs uses the timezone under which it was built, but not the timezone |
2304 under which it is running. The solution is to add: | 2427 under which it is running. The solution is to add: |
2305 | 2428 |
2309 | 2432 |
2310 to your @file{.emacs} or the @file{site-start.el} file if you can. | 2433 to your @file{.emacs} or the @file{site-start.el} file if you can. |
2311 Replace @code{MET} with your local timezone. | 2434 Replace @code{MET} with your local timezone. |
2312 | 2435 |
2313 @node Q2.1.20, Q2.1.21, Q2.1.19, Installation | 2436 @node Q2.1.20, Q2.1.21, Q2.1.19, Installation |
2314 @section @samp{Symbol's function definition is void: hkey-help-show.} | 2437 @unnumberedsubsec Q2.1.20: @samp{Symbol's function definition is void: hkey-help-show.} |
2315 | 2438 |
2316 This is a problem with a partially loaded hyperbole. Try adding: | 2439 This is a problem with a partially loaded hyperbole. Try adding: |
2317 | 2440 |
2318 @lisp | 2441 @lisp |
2319 (require 'hmouse-drv) | 2442 (require 'hmouse-drv) |
2320 @end lisp | 2443 @end lisp |
2321 | 2444 |
2322 where you load hyperbole and the problem should go away. | 2445 where you load hyperbole and the problem should go away. |
2323 | 2446 |
2324 @node Q2.1.21, Q2.1.22, Q2.1.20, Installation | 2447 @node Q2.1.21, Q2.1.22, Q2.1.20, Installation |
2325 @section Every so often the XEmacs frame freezes | 2448 @unnumberedsubsec Q2.1.21: Every so often the XEmacs frame freezes |
2326 | 2449 |
2327 This problem has been fixed in 19.15, and was due to a not easily | 2450 This problem has been fixed in 19.15, and was due to a not easily |
2328 reproducible race condition. | 2451 reproducible race condition. |
2329 | 2452 |
2330 @node Q2.1.22, Q2.1.23, Q2.1.21, Installation | 2453 @node Q2.1.22, Q2.1.23, Q2.1.21, Installation |
2331 @section XEmacs seems to take a really long time to do some things | 2454 @unnumberedsubsec Q2.1.22: XEmacs seems to take a really long time to do some things |
2332 | 2455 |
2333 David Moore <dmoore@@ucsd.edu> writes: | 2456 @email{dmoore@@ucsd.edu, David Moore} writes: |
2334 | 2457 |
2335 @quotation | 2458 @quotation |
2336 Two things you can do: | 2459 Two things you can do: |
2337 | 2460 |
2338 1) C level: | 2461 1) C level: |
2361 debug-on-quit doesn't work if something's turned on inhibit-quit or in | 2484 debug-on-quit doesn't work if something's turned on inhibit-quit or in |
2362 some other strange cases. | 2485 some other strange cases. |
2363 @end quotation | 2486 @end quotation |
2364 | 2487 |
2365 @node Q2.1.23, , Q2.1.22, Installation | 2488 @node Q2.1.23, , Q2.1.22, Installation |
2366 @section Movemail on Linux does not work for XEmacs 19.15 and later. | 2489 @unnumberedsubsec Q2.1.23: Movemail on Linux does not work for XEmacs 19.15 and later. |
2367 | 2490 |
2368 Movemail used to work fine in 19.14 but has stopped working in 19.15 | 2491 Movemail used to work fine in 19.14 but has stopped working in 19.15 |
2369 and 20.x. I am using Linux. | 2492 and 20.x. I am using Linux. |
2370 | 2493 |
2371 SL Baur <steve@@xemacs.org> writes: | 2494 @email{steve@@xemacs.org, SL Baur} writes: |
2372 | 2495 |
2373 @quotation | 2496 @quotation |
2374 Movemail on Linux used to default to using flock file locking. With | 2497 Movemail on Linux used to default to using flock file locking. With |
2375 19.15 and later versions it now defaults to using @code{.lock} file | 2498 19.15 and later versions it now defaults to using @code{.lock} file |
2376 locking. If this is not appropriate for your system, edit src/s/linux.h | 2499 locking. If this is not appropriate for your system, edit src/s/linux.h |
2380 #define MAIL_USE_FLOCK | 2503 #define MAIL_USE_FLOCK |
2381 @end example | 2504 @end example |
2382 @end quotation | 2505 @end quotation |
2383 | 2506 |
2384 @node Customization, Subsystems, Installation, Top | 2507 @node Customization, Subsystems, Installation, Top |
2385 @chapter Customization and Options | 2508 @unnumbered 3 Customization and Options |
2386 | 2509 |
2387 This is part 3 of the XEmacs Frequently Asked Questions list. This | 2510 This is part 3 of the XEmacs Frequently Asked Questions list. This |
2388 section is devoted to Customization and screen settings. | 2511 section is devoted to Customization and screen settings. |
2389 | 2512 |
2390 @menu | 2513 @menu |
2391 Customization---Emacs Lisp and @file{.emacs}: | 2514 Customization---Emacs Lisp and @file{.emacs}: |
2392 * Q3.0.1:: What version of Emacs am I running? | 2515 * Q3.0.1:: What version of Emacs am I running? |
2393 * Q3.0.2:: How do I evaluate Elisp expressions? | 2516 * Q3.0.2:: How do I evaluate Elisp expressions? |
2394 * Q3.0.3:: @code{(setq tab-width 6)} behaves oddly. | 2517 * Q3.0.3:: @code{(setq tab-width 6)} behaves oddly. |
2395 * Q3.0.4:: How can I add directories to the @code{load-path}? | 2518 * Q3.0.4:: How can I add directories to the @code{load-path}? |
2396 * Q3.0.5:: How to check if a lisp function is defined? | 2519 * Q3.0.5:: How to check if a lisp function is defined? |
2397 * Q3.0.6:: Can I force the output of @code{(face-list)} to a buffer? | 2520 * Q3.0.6:: Can I force the output of @code{(face-list)} to a buffer? |
2398 * Q3.0.7:: Font selections don't get saved after @code{Save Options}. | 2521 * Q3.0.7:: Font selections don't get saved after @code{Save Options}. |
2399 * Q3.0.8:: How do I make a single minibuffer frame? | 2522 * Q3.0.8:: How do I make a single minibuffer frame? |
2400 * Q3.0.9:: What is @code{Customize}? | 2523 * Q3.0.9:: What is @code{Customize}? |
2401 | 2524 |
2402 X Window System & Resources: | 2525 X Window System & Resources: |
2403 * Q3.1.1:: Where is a list of X resources? | 2526 * Q3.1.1:: Where is a list of X resources? |
2405 * Q3.1.3:: @code{(set-screen-width)} worked in 19.6, but not in 19.13? | 2528 * Q3.1.3:: @code{(set-screen-width)} worked in 19.6, but not in 19.13? |
2406 * Q3.1.4:: Specifying @code{Emacs*EmacsScreen.geometry} in @file{.emacs} does not work in 19.15? | 2529 * Q3.1.4:: Specifying @code{Emacs*EmacsScreen.geometry} in @file{.emacs} does not work in 19.15? |
2407 * Q3.1.5:: How can I get the icon to just say @samp{XEmacs}? | 2530 * Q3.1.5:: How can I get the icon to just say @samp{XEmacs}? |
2408 * Q3.1.6:: How can I have the window title area display the full path? | 2531 * Q3.1.6:: How can I have the window title area display the full path? |
2409 * Q3.1.7:: @samp{xemacs -name junk} doesn't work? | 2532 * Q3.1.7:: @samp{xemacs -name junk} doesn't work? |
2410 * Q3.1.8:: @samp{-iconic} doesn't work. | 2533 * Q3.1.8:: @samp{-iconic} it doesn't work. |
2411 | 2534 |
2412 Textual Fonts & Colors: | 2535 Textual Fonts & Colors: |
2413 * Q3.2.1:: How can I set color options from @file{.emacs}? | 2536 * Q3.2.1:: How can I set color options from @file{.emacs}? |
2414 * Q3.2.2:: How do I set the text, menu and modeline fonts? | 2537 * Q3.2.2:: How do I set the text, menu and modeline fonts? |
2415 * Q3.2.3:: How can I set the colors when highlighting a region? | 2538 * Q3.2.3:: How can I set the colors when highlighting a region? |
2416 * Q3.2.4:: How can I limit color map usage? | 2539 * Q3.2.4:: How can I limit color map usage? |
2417 * Q3.2.5:: My tty supports color, but XEmacs doesn't use them. | 2540 * Q3.2.5:: My tty supports color, but XEmacs doesn't use them. |
2418 | 2541 |
2419 The Modeline: | 2542 The Modeline: |
2420 * Q3.3.1:: How can I make the modeline go away? | 2543 * Q3.3.1:: How can I make the modeline go away? |
2421 * Q3.3.2:: How do you have XEmacs display the line number in the modeline? | 2544 * Q3.3.2:: How do you have XEmacs display the line number in the modeline? |
2422 * Q3.3.3:: How do I get XEmacs to put the time of day on the modeline? | 2545 * Q3.3.3:: How do I get XEmacs to put the time of day on the modeline? |
2423 * Q3.3.4:: How do I turn off current chapter from AUC TeX modeline? | 2546 * Q3.3.4:: How do I turn off current chapter from AUC TeX modeline? |
2424 * Q3.3.5:: How can one change the modeline color based on the mode used? | 2547 * Q3.3.5:: How can one change the modeline color based on the mode used? |
2425 | 2548 |
2426 3.4 Multiple Device Support: | 2549 3.4 Multiple Device Support: |
2427 * Q3.4.1:: How do I open a frame on another screen of my multi-headed display? | 2550 * Q3.4.1:: How do I open a frame on another screen of my multi-headed display? |
2428 * Q3.4.2:: Can I really connect to a running XEmacs after calling up over a modem? How? | 2551 * Q3.4.2:: Can I really connect to a running XEmacs after calling up over a modem? How? |
2429 | 2552 |
2430 3.5 The Keyboard: | 2553 3.5 The Keyboard: |
2431 * Q3.5.1:: How can I bind complex functions (or macros) to keys? | 2554 * Q3.5.1:: How can I bind complex functions (or macros) to keys? |
2432 * Q3.5.2:: How can I stop down-arrow from adding empty lines to the bottom of my buffers? | 2555 * Q3.5.2:: How can I stop down-arrow from adding empty lines to the bottom of my buffers? |
2433 * Q3.5.3:: How do I bind C-. and C-; to scroll one line up and down? | 2556 * Q3.5.3:: How do I bind C-. and C-; to scroll one line up and down? |
2434 * Q3.5.4:: Globally binding @kbd{Delete}? | 2557 * Q3.5.4:: Globally binding @kbd{Delete}? |
2435 * Q3.5.5:: Scrolling one line at a time. | 2558 * Q3.5.5:: Scrolling one line at a time. |
2436 * Q3.5.6:: How to map @kbd{Help} key alone on Sun type4 keyboard? | 2559 * Q3.5.6:: How to map @kbd{Help} key alone on Sun type4 keyboard? |
2437 * Q3.5.7:: How can you type in special characters in XEmacs? | 2560 * Q3.5.7:: How can you type in special characters in XEmacs? |
2438 * Q3.5.8:: Why does @code{(global-set-key [delete-forward] 'delete-char)} complain? | 2561 * Q3.5.8:: Why does @code{(global-set-key [delete-forward] 'delete-char)} complain? |
2439 * Q3.5.9:: How do I make the Delete key delete forward? | 2562 * Q3.5.9:: How do I make the Delete key delete forward? |
2440 * Q3.5.10:: Can I turn on @dfn{sticky} modifier keys? | 2563 * Q3.5.10:: Can I turn on @dfn{sticky} modifier keys? |
2441 | 2564 |
2466 * Q3.9.2:: How can one use resources to change scrollbar colors? | 2589 * Q3.9.2:: How can one use resources to change scrollbar colors? |
2467 * Q3.9.3:: Moving the scrollbar can move the point; can I disable this? | 2590 * Q3.9.3:: Moving the scrollbar can move the point; can I disable this? |
2468 * Q3.9.4:: How can I get automatic horizontal scrolling? | 2591 * Q3.9.4:: How can I get automatic horizontal scrolling? |
2469 | 2592 |
2470 Text Selections: | 2593 Text Selections: |
2471 * Q3.10.1:: How can I turn off or change highlighted selections? | 2594 * Q3.10.1:: How can I turn off or change highlighted selections? |
2472 * Q3.10.2:: How do I get that typing on an active region removes it? | 2595 * Q3.10.2:: How do I get that typing on an active region removes it? |
2473 * Q3.10.3:: Can I turn off the highlight during isearch? | 2596 * Q3.10.3:: Can I turn off the highlight during isearch? |
2474 * Q3.10.4:: How do I turn off highlighting after @kbd{C-x C-p} (mark-page)? | 2597 * Q3.10.4:: How do I turn off highlighting after @kbd{C-x C-p} (mark-page)? |
2475 * Q3.10.5:: The region disappears when I hit the end of buffer while scrolling. | 2598 * Q3.10.5:: The region disappears when I hit the end of buffer while scrolling. |
2476 @end menu | 2599 @end menu |
2477 | 2600 |
2478 @node Q3.0.1, Q3.0.2, Customization, Customization | 2601 @node Q3.0.1, Q3.0.2, Customization, Customization |
2479 @section What version of Emacs am I running? | 2602 @unnumberedsec 3.0: Customization -- Emacs Lisp and .emacs |
2603 @unnumberedsubsec Q3.0.1: What version of Emacs am I running? | |
2480 | 2604 |
2481 How can @file{.emacs} determine which of the family of Emacsen I am | 2605 How can @file{.emacs} determine which of the family of Emacsen I am |
2482 using? | 2606 using? |
2483 | 2607 |
2484 To determine if you are currently running GNU Emacs 18, GNU Emacs 19, | 2608 To determine if you are currently running GNU Emacs 18, GNU Emacs 19, |
2491 @lisp | 2615 @lisp |
2492 (defvar running-xemacs (string-match "XEmacs\\|Lucid" emacs-version)) | 2616 (defvar running-xemacs (string-match "XEmacs\\|Lucid" emacs-version)) |
2493 @end lisp | 2617 @end lisp |
2494 | 2618 |
2495 @node Q3.0.2, Q3.0.3, Q3.0.1, Customization | 2619 @node Q3.0.2, Q3.0.3, Q3.0.1, Customization |
2496 @section How can I evaluate Emacs-Lisp expressions? | 2620 @unnumberedsubsec Q3.0.2: How can I evaluate Emacs-Lisp expressions? |
2497 | 2621 |
2498 I know I can evaluate Elisp expressions from @code{*scratch*} buffer | 2622 I know I can evaluate Elisp expressions from @code{*scratch*} buffer |
2499 with @kbd{C-j} after the expression. How do I do it from another | 2623 with @kbd{C-j} after the expression. How do I do it from another |
2500 buffer? | 2624 buffer? |
2501 | 2625 |
2503 enter the expression to the minibuffer. In XEmacs prior to 19.15 | 2627 enter the expression to the minibuffer. In XEmacs prior to 19.15 |
2504 @code{eval-expression} used to be a disabled command by default. If | 2628 @code{eval-expression} used to be a disabled command by default. If |
2505 this is the case, upgrade your XEmacs. | 2629 this is the case, upgrade your XEmacs. |
2506 | 2630 |
2507 @node Q3.0.3, Q3.0.4, Q3.0.2, Customization | 2631 @node Q3.0.3, Q3.0.4, Q3.0.2, Customization |
2508 @section @code{(setq tab-width 6)} behaves oddly. | 2632 @unnumberedsubsec Q3.0.3: @code{(setq tab-width 6)} behaves oddly. |
2509 | 2633 |
2510 If you put @code{(setq tab-width 6)} in your @file{.emacs} file it does | 2634 If you put @code{(setq tab-width 6)} in your @file{.emacs} file it does |
2511 not work! Is there a reason for this? If you do it at the EVAL prompt | 2635 not work! Is there a reason for this? If you do it at the EVAL prompt |
2512 it works fine!! How strange. | 2636 it works fine!! How strange. |
2513 | 2637 |
2514 Use @code{setq-default} instead, since @code{tab-width} is | 2638 Use @code{setq-default} instead, since @code{tab-width} is |
2515 all-buffer-local. | 2639 all-buffer-local. |
2516 | 2640 |
2517 @node Q3.0.4, Q3.0.5, Q3.0.3, Customization | 2641 @node Q3.0.4, Q3.0.5, Q3.0.3, Customization |
2518 @section How can I add directories to the @code{load-path}? | 2642 @unnumberedsubsec Q3.0.4: How can I add directories to the @code{load-path}? |
2519 | 2643 |
2520 Here are two ways to do that, one that puts your directories at the | 2644 Here are two ways to do that, one that puts your directories at the |
2521 front of the load-path, the other at the end: | 2645 front of the load-path, the other at the end: |
2522 | 2646 |
2523 @lisp | 2647 @lisp |
2529 | 2653 |
2530 ;;; Add things at the end, unconditionally | 2654 ;;; Add things at the end, unconditionally |
2531 (setq load-path (nconc load-path '("foo" "bar"))) | 2655 (setq load-path (nconc load-path '("foo" "bar"))) |
2532 @end lisp | 2656 @end lisp |
2533 | 2657 |
2534 keith (k.p.) hanlan <keithh@@nortel.ca> writes: | 2658 @email{keithh@@nortel.ca, keith (k.p.) hanlan} writes: |
2535 | 2659 |
2536 @quotation | 2660 @quotation |
2537 To add directories using Unix shell metacharacters use | 2661 To add directories using Unix shell metacharacters use |
2538 @file{expand-file-name} like this: | 2662 @file{expand-file-name} like this: |
2539 | 2663 |
2541 (push (expand-file-name "~keithh/.emacsdir") load-path) | 2665 (push (expand-file-name "~keithh/.emacsdir") load-path) |
2542 @end lisp | 2666 @end lisp |
2543 @end quotation | 2667 @end quotation |
2544 | 2668 |
2545 @node Q3.0.5, Q3.0.6, Q3.0.4, Customization | 2669 @node Q3.0.5, Q3.0.6, Q3.0.4, Customization |
2546 @section How to check if a lisp function is defined? | 2670 @unnumberedsubsec Q3.0.5: How to check if a lisp function is defined? |
2547 | 2671 |
2548 Use the following elisp: | 2672 Use the following elisp: |
2549 | 2673 |
2550 @lisp | 2674 @lisp |
2551 (fboundp 'foo) | 2675 (fboundp 'foo) |
2553 | 2677 |
2554 It's almost always a mistake to test @code{emacs-version} or any similar | 2678 It's almost always a mistake to test @code{emacs-version} or any similar |
2555 variables. | 2679 variables. |
2556 | 2680 |
2557 Instead, use feature-tests, such as @code{featurep}, @code{boundp}, | 2681 Instead, use feature-tests, such as @code{featurep}, @code{boundp}, |
2558 @code{fboundp}, or even simple behavioral tests, eg.: | 2682 @code{fboundp}, or even simple behavioural tests, eg.: |
2559 | 2683 |
2560 @lisp | 2684 @lisp |
2561 (defvar foo-old-losing-code-p | 2685 (defvar foo-old-losing-code-p |
2562 (condition-case nil (progn (losing-code t) nil) | 2686 (condition-case nil (progn (losing-code t) nil) |
2563 (wrong-number-of-arguments t))) | 2687 (wrong-number-of-arguments t))) |
2564 @end lisp | 2688 @end lisp |
2565 | 2689 |
2566 There is an incredible amount of broken code out there which could work | 2690 There is an incredible amount of broken code out there which could work |
2567 much better more often in more places if it did the above instead of | 2691 much better more often in more places if it did the above instead of |
2568 trying to divine its environment from the value of one variable. | 2692 trying to divine its environment from the value of one variable. |
2569 | 2693 |
2570 @node Q3.0.6, Q3.0.7, Q3.0.5, Customization | 2694 @node Q3.0.6, Q3.0.7, Q3.0.5, Customization |
2571 @section Can I force the output of @code{(face-list)} to a buffer? | 2695 @unnumberedsubsec Q3.0.6: Can I force the output of @code{(face-list)} to a buffer? |
2572 | 2696 |
2573 It would be good having it in a buffer, as the output of | 2697 It would be good having it in a buffer, as the output of |
2574 @code{(face-list)} is too wide to fit to a minibuffer. | 2698 @code{(face-list)} is too wide to fit to a minibuffer. |
2575 | 2699 |
2576 Evaluate the expression in the @samp{*scratch*} buffer with point after | 2700 Evaluate the expression in the @samp{*scratch*} buffer with point after |
2579 If the minibuffer smallness is the only problem you encounter, you can | 2703 If the minibuffer smallness is the only problem you encounter, you can |
2580 simply press @kbd{C-h l} to get the former minibuffer contents in a | 2704 simply press @kbd{C-h l} to get the former minibuffer contents in a |
2581 buffer. | 2705 buffer. |
2582 | 2706 |
2583 @node Q3.0.7, Q3.0.8, Q3.0.6, Customization | 2707 @node Q3.0.7, Q3.0.8, Q3.0.6, Customization |
2584 @section Font selections in don't get saved after @code{Save Options}. | 2708 @unnumberedsubsec Q3.0.7: Font selections in don't get saved after @code{Save Options}. |
2585 | 2709 |
2586 For XEmacs 19.14 and previous: | 2710 For XEmacs 19.14 and previous: |
2587 | 2711 |
2588 John Mann <mannj@@ll.mit.edu> writes: | 2712 @email{mannj@@ll.mit.edu, John Mann} writes: |
2589 | 2713 |
2590 @quotation | 2714 @quotation |
2591 You have to go to Options->Menubar Appearance and unselect | 2715 You have to go to Options->Menubar Appearance and unselect |
2592 @samp{Frame-Local Font Menu}. If this option is selected, font changes | 2716 @samp{Frame-Local Font Menu}. If this option is selected, font changes |
2593 are only applied to the @emph{current} frame and do @emph{not} get saved | 2717 are only applied to the @emph{current} frame and do @emph{not} get saved |
2594 when you save options. | 2718 when you save options. |
2595 @end quotation | 2719 @end quotation |
2596 | 2720 |
2597 For XEmacs 19.15 and later: | 2721 For XEmacs 19.15 and later: |
2598 | 2722 |
2599 Implement the above as well as set the following in your @file{.emacs} | 2723 Implement the above as well as set the following in your @file{.emacs} |
2600 | 2724 |
2601 @lisp | 2725 @lisp |
2602 (setq options-save-faces t) | 2726 (setq options-save-faces t) |
2603 @end lisp | 2727 @end lisp |
2604 | 2728 |
2605 @node Q3.0.8, Q3.0.9, Q3.0.7, Customization | 2729 @node Q3.0.8, Q3.0.9, Q3.0.7, Customization |
2606 @section How do I get a single minibuffer frame? | 2730 @unnumberedsubsec Q3.0.8: How do I get a single minibuffer frame? |
2607 | 2731 |
2608 Vin Shelton <acs@@acm.org> writes: | 2732 @email{acs@@acm.org, Vin Shelton} writes: |
2609 | 2733 |
2610 @lisp | 2734 @lisp |
2611 (setq initial-frame-plist '(minibuffer nil)) | 2735 (setq initial-frame-plist '(minibuffer nil)) |
2612 (setq default-frame-plist '(minibuffer nil)) | 2736 (setq default-frame-plist '(minibuffer nil)) |
2613 (setq default-minibuffer-frame | 2737 (setq default-minibuffer-frame |
2614 (make-frame | 2738 (make-frame |
2615 '(minibuffer only | 2739 '(minibuffer only |
2616 width 86 | 2740 width 86 |
2617 height 1 | 2741 height 1 |
2618 menubar-visible-p nil | 2742 menubar-visible-p nil |
2619 default-toolbar-visible-p nil | 2743 default-toolbar-visible-p nil |
2620 name "minibuffer" | 2744 name "minibuffer" |
2621 top -2 | 2745 top -2 |
2622 left -2 | 2746 left -2 |
2623 has-modeline-p nil))) | 2747 has-modeline-p nil))) |
2624 (frame-notice-user-settings) | 2748 (frame-notice-user-settings) |
2625 @end lisp | 2749 @end lisp |
2626 | 2750 |
2627 @strong{NOTE:} The single minibuffer frame may not be to everyone's | 2751 @strong{NOTE:} The single minibuffer frame may not be to everyone's |
2628 taste, and there any number of other XEmacs options settings that may | 2752 taste, and there any number of other XEmacs options settings that may |
2629 make it difficult or inconvenient to use. | 2753 make it difficult or inconvenient to use. |
2630 | 2754 |
2631 @node Q3.0.9, Q3.1.1, Q3.0.8, Customization | 2755 @node Q3.0.9, Q3.1.1, Q3.0.8, Customization |
2632 @section What is @code{Customize}? | 2756 @unnumberedsubsec Q3.0.9: What is @code{Customize}? |
2633 | 2757 |
2634 Starting with XEmacs 20.2 there is new system 'Customize' for customizing | 2758 Starting with XEmacs 20.2 there is new system 'Customize' for customizing |
2635 XEmacs options. | 2759 XEmacs options. |
2636 | 2760 |
2637 You can access @code{Customize} from the @code{Options} menu | 2761 You can access @code{Customize} from the @code{Options} menu |
2641 | 2765 |
2642 Starting with XEmacs 20.3 there is also new `browser' mode for Customize. | 2766 Starting with XEmacs 20.3 there is also new `browser' mode for Customize. |
2643 Try it out with @kbd{M-x customize-browse} | 2767 Try it out with @kbd{M-x customize-browse} |
2644 | 2768 |
2645 @node Q3.1.1, Q3.1.2, Q3.0.9, Customization | 2769 @node Q3.1.1, Q3.1.2, Q3.0.9, Customization |
2646 @section Where is a list of X resources? | 2770 @unnumberedsec 3.1: X Window System & Resources |
2771 @unnumberedsubsec Q3.1.1: Where is a list of X resources? | |
2647 | 2772 |
2648 Search through the @file{NEWS} file for @samp{X Resources}. A fairly | 2773 Search through the @file{NEWS} file for @samp{X Resources}. A fairly |
2649 comprehensive list is given after it. | 2774 comprehensive list is given after it. |
2650 | 2775 |
2651 In addition, an @file{app-defaults} file is supplied, | 2776 In addition, an @file{app-defaults} file is supplied, |
2655 entries are slightly altered. Be careful about installing the contents | 2780 entries are slightly altered. Be careful about installing the contents |
2656 of this file into your @file{.Xdefaults} or @file{.Xresources} file if | 2781 of this file into your @file{.Xdefaults} or @file{.Xresources} file if |
2657 you use GNU Emacs under X11 as well. | 2782 you use GNU Emacs under X11 as well. |
2658 | 2783 |
2659 @node Q3.1.2, Q3.1.3, Q3.1.1, Customization | 2784 @node Q3.1.2, Q3.1.3, Q3.1.1, Customization |
2660 @section How can I detect a color display? | 2785 @unnumberedsubsec Q3.1.2: How can I detect a color display? |
2661 | 2786 |
2662 You can test the return value of the function @code{(device-class)}, as | 2787 You can test the return value of the function @code{(device-class)}, as |
2663 in: | 2788 in: |
2664 | 2789 |
2665 @lisp | 2790 @lisp |
2669 .... | 2794 .... |
2670 ) | 2795 ) |
2671 @end lisp | 2796 @end lisp |
2672 | 2797 |
2673 @node Q3.1.3, Q3.1.4, Q3.1.2, Customization | 2798 @node Q3.1.3, Q3.1.4, Q3.1.2, Customization |
2674 @section @code{(set-screen-width)} worked in 19.6, but not in 19.13? | 2799 @unnumberedsubsec Q3.1.3: @code{(set-screen-width)} worked in 19.6, but not in 19.13? |
2675 | 2800 |
2676 In Lucid Emacs 19.6 I did @code{(set-screen-width @var{characters})} and | 2801 In Lucid Emacs 19.6 I did @code{(set-screen-width @var{characters})} and |
2677 @code{(set-screen-height @var{lines})} in my @file{.emacs} instead of | 2802 @code{(set-screen-height @var{lines})} in my @file{.emacs} instead of |
2678 specifying @code{Emacs*EmacsScreen.geometry} in my @file{.Xdefaults} but | 2803 specifying @code{Emacs*EmacsScreen.geometry} in my |
2804 @iftex | |
2805 @* | |
2806 @end iftex | |
2807 @file{.Xdefaults} but | |
2679 this does not work in XEmacs 19.13. | 2808 this does not work in XEmacs 19.13. |
2680 | 2809 |
2681 These two functions now take frame arguments: | 2810 These two functions now take frame arguments: |
2682 | 2811 |
2683 @lisp | 2812 @lisp |
2684 (set-frame-width (selected-frame) @var{characters}) | 2813 (set-frame-width (selected-frame) @var{characters}) |
2685 (set-frame-height (selected-frame) @var{lines}) | 2814 (set-frame-height (selected-frame) @var{lines}) |
2686 @end lisp | 2815 @end lisp |
2687 | 2816 |
2688 @node Q3.1.4, Q3.1.5, Q3.1.3, Customization | 2817 @node Q3.1.4, Q3.1.5, Q3.1.3, Customization |
2689 @section Specifying @code{Emacs*EmacsScreen.geometry} in @file{.emacs} does not work in 19.15? | 2818 @unnumberedsubsec Q3.1.4: Specifying @code{Emacs*EmacsScreen.geometry} in @file{.emacs} does not work in 19.15? |
2690 | 2819 |
2691 In XEmacs 19.11 I specified @code{Emacs*EmacsScreen.geometry} in | 2820 In XEmacs 19.11 I specified @code{Emacs*EmacsScreen.geometry} in |
2692 my @file{.emacs} but this does not work in XEmacs 19.15. | 2821 my @file{.emacs} but this does not work in XEmacs 19.15. |
2693 | 2822 |
2694 We have switched from using the term @dfn{screen} to using the term | 2823 We have switched from using the term @dfn{screen} to using the term |
2699 @example | 2828 @example |
2700 Emacs*EmacsFrame.geometry | 2829 Emacs*EmacsFrame.geometry |
2701 @end example | 2830 @end example |
2702 | 2831 |
2703 @node Q3.1.5, Q3.1.6, Q3.1.4, Customization | 2832 @node Q3.1.5, Q3.1.6, Q3.1.4, Customization |
2704 @section How can I get the icon to just say @samp{XEmacs}? | 2833 @unnumberedsubsec Q3.1.5: How can I get the icon to just say @samp{XEmacs}? |
2705 | 2834 |
2706 I'd like the icon to just say @samp{XEmacs}, and not include the name of | 2835 I'd like the icon to just say @samp{XEmacs}, and not include the name of |
2707 the current file in it. | 2836 the current file in it. |
2708 | 2837 |
2709 Add the following line to your @file{.emacs}: | 2838 Add the following line to your @file{.emacs}: |
2711 @lisp | 2840 @lisp |
2712 (setq frame-icon-title-format "XEmacs") | 2841 (setq frame-icon-title-format "XEmacs") |
2713 @end lisp | 2842 @end lisp |
2714 | 2843 |
2715 @node Q3.1.6, Q3.1.7, Q3.1.5, Customization | 2844 @node Q3.1.6, Q3.1.7, Q3.1.5, Customization |
2716 @section How can I have the window title area display the full path? | 2845 @unnumberedsubsec Q3.1.6: How can I have the window title area display the full path? |
2717 | 2846 |
2718 I'd like to have the window title area display the full directory/name | 2847 I'd like to have the window title area display the full directory/name |
2719 of the current buffer file and not just the name. | 2848 of the current buffer file and not just the name. |
2720 | 2849 |
2721 Add the following line to your @file{.emacs}: | 2850 Add the following line to your @file{.emacs}: |
2726 | 2855 |
2727 A more sophisticated title might be: | 2856 A more sophisticated title might be: |
2728 | 2857 |
2729 @lisp | 2858 @lisp |
2730 (setq frame-title-format | 2859 (setq frame-title-format |
2731 '("%S: " (buffer-file-name "%f" (dired-directory dired-directory "%b")))) | 2860 '("%S: " (buffer-file-name "%f" |
2861 (dired-directory dired-directory "%b")))) | |
2732 @end lisp | 2862 @end lisp |
2733 | 2863 |
2734 That is, use the file name, or the dired-directory, or the buffer name. | 2864 That is, use the file name, or the dired-directory, or the buffer name. |
2735 | 2865 |
2736 @node Q3.1.7, Q3.1.8, Q3.1.6, Customization | 2866 @node Q3.1.7, Q3.1.8, Q3.1.6, Customization |
2737 @section @samp{xemacs -name junk} doesn't work? | 2867 @unnumberedsubsec Q3.1.7: @samp{xemacs -name junk} doesn't work? |
2738 | 2868 |
2739 When I run @samp{xterm -name junk}, I get an xterm whose class name | 2869 When I run @samp{xterm -name junk}, I get an xterm whose class name |
2740 according to xprop, is @samp{junk}. This is the way it's supposed to | 2870 according to xprop, is @samp{junk}. This is the way it's supposed to |
2741 work, I think. When I run @samp{xemacs -name junk} the class name is | 2871 work, I think. When I run @samp{xemacs -name junk} the class name is |
2742 not set to @samp{junk}. It's still @samp{emacs}. What does | 2872 not set to @samp{junk}. It's still @samp{emacs}. What does |
2783 @lisp | 2913 @lisp |
2784 (make-frame '((name . "the-name"))) | 2914 (make-frame '((name . "the-name"))) |
2785 @end lisp | 2915 @end lisp |
2786 | 2916 |
2787 @node Q3.1.8, Q3.2.1, Q3.1.7, Customization | 2917 @node Q3.1.8, Q3.2.1, Q3.1.7, Customization |
2788 @section @samp{-iconic} doesn't work. | 2918 @unnumberedsubsec Q3.1.8: @samp{-iconic} doesn't work. |
2789 | 2919 |
2790 When I start up XEmacs using @samp{-iconic} it doesn't work right. | 2920 When I start up XEmacs using @samp{-iconic} it doesn't work right. |
2791 Using @samp{-unmapped} on the command line, and setting the | 2921 Using @samp{-unmapped} on the command line, and setting the |
2792 @code{initiallyUnmapped} X Resource don't seem to help much either... | 2922 @code{initiallyUnmapped} X Resource don't seem to help much either... |
2793 | 2923 |
2794 Ben Wing <ben@@666.com> writes: | 2924 @email{ben@@666.com, Ben Wing} writes: |
2795 | 2925 |
2796 @quotation | 2926 @quotation |
2797 Ugh, this stuff is such an incredible mess that I've about given up | 2927 Ugh, this stuff is such an incredible mess that I've about given up |
2798 getting it to work. The principal problem is numerous window-manager | 2928 getting it to work. The principal problem is numerous window-manager |
2799 bugs... | 2929 bugs... |
2800 @end quotation | 2930 @end quotation |
2801 | 2931 |
2802 @node Q3.2.1, Q3.2.2, Q3.1.8, Customization | 2932 @node Q3.2.1, Q3.2.2, Q3.1.8, Customization |
2803 @section How can I set color options from @file{.emacs}? | 2933 @unnumberedsec 3.2: Textual Fonts & Colors |
2934 @unnumberedsubsec Q3.2.1: How can I set color options from @file{.emacs}? | |
2804 | 2935 |
2805 How can I set the most commonly used color options from my @file{.emacs} | 2936 How can I set the most commonly used color options from my @file{.emacs} |
2806 instead of from my @file{.Xdefaults}? | 2937 instead of from my @file{.Xdefaults}? |
2807 | 2938 |
2808 Like this: | 2939 Like this: |
2809 | 2940 |
2810 @lisp | 2941 @lisp |
2811 (set-face-background 'default "bisque") ; frame background | 2942 (set-face-background 'default "bisque") ; frame background |
2812 (set-face-foreground 'default "black") ; normal text | 2943 (set-face-foreground 'default "black") ; normal text |
2813 (set-face-background 'zmacs-region "red") ; When selecting w/ | 2944 (set-face-background 'zmacs-region "red") ; When selecting w/ |
2814 ; mouse | 2945 ; mouse |
2815 (set-face-foreground 'zmacs-region "yellow") | 2946 (set-face-foreground 'zmacs-region "yellow") |
2816 (set-face-font 'default "*courier-bold-r*120-100-100*") | 2947 (set-face-font 'default "*courier-bold-r*120-100-100*") |
2817 (set-face-background 'highlight "blue") ; Ie when selecting buffers | 2948 (set-face-background 'highlight "blue") ; Ie when selecting |
2949 ; buffers | |
2818 (set-face-foreground 'highlight "yellow") | 2950 (set-face-foreground 'highlight "yellow") |
2819 (set-face-background 'modeline "blue") ; Line at bottom of buffer | 2951 (set-face-background 'modeline "blue") ; Line at bottom |
2952 ; of buffer | |
2820 (set-face-foreground 'modeline "white") | 2953 (set-face-foreground 'modeline "white") |
2821 (set-face-font 'modeline "*bold-r-normal*140-100-100*") | 2954 (set-face-font 'modeline "*bold-r-normal*140-100-100*") |
2822 (set-face-background 'isearch "yellow") ; When highlighting while | 2955 (set-face-background 'isearch "yellow") ; When highlighting |
2823 ; searching | 2956 ; while searching |
2824 (set-face-foreground 'isearch "red") | 2957 (set-face-foreground 'isearch "red") |
2825 (setq x-pointer-foreground-color "black") ; Adds to bg color, | 2958 (setq x-pointer-foreground-color "black") ; Adds to bg color, |
2826 ; so keep black | 2959 ; so keep black |
2827 (setq x-pointer-background-color "blue") ; This is color you really | 2960 (setq x-pointer-background-color "blue") ; This is color |
2828 ; want ptr/crsr | 2961 ; you really |
2962 ; want ptr/crsr | |
2829 @end lisp | 2963 @end lisp |
2830 | 2964 |
2831 @node Q3.2.2, Q3.2.3, Q3.2.1, Customization | 2965 @node Q3.2.2, Q3.2.3, Q3.2.1, Customization |
2832 @section How do I set the text, menu and modeline fonts? | 2966 @unnumberedsubsec Q3.2.2: How do I set the text, menu and modeline fonts? |
2833 | 2967 |
2834 Note that you should use @samp{Emacs.} and not @samp{Emacs*} when | 2968 Note that you should use @samp{Emacs.} and not @samp{Emacs*} when |
2835 setting face values. | 2969 setting face values. |
2836 | 2970 |
2837 In @file{.Xdefaults}: | 2971 In @file{.Xdefaults}: |
2838 | 2972 |
2839 @example | 2973 @example |
2840 Emacs.default.attributeFont: -*-*-medium-r-*-*-*-120-*-*-m-*-*-* | 2974 Emacs.default.attributeFont: -*-*-medium-r-*-*-*-120-*-*-m-*-*-* |
2841 Emacs*menubar*font: fixed | 2975 Emacs*menubar*font: fixed |
2842 Emacs.modeline.attributeFont: fixed | 2976 Emacs.modeline.attributeFont: fixed |
2843 @end example | 2977 @end example |
2844 | 2978 |
2845 This is confusing because modeline is a face, and can be found listed | 2979 This is confusing because modeline is a face, and can be found listed |
2848 while menubar is a normal X thing that uses the specification | 2982 while menubar is a normal X thing that uses the specification |
2849 @code{font}. With Motif it may be necessary to use @code{fontList} | 2983 @code{font}. With Motif it may be necessary to use @code{fontList} |
2850 instead of @code{font}. | 2984 instead of @code{font}. |
2851 | 2985 |
2852 @node Q3.2.3, Q3.2.4, Q3.2.2, Customization | 2986 @node Q3.2.3, Q3.2.4, Q3.2.2, Customization |
2853 @section How can I set the colors when highlighting a region? | 2987 @unnumberedsubsec Q3.2.3: How can I set the colors when highlighting a region? |
2854 | 2988 |
2855 How can I set the background/foreground colors when highlighting a | 2989 How can I set the background/foreground colors when highlighting a |
2856 region? | 2990 region? |
2857 | 2991 |
2858 You can change the face @code{zmacs-region} either in your | 2992 You can change the face @code{zmacs-region} either in your |
2864 @end example | 2998 @end example |
2865 | 2999 |
2866 or in your @file{.emacs}: | 3000 or in your @file{.emacs}: |
2867 | 3001 |
2868 @lisp | 3002 @lisp |
2869 (set-face-background 'zmacs-region "red") | 3003 (set-face-background 'zmacs-region "red") |
2870 (set-face-foreground 'zmacs-region "yellow") | 3004 (set-face-foreground 'zmacs-region "yellow") |
2871 @end lisp | 3005 @end lisp |
2872 | 3006 |
2873 @node Q3.2.4, Q3.2.5, Q3.2.3, Customization | 3007 @node Q3.2.4, Q3.2.5, Q3.2.3, Customization |
2874 @section How can I limit color map usage? | 3008 @unnumberedsubsec Q3.2.4: How can I limit color map usage? |
2875 | 3009 |
2876 I'm using Netscape (or another color grabber like XEmacs); | 3010 I'm using Netscape (or another color grabber like XEmacs); |
2877 is there anyway to limit the number of available colors in the color map? | 3011 is there anyway to limit the number of available colors in the color map? |
2878 | 3012 |
2879 XEmacs 19.13 didn't have such a mechanism (unlike netscape, or other | 3013 XEmacs 19.13 didn't have such a mechanism (unlike netscape, or other |
2889 | 3023 |
2890 Starting with XEmacs 19.14, XEmacs uses the closest available color if | 3024 Starting with XEmacs 19.14, XEmacs uses the closest available color if |
2891 the colormap is full, so it's O.K. now to start Netscape first. | 3025 the colormap is full, so it's O.K. now to start Netscape first. |
2892 | 3026 |
2893 @node Q3.2.5, Q3.3.1, Q3.2.4, Customization | 3027 @node Q3.2.5, Q3.3.1, Q3.2.4, Customization |
2894 @section My tty supports color, but XEmacs doesn't use them. | 3028 @unnumberedsubsec Q3.2.5: My tty supports color, but XEmacs doesn't use them. |
2895 | 3029 |
2896 XEmacs tries to automatically determine whether your tty supports color, | 3030 XEmacs tries to automatically determine whether your tty supports color, |
2897 but sometimes guesses wrong. In that case, you can make XEmacs Do The | 3031 but sometimes guesses wrong. In that case, you can make XEmacs Do The |
2898 Right Thing using this Lisp code: | 3032 Right Thing using this Lisp code: |
2899 | 3033 |
2901 (if (eq 'tty (device-type)) | 3035 (if (eq 'tty (device-type)) |
2902 (set-device-class nil 'color)) | 3036 (set-device-class nil 'color)) |
2903 @end lisp | 3037 @end lisp |
2904 | 3038 |
2905 @node Q3.3.1, Q3.3.2, Q3.2.5, Customization | 3039 @node Q3.3.1, Q3.3.2, Q3.2.5, Customization |
2906 @section How can I make the modeline go away? | 3040 @unnumberedsubsec Q3.3.1: How can I make the modeline go away? |
2907 | 3041 |
2908 @lisp | 3042 @lisp |
2909 (set-specifier has-modeline-p nil) | 3043 (set-specifier has-modeline-p nil) |
2910 @end lisp | 3044 @end lisp |
2911 | 3045 |
2912 Starting with XEmacs 19.14 the modeline responds to mouse clicks, so if | 3046 Starting with XEmacs 19.14 the modeline responds to mouse clicks, so if |
2913 you haven't liked or used the modeline in the past, you might want to | 3047 you haven't liked or used the modeline in the past, you might want to |
2914 try the new version out. | 3048 try the new version out. |
2915 | 3049 |
2916 @node Q3.3.2, Q3.3.3, Q3.3.1, Customization | 3050 @node Q3.3.2, Q3.3.3, Q3.3.1, Customization |
2917 @section How do you have XEmacs display the line number in the modeline? | 3051 @unnumberedsubsec Q3.3.2: How do you have XEmacs display the line number in the modeline? |
2918 | 3052 |
2919 Add the following line to your @file{.emacs} file to display the | 3053 Add the following line to your @file{.emacs} file to display the |
2920 line number: | 3054 line number: |
2921 | 3055 |
2922 @lisp | 3056 @lisp |
2928 @lisp | 3062 @lisp |
2929 (column-number-mode 1) | 3063 (column-number-mode 1) |
2930 @end lisp | 3064 @end lisp |
2931 | 3065 |
2932 Or select from the @code{Options} menu | 3066 Or select from the @code{Options} menu |
2933 @code{Customize->Emacs->Editing->Basics->Line Number Mode} | 3067 @iftex |
3068 @* | |
3069 @end iftex | |
3070 @code{Customize->Emacs->Editing->Basics->Line Number Mode} | |
2934 and/or | 3071 and/or |
2935 @code{Customize->Emacs->Editing->Basics->Column Number Mode} | 3072 @iftex |
3073 @* | |
3074 @end iftex | |
3075 @code{Customize->Emacs->Editing->Basics->Column Number Mode} | |
2936 | 3076 |
2937 Or type @kbd{M-x customize RET editing-basics RET}. | 3077 Or type @kbd{M-x customize RET editing-basics RET}. |
2938 | 3078 |
2939 @node Q3.3.3, Q3.3.4, Q3.3.2, Customization | 3079 @node Q3.3.3, Q3.3.4, Q3.3.2, Customization |
2940 @section How do I get XEmacs to put the time of day on the modeline? | 3080 @unnumberedsubsec Q3.3.3: How do I get XEmacs to put the time of day on the modeline? |
2941 | 3081 |
2942 Add the following line to your @file{.emacs} file to display the | 3082 Add the following line to your @file{.emacs} file to display the |
2943 time: | 3083 time: |
2944 | 3084 |
2945 @lisp | 3085 @lisp |
2947 @end lisp | 3087 @end lisp |
2948 | 3088 |
2949 See @code{Customize} from the @code{Options} menu for customization. | 3089 See @code{Customize} from the @code{Options} menu for customization. |
2950 | 3090 |
2951 @node Q3.3.4, Q3.3.5, Q3.3.3, Customization | 3091 @node Q3.3.4, Q3.3.5, Q3.3.3, Customization |
2952 @section How do I turn off current chapter from AUC TeX modeline? | 3092 @unnumberedsubsec Q3.3.4: How do I turn off current chapter from AUC TeX modeline? |
2953 | 3093 |
2954 With AUC TeX, fast typing is hard because the current chapter, section | 3094 With AUC TeX, fast typing is hard because the current chapter, section |
2955 etc. are given in the modeline. How can I turn this off? | 3095 etc. are given in the modeline. How can I turn this off? |
2956 | 3096 |
2957 It's not AUC TeX, it comes from @code{func-menu} in @file{func-menu.el}. | 3097 It's not AUC TeX, it comes from @code{func-menu} in @file{func-menu.el}. |
2963 | 3103 |
2964 Or just add a hook to @code{TeX-mode-hook} to turn it off only for TeX | 3104 Or just add a hook to @code{TeX-mode-hook} to turn it off only for TeX |
2965 mode: | 3105 mode: |
2966 | 3106 |
2967 @lisp | 3107 @lisp |
2968 (add-hook 'TeX-mode-hook '(lambda () (setq fume-display-in-modeline-p nil))) | 3108 (add-hook 'TeX-mode-hook |
2969 @end lisp | 3109 '(lambda () (setq fume-display-in-modeline-p nil))) |
2970 | 3110 @end lisp |
2971 David Hughes <dhughes@@origin-at.co.uk> writes: | 3111 |
3112 @email{dhughes@@origin-at.co.uk, David Hughes} writes: | |
2972 | 3113 |
2973 @quotation | 3114 @quotation |
2974 If you have 19.14 or later, try this instead; you'll still get the | 3115 If you have 19.14 or later, try this instead; you'll still get the |
2975 function name displayed in the modeline, but it won't attempt to keep | 3116 function name displayed in the modeline, but it won't attempt to keep |
2976 track when you modify the file. To refresh when it gets out of synch, | 3117 track when you modify the file. To refresh when it gets out of synch, |
2981 (setq-default fume-auto-rescan-buffer-p nil) | 3122 (setq-default fume-auto-rescan-buffer-p nil) |
2982 @end lisp | 3123 @end lisp |
2983 @end quotation | 3124 @end quotation |
2984 | 3125 |
2985 @node Q3.3.5, Q3.4.1, Q3.3.4, Customization | 3126 @node Q3.3.5, Q3.4.1, Q3.3.4, Customization |
2986 @section How can one change the modeline color based on the mode used? | 3127 @unnumberedsubsec Q3.3.5: How can one change the modeline color based on the mode used? |
2987 | 3128 |
2988 You can use something like the following: | 3129 You can use something like the following: |
2989 | 3130 |
2990 @lisp | 3131 @lisp |
2991 (add-hook 'lisp-mode-hook | 3132 (add-hook 'lisp-mode-hook |
2992 (lambda () | 3133 (lambda () |
2993 (set-face-background 'modeline "red" (current-buffer)))) | 3134 (set-face-background 'modeline "red" (current-buffer)))) |
2994 @end lisp | 3135 @end lisp |
2995 | 3136 |
2996 Then, when editing a Lisp file (i.e. when in Lisp mode), the modeline | 3137 Then, when editing a Lisp file (i.e. when in Lisp mode), the modeline |
3024 This works in 19.15 as well, but there are additional modeline faces, | 3165 This works in 19.15 as well, but there are additional modeline faces, |
3025 @code{modeline-buffer-id}, @code{modeline-mousable}, and | 3166 @code{modeline-buffer-id}, @code{modeline-mousable}, and |
3026 @code{modeline-mousable-minor-mode}, which you may want to customize. | 3167 @code{modeline-mousable-minor-mode}, which you may want to customize. |
3027 | 3168 |
3028 @node Q3.4.1, Q3.4.2, Q3.3.5, Customization | 3169 @node Q3.4.1, Q3.4.2, Q3.3.5, Customization |
3029 @section How do I open a frame on another screen of my multi-headed display? | 3170 @unnumberedsec 3.4: Multiple Device Support |
3171 @unnumberedsubsec Q3.4.1: How do I open a frame on another screen of my multi-headed display? | |
3030 | 3172 |
3031 The support for this was revamped for 19.14. Use the command | 3173 The support for this was revamped for 19.14. Use the command |
3032 @kbd{M-x make-frame-on-display}. This command is also on the File menu | 3174 @kbd{M-x make-frame-on-display}. This command is also on the File menu |
3033 in the menubar. | 3175 in the menubar. |
3034 | 3176 |
3035 XEmacs 19.14 and later also have the command @code{make-frame-on-tty} | 3177 XEmacs 19.14 and later also have the command @code{make-frame-on-tty} |
3036 which will establish a connection to any tty-like device. Opening the | 3178 which will establish a connection to any tty-like device. Opening the |
3037 TTY devices should be left to @code{gnuclient}, though. | 3179 TTY devices should be left to @code{gnuclient}, though. |
3038 | 3180 |
3039 @node Q3.4.2, Q3.5.1, Q3.4.1, Customization | 3181 @node Q3.4.2, Q3.5.1, Q3.4.1, Customization |
3040 @section Can I really connect to a running XEmacs after calling up over a modem? How? | 3182 @unnumberedsubsec Q3.4.2: Can I really connect to a running XEmacs after calling up over a modem? How? |
3041 | 3183 |
3042 If you're not running at least XEmacs 19.14, you can't. Otherwise check | 3184 If you're not running at least XEmacs 19.14, you can't. Otherwise check |
3043 out the @code{gnuattach} program supplied with XEmacs. Starting with | 3185 out the @code{gnuattach} program supplied with XEmacs. Starting with |
3044 XEmacs 20.3, @code{gnuattach} and @code{gnudoit} functionality is | 3186 XEmacs 20.3, @code{gnuattach} and @code{gnudoit} functionality is |
3045 provided by @code{gnuclient}. | 3187 provided by @code{gnuclient}. |
3046 | 3188 |
3047 Also @xref{Q5.0.12}. | 3189 Also @xref{Q5.0.12}. |
3048 | 3190 |
3049 @node Q3.5.1, Q3.5.2, Q3.4.2, Customization | 3191 @node Q3.5.1, Q3.5.2, Q3.4.2, Customization |
3050 @section How can I bind complex functions (or macros) to keys? | 3192 @unnumberedsec 3.5: The Keyboard |
3193 @unnumberedsubsec Q3.5.1: How can I bind complex functions (or macros) to keys? | |
3051 | 3194 |
3052 As an example, say you want the @kbd{paste} key on a Sun keyboard to | 3195 As an example, say you want the @kbd{paste} key on a Sun keyboard to |
3053 insert the current Primary X selection at point. You can accomplish this | 3196 insert the current Primary X selection at point. You can accomplish this |
3054 with: | 3197 with: |
3055 | 3198 |
3064 pass arguments to @code{x-insert-selection}. This is done by wrapping | 3207 pass arguments to @code{x-insert-selection}. This is done by wrapping |
3065 the call in a 'lambda form: | 3208 the call in a 'lambda form: |
3066 | 3209 |
3067 @lisp | 3210 @lisp |
3068 (global-set-key [f18] | 3211 (global-set-key [f18] |
3069 (lambda () (interactive) (x-insert-selection t nil))) | 3212 (lambda () (interactive) (x-insert-selection t nil))) |
3070 @end lisp | 3213 @end lisp |
3071 | 3214 |
3072 This binds the f18 key to a @dfn{generic} functional object. The | 3215 This binds the f18 key to a @dfn{generic} functional object. The |
3073 interactive spec is required because only interactive functions can be | 3216 interactive spec is required because only interactive functions can be |
3074 bound to keys. | 3217 bound to keys. |
3075 | 3218 |
3076 For the FAQ example you could use: | 3219 For the FAQ example you could use: |
3077 | 3220 |
3078 @lisp | 3221 @lisp |
3079 (global-set-key [(control ?.)] | 3222 (global-set-key [(control ?.)] |
3080 (lambda () (interactive) (scroll-up 1))) | 3223 (lambda () (interactive) (scroll-up 1))) |
3081 (global-set-key [(control ?;)] | 3224 (global-set-key [(control ? ;)] |
3082 (lambda () (interactive) (scroll-up -1))) | 3225 (lambda () (interactive) (scroll-up -1))) |
3083 @end lisp | 3226 @end lisp |
3084 | 3227 |
3085 This is fine if you only need a few functions within the lambda body. | 3228 This is fine if you only need a few functions within the lambda body. |
3086 If you're doing more it's cleaner to define a separate function as in | 3229 If you're doing more it's cleaner to define a separate function as in |
3087 question 3.5.3 (@xref{Q3.5.3}). | 3230 question 3.5.3 (@xref{Q3.5.3}). |
3088 | 3231 |
3089 @node Q3.5.2, Q3.5.3, Q3.5.1, Customization | 3232 @node Q3.5.2, Q3.5.3, Q3.5.1, Customization |
3090 @section How can I stop down-arrow from adding empty lines to the bottom of my buffers? | 3233 @unnumberedsubsec Q3.5.2: How can I stop down-arrow from adding empty lines to the bottom of my buffers? |
3091 | 3234 |
3092 Add the following line to your @file{.emacs} file: | 3235 Add the following line to your @file{.emacs} file: |
3093 | 3236 |
3094 @lisp | 3237 @lisp |
3095 (setq next-line-add-newlines nil) | 3238 (setq next-line-add-newlines nil) |
3096 @end lisp | 3239 @end lisp |
3097 | 3240 |
3098 This has been the default setting in XEmacs for some time. | 3241 This has been the default setting in XEmacs for some time. |
3099 | 3242 |
3100 @node Q3.5.3, Q3.5.4, Q3.5.2, Customization | 3243 @node Q3.5.3, Q3.5.4, Q3.5.2, Customization |
3101 @section How do I bind C-. and C-; to scroll one line up and down? | 3244 @unnumberedsubsec Q3.5.3: How do I bind C-. and C-; to scroll one line up and down? |
3102 | 3245 |
3103 Add the following (Thanks to Richard Mlynarik <mly@@adoc.xerox.com> and | 3246 Add the following (Thanks to @email{mly@@adoc.xerox.com, Richard Mlynarik} and |
3104 Wayne Newberry <wayne@@zen.cac.stratus.com>) to @file{.emacs}: | 3247 @email{wayne@@zen.cac.stratus.com, Wayne Newberry}) to @file{.emacs}: |
3105 | 3248 |
3106 @lisp | 3249 @lisp |
3107 (defun scroll-up-one-line () | 3250 (defun scroll-up-one-line () |
3108 (interactive) | 3251 (interactive) |
3109 (scroll-up 1)) | 3252 (scroll-up 1)) |
3110 | 3253 |
3111 (defun scroll-down-one-line () | 3254 (defun scroll-down-one-line () |
3112 (interactive) | 3255 (interactive) |
3113 (scroll-down 1)) | 3256 (scroll-down 1)) |
3114 | 3257 |
3115 (global-set-key [(control ?.)] 'scroll-up-one-line) ; C-. | 3258 (global-set-key [(control ?.)] 'scroll-up-one-line) ; C-. |
3116 (global-set-key [(control ?;)] 'scroll-down-one-line) ; C-; | 3259 (global-set-key [(control ? ;)] 'scroll-down-one-line) ; C-; |
3117 @end lisp | 3260 @end lisp |
3118 | 3261 |
3119 The key point is that you can only bind simple functions to keys; you | 3262 The key point is that you can only bind simple functions to keys; you |
3120 can not bind a key to a function that you're also passing arguments to. | 3263 can not bind a key to a function that you're also passing arguments to. |
3121 (@xref{Q3.5.1} for a better answer). | 3264 (@xref{Q3.5.1} for a better answer). |
3122 | 3265 |
3123 @node Q3.5.4, Q3.5.5, Q3.5.3, Customization | 3266 @node Q3.5.4, Q3.5.5, Q3.5.3, Customization |
3124 @section Globally binding @kbd{Delete}? | 3267 @unnumberedsubsec Q3.5.4: Globally binding @kbd{Delete}? |
3125 | 3268 |
3126 I cannot manage to globally bind my @kbd{Delete} key to something other | 3269 I cannot manage to globally bind my @kbd{Delete} key to something other |
3127 than the default. How does one do this? | 3270 than the default. How does one do this? |
3128 | 3271 |
3129 @lisp | 3272 @lisp |
3144 good example of how to do this correctly. | 3287 good example of how to do this correctly. |
3145 | 3288 |
3146 Also @xref{Q3.5.10}. | 3289 Also @xref{Q3.5.10}. |
3147 | 3290 |
3148 @node Q3.5.5, Q3.5.6, Q3.5.4, Customization | 3291 @node Q3.5.5, Q3.5.6, Q3.5.4, Customization |
3149 @section Scrolling one line at a time. | 3292 @unnumberedsubsec Q3.5.5: Scrolling one line at a time. |
3150 | 3293 |
3151 Can the cursor keys scroll the screen a line at a time, rather than the | 3294 Can the cursor keys scroll the screen a line at a time, rather than the |
3152 default half page jump? I tend it to find it disorienting. | 3295 default half page jump? I tend it to find it disorienting. |
3153 | 3296 |
3154 Try this: | 3297 Try this: |
3179 Select from the @code{Options} menu | 3322 Select from the @code{Options} menu |
3180 @code{Customize->Emacs->Environment->Windows->Scroll Step...} or type | 3323 @code{Customize->Emacs->Environment->Windows->Scroll Step...} or type |
3181 @kbd{M-x customize RET windows RET}. | 3324 @kbd{M-x customize RET windows RET}. |
3182 | 3325 |
3183 @node Q3.5.6, Q3.5.7, Q3.5.5, Customization | 3326 @node Q3.5.6, Q3.5.7, Q3.5.5, Customization |
3184 @section How to map @kbd{Help} key alone on Sun type4 keyboard? | 3327 @unnumberedsubsec Q3.5.6: How to map @kbd{Help} key alone on Sun type4 keyboard? |
3185 | 3328 |
3186 The following works in GNU Emacs 19: | 3329 The following works in GNU Emacs 19: |
3187 | 3330 |
3188 @lisp | 3331 @lisp |
3189 (global-set-key [help] 'help-command) ;; Help | 3332 (global-set-key [help] 'help-command);; Help |
3190 @end lisp | 3333 @end lisp |
3191 | 3334 |
3192 The following works in XEmacs 19.15 with the addition of shift: | 3335 The following works in XEmacs 19.15 with the addition of shift: |
3193 | 3336 |
3194 @lisp | 3337 @lisp |
3195 (global-set-key [(shift help)] 'help-command) ;; Help | 3338 (global-set-key [(shift help)] 'help-command);; Help |
3196 @end lisp | 3339 @end lisp |
3197 | 3340 |
3198 But it doesn't work alone. This is in the file @file{PROBLEMS} which | 3341 But it doesn't work alone. This is in the file @file{PROBLEMS} which |
3199 should have come with your XEmacs installation: @emph{Emacs ignores the | 3342 should have come with your XEmacs installation: @emph{Emacs ignores the |
3200 @kbd{help} key when running OLWM}. | 3343 @kbd{help} key when running OLWM}. |
3201 | 3344 |
3202 OLWM grabs the @kbd{help} key, and retransmits it to the appropriate | 3345 OLWM grabs the @kbd{help} key, and retransmits it to the appropriate |
3203 client using @code{XSendEvent}. Allowing Emacs to react to synthetic | 3346 client using |
3347 @iftex | |
3348 @* | |
3349 @end iftex | |
3350 @code{XSendEvent}. Allowing Emacs to react to synthetic | |
3204 events is a security hole, so this is turned off by default. You can | 3351 events is a security hole, so this is turned off by default. You can |
3205 enable it by setting the variable @code{x-allow-sendevents} to t. You | 3352 enable it by setting the variable @code{x-allow-sendevents} to t. You |
3206 can also cause fix this by telling OLWM to not grab the help key, with | 3353 can also cause fix this by telling OLWM to not grab the help key, with |
3207 the null binding @code{OpenWindows.KeyboardCommand.Help:}. | 3354 the null binding @code{OpenWindows.KeyboardCommand.Help:}. |
3208 | 3355 |
3209 @node Q3.5.7, Q3.5.8, Q3.5.6, Customization | 3356 @node Q3.5.7, Q3.5.8, Q3.5.6, Customization |
3210 @section How can you type in special characters in XEmacs? | 3357 @unnumberedsubsec Q3.5.7: How can you type in special characters in XEmacs? |
3211 | 3358 |
3212 One way is to use the package @code{x-compose}. Then you can use | 3359 One way is to use the package @code{x-compose}. Then you can use |
3213 sequences like @kbd{Compose " a} to get ä, etc. | 3360 sequences like @kbd{Compose " a} to get ä, etc. |
3214 | 3361 |
3215 Another way is to use the @code{iso-insert} package, provided in XEmacs | 3362 Another way is to use the @code{iso-insert} package, provided in XEmacs |
3216 19.15 and later. Then you can use sequences like @kbd{C-x 8 " a} to get | 3363 19.15 and later. Then you can use sequences like @kbd{C-x 8 " a} to get |
3217 ä, etc. | 3364 ä, etc. |
3218 | 3365 |
3219 @node Q3.5.8, Q3.5.9, Q3.5.7, Customization | 3366 @node Q3.5.8, Q3.5.9, Q3.5.7, Customization |
3220 @section Why does @code{(global-set-key [delete-forward] 'delete-char)} complain? | 3367 @unnumberedsubsec Q3.5.8: Why does @code{(global-set-key [delete-forward] 'delete-char)} complain? |
3221 | 3368 |
3222 Why does @code{(define-key global-map [ delete-forward ] 'delete-char)} | 3369 Why does @code{(define-key global-map [ delete-forward ] 'delete-char)} |
3223 complain of not being able to bind an unknown key? | 3370 complain of not being able to bind an unknown key? |
3224 | 3371 |
3225 Try this instead: | 3372 Try this instead: |
3239 expected behavior. | 3386 expected behavior. |
3240 | 3387 |
3241 This bug has been fixed in 19.14. | 3388 This bug has been fixed in 19.14. |
3242 | 3389 |
3243 @node Q3.5.9, Q3.5.10, Q3.5.8, Customization | 3390 @node Q3.5.9, Q3.5.10, Q3.5.8, Customization |
3244 @section How do I make the Delete key delete forward? | 3391 @unnumberedsubsec Q3.5.9: How do I make the Delete key delete forward? |
3245 | 3392 |
3246 With XEmacs-20.2 use the @code{delbs} package: | 3393 With XEmacs-20.2 use the @code{delbs} package: |
3247 | 3394 |
3248 @lisp | 3395 @lisp |
3249 (require 'delbs) | 3396 (require 'delbs) |
3260 type @kbd{M-x customize RET editing-basics RET}. | 3407 type @kbd{M-x customize RET editing-basics RET}. |
3261 | 3408 |
3262 Also @xref{Q3.5.4}. | 3409 Also @xref{Q3.5.4}. |
3263 | 3410 |
3264 @node Q3.5.10, Q3.6.1, Q3.5.9, Customization | 3411 @node Q3.5.10, Q3.6.1, Q3.5.9, Customization |
3265 @section Can I turn on @dfn{sticky} modifier keys? | 3412 @unnumberedsubsec Q3.5.10: Can I turn on @dfn{sticky} modifier keys? |
3266 | 3413 |
3267 Yes, with @code{(setq modifier-keys-are-sticky t)}. This will give the | 3414 Yes, with @code{(setq modifier-keys-are-sticky t)}. This will give the |
3268 effect of being able to press and release Shift and have the next | 3415 effect of being able to press and release Shift and have the next |
3269 character typed come out in upper case. This will affect all the other | 3416 character typed come out in upper case. This will affect all the other |
3270 modifier keys like Control and Meta as well. | 3417 modifier keys like Control and Meta as well. |
3271 | 3418 |
3272 Ben Wing <ben@@666.com> writes: | 3419 @email{ben@@666.com, Ben Wing} writes: |
3273 | 3420 |
3274 @quotation | 3421 @quotation |
3275 One thing about the sticky modifiers is that if you move the mouse out | 3422 One thing about the sticky modifiers is that if you move the mouse out |
3276 of the frame and back in, it cancels all currently ``stuck'' modifiers. | 3423 of the frame and back in, it cancels all currently ``stuck'' modifiers. |
3277 @end quotation | 3424 @end quotation |
3278 | 3425 |
3279 @node Q3.6.1, Q3.6.2, Q3.5.10, Customization | 3426 @node Q3.6.1, Q3.6.2, Q3.5.10, Customization |
3280 @section Is there a way to make the bar cursor thicker? | 3427 @unnumberedsec 3.6: The Cursor |
3428 @unnumberedsubsec Q3.6.1: Is there a way to make the bar cursor thicker? | |
3281 | 3429 |
3282 I'd like to have the bar cursor a little thicker, as I tend to "lose" it | 3430 I'd like to have the bar cursor a little thicker, as I tend to "lose" it |
3283 often. | 3431 often. |
3284 | 3432 |
3285 For a 1 pixel bar cursor, use: | 3433 For a 1 pixel bar cursor, use: |
3304 @example | 3452 @example |
3305 Emacs*cursorColor: Red | 3453 Emacs*cursorColor: Red |
3306 @end example | 3454 @end example |
3307 | 3455 |
3308 @node Q3.6.2, Q3.6.3, Q3.6.1, Customization | 3456 @node Q3.6.2, Q3.6.3, Q3.6.1, Customization |
3309 @section Is there a way to get back the block cursor? | 3457 @unnumberedsubsec Q3.6.2: Is there a way to get back the block cursor? |
3310 | 3458 |
3311 @lisp | 3459 @lisp |
3312 (setq bar-cursor nil) | 3460 (setq bar-cursor nil) |
3313 @end lisp | 3461 @end lisp |
3314 | 3462 |
3316 Select from the @code{Options} menu | 3464 Select from the @code{Options} menu |
3317 @code{Customize->Emacs->Environment->Display->Bar Cursor...} or type | 3465 @code{Customize->Emacs->Environment->Display->Bar Cursor...} or type |
3318 @kbd{M-x customize RET display RET}. | 3466 @kbd{M-x customize RET display RET}. |
3319 | 3467 |
3320 @node Q3.6.3, Q3.7.1, Q3.6.2, Customization | 3468 @node Q3.6.3, Q3.7.1, Q3.6.2, Customization |
3321 @section Can I make the cursor blink? | 3469 @unnumberedsubsec Q3.6.3: Can I make the cursor blink? |
3322 | 3470 |
3323 If you are running a version of XEmacs older than 19.14, no. Otherwise | 3471 If you are running a version of XEmacs older than 19.14, no. Otherwise |
3324 you can do the following: | 3472 you can do the following: |
3325 | 3473 |
3326 @lisp | 3474 @lisp |
3330 This function toggles between a steady cursor and a blinking cursor. | 3478 This function toggles between a steady cursor and a blinking cursor. |
3331 You may also set this mode from the menu bar by selecting @samp{Options | 3479 You may also set this mode from the menu bar by selecting @samp{Options |
3332 => Frame Appearance => Blinking Cursor}. Remember to save options. | 3480 => Frame Appearance => Blinking Cursor}. Remember to save options. |
3333 | 3481 |
3334 @node Q3.7.1, Q3.7.2, Q3.6.3, Customization | 3482 @node Q3.7.1, Q3.7.2, Q3.6.3, Customization |
3335 @section How can I turn off Mouse pasting? | 3483 @unnumberedsec 3.7: The Mouse and Highlighting |
3484 @unnumberedsubsec Q3.7.1: How can I turn off Mouse pasting? | |
3336 | 3485 |
3337 I keep hitting the middle mouse button by accident and getting stuff | 3486 I keep hitting the middle mouse button by accident and getting stuff |
3338 pasted into my buffer so how can I turn this off? | 3487 pasted into my buffer so how can I turn this off? |
3339 | 3488 |
3340 Here is an alternative binding, whereby the middle mouse button selects | 3489 Here is an alternative binding, whereby the middle mouse button selects |
3350 (mark-sexp 1)) | 3499 (mark-sexp 1)) |
3351 (define-key global-map [button2] 'mouse-set-point-and-select) | 3500 (define-key global-map [button2] 'mouse-set-point-and-select) |
3352 @end lisp | 3501 @end lisp |
3353 | 3502 |
3354 @node Q3.7.2, Q3.7.3, Q3.7.1, Customization | 3503 @node Q3.7.2, Q3.7.3, Q3.7.1, Customization |
3355 @section How do I set control/meta/etc modifiers on mouse buttons? | 3504 @unnumberedsubsec Q3.7.2: How do I set control/meta/etc modifiers on mouse buttons? |
3356 | 3505 |
3357 Use, for instance, @code{[(meta button1)]}. For example, here is a common | 3506 Use, for instance, @code{[(meta button1)]}. For example, here is a common |
3358 setting for Common Lisp programmers who use the bundled @code{ilisp} | 3507 setting for Common Lisp programmers who use the bundled @code{ilisp} |
3359 package, whereby meta-button1 on a function name will find the file where | 3508 package, whereby meta-button1 on a function name will find the file where |
3360 the function name was defined, and put you at that location in the source | 3509 the function name was defined, and put you at that location in the source |
3366 @lisp | 3515 @lisp |
3367 (local-set-key [(meta button1)] 'edit-definitions-lisp) | 3516 (local-set-key [(meta button1)] 'edit-definitions-lisp) |
3368 @end lisp | 3517 @end lisp |
3369 | 3518 |
3370 @node Q3.7.3, Q3.7.4, Q3.7.2, Customization | 3519 @node Q3.7.3, Q3.7.4, Q3.7.2, Customization |
3371 @section Clicking the left button does not do anything in buffer list. | 3520 @unnumberedsubsec Q3.7.3: Clicking the left button does not do anything in buffer list. |
3372 | 3521 |
3373 I do @kbd{C-x C-b} to get a list of buffers and the entries get | 3522 I do @kbd{C-x C-b} to get a list of buffers and the entries get |
3374 highlighted when I move the mouse over them but clicking the left mouse | 3523 highlighted when I move the mouse over them but clicking the left mouse |
3375 does not do anything. | 3524 does not do anything. |
3376 | 3525 |
3377 Use the middle mouse button. | 3526 Use the middle mouse button. |
3378 | 3527 |
3379 @node Q3.7.4, Q3.7.5, Q3.7.3, Customization | 3528 @node Q3.7.4, Q3.7.5, Q3.7.3, Customization |
3380 @section How can I get a list of buffers when I hit mouse button 3? | 3529 @unnumberedsubsec Q3.7.4: How can I get a list of buffers when I hit mouse button 3? |
3381 | 3530 |
3382 The following code will replace the default popup on button3: | 3531 The following code will replace the default popup on button3: |
3383 | 3532 |
3384 @lisp | 3533 @lisp |
3385 (global-set-key [button3] 'popup-buffer-menu) | 3534 (global-set-key [button3] 'popup-buffer-menu) |
3386 @end lisp | 3535 @end lisp |
3387 | 3536 |
3388 @node Q3.7.5, Q3.7.6, Q3.7.4, Customization | 3537 @node Q3.7.5, Q3.7.6, Q3.7.4, Customization |
3389 @section Why does cut-and-paste not work between XEmacs and a cmdtool? | 3538 @unnumberedsubsec Q3.7.5: Why does cut-and-paste not work between XEmacs and a cmdtool? |
3390 | 3539 |
3391 We don't know. It's a bug. There does seem to be a work-around, | 3540 We don't know. It's a bug. There does seem to be a work-around, |
3392 however. Try running xclipboard first. It appears to fix the problem | 3541 however. Try running xclipboard first. It appears to fix the problem |
3393 even if you exit it. (This should be mostly fixed in 19.13, but we | 3542 even if you exit it. (This should be mostly fixed in 19.13, but we |
3394 haven't yet verified that). | 3543 haven't yet verified that). |
3395 | 3544 |
3396 @node Q3.7.6, Q3.7.7, Q3.7.5, Customization | 3545 @node Q3.7.6, Q3.7.7, Q3.7.5, Customization |
3397 @section How I can set XEmacs up so that it pastes where the text cursor is? | 3546 @unnumberedsubsec Q3.7.6: How I can set XEmacs up so that it pastes where the text cursor is? |
3398 | 3547 |
3399 By default XEmacs pastes X selections where the mouse pointer is. How | 3548 By default XEmacs pastes X selections where the mouse pointer is. How |
3400 do I disable this? | 3549 do I disable this? |
3401 | 3550 |
3402 Examine the function @code{mouse-yank}, by typing @kbd{C-h f mouse-yank | 3551 Examine the function @code{mouse-yank}, by typing @kbd{C-h f mouse-yank |
3412 Select from the @code{Options} menu | 3561 Select from the @code{Options} menu |
3413 @code{Customize->Emacs->Editing->Mouse->Yank At Point...} or type | 3562 @code{Customize->Emacs->Editing->Mouse->Yank At Point...} or type |
3414 @kbd{M-x customize RET mouse RET}. | 3563 @kbd{M-x customize RET mouse RET}. |
3415 | 3564 |
3416 @node Q3.7.7, Q3.7.8, Q3.7.6, Customization | 3565 @node Q3.7.7, Q3.7.8, Q3.7.6, Customization |
3417 @section How do I select a rectangular region? | 3566 @unnumberedsubsec Q3.7.7: How do I select a rectangular region? |
3418 | 3567 |
3419 Just select the region normally, then use the rectangle commands (e.g. | 3568 Just select the region normally, then use the rectangle commands (e.g. |
3420 @code{kill-rectangle} on it. The region does not highlight as a | 3569 @code{kill-rectangle} on it. The region does not highlight as a |
3421 rectangle, but the commands work just fine. | 3570 rectangle, but the commands work just fine. |
3422 | 3571 |
3442 -- an interactive compiled Lisp function. | 3591 -- an interactive compiled Lisp function. |
3443 Like `mouse-track' but selects rectangles instead of regions. | 3592 Like `mouse-track' but selects rectangles instead of regions. |
3444 @end example | 3593 @end example |
3445 | 3594 |
3446 @node Q3.7.8, Q3.8.1, Q3.7.7, Customization | 3595 @node Q3.7.8, Q3.8.1, Q3.7.7, Customization |
3447 @section Why does @kbd{M-w} take so long? | 3596 @unnumberedsubsec Q3.7.8: Why does @kbd{M-w} take so long? |
3448 | 3597 |
3449 It actually doesn't. It leaves the region visible for a second so that | 3598 It actually doesn't. It leaves the region visible for a second so that |
3450 you can see what area is being yanked. If you start working, though, it | 3599 you can see what area is being yanked. If you start working, though, it |
3451 will immediately complete its operation. In other words, it will only | 3600 will immediately complete its operation. In other words, it will only |
3452 delay for a second if you let it. | 3601 delay for a second if you let it. |
3453 | 3602 |
3454 @node Q3.8.1, Q3.8.2, Q3.7.8, Customization | 3603 @node Q3.8.1, Q3.8.2, Q3.7.8, Customization |
3455 @section How do I get rid of the menu (or menubar)? | 3604 @unnumberedsec 3.8: The Menubar and Toolbar |
3605 @unnumberedsubsec Q3.8.1: How do I get rid of the menu (or menubar)? | |
3456 | 3606 |
3457 If you are running XEmacs 19.13 and earlier, add this command to your | 3607 If you are running XEmacs 19.13 and earlier, add this command to your |
3458 @file{.emacs}. | 3608 @file{.emacs}. |
3459 | 3609 |
3460 @lisp | 3610 @lisp |
3466 @lisp | 3616 @lisp |
3467 (set-specifier menubar-visible-p nil) | 3617 (set-specifier menubar-visible-p nil) |
3468 @end lisp | 3618 @end lisp |
3469 | 3619 |
3470 @node Q3.8.2, Q3.8.3, Q3.8.1, Customization | 3620 @node Q3.8.2, Q3.8.3, Q3.8.1, Customization |
3471 @section Can I customize the basic menubar? | 3621 @unnumberedsubsec Q3.8.2: Can I customize the basic menubar? |
3472 | 3622 |
3473 For an extensive menubar, add this line to your @file{.emacs}: | 3623 For an extensive menubar, add this line to your @file{.emacs}: |
3474 | 3624 |
3475 @lisp | 3625 @lisp |
3476 (load "big-menubar") | 3626 (load "big-menubar") |
3480 examples as any to start from. The file is located in | 3630 examples as any to start from. The file is located in |
3481 @file{lisp/packages/big-menubar.el} in the XEmacs installation | 3631 @file{lisp/packages/big-menubar.el} in the XEmacs installation |
3482 directory. | 3632 directory. |
3483 | 3633 |
3484 @node Q3.8.3, Q3.8.4, Q3.8.2, Customization | 3634 @node Q3.8.3, Q3.8.4, Q3.8.2, Customization |
3485 @section How do I control how many buffers are listed in the menu @code{Buffers List}? | 3635 @unnumberedsubsec Q3.8.3: How do I control how many buffers are listed in the menu @code{Buffers List}? |
3486 | 3636 |
3487 Add the following to your @file{.emacs} (suit to fit): | 3637 Add the following to your @file{.emacs} (suit to fit): |
3488 | 3638 |
3489 @lisp | 3639 @lisp |
3490 (setq buffers-menu-max-size 20) | 3640 (setq buffers-menu-max-size 20) |
3496 Select from the @code{Options} menu | 3646 Select from the @code{Options} menu |
3497 @code{Customize->Emacs->Environment->Menu->Buffers Menu->Max Size...} or | 3647 @code{Customize->Emacs->Environment->Menu->Buffers Menu->Max Size...} or |
3498 type @kbd{M-x customize RET buffers-menu RET}. | 3648 type @kbd{M-x customize RET buffers-menu RET}. |
3499 | 3649 |
3500 @node Q3.8.4, Q3.8.5, Q3.8.3, Customization | 3650 @node Q3.8.4, Q3.8.5, Q3.8.3, Customization |
3501 @section Resources like @code{Emacs*menubar*font} are not working? | 3651 @unnumberedsubsec Q3.8.4: Resources like @code{Emacs*menubar*font} are not working? |
3502 | 3652 |
3503 I am trying to use a resource like @code{Emacs*menubar*font} to set the | 3653 I am trying to use a resource like @code{Emacs*menubar*font} to set the |
3504 font of the menubar but it's not working. | 3654 font of the menubar but it's not working. |
3505 | 3655 |
3506 If you are using the real Motif menubar, this resource is not | 3656 If you are using the real Motif menubar, this resource is not |
3525 @end example | 3675 @end example |
3526 | 3676 |
3527 even though the latter is more specific. | 3677 even though the latter is more specific. |
3528 | 3678 |
3529 @node Q3.8.5, Q3.9.1, Q3.8.4, Customization | 3679 @node Q3.8.5, Q3.9.1, Q3.8.4, Customization |
3530 @section How can I bind a key to a function to toggle the toolbar? | 3680 @unnumberedsubsec Q3.8.5: How can I bind a key to a function to toggle the toolbar? |
3531 | 3681 |
3532 Try something like: | 3682 Try something like: |
3533 | 3683 |
3534 @lisp | 3684 @lisp |
3535 (defun my-toggle-toolbar () | 3685 (defun my-toggle-toolbar () |
3542 There are redisplay bugs in 19.14 that may make the preceding result in | 3692 There are redisplay bugs in 19.14 that may make the preceding result in |
3543 a messed-up display, especially for frames with multiple windows. You | 3693 a messed-up display, especially for frames with multiple windows. You |
3544 may need to resize the frame before XEmacs completely realizes the | 3694 may need to resize the frame before XEmacs completely realizes the |
3545 toolbar is really gone. | 3695 toolbar is really gone. |
3546 | 3696 |
3547 Thanks to Martin Buchholz <martin@@xemacs.org> for the correct | 3697 Thanks to @email{martin@@xemacs.org, Martin Buchholz} for the correct |
3548 code. | 3698 code. |
3549 | 3699 |
3550 @node Q3.9.1, Q3.9.2, Q3.8.5, Customization | 3700 @node Q3.9.1, Q3.9.2, Q3.8.5, Customization |
3551 @section How can I disable the scrollbar? | 3701 @unnumberedsec 3.9: Scrollbars |
3702 @unnumberedsubsec Q3.9.1: How can I disable the scrollbar? | |
3552 | 3703 |
3553 To disable them for all frames, add the following line to | 3704 To disable them for all frames, add the following line to |
3554 your @file{.Xdefaults}: | 3705 your @file{.Xdefaults}: |
3555 | 3706 |
3556 @example | 3707 @example |
3557 Emacs.scrollBarWidth: 0 | 3708 Emacs.scrollBarWidth: 0 |
3558 @end example | 3709 @end example |
3559 | 3710 |
3560 Or select from the @code{Options} menu @code{Frame Appearance->Scrollbars}. | 3711 Or select from the @code{Options} menu @code{Frame Appearance->Scrolbars}. |
3561 Remember to save options. | 3712 Remember to save options. |
3562 | 3713 |
3563 To turn the scrollbar off on a per-frame basis, use the following | 3714 To turn the scrollbar off on a per-frame basis, use the following |
3564 function: | 3715 function: |
3565 | 3716 |
3580 @lisp | 3731 @lisp |
3581 (set-specifier scrollbar-width (cons (selected-frame) 0)) | 3732 (set-specifier scrollbar-width (cons (selected-frame) 0)) |
3582 @end lisp | 3733 @end lisp |
3583 | 3734 |
3584 @node Q3.9.2, Q3.9.3, Q3.9.1, Customization | 3735 @node Q3.9.2, Q3.9.3, Q3.9.1, Customization |
3585 @section How can one use resources to change scrollbar colors? | 3736 @unnumberedsubsec Q3.9.2: How can one use resources to change scrollbar colors? |
3586 | 3737 |
3587 Here's a recap of how to use resources to change your scrollbar colors: | 3738 Here's a recap of how to use resources to change your scrollbar colors: |
3588 | 3739 |
3589 @example | 3740 @example |
3590 ! Motif scrollbars | 3741 ! Motif scrollbars |
3599 @end example | 3750 @end example |
3600 | 3751 |
3601 Note the capitalization of @code{Scrollbar} for the Athena widget. | 3752 Note the capitalization of @code{Scrollbar} for the Athena widget. |
3602 | 3753 |
3603 @node Q3.9.3, Q3.9.4, Q3.9.2, Customization | 3754 @node Q3.9.3, Q3.9.4, Q3.9.2, Customization |
3604 @section Moving the scrollbar can move the point; can I disable this? | 3755 @unnumberedsubsec Q3.9.3: Moving the scrollbar can move the point; can I disable this? |
3605 | 3756 |
3606 When I move the scrollbar in an XEmacs window, it moves the point as | 3757 When I move the scrollbar in an XEmacs window, it moves the point as |
3607 well, which should not be the default behavior. Is this a bug or a | 3758 well, which should not be the default behavior. Is this a bug or a |
3608 feature? Can I disable it? | 3759 feature? Can I disable it? |
3609 | 3760 |
3613 hand corner. | 3764 hand corner. |
3614 | 3765 |
3615 This cannot be changed. | 3766 This cannot be changed. |
3616 | 3767 |
3617 @node Q3.9.4, Q3.10.1, Q3.9.3, Customization | 3768 @node Q3.9.4, Q3.10.1, Q3.9.3, Customization |
3618 @section How can I get automatic horizontal scrolling? | 3769 @unnumberedsubsec Q3.9.4: How can I get automatic horizontal scrolling? |
3619 | 3770 |
3620 By the same token, how can I turn it off in specific modes? | 3771 By the same token, how can I turn it off in specific modes? |
3621 | 3772 |
3622 To do this, add to your @file{.emacs} file: | 3773 To do this, add to your @file{.emacs} file: |
3623 | 3774 |
3641 the package specifically asked for them. | 3792 the package specifically asked for them. |
3642 | 3793 |
3643 Automatic horizontal scrolling is now standard, starting with 19.14. | 3794 Automatic horizontal scrolling is now standard, starting with 19.14. |
3644 | 3795 |
3645 @node Q3.10.1, Q3.10.2, Q3.9.4, Customization | 3796 @node Q3.10.1, Q3.10.2, Q3.9.4, Customization |
3646 @section How can I turn off or change highlighted selections? | 3797 @unnumberedsec Text Selections |
3798 @unnumberedsubsec Q3.10.1: How can I turn off or change highlighted selections? | |
3647 | 3799 |
3648 The @code{zmacs} mode allows for what some might call gratuitous | 3800 The @code{zmacs} mode allows for what some might call gratuitous |
3649 highlighting for selected regions (either by setting mark or by using | 3801 highlighting for selected regions (either by setting mark or by using |
3650 the mouse). This is the default behavior. To turn off, add the | 3802 the mouse). This is the default behavior. To turn off, add the |
3651 following line to your @file{.emacs} file: | 3803 following line to your @file{.emacs} file: |
3660 | 3812 |
3661 To change the face for selection, look at @code{Options->Customize} on | 3813 To change the face for selection, look at @code{Options->Customize} on |
3662 the menubar. | 3814 the menubar. |
3663 | 3815 |
3664 @node Q3.10.2, Q3.10.3, Q3.10.1, Customization | 3816 @node Q3.10.2, Q3.10.3, Q3.10.1, Customization |
3665 @section How do I get that typing on an active region removes it? | 3817 @unnumberedsubsec Q3.10.2: How do I get that typing on an active region removes it? |
3666 | 3818 |
3667 I want to change things so that if I select some text and start typing, | 3819 I want to change things so that if I select some text and start typing, |
3668 the typed text replaces the selected text, similar to Motif. | 3820 the typed text replaces the selected text, similar to Motif. |
3669 | 3821 |
3670 You want to use something called @dfn{pending delete}. Pending delete | 3822 You want to use something called @dfn{pending delete}. Pending delete |
3679 @end lisp | 3831 @end lisp |
3680 | 3832 |
3681 Note that this will work with both Backspace and Delete. | 3833 Note that this will work with both Backspace and Delete. |
3682 | 3834 |
3683 @node Q3.10.3, Q3.10.4, Q3.10.2, Customization | 3835 @node Q3.10.3, Q3.10.4, Q3.10.2, Customization |
3684 @section Can I turn off the highlight during isearch? | 3836 @unnumberedsubsec Q3.10.3: Can I turn off the highlight during isearch? |
3685 | 3837 |
3686 I do not like my text highlighted while I am doing isearch as I am not | 3838 I do not like my text highlighted while I am doing isearch as I am not |
3687 able to see what's underneath. How do I turn it off? | 3839 able to see what's underneath. How do I turn it off? |
3688 | 3840 |
3689 Put the following in your @file{.emacs}: | 3841 Put the following in your @file{.emacs}: |
3698 Note also that isearch-highlight affects query-replace and ispell. | 3850 Note also that isearch-highlight affects query-replace and ispell. |
3699 Instead of disabling isearch-highlight you may find that a better | 3851 Instead of disabling isearch-highlight you may find that a better |
3700 solution consists of customizing the @code{isearch} face. | 3852 solution consists of customizing the @code{isearch} face. |
3701 | 3853 |
3702 @node Q3.10.4, Q3.10.5, Q3.10.3, Customization | 3854 @node Q3.10.4, Q3.10.5, Q3.10.3, Customization |
3703 @section How do I turn off highlighting after @kbd{C-x C-p} (mark-page)? | 3855 @unnumberedsubsec Q3.10.4: How do I turn off highlighting after @kbd{C-x C-p} (mark-page)? |
3704 | 3856 |
3705 Put this in your @code{.emacs}: | 3857 Put this in your @code{.emacs}: |
3706 | 3858 |
3707 @lisp | 3859 @lisp |
3708 (setq zmacs-regions nil) | 3860 (setq zmacs-regions nil) |
3711 @strong{Warning: This command turns off all region highlighting.} | 3863 @strong{Warning: This command turns off all region highlighting.} |
3712 | 3864 |
3713 Also @xref{Q3.10.1}. | 3865 Also @xref{Q3.10.1}. |
3714 | 3866 |
3715 @node Q3.10.5, , Q3.10.4, Customization | 3867 @node Q3.10.5, , Q3.10.4, Customization |
3716 @section The region disappears when I hit the end of buffer while scrolling. | 3868 @unnumberedsubsec Q3.10.5: The region disappears when I hit the end of buffer while scrolling. |
3717 | 3869 |
3718 This has been fixed by default starting with XEmacs-20.3. | 3870 This has been fixed by default starting with XEmacs-20.3. |
3719 | 3871 |
3720 With older versions you can turn this feature (if it indeed is a feature) | 3872 With older versions you can turn this feature (if it indeed is a feature) |
3721 off like this: | 3873 off like this: |
3738 ad-do-it | 3890 ad-do-it |
3739 (beginning-of-buffer (goto-char (point-min)))) | 3891 (beginning-of-buffer (goto-char (point-min)))) |
3740 ad-do-it))) | 3892 ad-do-it))) |
3741 @end lisp | 3893 @end lisp |
3742 | 3894 |
3743 Thanks to T. V. Raman <raman@@adobe.com> for assistance in deriving this | 3895 Thanks to @email{raman@@adobe.com, T. V. Raman} for assistance in deriving this |
3744 answer. | 3896 answer. |
3745 | 3897 |
3746 @node Subsystems, Miscellaneous, Customization, Top | 3898 @node Subsystems, Miscellaneous, Customization, Top |
3747 @chapter Major Subsystems | 3899 @unnumbered 4 Major Subsystems |
3748 | 3900 |
3749 This is part 4 of the XEmacs Frequently Asked Questions list. This | 3901 This is part 4 of the XEmacs Frequently Asked Questions list. This |
3750 section is devoted to major XEmacs subsystems. | 3902 section is devoted to major XEmacs subsystems. |
3751 | 3903 |
3752 @menu | 3904 @menu |
3768 * Q4.1.1:: What is W3? | 3920 * Q4.1.1:: What is W3? |
3769 * Q4.1.2:: How do I run W3 from behind a firewall? | 3921 * Q4.1.2:: How do I run W3 from behind a firewall? |
3770 * Q4.1.3:: Is it true that W3 supports style sheets and tables? | 3922 * Q4.1.3:: Is it true that W3 supports style sheets and tables? |
3771 | 3923 |
3772 Reading Netnews and Mail with Gnus: | 3924 Reading Netnews and Mail with Gnus: |
3773 * Q4.2.1:: GNUS, (ding) Gnus, Gnus 5, September Gnus, Red Gnus,argh! | 3925 * Q4.2.1:: GNUS, (ding) Gnus, Gnus 5, September Gnus, Red Gnus,argh! |
3774 * Q4.2.2:: [This question intentionally left blank] | 3926 * Q4.2.2:: [This question intentionally left blank] |
3775 * Q4.2.3:: How do I make Gnus stay within a single frame? | 3927 * Q4.2.3:: How do I make Gnus stay within a single frame? |
3776 * Q4.2.4:: How do I customize the From: line? | 3928 * Q4.2.4:: How do I customize the From: line? |
3777 | 3929 |
3778 Other Mail & News: | 3930 Other Mail & News: |
3781 * Q4.3.3:: Why isn't this @code{movemail} program working? | 3933 * Q4.3.3:: Why isn't this @code{movemail} program working? |
3782 * Q4.3.4:: Movemail is also distributed by Netscape? Can that cause problems? | 3934 * Q4.3.4:: Movemail is also distributed by Netscape? Can that cause problems? |
3783 * Q4.3.5:: Where do I find pstogif (required by tm)? | 3935 * Q4.3.5:: Where do I find pstogif (required by tm)? |
3784 | 3936 |
3785 Sparcworks, EOS, and WorkShop: | 3937 Sparcworks, EOS, and WorkShop: |
3786 * Q4.4.1:: What is SPARCworks, EOS, and WorkShop | 3938 * Q4.4.1:: What is SPARCworks, EOS, and WorkShop |
3787 | 3939 |
3788 Energize: | 3940 Energize: |
3789 * Q4.5.1:: What is/was Energize? | 3941 * Q4.5.1:: What is/was Energize? |
3790 | 3942 |
3791 Infodock: | 3943 Infodock: |
3798 * Q4.7.4:: Problems installing AUC TeX | 3950 * Q4.7.4:: Problems installing AUC TeX |
3799 * Q4.7.5:: Is there a reason for an Emacs package not to be included in XEmacs? | 3951 * Q4.7.5:: Is there a reason for an Emacs package not to be included in XEmacs? |
3800 @end menu | 3952 @end menu |
3801 | 3953 |
3802 @node Q4.0.1, Q4.0.2, Subsystems, Subsystems | 3954 @node Q4.0.1, Q4.0.2, Subsystems, Subsystems |
3803 @section How do I set up VM to retrieve mail from a remote site using POP? | 3955 @unnumberedsec Reading Mail with VM |
3956 @unnumberedsubsec Q4.0.1: How do I set up VM to retrieve mail from a remote site using POP? | |
3804 | 3957 |
3805 Use @code{vm-spool-files}, like this for example: | 3958 Use @code{vm-spool-files}, like this for example: |
3806 | 3959 |
3807 @lisp | 3960 @lisp |
3808 (setq vm-spool-files '("/var/spool/mail/wing" | 3961 (setq vm-spool-files '("/var/spool/mail/wing" |
3810 @end lisp | 3963 @end lisp |
3811 | 3964 |
3812 Of course substitute your actual password for MYPASS. | 3965 Of course substitute your actual password for MYPASS. |
3813 | 3966 |
3814 @node Q4.0.2, Q4.0.3, Q4.0.1, Subsystems | 3967 @node Q4.0.2, Q4.0.3, Q4.0.1, Subsystems |
3815 @section How do I get VM to filter mail for me? | 3968 @unnumberedsubsec Q4.0.2: How do I get VM to filter mail for me? |
3816 | 3969 |
3817 One possibility is to use procmail to split your mail before it gets to | 3970 One possibility is to use procmail to split your mail before it gets to |
3818 VM. I prefer this personally, since there are many strange and | 3971 VM. I prefer this personally, since there are many strange and |
3819 wonderful things one can do with procmail. Procmail may be found at | 3972 wonderful things one can do with procmail. Procmail may be found at |
3820 <URL:ftp://ftp.informatik.rwth-aachen.de/pub/packages/procmail/>. | 3973 @uref{ftp://ftp.informatik.rwth-aachen.de/pub/packages/procmail/}. |
3821 | 3974 |
3822 Also see the Mail Filtering FAQ at: | 3975 Also see the Mail Filtering FAQ at: |
3823 <URL:http://www.cis.ohio-state.edu/hypertext/faq/usenet/mail/filtering-faq/faq.html>. | 3976 @iftex |
3977 @* | |
3978 @end iftex | |
3979 @uref{http://www.cis.ohio-state.edu/hypertext/faq/usenet/mail/filtering-faq/faq.html}. | |
3824 | 3980 |
3825 @node Q4.0.3, Q4.0.4, Q4.0.2, Subsystems | 3981 @node Q4.0.3, Q4.0.4, Q4.0.2, Subsystems |
3826 @section How can I get VM to automatically check for new mail? | 3982 @unnumberedsubsec Q4.0.3: How can I get VM to automatically check for new mail? |
3827 | 3983 |
3828 John Turner <turner@@lanl.gov> writes: | 3984 @email{turner@@lanl.gov, John Turner} writes: |
3829 | 3985 |
3830 @quotation | 3986 @quotation |
3831 Use the following: | 3987 Use the following: |
3832 | 3988 |
3833 @lisp | 3989 @lisp |
3834 (setq vm-auto-get-new-mail 60) | 3990 (setq vm-auto-get-new-mail 60) |
3835 @end lisp | 3991 @end lisp |
3836 @end quotation | 3992 @end quotation |
3837 | 3993 |
3838 @node Q4.0.4, Q4.0.5, Q4.0.3, Subsystems | 3994 @node Q4.0.4, Q4.0.5, Q4.0.3, Subsystems |
3839 @section [This question intentionally left blank] | 3995 @unnumberedsubsec Q4.0.4: [This question intentionally left blank] |
3840 | 3996 |
3841 Obsolete question, left blank to avoid renumbering. | 3997 Obsolete question, left blank to avoid renumbering. |
3842 | 3998 |
3843 @node Q4.0.5, Q4.0.6, Q4.0.4, Subsystems | 3999 @node Q4.0.5, Q4.0.6, Q4.0.4, Subsystems |
3844 @section How do I get my outgoing mail archived? | 4000 @unnumberedsubsec Q4.0.5: How do I get my outgoing mail archived? |
3845 | 4001 |
3846 @lisp | 4002 @lisp |
3847 (setq mail-archive-file-name "~/outbox") | 4003 (setq mail-archive-file-name "~/outbox") |
3848 @end lisp | 4004 @end lisp |
3849 | 4005 |
3850 @node Q4.0.6, Q4.0.7, Q4.0.5, Subsystems | 4006 @node Q4.0.6, Q4.0.7, Q4.0.5, Subsystems |
3851 @section I have various addresses at which I receive mail. How can I tell VM to ignore them when doing a "reply-all"? | 4007 @unnumberedsubsec Q4.0.6: I have various addresses at which I receive mail. How can I tell VM to ignore them when doing a "reply-all"? |
3852 | 4008 |
3853 Set @code{vm-reply-ignored-addresses} to a list, like | 4009 Set @code{vm-reply-ignored-addresses} to a list, like |
3854 | 4010 |
3855 @lisp | 4011 @lisp |
3856 (setq vm-reply-ignored-addresses '("wing@@netcom[0-9]*.netcom.com" | 4012 (setq vm-reply-ignored-addresses |
3857 "wing@@netcom.com" "wing@@666.com")) | 4013 '("wing@@nuspl@@nvwls.cc.purdue.edu,netcom[0-9]*.netcom.com" |
4014 "wing@@netcom.com" "wing@@666.com")) | |
3858 @end lisp | 4015 @end lisp |
3859 | 4016 |
3860 Note that each string is a regular expression. | 4017 Note that each string is a regular expression. |
3861 | 4018 |
3862 @node Q4.0.7, Q4.0.8, Q4.0.6, Subsystems | 4019 @node Q4.0.7, Q4.0.8, Q4.0.6, Subsystems |
3863 @section Is there a mailing list or FAQ for VM? | 4020 @unnumberedsubsec Q4.0.7: Is there a mailing list or FAQ for VM? |
3864 | 4021 |
3865 A FAQ for VM exists at <URL:http://www.cyberpass.net/~gorkab/vmfaq.htm>. | 4022 A FAQ for VM exists at @uref{http://www.cyberpass.net/~gorkab/vmfaq.htm}. |
3866 | 4023 |
3867 VM has its own newsgroups gnu.emacs.vm.info and gnu.emacs.vm.bug. | 4024 VM has its own newsgroups gnu.emacs.vm.info and gnu.emacs.vm.bug. |
3868 | 4025 |
3869 @node Q4.0.8, Q4.0.9, Q4.0.7, Subsystems | 4026 @node Q4.0.8, Q4.0.9, Q4.0.7, Subsystems |
3870 @section Remote mail reading with VM. | 4027 @unnumberedsubsec Q4.0.8: Remote mail reading with VM. |
3871 | 4028 |
3872 My mailbox lives at the office on a big honkin server. My regular INBOX | 4029 My mailbox lives at the office on a big honkin server. My regular INBOX |
3873 lives on my honkin desktop machine. I now can PPP to the office from | 4030 lives on my honkin desktop machine. I now can PPP to the office from |
3874 home which is far from honking... I'd like to be able to read mail at | 4031 home which is far from honking... I'd like to be able to read mail at |
3875 home without storing it here and I'd like to use xemacs and VM at | 4032 home without storing it here and I'd like to use xemacs and VM at |
3876 home... Is there a recommended setup? | 4033 home... Is there a recommended setup? |
3877 | 4034 |
3878 Joseph J. Nuspl Jr. <nuspl@@nvwls.cc.purdue.edu> writes: | 4035 @email{nuspl@@nvwls.cc.purdue.edu, Joseph J. Nuspl Jr.} writes: |
3879 | 4036 |
3880 @quotation | 4037 @quotation |
3881 There are several ways to do this. | 4038 There are several ways to do this. |
3882 | 4039 |
3883 @enumerate | 4040 @enumerate |
3894 Run a POP server on your desktop machine as well and do a sort of two | 4051 Run a POP server on your desktop machine as well and do a sort of two |
3895 tiered POP get. | 4052 tiered POP get. |
3896 @end enumerate | 4053 @end enumerate |
3897 @end quotation | 4054 @end quotation |
3898 | 4055 |
3899 William Perry <wmperry@@monolith.spry.com> adds: | 4056 @email{wmperry@@monolith.spry.com, William Perry} adds: |
3900 | 4057 |
3901 @quotation | 4058 @quotation |
3902 Or you could run a pop script periodically on your desktop machine, and | 4059 Or you could run a pop script periodically on your desktop machine, and |
3903 just use ange-ftp or NFS to get to your mailbox. I used to do this all | 4060 just use ange-ftp or NFS to get to your mailbox. I used to do this all |
3904 the time back at IU. | 4061 the time back at IU. |
3905 @end quotation | 4062 @end quotation |
3906 | 4063 |
3907 @node Q4.0.9, Q4.0.10, Q4.0.8, Subsystems | 4064 @node Q4.0.9, Q4.0.10, Q4.0.8, Subsystems |
3908 @section rmail or VM gets an error incorporating new mail. | 4065 @unnumberedsubsec Q4.0.9: rmail or VM gets an error incorporating new mail. |
3909 | 4066 |
3910 Quoting the XEmacs PROBLEMS file: | 4067 Quoting the XEmacs PROBLEMS file: |
3911 | 4068 |
3912 @quotation | 4069 @quotation |
3913 rmail and VM get new mail from @file{/usr/spool/mail/$USER} using a | 4070 rmail and VM get new mail from @file{/usr/spool/mail/$USER} using a |
3914 program called @code{movemail}. This program interlocks with | 4071 program called @code{movemail}. This program interlocks with |
3915 @code{/bin/mail} using the protocol defined by @code{/bin/mail}. | 4072 @code{/bin/mail} using the protocol defined by @code{/bin/mail}. |
3916 | 4073 |
3917 There are two different protocols in general use. One of them uses the | 4074 There are two different protocols in general use. One of them uses the |
3918 @code{flock} system call. The other involves creating a lock file; | 4075 @code{flock} system call. The other involves creating a lock file; |
3919 @code{movemail} must be able to write in @file{/usr/spool/mail} in order | 4076 @code{movemail} must be able to write in @file{/usr/spool/mail} in order |
3920 to do this. You control which one is used by defining, or not defining, | 4077 to do this. You control which one is used by defining, or not defining, |
3921 the macro @code{MAIL_USE_FLOCK} in @file{config.h} or the m- or s- file | 4078 the macro @code{MAIL_USE_FLOCK} in @file{config.h} or the m- or s- file |
3953 and mode of the installed copy; changing the group and mode of the build | 4110 and mode of the installed copy; changing the group and mode of the build |
3954 directory copy is ineffective. | 4111 directory copy is ineffective. |
3955 @end quotation | 4112 @end quotation |
3956 | 4113 |
3957 @node Q4.0.10, Q4.0.11, Q4.0.9, Subsystems | 4114 @node Q4.0.10, Q4.0.11, Q4.0.9, Subsystems |
3958 @section How do I make VM stay in a single frame? | 4115 @unnumberedsubsec Q4.0.10: How do I make VM stay in a single frame? |
3959 | 4116 |
3960 John S Cooper <John.Cooper@@Eng.Sun.COM> writes: | 4117 John.@email{Cooper@@Eng.Sun.COM, John S Cooper} writes: |
3961 | 4118 |
3962 @quotation | 4119 @quotation |
3963 @lisp | 4120 @lisp |
3964 ; Don't use multiple frames | 4121 ; Don't use multiple frames |
3965 (setq vm-frame-per-composition nil) | 4122 (setq vm-frame-per-composition nil) |
3966 (setq vm-frame-per-folder nil) | 4123 (setq vm-frame-per-folder nil) |
3967 (setq vm-frame-per-edit nil) | 4124 (setq vm-frame-per-edit nil) |
3968 (setq vm-frame-per-summary nil) | 4125 (setq vm-frame-per-summary nil) |
3969 @end lisp | 4126 @end lisp |
3970 @end quotation | 4127 @end quotation |
3971 | 4128 |
3972 @node Q4.0.11, Q4.0.12, Q4.0.10, Subsystems | 4129 @node Q4.0.11, Q4.0.12, Q4.0.10, Subsystems |
3973 @section How do I make VM or mh-e display graphical smilies? | 4130 @unnumberedsubsec Q4.0.11: How do I make VM or mh-e display graphical smilies? |
3974 | 4131 |
3975 For mh-e use the following: | 4132 For mh-e use the following: |
3976 | 4133 |
3977 @lisp | 4134 @lisp |
3978 (add-hook 'mh-show-mode-hook '(lambda () (smiley-region (point-min) | 4135 (add-hook 'mh-show-mode-hook '(lambda () |
3979 (point-max)))) | 4136 (smiley-region (point-min) |
4137 (point-max)))) | |
3980 @end lisp | 4138 @end lisp |
3981 | 4139 |
3982 For vm use the following: | 4140 For vm use the following: |
3983 @lisp | 4141 @lisp |
3984 (require 'messagexmas) | 4142 (require 'messagexmas) |
3985 (require 'smiley) | 4143 (require 'smiley) |
3986 (add-hook 'vm-select-message-hook '(lambda () (smiley-region (point-min) | 4144 (add-hook 'vm-select-message-hook |
3987 (point-max)))) | 4145 '(lambda () |
4146 (smiley-region (point-min) | |
4147 (point-max)))) | |
3988 @end lisp | 4148 @end lisp |
3989 | 4149 |
3990 For tm use the following: | 4150 For tm use the following: |
3991 @lisp | 4151 @lisp |
3992 (autoload 'smiley-buffer "smiley" nil t) | 4152 (autoload 'smiley-buffer "smiley" nil t) |
3993 (add-hook 'mime-viewer/plain-text-preview-hook 'smiley-buffer) | 4153 (add-hook 'mime-viewer/plain-text-preview-hook 'smiley-buffer) |
3994 @end lisp | 4154 @end lisp |
3995 | 4155 |
3996 @node Q4.0.12, Q4.1.1, Q4.0.11, Subsystems | 4156 @node Q4.0.12, Q4.1.1, Q4.0.11, Subsystems |
3997 @section Customization of VM not covered in the manual, or here. | 4157 @unnumberedsubsec Q4.0.12: Customization of VM not covered in the manual, or here. |
3998 | 4158 |
3999 giacomo boffi <boffi@@hp735.stru.polimi.it> writes: | 4159 @email{boffi@@hp735.stru.polimi.it, giacomo boffi} writes: |
4000 | 4160 |
4001 @quotation | 4161 @quotation |
4002 The meta-answer is to look into the file @file{vm-vars.el}, in the vm | 4162 The meta-answer is to look into the file @file{vm-vars.el}, in the vm |
4003 directory of the lisp library. | 4163 directory of the lisp library. |
4004 | 4164 |
4015 some keywords, maybe the first you conjure isn't appropriate, find the | 4175 some keywords, maybe the first you conjure isn't appropriate, find the |
4016 appropriate variables, copy and experiment. | 4176 appropriate variables, copy and experiment. |
4017 @end quotation | 4177 @end quotation |
4018 | 4178 |
4019 @node Q4.1.1, Q4.1.2, Q4.0.12, Subsystems | 4179 @node Q4.1.1, Q4.1.2, Q4.0.12, Subsystems |
4020 @section What is W3? | 4180 @unnumberedsec Web browsing with W3 |
4181 @unnumberedsubsec Q4.1.1: What is W3? | |
4021 | 4182 |
4022 W3 is an advanced graphical browser written in Emacs lisp that runs on | 4183 W3 is an advanced graphical browser written in Emacs lisp that runs on |
4023 XEmacs. It has full support for cascaded style sheets, and more... | 4184 XEmacs. It has full support for cascaded style sheets, and more... |
4024 | 4185 |
4025 It has a home web page at | 4186 It has a home web page at |
4026 <URL:http://www.cs.indiana.edu/elisp/w3/docs.html>. | 4187 @uref{http://www.cs.indiana.edu/elisp/w3/docs.html}. |
4027 | 4188 |
4028 @node Q4.1.2, Q4.1.3, Q4.1.1, Subsystems | 4189 @node Q4.1.2, Q4.1.3, Q4.1.1, Subsystems |
4029 @section How do I run W3 from behind a firewall? | 4190 @unnumberedsubsec Q4.1.2: How do I run W3 from behind a firewall? |
4030 | 4191 |
4031 There is a long, well-written, detailed section in the W3 manual that | 4192 There is a long, well-written, detailed section in the W3 manual that |
4032 describes how to do this. Look in the section entitled "Firewalls". | 4193 describes how to do this. Look in the section entitled "Firewalls". |
4033 | 4194 |
4034 @node Q4.1.3, Q4.2.1, Q4.1.2, Subsystems | 4195 @node Q4.1.3, Q4.2.1, Q4.1.2, Subsystems |
4035 @section Is it true that W3 supports style sheets and tables? | 4196 @unnumberedsubsec Q4.1.3: Is it true that W3 supports style sheets and tables? |
4036 | 4197 |
4037 Yes, and much more. W3, as distributed with the latest XEmacs is a | 4198 Yes, and much more. W3, as distributed with the latest XEmacs is a |
4038 full-featured web browser. | 4199 full-featured web browser. |
4039 | 4200 |
4040 @node Q4.2.1, Q4.2.2, Q4.1.3, Subsystems | 4201 @node Q4.2.1, Q4.2.2, Q4.1.3, Subsystems |
4041 @section GNUS, (ding) Gnus, Gnus 5, September Gnus, Red Gnus, Quassia Gnus, argh! | 4202 @unnumberedsec Reading Netnews and Mail with Gnus |
4203 @unnumberedsubsec Q4.2.1: GNUS, (ding) Gnus, Gnus 5, September Gnus, Red Gnus, Quassia Gnus, argh! | |
4042 | 4204 |
4043 The Gnus numbering issues are not meant for mere mortals to know them. | 4205 The Gnus numbering issues are not meant for mere mortals to know them. |
4044 If you feel you @emph{must} enter the muddy waters of Gnus, visit the | 4206 If you feel you @emph{must} enter the muddy waters of Gnus, visit the |
4045 excellent FAQ, maintained by Justin Sheehy, at: | 4207 excellent FAQ, maintained by Justin Sheehy, at: |
4046 | 4208 |
4047 @example | 4209 @example |
4048 <URL:http://www.ccs.neu.edu/software/gnus/> | 4210 @uref{http://www.ccs.neu.edu/software/gnus/} |
4049 @end example | 4211 @end example |
4050 | 4212 |
4051 See also Gnus home page | 4213 See also Gnus home page |
4052 @example | 4214 @example |
4053 <URL:http://www.gnus.org/> | 4215 @uref{http://www.gnus.org/} |
4054 @end example | 4216 @end example |
4055 | 4217 |
4056 @node Q4.2.2, Q4.2.3, Q4.2.1, Subsystems | 4218 @node Q4.2.2, Q4.2.3, Q4.2.1, Subsystems |
4057 @section This question intentionally left blank. | 4219 @unnumberedsubsec Q4.2.2: This question intentionally left blank. |
4058 | 4220 |
4059 Obsolete question, left blank to avoid renumbering. | 4221 Obsolete question, left blank to avoid renumbering. |
4060 | 4222 |
4061 @node Q4.2.3, Q4.2.4, Q4.2.2, Subsystems | 4223 @node Q4.2.3, Q4.2.4, Q4.2.2, Subsystems |
4062 @section How do I make Gnus stay within a single frame? | 4224 @unnumberedsubsec Q4.2.3: How do I make Gnus stay within a single frame? |
4063 | 4225 |
4064 The toolbar code to start Gnus opens the new frame---and it's a feature | 4226 The toolbar code to start Gnus opens the new frame---and it's a feature |
4065 rather than a bug. If you don't like it, but would still like to click | 4227 rather than a bug. If you don't like it, but would still like to click |
4066 on the seemly icon, use the following code: | 4228 on the seemly icon, use the following code: |
4067 | 4229 |
4072 | 4234 |
4073 It will redefine the callback function of the icon to just call | 4235 It will redefine the callback function of the icon to just call |
4074 @code{gnus}, without all the fancy frame stuff. | 4236 @code{gnus}, without all the fancy frame stuff. |
4075 | 4237 |
4076 @node Q4.2.4, Q4.3.1, Q4.2.3, Subsystems | 4238 @node Q4.2.4, Q4.3.1, Q4.2.3, Subsystems |
4077 @section How do I customize the From: line? | 4239 @unnumberedsubsec Q4.2.4: How do I customize the From: line? |
4078 | 4240 |
4079 How do I change the @code{From:} line? I have set gnus-user-from-line | 4241 How do I change the @code{From:} line? I have set gnus-user-from-line |
4080 to Gail Gurman <gail.gurman@@sybase.com>, but XEmacs Gnus doesn't use | 4242 to @example |
4081 it. Instead it uses Gail Mara Gurman <gailg@@deall> and then complains | 4243 Gail Gurman <gail.gurman@@sybase.com> |
4244 @end example | |
4245 @noindent , but XEmacs Gnus doesn't use | |
4246 it. Instead it uses @example | |
4247 Gail Mara Gurman @email{gailg@@deall} | |
4248 @end example | |
4249 @noindent and then complains | |
4082 that it's incorrect. Also, as you perhaps can see, my Message-ID is | 4250 that it's incorrect. Also, as you perhaps can see, my Message-ID is |
4083 screwy. How can I change that? | 4251 screwy. How can I change that? |
4084 | 4252 |
4085 Lars Magne Ingebrigtsen <larsi@@aegir.ifi.uio.no> writes: | 4253 @email{larsi@@ifi.uio.no, Lars Magne Ingebrigtsen} writes: |
4086 | 4254 |
4087 @quotation | 4255 @quotation |
4088 Set @code{user-mail-address} to @samp{gail.gurman@@sybase.com} or | 4256 Set @code{user-mail-address} to @samp{gail.gurman@@sybase.com} or |
4089 @code{mail-host-address} to @samp{sybase.com}. | 4257 @code{mail-host-address} to @samp{sybase.com}. |
4090 @end quotation | 4258 @end quotation |
4091 | 4259 |
4092 @node Q4.3.1, Q4.3.2, Q4.2.4, Subsystems | 4260 @node Q4.3.1, Q4.3.2, Q4.2.4, Subsystems |
4093 @section How can I read and/or compose MIME messages? | 4261 @unnumberedsec Other Mail & News |
4262 @unnumberedsubsec Q4.3.1: How can I read and/or compose MIME messages? | |
4094 | 4263 |
4095 One answer is @code{tra-vm-mime}. You may find it at | 4264 One answer is @code{tra-vm-mime}. You may find it at |
4096 <URL:http://lenkkari.cs.tut.fi/~tra/software/tra-vm-mime.el>. | 4265 @iftex |
4266 @* | |
4267 @end iftex | |
4268 @uref{http://lenkkari.cs.tut.fi/~tra/software/tra-vm-mime.el}. | |
4097 | 4269 |
4098 Another possibility is RMIME. You may find RMIME at | 4270 Another possibility is RMIME. You may find RMIME at |
4099 <URL:http://www.cinti.net/~rmoody/rmime/index.html>. | 4271 @iftex |
4272 @* | |
4273 @end iftex | |
4274 @uref{http://www.cinti.net/~rmoody/rmime/index.html}. | |
4100 | 4275 |
4101 You probably want to use the Tools for MIME (tm). @xref{Q4.3.2} for | 4276 You probably want to use the Tools for MIME (tm). @xref{Q4.3.2} for |
4102 details. | 4277 details. |
4103 | 4278 |
4104 Trey Jackson <trey@@cs.berkeley.edu> has an Emacs & MIME web page at | 4279 @email{trey@@cs.berkeley.edu, Trey Jackson} has an Emacs & MIME web page at |
4105 <URL:http://bmrc.berkeley.edu/~trey/emacs/mime.html>. | 4280 @iftex |
4281 @* | |
4282 @end iftex | |
4283 @uref{http://bmrc.berkeley.edu/~trey/emacs/mime.html}. | |
4106 | 4284 |
4107 @node Q4.3.2, Q4.3.3, Q4.3.1, Subsystems | 4285 @node Q4.3.2, Q4.3.3, Q4.3.1, Subsystems |
4108 @section What is TM and where do I get it? | 4286 @unnumberedsubsec Q4.3.2: What is TM and where do I get it? |
4109 | 4287 |
4110 TM stands for @dfn{Tools for MIME} and not Tiny MIME. TM integrates | 4288 TM stands for @dfn{Tools for MIME} and not Tiny MIME. TM integrates |
4111 with all major XEmacs packages like Gnus (all flavors), VM, MH-E, and | 4289 with all major XEmacs packages like Gnus (all flavors), VM, MH-E, and |
4112 mailcrypt. It provides totally transparent and trouble-free MIME | 4290 mailcrypt. It provides totally transparent and trouble-free MIME |
4113 support. When appropriate a message will be decoded in place in an | 4291 support. When appropriate a message will be decoded in place in an |
4114 XEmacs buffer. | 4292 XEmacs buffer. |
4115 | 4293 |
4116 TM now comes as a package with XEmacs 19.16 and XEmacs 20.2. | 4294 TM now comes as a package with XEmacs 19.16 and XEmacs 20.2. |
4117 | 4295 |
4118 TM was written by MORIOKA Tomohiko <morioka@@jaist.ac.jp> and KOBAYASHI | 4296 TM was written by @email{morioka@@jaist.ac.jp, MORIOKA Tomohiko} and |
4119 Shuhei <shuhei-k@@jaist.ac.jp>. It is based on the work of UMEDA | 4297 @email{shuhei-k@@jaist.ac.jp, KOBAYASHI |
4120 Masanobu <umerin@@mse.kyutech.ac.jp>, the original writer of GNUS. | 4298 Shuhei}. |
4299 | |
4300 It is based on the work of @email{umerin@@mse.kyutech.ac.jp, UMEDA | |
4301 Masanobu}, the original writer of GNUS. | |
4121 | 4302 |
4122 The following information is from the @file{README}: | 4303 The following information is from the @file{README}: |
4123 | 4304 |
4124 @dfn{tm} is a MIME package for GNU Emacs. | 4305 @dfn{tm} is a MIME package for GNU Emacs. |
4125 tm has following functions: | 4306 tm has following functions: |
4131 @item MIME extenders for mh-e, GNUS, RMAIL and VM. | 4312 @item MIME extenders for mh-e, GNUS, RMAIL and VM. |
4132 @end itemize | 4313 @end itemize |
4133 | 4314 |
4134 tm is available from following anonymous ftp sites: | 4315 tm is available from following anonymous ftp sites: |
4135 @itemize @bullet | 4316 @itemize @bullet |
4136 @item <URL:ftp://ftp.jaist.ac.jp/pub/GNU/elisp/mime/> (Japan). | 4317 @item @uref{ftp://ftp.jaist.ac.jp/pub/GNU/elisp/mime/} (Japan). |
4137 @item <URL:ftp://ftp.nis.co.jp/pub/gnu/emacs-lisp/tm/> (Japan). | 4318 @item @uref{ftp://ftp.nis.co.jp/pub/gnu/emacs-lisp/tm/} (Japan). |
4138 @item <URL:ftp://ftp.nisiq.net/pub/gnu/emacs-lisp/tm/> (US). | 4319 @item @uref{ftp://ftp.nisiq.net/pub/gnu/emacs-lisp/tm/} (US). |
4139 @item <URL:ftp://ftp.miranova.com/pub/gnus/jaist.ac.jp/> (US). | 4320 @item @uref{ftp://ftp.miranova.com/pub/gnus/jaist.ac.jp/} (US). |
4140 @item <URL:ftp://ftp.unicamp.br/pub/mail/mime/tm/> (Brasil). | 4321 @item @uref{ftp://ftp.unicamp.br/pub/mail/mime/tm/} (Brasil). |
4141 @item <URL:ftp://ftp.th-darmstadt.de/pub/editors/GNU-Emacs/lisp/mime/> (Germany). | 4322 @item @uref{ftp://ftp.th-darmstadt.de/pub/editors/GNU-Emacs/lisp/mime/} (Germany). |
4142 @item <URL:ftp://ftp.tnt.uni-hannover.de/pub/editors/xemacs/contrib/> (Germany). | 4323 @item @uref{ftp://ftp.tnt.uni-hannover.de/pub/editors/xemacs/contrib/} (Germany). |
4143 @end itemize | 4324 @end itemize |
4144 | 4325 |
4145 Don't let the installation procedure & instructions stop you from trying | 4326 Don't let the installation procedure & instructions stop you from trying |
4146 this package out---it's much simpler than it looks, and once installed, | 4327 this package out---it's much simpler than it looks, and once installed, |
4147 trivial to use. | 4328 trivial to use. |
4148 | 4329 |
4149 @node Q4.3.3, Q4.3.4, Q4.3.2, Subsystems | 4330 @node Q4.3.3, Q4.3.4, Q4.3.2, Subsystems |
4150 @section Why isn't this @code{movemail} program working? | 4331 @unnumberedsubsec Q4.3.3: Why isn't this @code{movemail} program working? |
4151 | 4332 |
4152 Ben Wing <ben@@666.com> writes: | 4333 Ben Wing @email{ben@@666.com} writes: |
4153 | 4334 |
4154 @quotation | 4335 @quotation |
4155 It wasn't chown'ed/chmod'd correctly. | 4336 It wasn't chown'ed/chmod'd correctly. |
4156 @end quotation | 4337 @end quotation |
4157 | 4338 |
4158 @node Q4.3.4, Q4.3.5, Q4.3.3, Subsystems | 4339 @node Q4.3.4, Q4.3.5, Q4.3.3, Subsystems |
4159 @section Movemail is also distributed by Netscape? Can that cause problems? | 4340 @unnumberedsubsec Q4.3.4: Movemail is also distributed by Netscape? Can that cause problems? |
4160 | 4341 |
4161 Steve Baur <steve@@altair.xemacs.org> writes: | 4342 @email{steve@@altair.xemacs.org, Steve Baur} writes: |
4162 | 4343 |
4163 @quotation | 4344 @quotation |
4164 Yes. Always use the movemail installed with your XEmacs. Failure to do | 4345 Yes. Always use the movemail installed with your XEmacs. Failure to do |
4165 so can result in lost mail. | 4346 so can result in lost mail. |
4166 @end quotation | 4347 @end quotation |
4167 | 4348 |
4168 Please refer to Jamie Zawinski's <jwz@@netscape.com> notes at | 4349 Please refer to @email{jwz@@netscape.com, Jamie Zawinski's} notes at |
4169 <URL:http://home.netscape.com/eng/mozilla/2.0/relnotes/demo/movemail.html>. | 4350 @iftex |
4351 @* | |
4352 @end iftex | |
4353 @uref{http://home.netscape.com/eng/mozilla/2.0/relnotes/demo/movemail.html}. | |
4170 In particular, this document will show you how to make Netscape use the | 4354 In particular, this document will show you how to make Netscape use the |
4171 version of movemail configured for your system by the person who built | 4355 version of movemail configured for your system by the person who built |
4172 XEmacs. | 4356 XEmacs. |
4173 | 4357 |
4174 @node Q4.3.5, Q4.4.1, Q4.3.4, Subsystems | 4358 @node Q4.3.5, Q4.4.1, Q4.3.4, Subsystems |
4175 @section Where do I find pstogif (required by tm)? | 4359 @unnumberedsubsec Q4.3.5: Where do I find pstogif (required by tm)? |
4176 | 4360 |
4177 pstogif is part of the latex2html package. | 4361 pstogif is part of the latex2html package. |
4178 | 4362 |
4179 Jan Vroonhof <vroonhof@@math.ethz.ch> writes: | 4363 @email{vroonhof@@math.ethz.ch, Jan Vroonhof} writes: |
4180 | 4364 |
4181 latex2html is best found at the CTAN hosts and their mirrors | 4365 latex2html is best found at the CTAN hosts and their mirrors |
4182 in @file{tex-archive/support/latex2html}. | 4366 in |
4367 @iftex | |
4368 @* | |
4369 @end iftex | |
4370 @file{tex-archive/support/latex2html}. | |
4183 | 4371 |
4184 CTAN hosts are: | 4372 CTAN hosts are: |
4185 | 4373 |
4186 @itemize @bullet | 4374 @itemize @bullet |
4187 @item <URL:ftp://ftp.tex.ac.uk/tex-archive/support/latex2html/>. | 4375 @item @uref{ftp://ftp.tex.ac.uk/tex-archive/support/latex2html/}. |
4188 @item <URL:ftp://ftp.dante.de/tex-archive/support/latex2html/>. | 4376 @item @uref{ftp://ftp.dante.de/tex-archive/support/latex2html/}. |
4189 @end itemize | 4377 @end itemize |
4190 | 4378 |
4191 There is a good mirror at ftp.cdrom.com; | 4379 There is a good mirror at ftp.cdrom.com; |
4192 <URL:ftp://ftp.cdrom.com/pub/tex/ctan/support/latex2html/>. | 4380 @iftex |
4381 @* | |
4382 @end iftex | |
4383 @uref{ftp://ftp.cdrom.com/pub/tex/ctan/support/latex2html/}. | |
4193 | 4384 |
4194 @node Q4.4.1, Q4.5.1, Q4.3.5, Subsystems | 4385 @node Q4.4.1, Q4.5.1, Q4.3.5, Subsystems |
4195 @section What is SPARCworks, EOS, and WorkShop? | 4386 @unnumberedsec Sparcworks, EOS, and WorkShop |
4196 | 4387 @unnumberedsubsec Q4.4.1: What is SPARCworks, EOS, and WorkShop? |
4197 John Turner <turner@@lanl.gov> writes: | 4388 |
4389 @email{turner@@lanl.gov, John Turner} writes: | |
4198 | 4390 |
4199 @quotation | 4391 @quotation |
4200 SPARCworks is SunSoft's development environment, comprising compilers | 4392 SPARCworks is SunSoft's development environment, comprising compilers |
4201 (C, C++, FORTRAN 77, Fortran 90, Ada, and Pascal), a debugger, and other | 4393 (C, C++, FORTRAN 77, Fortran 90, Ada, and Pascal), a debugger, and other |
4202 tools such as TeamWare (for configuration management), MakeTool, etc. | 4394 tools such as TeamWare (for configuration management), MakeTool, etc. |
4203 @end quotation | 4395 @end quotation |
4204 | 4396 |
4205 See <URL:http://www.sun.com/sunsoft/Developer-products/> | 4397 See @uref{http://www.sun.com/sunsoft/Developer-products/} |
4206 for more info. | 4398 for more info. |
4207 | 4399 |
4208 EOS stands for "Era on SPARCworks", but I don't know what Era stands | 4400 EOS stands for "Era on SPARCworks", but I don't know what Era stands |
4209 for. | 4401 for. |
4210 | 4402 |
4212 allows one to use an XEmacs frame to view code (complete with | 4404 allows one to use an XEmacs frame to view code (complete with |
4213 fontification, etc.), set breakpoints, print variables, etc., while | 4405 fontification, etc.), set breakpoints, print variables, etc., while |
4214 using the SPARCworks debugger. It works very well and I use it all the | 4406 using the SPARCworks debugger. It works very well and I use it all the |
4215 time. | 4407 time. |
4216 | 4408 |
4217 Chuck Thompson <cthomp@@xemacs.org> writes: | 4409 @email{cthomp@@xemacs.org, Chuck Thompson} writes: |
4218 | 4410 |
4219 @quotation | 4411 @quotation |
4220 Era stood for "Emacs Rewritten Again". It was what we were calling the | 4412 Era stood for "Emacs Rewritten Again". It was what we were calling the |
4221 modified version of Lucid Emacs for Sun when I was dragged, er, allowed | 4413 modified version of Lucid Emacs for Sun when I was dragged, er, allowed |
4222 to work on this wonderful editor. | 4414 to work on this wonderful editor. |
4223 @end quotation | 4415 @end quotation |
4224 | 4416 |
4225 Martin Buchholz <martin@@xemacs.org> writes: | 4417 @email{martin@@xemacs.org, Martin Buchholz} writes: |
4226 | 4418 |
4227 @quotation | 4419 @quotation |
4228 EOS is being replaced with a new graphical development environment | 4420 EOS is being replaced with a new graphical development environment |
4229 called Sun WorkShop, which is currently (07/96) in Alpha Test. For more | 4421 called Sun WorkShop, which is currently (07/96) in Alpha Test. For more |
4230 details, check out | 4422 details, check out |
4231 <URL:http://www.sun.com/sunsoft/Products/Developer-products/programs.html>. | 4423 @iftex |
4424 @* | |
4425 @end iftex | |
4426 @uref{http://www.sun.com/sunsoft/Products/Developer-products/programs.html}. | |
4232 @end quotation | 4427 @end quotation |
4233 | 4428 |
4234 @node Q4.5.1, Q4.6.1, Q4.4.1, Subsystems | 4429 @node Q4.5.1, Q4.6.1, Q4.4.1, Subsystems |
4235 @section What is/was Energize? | 4430 @unnumberedsec Energize |
4236 | 4431 @unnumberedsubsec Q4.5.1: What is/was Energize? |
4237 David N Gray <gray@@meteor.harlequin.com> writes: | 4432 |
4433 @email{gray@@meteor.harlequin.com, David N Gray} writes: | |
4238 @quotation | 4434 @quotation |
4239 The files in @file{lisp/energize} are to enable Emacs to interface with | 4435 The files in @file{lisp/energize} are to enable Emacs to interface with |
4240 the "Energize Programming System", a C and C++ development environment, | 4436 the "Energize Programming System", a C and C++ development environment, |
4241 which was a product of Lucid, Inc. Tragically, Lucid went out of | 4437 which was a product of Lucid, Inc. Tragically, Lucid went out of |
4242 business in 1994, so although Energize is still a great system, if you | 4438 business in 1994, so although Energize is still a great system, if you |
4245 Tartan bought the rights to sell it in the rest of the world, but never | 4441 Tartan bought the rights to sell it in the rest of the world, but never |
4246 did so.) | 4442 did so.) |
4247 @end quotation | 4443 @end quotation |
4248 | 4444 |
4249 @node Q4.6.1, Q4.7.1, Q4.5.1, Subsystems | 4445 @node Q4.6.1, Q4.7.1, Q4.5.1, Subsystems |
4250 @section What is Infodock? | 4446 @unnumberedsec Infodock |
4447 @unnumberedsubsec Q4.6.1: What is Infodock? | |
4251 | 4448 |
4252 InfoDock is an integrated productivity toolset, mainly aimed at | 4449 InfoDock is an integrated productivity toolset, mainly aimed at |
4253 technical people. It is developed and supported by InfoDock | 4450 technical people. It is developed and supported by InfoDock |
4254 Associates, a firm that offers custom support and development | 4451 Associates, a firm that offers custom support and development |
4255 for InfoDock, XEmacs and GNU Emacs. (http://www.infodock.com, | 4452 for InfoDock, XEmacs and GNU Emacs. ( @uref{http://www.infodock.com}, |
4256 <info@@infodock.com>, +1 408 243 3300). | 4453 @email{info@@infodock.com}, +1 408 243 3300). |
4257 | 4454 |
4258 InfoDock is built atop the XEmacs variant of GNU Emacs and so has all of | 4455 InfoDock is built atop the XEmacs variant of GNU Emacs and so has all of |
4259 the power of Emacs, but with an easier to use and more comprehensive | 4456 the power of Emacs, but with an easier to use and more comprehensive |
4260 menu-based user interface. The bottom portion of this text describes | 4457 menu-based user interface. The bottom portion of this text describes |
4261 how it differs from XEmacs and GNU Emacs from the Free Software | 4458 how it differs from XEmacs and GNU Emacs from the Free Software |
4281 Emacs Manual. | 4478 Emacs Manual. |
4282 | 4479 |
4283 InfoDock menus are much more extensive and more mature than standard | 4480 InfoDock menus are much more extensive and more mature than standard |
4284 Emacs menus. Each menu offers a @samp{Manual} item which displays | 4481 Emacs menus. Each menu offers a @samp{Manual} item which displays |
4285 documentation associated with the menu's functions. | 4482 documentation associated with the menu's functions. |
4286 | 4483 |
4287 @noindent | 4484 @noindent |
4288 Four types of menubars are provided: | 4485 Four types of menubars are provided: |
4289 @enumerate | 4486 @enumerate |
4290 @item | 4487 @item |
4291 An extensive menubar providing access to global InfoDock commands. | 4488 An extensive menubar providing access to global InfoDock commands. |
4333 Extensions and improvements to many areas of Emacs are included, such as: | 4530 Extensions and improvements to many areas of Emacs are included, such as: |
4334 paragraph filling, mail reading with Rmail, shell handling, outlining, code | 4531 paragraph filling, mail reading with Rmail, shell handling, outlining, code |
4335 highlighting and browsing, and man page browsing. | 4532 highlighting and browsing, and man page browsing. |
4336 | 4533 |
4337 InfoDock questions, answers and discussion should go to the mail list | 4534 InfoDock questions, answers and discussion should go to the mail list |
4338 @samp{infodock@@infodock.com}. Use | 4535 @iftex |
4339 @samp{infodock-request@@infodock.com} to be added or removed from the | 4536 @* |
4537 @end iftex | |
4538 @email{infodock@@infodock.com}. Use | |
4539 @email{infodock-request@@infodock.com} to be added or removed from the | |
4340 list. Always include your InfoDock version number when sending help | 4540 list. Always include your InfoDock version number when sending help |
4341 requests. | 4541 requests. |
4342 | 4542 |
4343 InfoDock is available across the Internet via anonymous FTP. To get | 4543 InfoDock is available across the Internet via anonymous FTP. To get |
4344 it, first move to a directory into which you want the InfoDock archive | 4544 it, first move to a directory into which you want the InfoDock archive |
4345 files placed. We will call this <DIST-DIR>. | 4545 files placed. We will call this <DIST-DIR>. |
4346 | 4546 |
4347 @example | 4547 @example |
4348 cd <DIST-DIR> | 4548 cd <DIST-DIR> |
4349 @end example | 4549 @end example |
4350 | 4550 |
4351 Ftp to ftp.xemacs.org (Internet Host ID = 128.174.252.16): | 4551 Ftp to ftp.xemacs.org (Internet Host ID = 128.174.252.16): |
4354 prompt> ftp ftp.xemacs.org | 4554 prompt> ftp ftp.xemacs.org |
4355 @end example | 4555 @end example |
4356 | 4556 |
4357 Login as @samp{anonymous} with your own <user-id>@@<site-name> as a password. | 4557 Login as @samp{anonymous} with your own <user-id>@@<site-name> as a password. |
4358 | 4558 |
4359 @example | 4559 @example |
4360 Name (ftp.xemacs.org): anonymous | 4560 Name (ftp.xemacs.org): anonymous |
4361 331 Guest login ok, send your complete e-mail address as password. | 4561 331 Guest login ok, send your complete e-mail address as password. |
4362 Password: -<your-user-id@@your-domain> | 4562 Password: -<your-user-id>@@<your-domain> |
4363 230 Guest login ok, access restrictions apply. | 4563 230 Guest login ok, access restrictions apply. |
4364 @end example | 4564 @end example |
4365 | 4565 |
4366 Move to the location of the InfoDock archives: | 4566 Move to the location of the InfoDock archives: |
4367 | 4567 |
4401 | 4601 |
4402 Read the @file{ID-INSTALL} file which you just retrieved for | 4602 Read the @file{ID-INSTALL} file which you just retrieved for |
4403 step-by-step installation instructions. | 4603 step-by-step installation instructions. |
4404 | 4604 |
4405 @node Q4.7.1, Q4.7.2, Q4.6.1, Subsystems | 4605 @node Q4.7.1, Q4.7.2, Q4.6.1, Subsystems |
4406 @section What is AUC TeX? Where do you get it? | 4606 @unnumberedsec Other Unbundled Packages |
4407 | 4607 @unnumberedsubsec Q4.7.1: What is AUC TeX? Where do you get it? |
4408 AUC TeX is a package written by Per Abrahamsen <abraham@@dina.kvl.dk>. | 4608 |
4609 AUC TeX is a package written by @email{abraham@@dina.kvl.dk, Per Abrahamsen}. | |
4409 Starting with XEmacs 19.16, AUC TeX is bundled with XEmacs. The | 4610 Starting with XEmacs 19.16, AUC TeX is bundled with XEmacs. The |
4410 following information is from the @file{README} and website. | 4611 following information is from the @file{README} and website. |
4411 | 4612 |
4412 AUC TeX is an extensible package that supports writing and formatting | 4613 AUC TeX is an extensible package that supports writing and formatting |
4413 TeX files for most variants of GNU Emacs. Many different macro packages | 4614 TeX files for most variants of GNU Emacs. Many different macro packages |
4414 are supported, including AMS TeX, LaTeX, and TeXinfo. | 4615 are supported, including AMS TeX, LaTeX, and TeXinfo. |
4415 | 4616 |
4416 The most recent version is always available by ftp at | 4617 The most recent version is always available by ftp at |
4417 <URL:ftp://sunsite.auc.dk/packages/auctex/auctex.tar.gz>. | 4618 @iftex |
4619 @* | |
4620 @end iftex | |
4621 @uref{ftp://sunsite.auc.dk/packages/auctex/auctex.tar.gz}. | |
4418 | 4622 |
4419 In case you don't have access to anonymous ftp, you can get it by an | 4623 In case you don't have access to anonymous ftp, you can get it by an |
4420 email request to <URL:mailto:ftpmail@@decwrl.dec.com>. | 4624 email request to @email{ftpmail@@decwrl.dec.com}. |
4421 | 4625 |
4422 WWW users may want to check out the AUC TeX page at | 4626 WWW users may want to check out the AUC TeX page at |
4423 <URL:http://sunsite.auc.dk/auctex/>. | 4627 @iftex |
4628 @* | |
4629 @end iftex | |
4630 @uref{http://sunsite.auc.dk/auctex/}. | |
4424 | 4631 |
4425 @node Q4.7.2, Q4.7.3, Q4.7.1, Subsystems | 4632 @node Q4.7.2, Q4.7.3, Q4.7.1, Subsystems |
4426 @section Are there any Emacs Lisp Spreadsheets? | 4633 @unnumberedsubsec Q4.7.2: Are there any Emacs Lisp Spreadsheets? |
4427 | 4634 |
4428 Yes. Check out @dfn{dismal} (which stands for Dis' Mode Ain't Lotus) at | 4635 Yes. Check out @dfn{dismal} (which stands for Dis' Mode Ain't Lotus) at |
4429 <URL:ftp://cs.nyu.edu/pub/local/fox/dismal/>. | 4636 @iftex |
4637 @* | |
4638 @end iftex | |
4639 @uref{ftp://cs.nyu.edu/pub/local/fox/dismal/}. | |
4430 | 4640 |
4431 @node Q4.7.3, Q4.7.4, Q4.7.2, Subsystems | 4641 @node Q4.7.3, Q4.7.4, Q4.7.2, Subsystems |
4432 @section Byte compiling AUC TeX on XEmacs 19.14. | 4642 @unnumberedsubsec Q4.7.3: Byte compiling AUC TeX on XEmacs 19.14. |
4433 | 4643 |
4434 Georges Brun-Cottan <bruncott@@dormeur.inria.fr> writes: | 4644 @email{bruncott@@dormeur.inria.fr, Georges Brun-Cottan} writes: |
4435 | 4645 |
4436 @quotation | 4646 @quotation |
4437 When byte compiling auctex-9.4g, you must use the command: | 4647 When byte compiling auxtex-9.4g, you must use the command: |
4438 | 4648 |
4439 @example | 4649 @example |
4440 xemacs -batch -l lpath.el | 4650 xemacs -batch -l lpath.el |
4441 @end example | 4651 @end example |
4442 @end quotation | 4652 @end quotation |
4443 | 4653 |
4444 @node Q4.7.4, Q4.7.5, Q4.7.3, Subsystems | 4654 @node Q4.7.4, Q4.7.5, Q4.7.3, Subsystems |
4445 @section Problems installing AUC TeX. | 4655 @unnumberedsubsec Q4.7.4: Problems installing AUC TeX. |
4446 | 4656 |
4447 Jan Vroonhof <vroonhof@@math.ethz.ch> writes: | 4657 @email{vroonhof@@math.ethz.ch, Jan Vroonhof} writes: |
4448 | 4658 |
4449 @quotation | 4659 @quotation |
4450 AUC TeX works fine on both stock Emacs and XEmacs has been doing so for | 4660 AUC TeX works fine on both stock Emacs and XEmacs has been doing so for |
4451 a very very long time. This is mostly due to the work of Per Abrahamsen | 4661 a very very long time. This is mostly due to the work of |
4452 <abraham@@dina.kvl.dk> (clap clap) in particular his @file{easymenu} | 4662 @email{abraham@@dina.kvl.dk, Per Abrahamsen} (clap clap) in particular his @file{easymenu} |
4453 package. Which leads to what is probably the problem... | 4663 package. Which leads to what is probably the problem... |
4454 @end quotation | 4664 @end quotation |
4455 | 4665 |
4456 Most problems with AUC TeX are one of two things: | 4666 Most problems with AUC TeX are one of two things: |
4457 | 4667 |
4469 @strong{only} finds the one that came with XEmacs. | 4679 @strong{only} finds the one that came with XEmacs. |
4470 @end itemize | 4680 @end itemize |
4471 | 4681 |
4472 | 4682 |
4473 @node Q4.7.5, , Q4.7.4, Subsystems | 4683 @node Q4.7.5, , Q4.7.4, Subsystems |
4474 @section Is there a reason for an Emacs package not to be included in XEmacs? | 4684 @unnumberedsubsec Q4.7.5: Is there a reason for an Emacs package not to be included in XEmacs? |
4475 | 4685 |
4476 The reason for an Emacs package not to be included in XEmacs is | 4686 The reason for an Emacs package not to be included in XEmacs is |
4477 usually one or more of the following: | 4687 usually one or more of the following: |
4478 | 4688 |
4479 @enumerate | 4689 @enumerate |
4508 even better, offer your help. It will be gladly accepted and | 4718 even better, offer your help. It will be gladly accepted and |
4509 appreciated. | 4719 appreciated. |
4510 @end enumerate | 4720 @end enumerate |
4511 | 4721 |
4512 @node Miscellaneous, Current Events, Subsystems, Top | 4722 @node Miscellaneous, Current Events, Subsystems, Top |
4513 @chapter The Miscellaneous Stuff | 4723 @unnumbered 5 The Miscellaneous Stuff |
4514 | 4724 |
4515 This is part 5 of the XEmacs Frequently Asked Questions list. This | 4725 This is part 5 of the XEmacs Frequently Asked Questions list. This |
4516 section is devoted to anything that doesn't fit neatly into the other | 4726 section is devoted to anything that doesn't fit neatly into the other |
4517 sections. | 4727 sections. |
4518 | 4728 |
4525 * Q5.0.5:: How can I get XEmacs to come up in text/auto-fill mode by default? | 4735 * Q5.0.5:: How can I get XEmacs to come up in text/auto-fill mode by default? |
4526 * Q5.0.6:: How do I start up a second shell buffer? | 4736 * Q5.0.6:: How do I start up a second shell buffer? |
4527 * Q5.0.7:: Telnet from shell filters too much. | 4737 * Q5.0.7:: Telnet from shell filters too much. |
4528 * Q5.0.8:: Why does edt emulation not work? | 4738 * Q5.0.8:: Why does edt emulation not work? |
4529 * Q5.0.9:: How can I emulate VI and use it as my default mode? | 4739 * Q5.0.9:: How can I emulate VI and use it as my default mode? |
4530 * Q5.0.10:: [This question intentionally left blank] | 4740 * Q5.0.10:: [This question intentionally left blank] |
4531 * Q5.0.11:: Filladapt doesn't work in 19.15? | 4741 * Q5.0.11:: Filladapt doesn't work in 19.15? |
4532 * Q5.0.12:: How do I disable gnuserv from opening a new frame? | 4742 * Q5.0.12:: How do I disable gnuserv from opening a new frame? |
4533 * Q5.0.13:: How do I start gnuserv so that each subsequent XEmacs is a client? | 4743 * Q5.0.13:: How do I start gnuserv so that each subsequent XEmacs is a client? |
4534 * Q5.0.14:: Strange things are happening in Shell Mode. | 4744 * Q5.0.14:: Strange things are happening in Shell Mode. |
4535 * Q5.0.15:: Where do I get the latest CC Mode? | 4745 * Q5.0.15:: Where do I get the latest CC Mode? |
4536 * Q5.0.16:: I find auto-show-mode disconcerting. How do I turn it off? | 4746 * Q5.0.16:: I find auto-show-mode disconcerting. How do I turn it off? |
4537 * Q5.0.17:: How can I get two instances of info? | 4747 * Q5.0.17:: How can I get two instances of info? |
4538 * Q5.0.18:: I upgraded to XEmacs 19.14 and gnuserv stopped working | 4748 * Q5.0.18:: I upgraded to XEmacs 19.14 and gnuserv stopped working |
4539 * Q5.0.19:: Is there something better than LaTeX mode? | 4749 * Q5.0.19:: Is there something better than LaTeX mode? |
4750 * Q5.0.20:: Is there a way to start a new XEmacs if there's no gnuserv running, and otherwise use gnuclient? | |
4540 | 4751 |
4541 Emacs Lisp Programming Techniques: | 4752 Emacs Lisp Programming Techniques: |
4542 * Q5.1.1:: The difference in key sequences between XEmacs and GNU Emacs? | 4753 * Q5.1.1:: The difference in key sequences between XEmacs and GNU Emacs? |
4543 * Q5.1.2:: Can I generate "fake" keyboard events? | 4754 * Q5.1.2:: Can I generate "fake" keyboard events? |
4544 * Q5.1.3:: Could you explain @code{read-kbd-macro} in more detail? | 4755 * Q5.1.3:: Could you explain @code{read-kbd-macro} in more detail? |
4570 * Q5.3.11:: How do I add new Info directories? | 4781 * Q5.3.11:: How do I add new Info directories? |
4571 * Q5.3.12:: What do I need to change to make printing work? | 4782 * Q5.3.12:: What do I need to change to make printing work? |
4572 @end menu | 4783 @end menu |
4573 | 4784 |
4574 @node Q5.0.1, Q5.0.2, Miscellaneous, Miscellaneous | 4785 @node Q5.0.1, Q5.0.2, Miscellaneous, Miscellaneous |
4575 @section How can I do source code highlighting using font-lock? | 4786 @unnumberedsec Major & Minor Modes |
4787 @unnumberedsubsec Q5.0.1: How can I do source code highlighting using font-lock? | |
4576 | 4788 |
4577 For most modes, font-lock is already set up and just needs to be turned | 4789 For most modes, font-lock is already set up and just needs to be turned |
4578 on. This can be done by @kbd{M-x font-lock-mode}, or by having XEmacs | 4790 on. This can be done by @kbd{M-x font-lock-mode}, or by having XEmacs |
4579 automatically start it by adding lines like: | 4791 automatically start it by adding lines like: |
4580 | 4792 |
4588 | 4800 |
4589 See also @code{Syntax Highlighting} from the @code{Options} menu. | 4801 See also @code{Syntax Highlighting} from the @code{Options} menu. |
4590 Remember to save options. | 4802 Remember to save options. |
4591 | 4803 |
4592 @node Q5.0.2, Q5.0.3, Q5.0.1, Miscellaneous | 4804 @node Q5.0.2, Q5.0.3, Q5.0.1, Miscellaneous |
4593 @section I do not like cc-mode. How do I use the old c-mode? | 4805 @unnumberedsubsec Q5.0.2: I do not like cc-mode. How do I use the old c-mode? |
4594 | 4806 |
4595 Well, first off, consider if you really want to do this. cc-mode is | 4807 Well, first off, consider if you really want to do this. cc-mode is |
4596 much more powerful than the old c-mode. If you're having trouble | 4808 much more powerful than the old c-mode. If you're having trouble |
4597 getting your old offsets to work, try using @code{c-set-offset} instead. | 4809 getting your old offsets to work, try using @code{c-set-offset} instead. |
4598 You might also consider using the package @code{cc-compat}. | 4810 You might also consider using the package @code{cc-compat}. |
4604 (makunbound 'c-mode-map) | 4816 (makunbound 'c-mode-map) |
4605 (fmakunbound 'c++-mode) | 4817 (fmakunbound 'c++-mode) |
4606 (makunbound 'c++-mode-map) | 4818 (makunbound 'c++-mode-map) |
4607 (makunbound 'c-style-alist) | 4819 (makunbound 'c-style-alist) |
4608 (load-library "old-c-mode") | 4820 (load-library "old-c-mode") |
4609 (load-library "old-c++-mode") | 4821 (load-library "old-c++-mode") |
4610 @end lisp | 4822 @end lisp |
4611 | 4823 |
4612 This must be done before any other reference is made to either c-mode or | 4824 This must be done before any other reference is made to either c-mode or |
4613 c++-mode. | 4825 c++-mode. |
4614 | 4826 |
4615 @node Q5.0.3, Q5.0.4, Q5.0.2, Miscellaneous | 4827 @node Q5.0.3, Q5.0.4, Q5.0.2, Miscellaneous |
4616 @section How do I get @samp{More} Syntax Highlighting on by default? | 4828 @unnumberedsubsec Q5.0.3: How do I get @samp{More} Syntax Highlighting on by default? |
4617 | 4829 |
4618 Use the following code in your @file{.emacs}: | 4830 Use the following code in your @file{.emacs}: |
4619 | 4831 |
4620 @lisp | 4832 @lisp |
4621 (setq-default font-lock-maximum-decoration t) | 4833 (setq-default font-lock-maximum-decoration t) |
4634 | 4846 |
4635 See also @code{Syntax Highlighting} from the @code{Options} menu. | 4847 See also @code{Syntax Highlighting} from the @code{Options} menu. |
4636 Remember to save options. | 4848 Remember to save options. |
4637 | 4849 |
4638 @node Q5.0.4, Q5.0.5, Q5.0.3, Miscellaneous | 4850 @node Q5.0.4, Q5.0.5, Q5.0.3, Miscellaneous |
4639 @section How can I enable auto-indent? | 4851 @unnumberedsubsec Q5.0.4: How can I enable auto-indent? |
4640 | 4852 |
4641 Put the following line in your @file{.emacs}: | 4853 Put the following line in your @file{.emacs}: |
4642 | 4854 |
4643 @lisp | 4855 @lisp |
4644 (setq indent-line-function 'indent-relative-maybe) | 4856 (setq indent-line-function 'indent-relative-maybe) |
4663 the nasty ones, you'll have to provide the @code{add-hook}s yourself. | 4875 the nasty ones, you'll have to provide the @code{add-hook}s yourself. |
4664 | 4876 |
4665 Please note that the @code{fa-extras} package is no longer useful. | 4877 Please note that the @code{fa-extras} package is no longer useful. |
4666 | 4878 |
4667 @node Q5.0.5, Q5.0.6, Q5.0.4, Miscellaneous | 4879 @node Q5.0.5, Q5.0.6, Q5.0.4, Miscellaneous |
4668 @section How can I get XEmacs to come up in text/auto-fill mode by default? | 4880 @unnumberedsubsec Q5.0.5: How can I get XEmacs to come up in text/auto-fill mode by default? |
4669 | 4881 |
4670 Try the following lisp in your @file{.emacs}: | 4882 Try the following lisp in your @file{.emacs}: |
4671 | 4883 |
4672 @lisp | 4884 @lisp |
4673 (setq default-major-mode 'text-mode) | 4885 (setq default-major-mode 'text-mode) |
4708 a nonstandard mode that has automatic font lock rules, then the startup | 4920 a nonstandard mode that has automatic font lock rules, then the startup |
4709 message might get fontified in a strange foreign manner, e.g. as code in | 4921 message might get fontified in a strange foreign manner, e.g. as code in |
4710 some programming language). | 4922 some programming language). |
4711 | 4923 |
4712 @node Q5.0.6, Q5.0.7, Q5.0.5, Miscellaneous | 4924 @node Q5.0.6, Q5.0.7, Q5.0.5, Miscellaneous |
4713 @section How do I start up a second shell buffer? | 4925 @unnumberedsubsec Q5.0.6: How do I start up a second shell buffer? |
4714 | 4926 |
4715 In the @code{*shell*} buffer: | 4927 In the @code{*shell*} buffer: |
4716 | 4928 |
4717 @lisp | 4929 @lisp |
4718 M-x rename-buffer RET *shell-1* RET | 4930 M-x rename-buffer RET *shell-1* RET |
4723 @samp{*shell*} can exist. It might be preferable to use @kbd{M-x | 4935 @samp{*shell*} can exist. It might be preferable to use @kbd{M-x |
4724 rename-uniquely} to rename the @code{*shell*} buffer instead of @kbd{M-x | 4936 rename-uniquely} to rename the @code{*shell*} buffer instead of @kbd{M-x |
4725 rename-buffer}. | 4937 rename-buffer}. |
4726 | 4938 |
4727 @node Q5.0.7, Q5.0.8, Q5.0.6, Miscellaneous | 4939 @node Q5.0.7, Q5.0.8, Q5.0.6, Miscellaneous |
4728 @section Telnet from shell filters too much | 4940 @unnumberedsubsec Q5.0.7: Telnet from shell filters too much |
4729 | 4941 |
4730 I'm using the Emacs @kbd{M-x shell} function, and I would like to invoke | 4942 I'm using the Emacs @kbd{M-x shell} function, and I would like to invoke |
4731 and use a telnet session within it. Everything works fine except that | 4943 and use a telnet session within it. Everything works fine except that |
4732 now all @samp{^M}'s are filtered out by Emacs. Fixes? | 4944 now all @samp{^M}'s are filtered out by Emacs. Fixes? |
4733 | 4945 |
4735 than doing rsh or telnet within the local shell buffer. Starting with | 4947 than doing rsh or telnet within the local shell buffer. Starting with |
4736 XEmacs-20.3 you can also use @kbd{M-x ssh} to open secure remote session | 4948 XEmacs-20.3 you can also use @kbd{M-x ssh} to open secure remote session |
4737 if you have @code{ssh} installed. | 4949 if you have @code{ssh} installed. |
4738 | 4950 |
4739 @node Q5.0.8, Q5.0.9, Q5.0.7, Miscellaneous | 4951 @node Q5.0.8, Q5.0.9, Q5.0.7, Miscellaneous |
4740 @section Why does edt emulation not work? | 4952 @unnumberedsubsec Q5.0.8: Why does edt emulation not work? |
4741 | 4953 |
4742 We don't know, but you can use tpu-edt emulation instead, which works | 4954 We don't know, but you can use tpu-edt emulation instead, which works |
4743 fine and is a little fancier than the standard edt emulation. To do | 4955 fine and is a little fancier than the standard edt emulation. To do |
4744 this, add the following line to your @file{.emacs}: | 4956 this, add the following line to your @file{.emacs}: |
4745 | 4957 |
4753 @lisp | 4965 @lisp |
4754 (global-set-key [(control h)] 'help-for-help) | 4966 (global-set-key [(control h)] 'help-for-help) |
4755 @end lisp | 4967 @end lisp |
4756 | 4968 |
4757 @node Q5.0.9, Q5.0.10, Q5.0.8, Miscellaneous | 4969 @node Q5.0.9, Q5.0.10, Q5.0.8, Miscellaneous |
4758 @section How can I emulate VI and use it as my default mode? | 4970 @unnumberedsubsec Q5.0.9: How can I emulate VI and use it as my default mode? |
4759 | 4971 |
4760 Our recommended VI emulator is viper. To make viper-mode the default, | 4972 Our recommended VI emulator is viper. To make viper-mode the default, |
4761 add this to your @file{.emacs}: | 4973 add this to your @file{.emacs}: |
4762 | 4974 |
4763 @lisp | 4975 @lisp |
4764 (viper-mode) | 4976 (viper-mode) |
4765 @end lisp | 4977 @end lisp |
4766 | 4978 |
4767 Michael Kifer <kifer@@CS.SunySB.EDU> writes: | 4979 @email{kifer@@CS.SunySB.EDU, Michael Kifer} writes: |
4768 | 4980 |
4769 @quotation | 4981 @quotation |
4770 This should be added as close to the top of @file{.emacs} as you can get | 4982 This should be added as close to the top of @file{.emacs} as you can get |
4771 it, otherwise some minor modes may not get viper-ized. | 4983 it, otherwise some minor modes may not get viper-ized. |
4772 @end quotation | 4984 @end quotation |
4773 | 4985 |
4774 @node Q5.0.10, Q5.0.11, Q5.0.9, Miscellaneous | 4986 @node Q5.0.10, Q5.0.11, Q5.0.9, Miscellaneous |
4775 @section [This question intentionally left blank] | 4987 @unnumberedsubsec Q5.0.10: [This question intentionally left blank] |
4776 | 4988 |
4777 Obsolete question, left blank to avoid renumbering | 4989 Obsolete question, left blank to avoid renumbering |
4778 | 4990 |
4779 @node Q5.0.11, Q5.0.12, Q5.0.10, Miscellaneous | 4991 @node Q5.0.11, Q5.0.12, Q5.0.10, Miscellaneous |
4780 @section Filladapt doesn't work in 19.15 | 4992 @unnumberedsubsec Q5.0.11: Filladapt doesn't work in 19.15 |
4781 | 4993 |
4782 Filladapt 2.x is included in 19.15. In it filladapt is now a minor | 4994 Filladapt 2.x is included in 19.15. In it filladapt is now a minor |
4783 mode and minor modes are traditionally off by default. The following | 4995 mode and minor modes are traditionally off by default. The following |
4784 added to your @file{.emacs} will turn it on for all buffers: | 4996 added to your @file{.emacs} will turn it on for all buffers: |
4785 | 4997 |
4789 | 5001 |
4790 Use @code{turn-on-filladapt-mode} to turn Filladapt on in particular | 5002 Use @code{turn-on-filladapt-mode} to turn Filladapt on in particular |
4791 major modes, like this: | 5003 major modes, like this: |
4792 | 5004 |
4793 @lisp | 5005 @lisp |
4794 (add-hook 'text-mode-hook 'turn-on-filladapt-mode) | 5006 (add-hook 'text-mode-hook 'turn-on-filladapt-mode) |
4795 @end lisp | 5007 @end lisp |
4796 | 5008 |
4797 @node Q5.0.12, Q5.0.13, Q5.0.11, Miscellaneous | 5009 @node Q5.0.12, Q5.0.13, Q5.0.11, Miscellaneous |
4798 @section How do I disable gnuserv from opening a new frame? | 5010 @unnumberedsubsec Q5.0.12: How do I disable gnuserv from opening a new frame? |
4799 | 5011 |
4800 If you set the @code{gnuserv-frame} variable to the frame that should be | 5012 If you set the @code{gnuserv-frame} variable to the frame that should be |
4801 used to display buffers that are pulled up, a new frame will not be | 5013 used to display buffers that are pulled up, a new frame will not be |
4802 created. For example, you could put | 5014 created. For example, you could put |
4803 | 5015 |
4817 @code{Customize->Emacs->Environment->Gnuserv->Gnuserv Frame...} or type | 5029 @code{Customize->Emacs->Environment->Gnuserv->Gnuserv Frame...} or type |
4818 @kbd{M-x customize RET gnuserv RET}. | 5030 @kbd{M-x customize RET gnuserv RET}. |
4819 | 5031 |
4820 | 5032 |
4821 @node Q5.0.13, Q5.0.14, Q5.0.12, Miscellaneous | 5033 @node Q5.0.13, Q5.0.14, Q5.0.12, Miscellaneous |
4822 @section How do I start gnuserv so that each subsequent XEmacs is a client? | 5034 @unnumberedsubsec Q5.0.13: How do I start gnuserv so that each subsequent XEmacs is a client? |
4823 | 5035 |
4824 Put the following in your @file{.emacs} file to start the server: | 5036 Put the following in your @file{.emacs} file to start the server: |
4825 | 5037 |
4826 @lisp | 5038 @lisp |
4827 (gnuserv-start) | 5039 (gnuserv-start) |
4839 frame. | 5051 frame. |
4840 | 5052 |
4841 See also man page of gnuclient. | 5053 See also man page of gnuclient. |
4842 | 5054 |
4843 @node Q5.0.14, Q5.0.15, Q5.0.13, Miscellaneous | 5055 @node Q5.0.14, Q5.0.15, Q5.0.13, Miscellaneous |
4844 @section Strange things are happening in Shell Mode. | 5056 @unnumberedsubsec Q5.0.14: Strange things are happening in Shell Mode. |
4845 | 5057 |
4846 Sometimes (i.e. it's not repeatable, and I can't work out why it | 5058 Sometimes (i.e. it's not repeatable, and I can't work out why it |
4847 happens) when I'm typing into shell mode, I hit return and only a | 5059 happens) when I'm typing into shell mode, I hit return and only a |
4848 portion of the command is given to the shell, and a blank prompt is | 5060 portion of the command is given to the shell, and a blank prompt is |
4849 returned. If I hit return again, the rest of the previous command is | 5061 returned. If I hit return again, the rest of the previous command is |
4850 given to the shell. | 5062 given to the shell. |
4851 | 5063 |
4852 Martin Buchholz <martin@@xemacs.org> writes: | 5064 @email{martin@@xemacs.org, Martin Buchholz} writes: |
4853 | 5065 |
4854 @quotation | 5066 @quotation |
4855 There is a known problem with interaction between @code{csh} and the | 5067 There is a known problem with interaction between @code{csh} and the |
4856 @code{filec} option and XEmacs. You should add the following to your | 5068 @code{filec} option and XEmacs. You should add the following to your |
4857 @file{.cshrc}: | 5069 @file{.cshrc}: |
4860 if ( "$TERM" == emacs || "$TERM" == unknown ) unset filec | 5072 if ( "$TERM" == emacs || "$TERM" == unknown ) unset filec |
4861 @end example | 5073 @end example |
4862 @end quotation | 5074 @end quotation |
4863 | 5075 |
4864 @node Q5.0.15, Q5.0.16, Q5.0.14, Miscellaneous | 5076 @node Q5.0.15, Q5.0.16, Q5.0.14, Miscellaneous |
4865 @section Where do I get the latest CC Mode? | 5077 @unnumberedsubsec Q5.0.15: Where do I get the latest CC Mode? |
4866 | 5078 |
4867 Barry A. Warsaw <bwarsaw@@cnri.reston.va.us> writes: | 5079 @email{bwarsaw@@cnri.reston.va.us, Barry A. Warsaw} writes: |
4868 | 5080 |
4869 @quotation | 5081 @quotation |
4870 This can be had from <URL:http://www.python.org/ftp/emacs/>. | 5082 This can be had from @uref{http://www.python.org/ftp/emacs/}. |
4871 @end quotation | 5083 @end quotation |
4872 | 5084 |
4873 @node Q5.0.16, Q5.0.17, Q5.0.15, Miscellaneous | 5085 @node Q5.0.16, Q5.0.17, Q5.0.15, Miscellaneous |
4874 @section I find auto-show-mode disconcerting. How do I turn it off? | 5086 @unnumberedsubsec Q5.0.16: I find auto-show-mode disconcerting. How do I turn it off? |
4875 | 5087 |
4876 @code{auto-show-mode} controls whether or not a horizontal scrollbar | 5088 @code{auto-show-mode} controls whether or not a horizontal scrollbar |
4877 magically appears when a line is too long to be displayed. This is | 5089 magically appears when a line is too long to be displayed. This is |
4878 enabled by default. To turn it off, put the following in your | 5090 enabled by default. To turn it off, put the following in your |
4879 @file{.emacs}: | 5091 @file{.emacs}: |
4882 (setq auto-show-mode nil) | 5094 (setq auto-show-mode nil) |
4883 (setq-default auto-show-mode nil) | 5095 (setq-default auto-show-mode nil) |
4884 @end lisp | 5096 @end lisp |
4885 | 5097 |
4886 @node Q5.0.17, Q5.0.18, Q5.0.16, Miscellaneous | 5098 @node Q5.0.17, Q5.0.18, Q5.0.16, Miscellaneous |
4887 @section How can I get two instances of info? | 5099 @unnumberedsubsec Q5.0.17: How can I get two instances of info? |
4888 | 5100 |
4889 You can't. The @code{info} package does not provide for multiple info buffers. | 5101 You can't. The @code{info} package does not provide for multiple info buffers. |
4890 | 5102 |
4891 @node Q5.0.18, Q5.0.19, Q5.0.17, Miscellaneous | 5103 @node Q5.0.18, Q5.0.19, Q5.0.17, Miscellaneous |
4892 @section I upgraded to XEmacs 19.14 and gnuserv stopped working. | 5104 @unnumberedsubsec Q5.0.18: I upgraded to XEmacs 19.14 and gnuserv stopped working. |
4893 | 5105 |
4894 Mark Daku <daku@@nortel.ca> writes: | 5106 @email{daku@@nortel.ca, Mark Daku} writes: |
4895 | 5107 |
4896 @quotation | 5108 @quotation |
4897 It turns out I was using an older version of gnuserv. The installation | 5109 It turns out I was using an older version of gnuserv. The installation |
4898 didn't put the binary into the public bin directory. It put it in | 5110 didn't put the binary into the public bin directory. It put it in |
5111 @iftex | |
5112 @* | |
5113 @end iftex | |
4899 @file{lib/xemacs-19.14/hppa1.1-hp-hpux9.05/gnuserv}. Shouldn't it have | 5114 @file{lib/xemacs-19.14/hppa1.1-hp-hpux9.05/gnuserv}. Shouldn't it have |
4900 been put in @file{bin/hppa1.1-hp-hpux9.0}? | 5115 been put in @file{bin/hppa1.1-hp-hpux9.0}? |
4901 @end quotation | 5116 @end quotation |
4902 | 5117 |
4903 @node Q5.0.19, Q5.1.1, Q5.0.18, Miscellaneous | 5118 @node Q5.0.19, Q5.0.20, Q5.0.18, Miscellaneous |
4904 @section Is there something better than LaTeX mode? | 5119 @unnumberedsubsec Q5.0.19: Is there something better than LaTeX mode? |
4905 | 5120 |
4906 David Kastrup <dak@@fsnif.neuroinformatik.ruhr-uni-bochum.de> writes: | 5121 @email{dak@@fsnif.neuroinformatik.ruhr-uni-bochum.de, David Kastrup} writes: |
4907 | 5122 |
4908 @quotation | 5123 @quotation |
4909 The standard TeX modes leave much to be desired, and are somewhat | 5124 The standard TeX modes leave much to be desired, and are somewhat |
4910 leniently maintained. Serious TeX users use AUC TeX (@xref{Q4.7.1}). | 5125 leniently maintained. Serious TeX users use AUC TeX (@xref{Q4.7.1}). |
4911 @end quotation | 5126 @end quotation |
4912 | 5127 |
4913 @node Q5.1.1, Q5.1.2, Q5.0.19, Miscellaneous | 5128 @node Q5.0.20, Q5.1.1, Q5.0.19, Miscellaneous |
4914 @section What is the difference in key sequences between XEmacs and GNU Emacs? | 5129 @unnumberedsubsec Q5.0.20: Is there a way to start a new XEmacs if there's no gnuserv running, and otherwise use gnuclient? |
4915 | 5130 |
4916 Erik Naggum <erik@@naggum.no> writes; | 5131 @email{vroonhof@@math.ethz.ch, Jan Vroonhof} writes: |
5132 @quotation | |
5133 Here is one of the solutions, we have this in a script called | |
5134 @file{etc/editclient.sh}. | |
5135 @example | |
5136 #!/bin/sh | |
5137 if gnuclient -batch -eval t >/dev/null 2>&1 | |
5138 then | |
5139 exec gnuclient $@{1+"$@@"@} | |
5140 else | |
5141 xemacs -unmapped -f gnuserv-start & | |
5142 until gnuclient -batch -eval t >/dev/null 2>&1 | |
5143 do | |
5144 sleep 1 | |
5145 done | |
5146 exec gnuclient $@{1+"$@@"@} | |
5147 fi | |
5148 @end example | |
5149 | |
5150 Note that there is a known problem when running XEmacs and 'gnuclient | |
5151 -nw' on the same TTY. | |
5152 @end quotation | |
5153 | |
5154 @node Q5.1.1, Q5.1.2, Q5.0.20, Miscellaneous | |
5155 @unnumberedsec Emacs Lisp Programming Techniques | |
5156 @unnumberedsubsec Q5.1.1: What is the difference in key sequences between XEmacs and GNU Emacs? | |
5157 | |
5158 @email{clerik@@naggum.no, Erik Naggum} writes; | |
4917 | 5159 |
4918 @quotation | 5160 @quotation |
4919 Emacs has a legacy of keyboards that produced characters with modifier | 5161 Emacs has a legacy of keyboards that produced characters with modifier |
4920 bits, and therefore map a variety of input systems into this scheme even | 5162 bits, and therefore map a variety of input systems into this scheme even |
4921 today. XEmacs is instead optimized for X events. This causes an | 5163 today. XEmacs is instead optimized for X events. This causes an |
4942 @code{read-kbd-macro} function, which takes a string like @samp{C-c | 5184 @code{read-kbd-macro} function, which takes a string like @samp{C-c |
4943 <up>}, and converts it to the internal key representation of the Emacs | 5185 <up>}, and converts it to the internal key representation of the Emacs |
4944 you use. The function is available both on XEmacs and GNU Emacs. | 5186 you use. The function is available both on XEmacs and GNU Emacs. |
4945 | 5187 |
4946 @node Q5.1.2, Q5.1.3, Q5.1.1, Miscellaneous | 5188 @node Q5.1.2, Q5.1.3, Q5.1.1, Miscellaneous |
4947 @section Can I generate "fake" keyboard events? | 5189 @unnumberedsubsec Q5.1.2: Can I generate "fake" keyboard events? |
4948 | 5190 |
4949 I wonder if there is an interactive function that can generate | 5191 I wonder if there is an interactive function that can generate |
4950 @dfn{fake} keyboard events. This way, I could simply map them inside | 5192 @dfn{fake} keyboard events. This way, I could simply map them inside |
4951 XEmacs. | 5193 XEmacs. |
4952 | 5194 |
4957 "Generate an event, as if ch has been typed" | 5199 "Generate an event, as if ch has been typed" |
4958 (dispatch-event (character-to-event ch))) | 5200 (dispatch-event (character-to-event ch))) |
4959 | 5201 |
4960 ;; Backspace and Delete stuff | 5202 ;; Backspace and Delete stuff |
4961 (global-set-key [backspace] | 5203 (global-set-key [backspace] |
4962 (lambda () (interactive) (cg--generate-char-event 127))) | 5204 (lambda () (interactive) (cg--generate-char-event 127))) |
4963 (global-set-key [unknown_keysym_0x4] | 5205 (global-set-key [unknown_keysym_0x4] |
4964 (lambda () (interactive) (cg--generate-char-event 4))) | 5206 (lambda () (interactive) (cg--generate-char-event 4))) |
4965 @end lisp | 5207 @end lisp |
4966 | 5208 |
4967 @node Q5.1.3, Q5.1.4, Q5.1.2, Miscellaneous | 5209 @node Q5.1.3, Q5.1.4, Q5.1.2, Miscellaneous |
4968 @section Could you explain @code{read-kbd-macro} in more detail? | 5210 @unnumberedsubsec Q5.1.3: Could you explain @code{read-kbd-macro} in more detail? |
4969 | 5211 |
4970 The @code{read-kbd-macro} function returns the internal Emacs | 5212 The @code{read-kbd-macro} function returns the internal Emacs |
4971 representation of a human-readable string (which is its argument). | 5213 representation of a human-readable string (which is its argument). |
4972 Thus: | 5214 Thus: |
4973 | 5215 |
4974 @lisp | 5216 @lisp |
4975 (read-kbd-macro "C-c C-a") | 5217 (read-kbd-macro "C-c C-a") |
4976 @result{} [(control ?c) (control ?a)] | 5218 @result{} [(control ?c) (control ?a)] |
4977 | 5219 |
4978 (read-kbd-macro "C-c C-. <up>") | 5220 (read-kbd-macro "C-c C-. <up>") |
4979 @result{} [(control ?c) (control ?.) up] | 5221 @result{} [(control ?c) (control ?.) up] |
4980 @end lisp | 5222 @end lisp |
4981 | 5223 |
4982 In GNU Emacs the same forms will be evaluated to what GNU Emacs | 5224 In GNU Emacs the same forms will be evaluated to what GNU Emacs |
4983 understands internally---the sequences @code{"\C-x\C-c"} and @code{[3 | 5225 understands internally---the sequences @code{"\C-x\C-c"} and @code{[3 |
4984 67108910 up]}, respectively. | 5226 67108910 up]}, respectively. |
5038 ignored as a comment. | 5280 ignored as a comment. |
5039 @end itemize | 5281 @end itemize |
5040 | 5282 |
5041 Any word may be prefixed by a multiplier in the form of a decimal number | 5283 Any word may be prefixed by a multiplier in the form of a decimal number |
5042 and @code{*}: @code{3*<right>} @equiv{} @code{<right> <right> <right>}, | 5284 and @code{*}: @code{3*<right>} @equiv{} @code{<right> <right> <right>}, |
5043 and @code{10*foo} @equiv{} @code{foofoofoofoofoofoofoofoofoofoo}. | 5285 and @code{10*foo} @equiv{} |
5286 @iftex | |
5287 @* | |
5288 @end iftex | |
5289 @code{foofoofoofoofoofoofoofoofoofoo}. | |
5044 | 5290 |
5045 Multiple text keys can normally be strung together to form a word, but | 5291 Multiple text keys can normally be strung together to form a word, but |
5046 you may need to add whitespace if the word would look like one of the | 5292 you may need to add whitespace if the word would look like one of the |
5047 above notations: @code{; ; ;} is a keyboard macro with three semicolons, | 5293 above notations: @code{; ; ;} is a keyboard macro with three semicolons, |
5048 but @code{;;;} is a comment. Likewise, @code{\ 1 2 3} is four keys but | 5294 but @code{;;;} is a comment. Likewise, @code{\ 1 2 3} is four keys but |
5050 seven keys but @code{<right>} is a single function key. When in doubt, | 5296 seven keys but @code{<right>} is a single function key. When in doubt, |
5051 use whitespace. | 5297 use whitespace. |
5052 @end quotation | 5298 @end quotation |
5053 | 5299 |
5054 @node Q5.1.4, Q5.1.5, Q5.1.3, Miscellaneous | 5300 @node Q5.1.4, Q5.1.5, Q5.1.3, Miscellaneous |
5055 @section What is the performance hit of @code{let}? | 5301 @unnumberedsubsec Q5.1.4: What is the performance hit of @code{let}? |
5056 | 5302 |
5057 In most cases, not noticeable. Besides, there's no avoiding | 5303 In most cases, not noticeable. Besides, there's no avoiding |
5058 @code{let}---you have to bind your local variables, after all. Some | 5304 @code{let}---you have to bind your local variables, after all. Some |
5059 pose a question whether to nest @code{let}s, or use one @code{let} per | 5305 pose a question whether to nest @code{let}s, or use one @code{let} per |
5060 function. I think because of clarity and maintenance (and possible | 5306 function. I think because of clarity and maintenance (and possible |
5061 future implementation), @code{let}-s should be used (nested) in a way to | 5307 future implementation), @code{let}-s should be used (nested) in a way to |
5062 provide the clearest code. | 5308 provide the clearest code. |
5063 | 5309 |
5064 @node Q5.1.5, Q5.1.6, Q5.1.4, Miscellaneous | 5310 @node Q5.1.5, Q5.1.6, Q5.1.4, Miscellaneous |
5065 @section What is the recommended use of @code{setq}? | 5311 @unnumberedsubsec Q5.1.5: What is the recommended use of @code{setq}? |
5066 | 5312 |
5067 @itemize @bullet | 5313 @itemize @bullet |
5068 @item Global variables | 5314 @item Global variables |
5069 | 5315 |
5070 You will typically @code{defvar} your global variable to a default | 5316 You will typically @code{defvar} your global variable to a default |
5076 variable if it was bound previously. If you wish to change a | 5322 variable if it was bound previously. If you wish to change a |
5077 user-variable temporarily, use @code{let}: | 5323 user-variable temporarily, use @code{let}: |
5078 | 5324 |
5079 @lisp | 5325 @lisp |
5080 (let ((case-fold-search nil)) | 5326 (let ((case-fold-search nil)) |
5081 ... ; code with searches that must be case-sensitive | 5327 ... ; code with searches that must be case-sensitive |
5082 ...) | 5328 ...) |
5083 @end lisp | 5329 @end lisp |
5084 | 5330 |
5085 You will notice the user-variables by their docstrings beginning with an | 5331 You will notice the user-variables by their docstrings beginning with an |
5086 asterisk (a convention). | 5332 asterisk (a convention). |
5123 (let .....)) | 5369 (let .....)) |
5124 @end lisp | 5370 @end lisp |
5125 @end itemize | 5371 @end itemize |
5126 | 5372 |
5127 @node Q5.1.6, Q5.1.7, Q5.1.5, Miscellaneous | 5373 @node Q5.1.6, Q5.1.7, Q5.1.5, Miscellaneous |
5128 @section What is the typical misuse of @code{setq} ? | 5374 @unnumberedsubsec Q5.1.6: What is the typical misuse of @code{setq} ? |
5129 | 5375 |
5130 A typical misuse is probably @code{setq}ing a variable that was meant to | 5376 A typical misuse is probably @code{setq}ing a variable that was meant to |
5131 be local. Such a variable will remain bound forever, never to be | 5377 be local. Such a variable will remain bound forever, never to be |
5132 garbage-collected. For example, the code doing: | 5378 garbage-collected. For example, the code doing: |
5133 | 5379 |
5141 does a bad thing, as @code{a} will keep consuming memory, never to be | 5387 does a bad thing, as @code{a} will keep consuming memory, never to be |
5142 unbound. The correct thing is to do it like this: | 5388 unbound. The correct thing is to do it like this: |
5143 | 5389 |
5144 @lisp | 5390 @lisp |
5145 (defun my-function (whatever) | 5391 (defun my-function (whatever) |
5146 (let (a) ; default initialization is to nil | 5392 (let (a) ; default initialization is to nil |
5147 ... build a large list ... | 5393 ... build a large list ... |
5148 ... and exit, unbinding `a' in the process ...) | 5394 ... and exit, unbinding `a' in the process ...) |
5149 @end lisp | 5395 @end lisp |
5150 | 5396 |
5151 Not only is this prettier syntactically, but it makes it possible for | 5397 Not only is this prettier syntactically, but it makes it possible for |
5154 Note that even global variables should not be @code{setq}ed without | 5400 Note that even global variables should not be @code{setq}ed without |
5155 @code{defvar}ing them first, because the byte-compiler issues warnings. | 5401 @code{defvar}ing them first, because the byte-compiler issues warnings. |
5156 The reason for the warning is the following: | 5402 The reason for the warning is the following: |
5157 | 5403 |
5158 @lisp | 5404 @lisp |
5159 (defun flurgoze nil) ; ok, global internal variable | 5405 (defun flurgoze nil) ; ok, global internal variable |
5160 ... | 5406 ... |
5161 | 5407 |
5162 (setq flurghoze t) ; ops! a typo, but semantically correct. | 5408 (setq flurghoze t) ; ops! a typo, but semantically correct. |
5163 ; however, the byte-compiler warns. | 5409 ; however, the byte-compiler warns. |
5164 | 5410 |
5165 While compiling toplevel forms: | 5411 While compiling toplevel forms: |
5166 ** assignment to free variable flurghoze | 5412 ** assignment to free variable flurghoze |
5167 @end lisp | 5413 @end lisp |
5168 | 5414 |
5169 @node Q5.1.7, Q5.1.8, Q5.1.6, Miscellaneous | 5415 @node Q5.1.7, Q5.1.8, Q5.1.6, Miscellaneous |
5170 @section I like the the @code{do} form of cl, does it slow things down? | 5416 @unnumberedsubsec Q5.1.7: I like the the @code{do} form of cl, does it slow things down? |
5171 | 5417 |
5172 It shouldn't. Here is what Dave Gillespie has to say about cl.el | 5418 It shouldn't. Here is what Dave Gillespie has to say about cl.el |
5173 performance: | 5419 performance: |
5174 | 5420 |
5175 @quotation | 5421 @quotation |
5207 You can find out how a macro expands by using the @code{cl-prettyexpand} | 5453 You can find out how a macro expands by using the @code{cl-prettyexpand} |
5208 function. | 5454 function. |
5209 @end quotation | 5455 @end quotation |
5210 | 5456 |
5211 @node Q5.1.8, Q5.1.9, Q5.1.7, Miscellaneous | 5457 @node Q5.1.8, Q5.1.9, Q5.1.7, Miscellaneous |
5212 @section I like recursion, does it slow things down? | 5458 @unnumberedsubsec Q5.1.8: I like recursion, does it slow things down? |
5213 | 5459 |
5214 Yes. Emacs byte-compiler cannot do much to optimize recursion. But | 5460 Yes. Emacs byte-compiler cannot do much to optimize recursion. But |
5215 think well whether this is a real concern in Emacs. Much of the Emacs | 5461 think well whether this is a real concern in Emacs. Much of the Emacs |
5216 slowness comes from internal mechanisms such as redisplay, or from the | 5462 slowness comes from internal mechanisms such as redisplay, or from the |
5217 fact that it is an interpreter. | 5463 fact that it is an interpreter. |
5218 | 5464 |
5219 Please try not to make your code much uglier to gain a very small speed | 5465 Please try not to make your code much uglier to gain a very small speed |
5220 gain. It's not usually worth it. | 5466 gain. It's not usually worth it. |
5221 | 5467 |
5222 @node Q5.1.9, Q5.1.10, Q5.1.8, Miscellaneous | 5468 @node Q5.1.9, Q5.1.10, Q5.1.8, Miscellaneous |
5223 @section How do I put a glyph as annotation in a buffer? | 5469 @unnumberedsubsec Q5.1.9: How do I put a glyph as annotation in a buffer? |
5224 | 5470 |
5225 Here is a solution that will insert the glyph annotation at the | 5471 Here is a solution that will insert the glyph annotation at the |
5226 beginning of buffer: | 5472 beginning of buffer: |
5227 | 5473 |
5228 @lisp | 5474 @lisp |
5231 (point-min) | 5477 (point-min) |
5232 'text | 5478 'text |
5233 (current-buffer)) | 5479 (current-buffer)) |
5234 @end lisp | 5480 @end lisp |
5235 | 5481 |
5236 Replace @samp{FORMAT} with an unquoted symbol representing the format of | 5482 Replace @samp{FORMAT} with an unquoted symbol representing the format of |
5237 the image (e.g. @code{xpm}, @code{xbm}, @code{gif}, @code{jpeg}, etc.) | 5483 the image (e.g. @code{xpm}, @code{xbm}, @code{gif}, @code{jpeg}, etc.) |
5238 Instead of @samp{FILE}, use the image file name | 5484 Instead of @samp{FILE}, use the image file name |
5239 (e.g. @file{/usr/local/lib/xemacs-20.2/etc/recycle.xpm}). | 5485 (e.g. |
5486 @iftex | |
5487 @* | |
5488 @end iftex | |
5489 @file{/usr/local/lib/xemacs-20.2/etc/recycle.xpm}). | |
5240 | 5490 |
5241 You can turn this to a function (that optionally prompts you for a file | 5491 You can turn this to a function (that optionally prompts you for a file |
5242 name), and inserts the glyph at @code{(point)} instead of | 5492 name), and inserts the glyph at @code{(point)} instead of |
5243 @code{(point-min)}. | 5493 @code{(point-min)}. |
5244 | 5494 |
5245 @node Q5.1.10, Q5.2.1, Q5.1.9, Miscellaneous | 5495 @node Q5.1.10, Q5.2.1, Q5.1.9, Miscellaneous |
5246 @section @code{map-extents} won't traverse all of my extents! | 5496 @unnumberedsubsec Q5.1.10: @code{map-extents} won't traverse all of my extents! |
5247 | 5497 |
5248 I tried to use @code{map-extents} to do an operation on all the extents | 5498 I tried to use @code{map-extents} to do an operation on all the extents |
5249 in a region. However, it seems to quit after processing a random number | 5499 in a region. However, it seems to quit after processing a random number |
5250 of extents. Is it buggy? | 5500 of extents. Is it buggy? |
5251 | 5501 |
5252 No. The documentation of @code{map-extents} states that it will iterate | 5502 No. The documentation of @code{map-extents} states that it will iterate |
5253 across the extents as long as @var{function} returns @code{nil}. | 5503 across the extents as long as @var{function} returns @code{nil}. |
5254 Unexperienced programmers often forget to return @code{nil} explicitly, | 5504 Unexperienced programmers often forget to return @code{nil} explicitly, |
5255 which results in buggy code. For instance, the following code is | 5505 which results in buggy code. For instance, the following code is |
5256 supposed to delete all the extents in a buffer, and issue as many | 5506 supposed to delete all the extents in a buffer, and issue as many |
5257 @samp{fubar!} messages. | 5507 @samp{fubar!} messages. |
5272 (message "fubar!") | 5522 (message "fubar!") |
5273 nil)) | 5523 nil)) |
5274 @end lisp | 5524 @end lisp |
5275 | 5525 |
5276 @node Q5.2.1, Q5.2.2, Q5.1.10, Miscellaneous | 5526 @node Q5.2.1, Q5.2.2, Q5.1.10, Miscellaneous |
5277 @section How do I turn off the sound? | 5527 @unnumberedsubsec Q5.2.1: How do I turn off the sound? |
5278 | 5528 |
5279 Add the following line to your @file{.emacs}: | 5529 Add the following line to your @file{.emacs}: |
5280 | 5530 |
5281 @lisp | 5531 @lisp |
5282 (setq bell-volume 0) | 5532 (setq bell-volume 0) |
5283 (setq sound-alist nil) | 5533 (setq sound-alist nil) |
5284 @end lisp | 5534 @end lisp |
5285 | 5535 |
5286 That will make your XEmacs totally silent -- even the default ding sound | 5536 That will make your XEmacs totally silent -- even the default ding sound |
5287 (TTY beep on TTY-s) will be gone. | 5537 (TTY beep on TTY-s) will be gone. |
5288 | 5538 |
5289 Starting with XEmacs-20.2 you can also change these with Customize. | 5539 Starting with XEmacs-20.2 you can also change these with Customize. |
5290 Select from the @code{Options} menu | 5540 Select from the @code{Options} menu |
5291 @code{Customize->Emacs->Environment->Sound->Sound...} or type | 5541 @code{Customize->Emacs->Environment->Sound->Sound...} or type |
5292 @kbd{M-x customize RET sound RET}. | 5542 @kbd{M-x customize RET sound RET}. |
5293 | 5543 |
5294 | 5544 |
5295 @node Q5.2.2, Q5.2.3, Q5.2.1, Miscellaneous | 5545 @node Q5.2.2, Q5.2.3, Q5.2.1, Miscellaneous |
5296 @section How do I get funky sounds instead of a boring beep? | 5546 @unnumberedsubsec Q5.2.2: How do I get funky sounds instead of a boring beep? |
5297 | 5547 |
5298 Make sure your XEmacs was compiled with sound support, and then put this | 5548 Make sure your XEmacs was compiled with sound support, and then put this |
5299 in your @file{.emacs}: | 5549 in your @file{.emacs}: |
5300 | 5550 |
5301 @lisp | 5551 @lisp |
5304 | 5554 |
5305 The sound support in XEmacs 19.14 was greatly improved over previous | 5555 The sound support in XEmacs 19.14 was greatly improved over previous |
5306 versions. | 5556 versions. |
5307 | 5557 |
5308 @node Q5.2.3, Q5.2.4, Q5.2.2, Miscellaneous | 5558 @node Q5.2.3, Q5.2.4, Q5.2.2, Miscellaneous |
5309 @section What's NAS, how do I get it? | 5559 @unnumberedsubsec Q5.2.3: What's NAS, how do I get it? |
5310 | 5560 |
5311 @xref{Q2.0.3} for an explanation of the @dfn{Network Audio System}. | 5561 @xref{Q2.0.3} for an explanation of the @dfn{Network Audio System}. |
5312 | 5562 |
5313 @node Q5.2.4, Q5.3.1, Q5.2.3, Miscellaneous | 5563 @node Q5.2.4, Q5.3.1, Q5.2.3, Miscellaneous |
5314 @section Sunsite sounds don't play. | 5564 @unnumberedsubsec Q5.2.4: Sunsite sounds don't play. |
5315 | 5565 |
5316 I'm having some trouble with sounds I've downloaded from sunsite. They | 5566 I'm having some trouble with sounds I've downloaded from sunsite. They |
5317 play when I run them through @code{showaudio} or cat them directly to | 5567 play when I run them through @code{showaudio} or cat them directly to |
5318 @file{/dev/audio}, but XEmacs refuses to play them. | 5568 @file{/dev/audio}, but XEmacs refuses to play them. |
5319 | 5569 |
5320 Markus Gutschke <gutschk@@uni-muenster.de> writes: | 5570 @email{gutschk@@uni-muenster.de, Markus Gutschke} writes: |
5321 | 5571 |
5322 @quotation | 5572 @quotation |
5323 [Many of] These files have an (erroneous) 24byte header that tells about | 5573 [Many of] These files have an (erroneous) 24byte header that tells about |
5324 the format that they have been recorded in. If you cat them to | 5574 the format that they have been recorded in. If you cat them to |
5325 @file{/dev/audio}, the header will be ignored and the default behavior | 5575 @file{/dev/audio}, the header will be ignored and the default behavior |
5328 passing explicit parameters for specifying the sampling format; you then | 5578 passing explicit parameters for specifying the sampling format; you then |
5329 need to perform a 'null' conversion from SunAudio to SunAudio. | 5579 need to perform a 'null' conversion from SunAudio to SunAudio. |
5330 @end quotation | 5580 @end quotation |
5331 | 5581 |
5332 @node Q5.3.1, Q5.3.2, Q5.2.4, Miscellaneous | 5582 @node Q5.3.1, Q5.3.2, Q5.2.4, Miscellaneous |
5333 @section How do you make XEmacs indent CL if-clauses correctly? | 5583 @unnumberedsec Miscellaneous |
5584 @unnumberedsubsec Q5.3.1: How do you make XEmacs indent CL if-clauses correctly? | |
5334 | 5585 |
5335 I'd like XEmacs to indent all the clauses of a Common Lisp @code{if} the | 5586 I'd like XEmacs to indent all the clauses of a Common Lisp @code{if} the |
5336 same amount instead of indenting the 3rd clause differently from the | 5587 same amount instead of indenting the 3rd clause differently from the |
5337 first two. | 5588 first two. |
5338 | 5589 |
5364 comp.emacs.xemacs on 12/9/94. This version includes more documentation | 5615 comp.emacs.xemacs on 12/9/94. This version includes more documentation |
5365 than previous versions. This may prove useful if you need to customize | 5616 than previous versions. This may prove useful if you need to customize |
5366 any indent-functions. | 5617 any indent-functions. |
5367 | 5618 |
5368 @node Q5.3.2, Q5.3.3, Q5.3.1, Miscellaneous | 5619 @node Q5.3.2, Q5.3.3, Q5.3.1, Miscellaneous |
5369 @section Fontifying hang when editing a postscript file. | 5620 @unnumberedsubsec Q5.3.2: Fontifying hang when editing a postscript file. |
5370 | 5621 |
5371 When I try to edit a postscript file it gets stuck saying: | 5622 When I try to edit a postscript file it gets stuck saying: |
5372 @samp{fontifying 'filename' (regexps....)} and it just sits there. If I | 5623 @samp{fontifying 'filename' (regexps....)} and it just sits there. If I |
5373 press @kbd{C-c} in the window where XEmacs was started, it suddenly | 5624 press @kbd{C-c} in the window where XEmacs was started, it suddenly |
5374 becomes alive again. | 5625 becomes alive again. |
5384 | 5635 |
5385 Take it out, restart XEmacs, and it won't try to fontify your postscript | 5636 Take it out, restart XEmacs, and it won't try to fontify your postscript |
5386 files anymore. | 5637 files anymore. |
5387 | 5638 |
5388 @node Q5.3.3, Q5.3.4, Q5.3.2, Miscellaneous | 5639 @node Q5.3.3, Q5.3.4, Q5.3.2, Miscellaneous |
5389 @section How can I print WYSIWYG a font-locked buffer? | 5640 @unnumberedsubsec Q5.3.3: How can I print WYSIWYG a font-locked buffer? |
5390 | 5641 |
5391 Font-lock looks nice. How can I print (WYSIWYG) the highlighted | 5642 Font-lock looks nice. How can I print (WYSIWYG) the highlighted |
5392 document? | 5643 document? |
5393 | 5644 |
5394 The package @code{ps-print}, which is now included with XEmacs, provides | 5645 The package @code{ps-print}, which is now included with XEmacs, provides |
5395 the ability to do this. The source code contains complete instructions | 5646 the ability to do this. The source code contains complete instructions |
5396 on its use, in @file{<xemacs_src_root>/lisp/packages/ps-print.el}. | 5647 on its use, in @file{@email{xemacs_src_root}/lisp/packages/ps-print.el}. |
5397 | 5648 |
5398 @node Q5.3.4, Q5.3.5, Q5.3.3, Miscellaneous | 5649 @node Q5.3.4, Q5.3.5, Q5.3.3, Miscellaneous |
5399 @section Getting @kbd{M-x lpr} to work with postscript printer. | 5650 @unnumberedsubsec Q5.3.4: Getting @kbd{M-x lpr} to work with postscript printer. |
5400 | 5651 |
5401 My printer is a Postscript printer and @code{lpr} only works for | 5652 My printer is a Postscript printer and @code{lpr} only works for |
5402 Postscript files, so how do I get @kbd{M-x lpr-region} and @kbd{M-x | 5653 Postscript files, so how do I get @kbd{M-x lpr-region} and @kbd{M-x |
5403 lpr-buffer} to work? | 5654 lpr-buffer} to work? |
5404 | 5655 |
5412 If you don't use a2ps to convert ASCII to postscript (why not, it's | 5663 If you don't use a2ps to convert ASCII to postscript (why not, it's |
5413 free?), replace with the command you do use. Note also that some | 5664 free?), replace with the command you do use. Note also that some |
5414 versions of a2ps require a @samp{-Pprinter} to ensure spooling. | 5665 versions of a2ps require a @samp{-Pprinter} to ensure spooling. |
5415 | 5666 |
5416 @node Q5.3.5, Q5.3.6, Q5.3.4, Miscellaneous | 5667 @node Q5.3.5, Q5.3.6, Q5.3.4, Miscellaneous |
5417 @section How do I specify the paths that XEmacs uses for finding files? | 5668 @unnumberedsubsec Q5.3.5: How do I specify the paths that XEmacs uses for finding files? |
5418 | 5669 |
5419 You can specify what paths to use by using a number of different flags | 5670 You can specify what paths to use by using a number of different flags |
5420 when running configure. See the section MAKE VARIABLES in the top-level | 5671 when running configure. See the section MAKE VARIABLES in the top-level |
5421 file INSTALL in the XEmacs distribution for a listing of those flags. | 5672 file INSTALL in the XEmacs distribution for a listing of those flags. |
5422 | 5673 |
5427 be specified by passing the @code{--prefix} flag to configure. For a | 5678 be specified by passing the @code{--prefix} flag to configure. For a |
5428 description of the XEmacs install tree, please consult the @file{NEWS} | 5679 description of the XEmacs install tree, please consult the @file{NEWS} |
5429 file. | 5680 file. |
5430 | 5681 |
5431 @node Q5.3.6, Q5.3.7, Q5.3.5, Miscellaneous | 5682 @node Q5.3.6, Q5.3.7, Q5.3.5, Miscellaneous |
5432 @section [This question intentionally left blank] | 5683 @unnumberedsubsec Q5.3.6: [This question intentionally left blank] |
5433 | 5684 |
5434 Obsolete question, left blank to avoid renumbering. | 5685 Obsolete question, left blank to avoid renumbering. |
5435 | 5686 |
5436 @node Q5.3.7, Q5.3.8, Q5.3.6, Miscellaneous | 5687 @node Q5.3.7, Q5.3.8, Q5.3.6, Miscellaneous |
5437 @section Can I have the end of the buffer delimited in some way? | 5688 @unnumberedsubsec Q5.3.7: Can I have the end of the buffer delimited in some way? |
5438 | 5689 |
5439 Say, with: @samp{[END]}? | 5690 Say, with: @samp{[END]}? |
5440 | 5691 |
5441 Try this: | 5692 Try this: |
5442 | 5693 |
5443 @lisp | 5694 @lisp |
5444 (let ((ext (make-extent (point-min) (point-max)))) | 5695 (let ((ext (make-extent (point-min) (point-max)))) |
5445 (set-extent-property ext 'start-closed t) | 5696 (set-extent-property ext 'start-closed t) |
5446 (set-extent-property ext 'end-closed t) | 5697 (set-extent-property ext 'end-closed t) |
5447 (set-extent-property ext 'detachable nil) | 5698 (set-extent-property ext 'detachable nil) |
5448 (set-extent-end-glyph ext (make-glyph [string :data "[END]"]))) | 5699 (set-extent-end-glyph ext (make-glyph [string :data "[END]"]))) |
5449 @end lisp | 5700 @end lisp |
5450 | 5701 |
5451 Since this is XEmacs, you can specify an icon to be shown on | 5702 Since this is XEmacs, you can specify an icon to be shown on |
5452 window-system devices. To do so, change the @code{make-glyph} call to | 5703 window-system devices. To do so, change the @code{make-glyph} call to |
5463 | 5714 |
5464 @lisp | 5715 @lisp |
5465 (let ((ext (make-extent (point-min) (point-max)))) | 5716 (let ((ext (make-extent (point-min) (point-max)))) |
5466 (set-extent-property ext 'start-closed t) | 5717 (set-extent-property ext 'start-closed t) |
5467 (set-extent-property ext 'end-closed t) | 5718 (set-extent-property ext 'end-closed t) |
5468 (set-extent-property ext 'detachable nil) | 5719 (set-extent-property ext 'detachable nil) |
5469 (set-extent-end-glyph ext (make-glyph '([xpm :data "\ | 5720 (set-extent-end-glyph ext (make-glyph '([xpm :data "\ |
5470 /* XPM */ | 5721 /* XPM */ |
5471 static char* eye = @{ | 5722 static char* eye = @{ |
5472 \"20 11 7 2\", | 5723 \"20 11 7 2\", |
5473 \"__ c None\" | 5724 \"__ c None\" |
5475 \"_a c #fefefe\", | 5726 \"_a c #fefefe\", |
5476 \"_b c #7f0000\", | 5727 \"_b c #7f0000\", |
5477 \"_c c #fefe00\", | 5728 \"_c c #fefe00\", |
5478 \"_d c #fe0000\", | 5729 \"_d c #fe0000\", |
5479 \"_e c #bfbfbf\", | 5730 \"_e c #bfbfbf\", |
5480 \"___________`_`_`___b_b_b_b_________`____\", | 5731 \"___________`_`_`___b_b_b_b_________`____\", |
5481 \"_________`_`_`___b_c_c_c_b_b____________\", | 5732 \"_________`_`_`___b_c_c_c_b_b____________\", |
5482 \"_____`_`_`_e___b_b_c_c_c___b___b_______`\", | 5733 \"_____`_`_`_e___b_b_c_c_c___b___b_______`\", |
5483 \"___`_`_e_a___b_b_d___b___b___b___b______\", | 5734 \"___`_`_e_a___b_b_d___b___b___b___b______\", |
5484 \"_`_`_e_a_e___b_b_d_b___b___b___b___b____\", | 5735 \"_`_`_e_a_e___b_b_d_b___b___b___b___b____\", |
5485 \"_`_`_a_e_a___b_b_d___b___b___b___b___b__\", | 5736 \"_`_`_a_e_a___b_b_d___b___b___b___b___b__\", |
5486 \"_`_`_e_a_e___b_b_d_b___b___b___b___b_b__\", | 5737 \"_`_`_e_a_e___b_b_d_b___b___b___b___b_b__\", |
5487 \"___`_`_e_a___b_b_b_d_c___b___b___d_b____\", | 5738 \"___`_`_e_a___b_b_b_d_c___b___b___d_b____\", |
5488 \"_____`_`_e_e___b_b_b_d_c___b_b_d_b______\", | 5739 \"_____`_`_e_e___b_b_b_d_c___b_b_d_b______\", |
5489 \"_`_____`_`_`_`___b_b_b_d_d_d_d_b________\", | 5740 \"_`_____`_`_`_`___b_b_b_d_d_d_d_b________\", |
5490 \"___`_____`_`_`_`___b_b_b_b_b_b__________\", | 5741 \"___`_____`_`_`_`___b_b_b_b_b_b__________\", |
5491 @} ;"] | 5742 @} ;"] |
5492 [string :data "[END]"])))) | 5743 [string :data "[END]"])))) |
5493 @end lisp | 5744 @end lisp |
5494 | 5745 |
5495 Note that you might want to make this a function, and put it to a hook. | 5746 Note that you might want to make this a function, and put it to a hook. |
5496 We leave that as an exercise for the reader. | 5747 We leave that as an exercise for the reader. |
5497 | 5748 |
5498 @node Q5.3.8, Q5.3.9, Q5.3.7, Miscellaneous | 5749 @node Q5.3.8, Q5.3.9, Q5.3.7, Miscellaneous |
5499 @section How do I insert today's date into a buffer? | 5750 @unnumberedsubsec Q5.3.8: How do I insert today's date into a buffer? |
5500 | 5751 |
5501 Like this: | 5752 Like this: |
5502 | 5753 |
5503 @lisp | 5754 @lisp |
5504 (insert (current-time-string)) | 5755 (insert (current-time-string)) |
5505 @end lisp | 5756 @end lisp |
5506 | 5757 |
5507 @node Q5.3.9, Q5.3.10, Q5.3.8, Miscellaneous | 5758 @node Q5.3.9, Q5.3.10, Q5.3.8, Miscellaneous |
5508 @section Are only certain syntactic character classes available for abbrevs? | 5759 @unnumberedsubsec Q5.3.9: Are only certain syntactic character classes available for abbrevs? |
5509 | 5760 |
5510 Markus Gutschke <gutschk@@uni-muenster.de> writes: | 5761 @email{gutschk@@uni-muenster.de, Markus Gutschke} writes: |
5511 | 5762 |
5512 @quotation | 5763 @quotation |
5513 Yes, abbrevs only expands word-syntax strings. While XEmacs does not | 5764 Yes, abbrevs only expands word-syntax strings. While XEmacs does not |
5514 prevent you from defining (e.g. with @kbd{C-x a g} or @kbd{C-x a l}) | 5765 prevent you from defining (e.g. with @kbd{C-x a g} or @kbd{C-x a l}) |
5515 abbrevs that contain special characters, it will refuse to expand | 5766 abbrevs that contain special characters, it will refuse to expand |
5523 @end quotation | 5774 @end quotation |
5524 | 5775 |
5525 Starting with XEmacs 20.3 this restriction has been lifted. | 5776 Starting with XEmacs 20.3 this restriction has been lifted. |
5526 | 5777 |
5527 @node Q5.3.10, Q5.3.11, Q5.3.9, Miscellaneous | 5778 @node Q5.3.10, Q5.3.11, Q5.3.9, Miscellaneous |
5528 @section How can I get those oh-so-neat X-Face lines? | 5779 @unnumberedsubsec Q5.3.10: How can I get those oh-so-neat X-Face lines? |
5529 | 5780 |
5530 Firstly there is an ftp site which describes X-faces and has the | 5781 Firstly there is an ftp site which describes X-faces and has the |
5531 associated tools mentioned below, at | 5782 associated tools mentioned below, at |
5532 <URL:ftp://ftp.cs.indiana.edu:/pub/faces/>. | 5783 @uref{ftp://ftp.cs.indiana.edu:/pub/faces/}. |
5533 | 5784 |
5534 Then the steps are | 5785 Then the steps are |
5535 | 5786 |
5536 @enumerate | 5787 @enumerate |
5537 @item | 5788 @item |
5548 | 5799 |
5549 @item | 5800 @item |
5550 Then be sure to quote things that are necessary for emacs strings: | 5801 Then be sure to quote things that are necessary for emacs strings: |
5551 | 5802 |
5552 @example | 5803 @example |
5553 cat ./file.face | sed 's/\\/\\\\/g' | sed 's/\"/\\\"/g' > ./file.face.quoted | 5804 cat ./file.face | sed 's/\\/\\\\/g' |
5805 @iftex | |
5806 \ @* | |
5807 @end iftex | |
5808 | sed 's/\"/\\\"/g' > ./file.face.quoted | |
5554 @end example | 5809 @end example |
5555 | 5810 |
5556 @item | 5811 @item |
5557 Then set up emacs to include the file as a mail header - there were a | 5812 Then set up emacs to include the file as a mail header - there were a |
5558 couple of suggestions here---either something like: | 5813 couple of suggestions here---either something like: |
5559 | 5814 |
5560 @lisp | 5815 @lisp |
5561 (setq mail-default-headers | 5816 (setq mail-default-headers |
5562 "X-Face: <Ugly looking text string here>") | 5817 "X-Face: @email{Ugly looking text string here}") |
5563 @end lisp | 5818 @end lisp |
5564 | 5819 |
5565 Or, alternatively, as: | 5820 Or, alternatively, as: |
5566 | 5821 |
5567 @lisp | 5822 @lisp |
5568 (defun mail-insert-x-face () | 5823 (defun mail-insert-x-face () |
5569 (save-excursion | 5824 (save-excursion |
5570 (goto-char (point-min)) | 5825 (goto-char (point-min)) |
5571 (search-forward mail-header-separator) | 5826 (search-forward mail-header-separator) |
5572 (beginning-of-line) | 5827 (beginning-of-line) |
5573 (insert "X-Face:") | 5828 (insert "X-Face:") |
5574 (insert-file-contents "~/.face"))) | 5829 (insert-file-contents "~/.face"))) |
5588 @end example | 5843 @end example |
5589 | 5844 |
5590 Some people have also found that if one uses the @code{(insert-file)} | 5845 Some people have also found that if one uses the @code{(insert-file)} |
5591 method, one should NOT quote the face string using the sed script . | 5846 method, one should NOT quote the face string using the sed script . |
5592 | 5847 |
5593 It might also be helpful to use Stig's <stig@@hackvan.com> script | 5848 It might also be helpful to use @email{stig@@hackvan.com, Stig's} script |
5594 (included in the compface distribution at XEmacs.org) to do the | 5849 (included in the compface distribution at XEmacs.org) to do the |
5595 conversion. For convenience xbm2xface is available for anonymous FTP at | 5850 conversion. For convenience xbm2xface is available for anonymous FTP at |
5596 <URL:ftp://ftp.miranova.com/pub/xemacs/xbm2xface.pl>. | 5851 @uref{ftp://ftp.miranova.com/pub/xemacs/xbm2xface.pl}. |
5597 | 5852 |
5598 Contributors for this item: | 5853 Contributors for this item: |
5599 | 5854 |
5600 Paul Emsley, | 5855 Paul Emsley, |
5601 Ricardo Marek, | 5856 Ricardo Marek, |
5602 Amir J. Katz, | 5857 Amir J. Katz, |
5603 Glen McCort, | 5858 Glen McCort, |
5604 Heinz Uphoff, | 5859 Heinz Uphoff, |
5605 Peter Arius, | 5860 Peter Arius, |
5606 Paul Harrison, and | 5861 Paul Harrison, and |
5607 Vegard Vesterheim | 5862 Vegard Vesterheim |
5608 | 5863 |
5609 @node Q5.3.11, Q5.3.12, Q5.3.10, Miscellaneous | 5864 @node Q5.3.11, Q5.3.12, Q5.3.10, Miscellaneous |
5610 @section How do I add new Info directories? | 5865 @unnumberedsubsec Q5.3.11: How do I add new Info directories? |
5611 | 5866 |
5612 You use something like: | 5867 You use something like: |
5613 | 5868 |
5614 @lisp | 5869 @lisp |
5615 (setq Info-directory-list (cons | 5870 (setq Info-directory-list (cons |
5616 (expand-file-name "~/info") | 5871 (expand-file-name "~/info") |
5617 Info-default-directory-list)) | 5872 Info-default-directory-list)) |
5618 @end lisp | 5873 @end lisp |
5619 | 5874 |
5620 David Masterson <davidm@@prism.kla.com> writes: | 5875 @email{davidm@@prism.kla.com, David Masterson} writes: |
5621 | 5876 |
5622 @quotation | 5877 @quotation |
5623 Emacs Info and XEmacs Info do many things differently. If you're trying to | 5878 Emacs Info and XEmacs Info do many things differently. If you're trying to |
5624 support a number of versions of Emacs, here are some notes to remember: | 5879 support a number of versions of Emacs, here are some notes to remember: |
5625 | 5880 |
5649 Another alternative is to convert the documentation to HTML with | 5904 Another alternative is to convert the documentation to HTML with |
5650 texi2html and read it from a web browser like Lynx or W3. | 5905 texi2html and read it from a web browser like Lynx or W3. |
5651 @end quotation | 5906 @end quotation |
5652 | 5907 |
5653 @node Q5.3.12, , Q5.3.11, Miscellaneous | 5908 @node Q5.3.12, , Q5.3.11, Miscellaneous |
5654 @section What do I need to change to make printing work? | 5909 @unnumberedsubsec Q5.3.12: What do I need to change to make printing work? |
5655 | 5910 |
5656 For regular printing there are two variables that can be customized. | 5911 For regular printing there are two variables that can be customized. |
5657 | 5912 |
5658 @table @code | 5913 @table @code |
5659 @item lpr-command | 5914 @item lpr-command |
5693 NOTE: It is an undocumented limitation in XEmacs that postscript | 5948 NOTE: It is an undocumented limitation in XEmacs that postscript |
5694 printing (the @code{Pretty Print Buffer} menu item) @strong{requires} a | 5949 printing (the @code{Pretty Print Buffer} menu item) @strong{requires} a |
5695 window system environment. It cannot be used outside of X11. | 5950 window system environment. It cannot be used outside of X11. |
5696 | 5951 |
5697 @node Current Events, , Miscellaneous, Top | 5952 @node Current Events, , Miscellaneous, Top |
5698 @chapter What the Future Holds | 5953 @unnumbered 6 What the Future Holds |
5699 | 5954 |
5700 This is part 6 of the XEmacs Frequently Asked Questions list. This | 5955 This is part 6 of the XEmacs Frequently Asked Questions list. This |
5701 section will change monthly, and contains any interesting items that have | 5956 section will change monthly, and contains any interesting items that have |
5702 transpired over the previous month. If you are reading this from the | 5957 transpired over the previous month. If you are reading this from the |
5703 XEmacs distribution, please see the version on the Web or archived at the | 5958 XEmacs distribution, please see the version on the Web or archived at the |
5704 various FAQ FTP sites, as this file is surely out of date. | 5959 various FAQ FTP sites, as this file is surely out of date. |
5705 | 5960 |
5706 @menu | 5961 @menu |
5707 * Q6.0.1:: What is new in 20.2? | 5962 * Q6.0.1:: What is new in 20.2? |
5708 * Q6.0.2:: What is new in 20.3? | 5963 * Q6.0.2:: What is new in 20.3? |
5709 * Q6.0.3:: Procedural changes in XEmacs development. | 5964 * Q6.0.3:: What is new in 20.4? |
5965 * Q6.0.4:: Procedural changes in XEmacs development. | |
5710 @end menu | 5966 @end menu |
5711 | 5967 |
5712 @node Q6.0.1, Q6.0.2, Current Events, Current Events | 5968 @node Q6.0.1, Q6.0.2, Current Events, Current Events |
5713 @section What is new in 20.2? | 5969 @unnumberedsec Changes |
5970 @unnumberedsubsec Q6.0.1: What is new in 20.2? | |
5714 | 5971 |
5715 The biggest changes in 20.2 include integration of EFS (the next | 5972 The biggest changes in 20.2 include integration of EFS (the next |
5716 generation of ange-ftp) and AUC Tex (the Emacs subsystem that includes a | 5973 generation of ange-ftp) and AUC Tex (the Emacs subsystem that includes a |
5717 major mode for editing Tex and LaTeX, and a lot of other stuff). Many | 5974 major mode for editing Tex and LaTeX, and a lot of other stuff). Many |
5718 bugs from 20.0 have been fixed for this release. 20.2 also contains a | 5975 bugs from 20.0 have been fixed for this release. 20.2 also contains a |
5721 | 5978 |
5722 XEmacs 20.2 is the development release (20.0 was beta), and is no longer | 5979 XEmacs 20.2 is the development release (20.0 was beta), and is no longer |
5723 considered unstable. | 5980 considered unstable. |
5724 | 5981 |
5725 @node Q6.0.2, Q6.0.3, Q6.0.1, Current Events | 5982 @node Q6.0.2, Q6.0.3, Q6.0.1, Current Events |
5726 @section What is new in 20.3? | 5983 @unnumberedsubsec Q6.0.2: What is new in 20.3? |
5727 | 5984 |
5728 XEmacs 20.3 was released in November 1997. It contains many bugfixes, | 5985 XEmacs 20.3 was released in November 1997. It contains many bugfixes, |
5729 and a number of new features, including Autoconf 2 based configuration, | 5986 and a number of new features, including Autoconf 2 based configuration, |
5730 additional support for Mule (Multi-language extensions to Emacs), many | 5987 additional support for Mule (Multi-language extensions to Emacs), many |
5731 more customizations, multiple frames on TTY-s, support for multiple info | 5988 more customizations, multiple frames on TTY-s, support for multiple info |
5740 the default) is definitely faster than XEmacs 19.16. | 5997 the default) is definitely faster than XEmacs 19.16. |
5741 | 5998 |
5742 XEmacs 20.3 is the first non-beta v20 release, and will be the | 5999 XEmacs 20.3 is the first non-beta v20 release, and will be the |
5743 basis for all further development. | 6000 basis for all further development. |
5744 | 6001 |
5745 @node Q6.0.3, , Q6.0.2, Current Events | 6002 @node Q6.0.3, Q6.0.4, Q6.0.2, Current Events |
5746 @section Procedural changes in XEmacs development. | 6003 @unnumberedsubsec Q6.0.3: What's new in XEmacs 20.4? |
6004 | |
6005 XEmacs 20.4 is a bugfix release with no user-visible changes. | |
6006 @c Filled in from NEWS file of 20.5-b33 | |
6007 | |
6008 | |
6009 @node Q6.0.4, , Q6.0.3, Current Events | |
6010 @unnumberedsubsec Q6.0.4: Procedural changes in XEmacs development. | |
5747 | 6011 |
5748 @enumerate | 6012 @enumerate |
5749 @item | 6013 @item |
5750 Discussion about the development of XEmacs occurs on the xemacs-beta | 6014 Discussion about the development of XEmacs occurs on the xemacs-beta |
5751 mailing list. Subscriptions to this list will now be fully automated | 6015 mailing list. Subscriptions to this list will now be fully automated |
5752 instead of being handled by hand. Send a mail message to | 6016 instead of being handled by hand. Send a mail message to |
5753 <xemacs-beta-request@@xemacs.org> with a subject of subscribe to join | 6017 @email{xemacs-beta-request@@xemacs.org} with a subject of subscribe to join |
5754 the list. Please note this is a developers mailing list for people who | 6018 the list. Please note this is a developers mailing list for people who |
5755 have an active interest in the development process. | 6019 have an active interest in the development process. |
5756 | 6020 |
5757 The discussion of NT XEmacs development is taking place on a separate | 6021 The discussion of NT XEmacs development is taking place on a separate |
5758 mailing list. Send mail to <xemacs-nt-request@@xemacs.org> to | 6022 mailing list. Send mail to |
6023 @iftex | |
6024 @* | |
6025 @end iftex | |
6026 @email{xemacs-nt-request@@xemacs.org} to | |
5759 subscribe. | 6027 subscribe. |
5760 | 6028 |
5761 @item | 6029 @item |
5762 Due to the long development cycle in between releases, it has been | 6030 Due to the long development cycle in between releases, it has been |
5763 decided that intermediate versions will be made available in source only | 6031 decided that intermediate versions will be made available in source only |
5765 | 6033 |
5766 XEmacs 19.16 was the last 19 release, basically consisting of 19.15 plus | 6034 XEmacs 19.16 was the last 19 release, basically consisting of 19.15 plus |
5767 the collected bugfixes. | 6035 the collected bugfixes. |
5768 | 6036 |
5769 @item | 6037 @item |
5770 As of December 1996, Steve Baur <steve@@altair.xemacs.org> has become | 6038 As of December 1996, @email{steve@@altair.xemacs.org, Steve Baur} has become |
5771 the lead maintainer of XEmacs. | 6039 the lead maintainer of XEmacs. |
5772 @end enumerate | 6040 @end enumerate |
5773 | 6041 |
5774 @bye | 6042 @bye |