comparison man/xemacs-faq.texi @ 272:c5d627a313b1 r21-0b34

Import from CVS: tag r21-0b34
author cvs
date Mon, 13 Aug 2007 10:28:48 +0200
parents 0e522484dd2a
children ca9a9ec9c1c1
comparison
equal deleted inserted replaced
271:c7b7086b0a39 272:c5d627a313b1
54 * Q1.0.1:: What is XEmacs? 54 * Q1.0.1:: What is XEmacs?
55 * Q1.0.2:: What is the current version of XEmacs? 55 * Q1.0.2:: What is the current version of XEmacs?
56 * Q1.0.3:: Where can I find it? 56 * Q1.0.3:: Where can I find it?
57 * Q1.0.4:: Why Another Version of Emacs? 57 * Q1.0.4:: Why Another Version of Emacs?
58 * Q1.0.5:: Why Haven't XEmacs and GNU Emacs Merged? 58 * Q1.0.5:: Why Haven't XEmacs and GNU Emacs Merged?
59 * Q1.0.6:: Where can I get help? 59 * Q1.0.6:: Where can I get help?
60 * Q1.0.7:: Where is the mailing list archived? 60 * Q1.0.7:: Where is the mailing list archived?
61 * Q1.0.8:: How do you pronounce XEmacs? 61 * Q1.0.8:: How do you pronounce XEmacs?
62 * Q1.0.9:: What does XEmacs look like? 62 * Q1.0.9:: What does XEmacs look like?
63 * Q1.0.10:: Is there a port of XEmacs to Microsoft ('95 or NT)? 63 * 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? 64 * Q1.0.11:: Is there a port of XEmacs to the Macintosh?
65 * Q1.0.12:: Is there a port of XEmacs to NextStep? 65 * Q1.0.12:: Is there a port of XEmacs to NextStep?
66 * Q1.0.13:: Is there a port of XEmacs to OS/2? 66 * 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? 67 * 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? 71 * Q1.1.2:: How do I become a Beta Tester?
72 * Q1.1.3:: How do I contribute to XEmacs itself? 72 * Q1.1.3:: How do I contribute to XEmacs itself?
73 73
74 Credits: 74 Credits:
75 * Q1.2.1:: Who wrote XEmacs? 75 * Q1.2.1:: Who wrote XEmacs?
76 * Q1.2.2:: Who contributed to this version of the FAQ? 76 * Q1.2.2:: Who contributed to this version of the FAQ?
77 * Q1.2.3:: Who contributed to the FAQ in the past? 77 * Q1.2.3:: Who contributed to the FAQ in the past?
78 78
79 Internationalization: 79 Internationalization:
80 * Q1.3.1:: What is the status of XEmacs v20? 80 * 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}? 81 * 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? 82 * Q1.3.3:: How do I type non-ASCII characters?
83 * Q1.3.4:: Can XEmacs messages come out in a different language? 83 * 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 84 * 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? 85 * Q1.3.6:: How do I portably code for MULE/XEmacs 20.0?
86 * Q1.3.7:: How about Cyrillic Modes? 86 * Q1.3.7:: How about Cyrillic Modes?
87 87
88 Getting Started: 88 Getting Started:
89 * Q1.4.1:: What is a @file{.emacs} and is there a sample one? 89 * 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? 90 * Q1.4.2:: Can I use the same @file{.emacs} with the other Emacs?
91 * Q1.4.3:: Any good XEmacs tutorials around? 91 * Q1.4.3:: Any good XEmacs tutorials around?
94 * Q1.4.6:: What's the difference between a macro and a function? 94 * 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? 95 * Q1.4.7:: Why options saved with 19.13 don't work with 19.14 or later?
96 96
97 Installation and Trouble Shooting 97 Installation and Trouble Shooting
98 98
99 * Q2.0.1:: Running XEmacs without installing. 99 * Q2.0.1:: Running XEmacs without installing.
100 * Q2.0.2:: XEmacs is too big. 100 * Q2.0.2:: XEmacs is too big.
101 * Q2.0.3:: Compiling XEmacs with Netaudio. 101 * Q2.0.3:: Compiling XEmacs with Netaudio.
102 * Q2.0.4:: Problems with Linux and ncurses. 102 * Q2.0.4:: Problems with Linux and ncurses.
103 * Q2.0.5:: Do I need X11 to run XEmacs? 103 * Q2.0.5:: Do I need X11 to run XEmacs?
104 * Q2.0.6:: I'm having strange crashes. What do I do? 104 * Q2.0.6:: I'm having strange crashes. What do I do?
105 * Q2.0.7:: Libraries in non-standard locations. 105 * Q2.0.7:: Libraries in non-standard locations.
106 * Q2.0.8:: can't resolve symbol _h_errno 106 * Q2.0.8:: can't resolve symbol _h_errno
107 * Q2.0.9:: Where do I find external libraries? 107 * Q2.0.9:: Where do I find external libraries?
108 * Q2.0.10:: After I run configure I find a coredump, is something wrong? 108 * Q2.0.10:: After I run configure I find a coredump, is something wrong?
109 * Q2.0.11:: XEmacs can't resolve host names. 109 * Q2.0.11:: XEmacs can't resolve host names.
110 * Q2.0.12:: Why can't I strip XEmacs? 110 * Q2.0.12:: Why can't I strip XEmacs?
111 * Q2.0.13:: Can't link XEmacs on Solaris with Gcc. 111 * Q2.0.13:: Can't link XEmacs on Solaris with Gcc.
112 * Q2.0.14:: Make on HP/UX 9 fails after linking temacs 112 * Q2.0.14:: Make on HP/UX 9 fails after linking temacs
113 113
114 Trouble Shooting: 114 Trouble Shooting:
115 * Q2.1.1:: XEmacs just crashed on me! 115 * Q2.1.1:: XEmacs just crashed on me!
116 * Q2.1.2:: Cryptic Minibuffer messages. 116 * Q2.1.2:: Cryptic Minibuffer messages.
117 * Q2.1.3:: Translation Table Syntax messages at Startup. 117 * 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. 136 * 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. 137 * Q2.1.23:: Movemail on Linux does not work for XEmacs 19.15 and later.
138 138
139 Customization and Options 139 Customization and Options
140 140
141 * Q3.0.1:: What version of Emacs am I running? 141 * Q3.0.1:: What version of Emacs am I running?
142 * Q3.0.2:: How do I evaluate Elisp expressions? 142 * Q3.0.2:: How do I evaluate Elisp expressions?
143 * Q3.0.3:: @code{(setq tab-width 6)} behaves oddly. 143 * Q3.0.3:: @code{(setq tab-width 6)} behaves oddly.
144 * Q3.0.4:: How can I add directories to the @code{load-path}? 144 * 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? 145 * 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? 146 * 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}. 147 * 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? 148 * Q3.0.8:: How do I make a single minibuffer frame?
149 * Q3.0.9:: What is @code{Customize}? 149 * Q3.0.9:: What is @code{Customize}?
150 150
151 X Window System & Resources: 151 X Window System & Resources:
152 * Q3.1.1:: Where is a list of X resources? 152 * 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? 154 * 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? 155 * 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}? 156 * 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? 157 * 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? 158 * Q3.1.7:: @samp{xemacs -name junk} doesn't work?
159 * Q3.1.8:: @samp{-iconic} it doesn't work. 159 * Q3.1.8:: @samp{-iconic} doesn't work.
160 160
161 Textual Fonts & Colors: 161 Textual Fonts & Colors:
162 * Q3.2.1:: How can I set color options from @file{.emacs}? 162 * 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? 163 * 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? 164 * Q3.2.3:: How can I set the colors when highlighting a region?
165 * Q3.2.4:: How can I limit color map usage? 165 * Q3.2.4:: How can I limit color map usage?
166 * Q3.2.5:: My tty supports color, but XEmacs doesn't use them. 166 * Q3.2.5:: My tty supports color, but XEmacs doesn't use them.
167 167
168 The Modeline: 168 The Modeline:
169 * Q3.3.1:: How can I make the modeline go away? 169 * 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? 170 * 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? 171 * 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? 172 * 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? 173 * Q3.3.5:: How can one change the modeline color based on the mode used?
174 174
175 3.4 Multiple Device Support: 175 3.4 Multiple Device Support:
176 * Q3.4.1:: How do I open a frame on another screen of my multi-headed display? 176 * 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? 177 * Q3.4.2:: Can I really connect to a running XEmacs after calling up over a modem? How?
178 178
179 3.5 The Keyboard: 179 3.5 The Keyboard:
180 * Q3.5.1:: How can I bind complex functions (or macros) to keys? 180 * 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? 181 * 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? 182 * 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}? 183 * Q3.5.4:: Globally binding @kbd{Delete}?
184 * Q3.5.5:: Scrolling one line at a time. 184 * Q3.5.5:: Scrolling one line at a time.
185 * Q3.5.6:: How to map @kbd{Help} key alone on Sun type4 keyboard? 185 * 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? 186 * 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? 187 * 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? 188 * Q3.5.9:: How do I make the Delete key delete forward?
189 * Q3.5.10:: Can I turn on @dfn{sticky} modifier keys? 189 * Q3.5.10:: Can I turn on @dfn{sticky} modifier keys?
190 190
215 * Q3.9.2:: How can one use resources to change scrollbar colors? 215 * 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? 216 * 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? 217 * Q3.9.4:: How can I get automatic horizontal scrolling?
218 218
219 Text Selections: 219 Text Selections:
220 * Q3.10.1:: How can I turn off or change highlighted selections? 220 * 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? 221 * 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? 222 * 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)? 223 * 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. 224 * Q3.10.5:: The region disappears when I hit the end of buffer while scrolling.
225 225
242 * Q4.1.1:: What is W3? 242 * Q4.1.1:: What is W3?
243 * Q4.1.2:: How do I run W3 from behind a firewall? 243 * 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? 244 * Q4.1.3:: Is it true that W3 supports style sheets and tables?
245 245
246 Reading Netnews and Mail with Gnus: 246 Reading Netnews and Mail with Gnus:
247 * Q4.2.1:: GNUS, (ding) Gnus, Gnus 5, September Gnus, Red Gnus, Quassia Gnus, argh! 247 * Q4.2.1:: GNUS, (ding) Gnus, Gnus 5, September Gnus, Red Gnus, Quassia Gnus, argh!
248 * Q4.2.2:: [This question intentionally left blank] 248 * Q4.2.2:: [This question intentionally left blank]
249 * Q4.2.3:: How do I make Gnus stay within a single frame? 249 * Q4.2.3:: How do I make Gnus stay within a single frame?
250 * Q4.2.4:: How do I customize the From: line? 250 * Q4.2.4:: How do I customize the From: line?
251 251
252 Other Mail & News: 252 Other Mail & News:
255 * Q4.3.3:: Why isn't this @code{movemail} program working? 255 * 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? 256 * 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)? 257 * Q4.3.5:: Where do I find pstogif (required by tm)?
258 258
259 Sparcworks, EOS, and WorkShop: 259 Sparcworks, EOS, and WorkShop:
260 * Q4.4.1:: What is SPARCworks, EOS, and WorkShop 260 * Q4.4.1:: What is SPARCworks, EOS, and WorkShop
261 261
262 Energize: 262 Energize:
263 * Q4.5.1:: What is/was Energize? 263 * Q4.5.1:: What is/was Energize?
264 264
265 Infodock: 265 Infodock:
281 * Q5.0.5:: How can I get XEmacs to come up in text/auto-fill mode by default? 281 * 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? 282 * Q5.0.6:: How do I start up a second shell buffer?
283 * Q5.0.7:: Telnet from shell filters too much. 283 * Q5.0.7:: Telnet from shell filters too much.
284 * Q5.0.8:: Why does edt emulation not work? 284 * 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? 285 * Q5.0.9:: How can I emulate VI and use it as my default mode?
286 * Q5.0.10:: [This question intentionally left blank] 286 * Q5.0.10:: [This question intentionally left blank]
287 * Q5.0.11:: Filladapt doesn't work in 19.15? 287 * Q5.0.11:: Filladapt doesn't work in 19.15?
288 * Q5.0.12:: How do I disable gnuserv from opening a new frame? 288 * 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? 289 * 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. 290 * Q5.0.14:: Strange things are happening in Shell Mode.
291 * Q5.0.15:: Where do I get the latest CC Mode? 291 * 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? 292 * Q5.0.16:: I find auto-show-mode disconcerting. How do I turn it off?
368 * Q1.0.1:: What is XEmacs? 368 * Q1.0.1:: What is XEmacs?
369 * Q1.0.2:: What is the current version of XEmacs? 369 * Q1.0.2:: What is the current version of XEmacs?
370 * Q1.0.3:: Where can I find it? 370 * Q1.0.3:: Where can I find it?
371 * Q1.0.4:: Why Another Version of Emacs? 371 * Q1.0.4:: Why Another Version of Emacs?
372 * Q1.0.5:: Why Haven't XEmacs and GNU Emacs Merged? 372 * Q1.0.5:: Why Haven't XEmacs and GNU Emacs Merged?
373 * Q1.0.6:: Where can I get help? 373 * Q1.0.6:: Where can I get help?
374 * Q1.0.7:: Where is the mailing list archived? 374 * Q1.0.7:: Where is the mailing list archived?
375 * Q1.0.8:: How do you pronounce XEmacs? 375 * Q1.0.8:: How do you pronounce XEmacs?
376 * Q1.0.9:: What does XEmacs look like? 376 * Q1.0.9:: What does XEmacs look like?
377 * Q1.0.10:: Is there a port of XEmacs to Microsoft ('95 or NT)? 377 * 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? 378 * Q1.0.11:: Is there a port of XEmacs to the Macintosh?
379 * Q1.0.12:: Is there a port of XEmacs to NextStep? 379 * Q1.0.12:: Is there a port of XEmacs to NextStep?
380 * Q1.0.13:: Is there a port of XEmacs to OS/2? 380 * 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? 381 * 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? 385 * Q1.1.2:: How do I become a Beta Tester?
386 * Q1.1.3:: How do I contribute to XEmacs itself? 386 * Q1.1.3:: How do I contribute to XEmacs itself?
387 387
388 Credits: 388 Credits:
389 * Q1.2.1:: Who wrote XEmacs? 389 * Q1.2.1:: Who wrote XEmacs?
390 * Q1.2.2:: Who contributed to this version of the FAQ? 390 * Q1.2.2:: Who contributed to this version of the FAQ?
391 * Q1.2.3:: Who contributed to the FAQ in the past? 391 * Q1.2.3:: Who contributed to the FAQ in the past?
392 392
393 Internationalization: 393 Internationalization:
394 * Q1.3.1:: What is the status of XEmacs v20? 394 * 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}? 395 * 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? 396 * Q1.3.3:: How do I type non-ASCII characters?
397 * Q1.3.4:: Can XEmacs messages come out in a different language? 397 * 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 398 * 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? 399 * Q1.3.6:: How do I portably code for MULE/XEmacs 20.0?
400 * Q1.3.7:: How about Cyrillic Modes? 400 * Q1.3.7:: How about Cyrillic Modes?
401 401
402 Getting Started: 402 Getting Started:
403 * Q1.4.1:: What is a @file{.emacs} and is there a sample one? 403 * 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? 404 * Q1.4.2:: Can I use the same @file{.emacs} with the other Emacs?
405 * Q1.4.3:: Any good XEmacs tutorials around? 405 * Q1.4.3:: Any good XEmacs tutorials around?
518 and the XEmacs development team which provide little hope for a merge to 518 and the XEmacs development team which provide little hope for a merge to
519 take place in the short-term future. 519 take place in the short-term future.
520 520
521 If you have a comment to add regarding the merge, it is a good idea to 521 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 522 avoid posting to the newsgroups, because of the very heated flamewars
523 that often result. Mail your questions to <xemacs-beta@@xemacs.org> and 523 that often result. Mail your questions to <xemacs-beta@@xemacs.org> and
524 <bug-gnu-emacs@@prep.ai.mit.edu>. 524 <bug-gnu-emacs@@prep.ai.mit.edu>.
525 525
526 @node Q1.0.6, Q1.0.7, Q1.0.5, Introduction 526 @node Q1.0.6, Q1.0.7, Q1.0.5, Introduction
527 @section Where can I get help? 527 @section Where can I get help?
528 528
531 531
532 Also, @kbd{M-x apropos} will look for commands for you. 532 Also, @kbd{M-x apropos} will look for commands for you.
533 533
534 Try reading this FAQ, examining the regular GNU Emacs FAQ (which can be 534 Try reading this FAQ, examining the regular GNU Emacs FAQ (which can be
535 found with the Emacs 19 distribution) as well as at 535 found with the Emacs 19 distribution) as well as at
536 <URL:http://www.eecs.nwu.edu/emacs/faq/> and reading the Usenet group 536 <URL:http://www.eecs.nwu.edu/emacs/faq/> and reading the Usenet group
537 comp.emacs.xemacs. 537 comp.emacs.xemacs.
538 538
539 If that does not help, try posting your question to comp.emacs.xemacs. 539 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. 540 Please @strong{do not} post XEmacs related questions to gnu.emacs.help.
541 541
542 If you cannot post or read Usenet news, there is a corresponding mailing 542 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 543 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> 544 with a subject of @samp{subscribe} to <xemacs-request@@xemacs.org>
545 for subscription information and <xemacs@@xemacs.org> to send messages 545 for subscription information and <xemacs@@xemacs.org> to send messages
546 to the list. 546 to the list.
547 547
548 To cancel a subscription, you @strong{must} use the xemacs-request 548 To cancel a subscription, you @strong{must} use the xemacs-request
549 address. Send a message with a subject of @samp{unsubscribe} to be 549 address. Send a message with a subject of @samp{unsubscribe} to be
550 removed. 550 removed.
661 661
662 @node Q1.1.2, Q1.1.3, Q1.1.1, Introduction 662 @node Q1.1.2, Q1.1.3, Q1.1.1, Introduction
663 @section How do I become a Beta Tester? 663 @section How do I become a Beta Tester?
664 664
665 Send an email message to <xemacs-beta-request@@xemacs.org> with a 665 Send an email message to <xemacs-beta-request@@xemacs.org> with a
666 subject line of @samp{subscribe}. 666 subject line of @samp{subscribe}.
667 667
668 Be prepared to get your hands dirty, as beta testers are expected to 668 Be prepared to get your hands dirty, as beta testers are expected to
669 identify problems as best they can. 669 identify problems as best they can.
670 670
671 @node Q1.1.3, Q1.2.1, Q1.1.2, Introduction 671 @node Q1.1.3, Q1.2.1, Q1.1.2, Introduction
705 705
706 XEmacs is the result of the time and effort of many people. The 706 XEmacs is the result of the time and effort of many people. The
707 developers responsible for the 19.16/20.x releases are: 707 developers responsible for the 19.16/20.x releases are:
708 708
709 @itemize @bullet 709 @itemize @bullet
710 @item Martin Buchholz <mrb@@eng.sun.com> 710 @item Martin Buchholz <martin@@xemacs.org>
711 711
712 @item Steve Baur <steve@@altair.xemacs.org> 712 @item Steve Baur <steve@@altair.xemacs.org>
713 713
714 @item Hrvoje Niksic <hniksic@@srce.hr> 714 @item Hrvoje Niksic <hniksic@@srce.hr>
715 @end itemize 715 @end itemize
802 support, 20.3 is approximately as stable as 19.16, and probably faster 802 support, 20.3 is approximately as stable as 19.16, and probably faster
803 (due to additional optimization work.) 803 (due to additional optimization work.)
804 804
805 As of XEmacs 20.3, version 20 is @emph{the} supported version of 805 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 806 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 807 (if any), but that all the real development work will be done on the v20
808 tree. 808 tree.
809 809
810 The incompatible changes in XEmacs 20 include the additional byte-codes, 810 The incompatible changes in XEmacs 20 include the additional byte-codes,
811 new primitive data types (@code{character}, @code{char-table}, and 811 new primitive data types (@code{character}, @code{char-table}, and
812 @code{range-table}). This means that the character-integer equivalence 812 @code{range-table}). This means that the character-integer equivalence
813 inherent to all the previous Emacs and XEmacs releases no longer 813 inherent to all the previous Emacs and XEmacs releases no longer
814 applies. 814 applies.
815 815
816 However, to avoid breaking old code, many functions that should normally 816 However, to avoid breaking old code, many functions that should normally
817 accept characters work with integers, and vice versa. For more 817 accept characters work with integers, and vice versa. For more
818 information, see the Lisp reference manual. Here is a relevant excerpt, 818 information, see the Lisp reference manual. Here is a relevant excerpt,
819 for your convenience. 819 for your convenience.
820 820
821 @quotation 821 @quotation
822 In XEmacs version 19, and in all versions of FSF GNU Emacs, a 822 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. 823 @dfn{character} in XEmacs Lisp is nothing more than an integer.
870 The MULE support works OK but still needs a fair amount of work before 870 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 871 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 872 who speak Japanese and will use XEmacs/MULE to work with Japanese and
873 have some experience with E-Lisp. 873 have some experience with E-Lisp.
874 874
875 As the fundings on Mule have stopped, Mule part of XEmacs is currently 875 As the funding on Mule have stopped, Mule part of XEmacs is currently
876 looking for a full-time maintainer. If you can provide help here, or 876 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>. 877 are willing to fund the work, please mail to <xemacs-beta@@xemacs.org>.
878 878
879 @xref{Q1.1.2}. 879 @xref{Q1.1.2}.
880 880
896 Emacs*XlwMenu.file.labelString: Fichier 896 Emacs*XlwMenu.file.labelString: Fichier
897 Emacs*XlwMenu.openInOtherWindow.labelString: In anderem Fenster offnen 897 Emacs*XlwMenu.openInOtherWindow.labelString: In anderem Fenster offnen
898 @end example 898 @end example
899 899
900 The name of the resource is derived from the non-localized entry by 900 The name of the resource is derived from the non-localized entry by
901 removing punctuation and capitalizing as above. Martin Buchholz 901 removing punctuation and capitalizing as above.
902 <Martin.Buchholz@@sun.com> is working on adding support for Asian
903 language menubar localization to XEmacs 20.
904 902
905 @node Q1.3.5, Q1.3.6, Q1.3.4, Introduction 903 @node Q1.3.5, Q1.3.6, Q1.3.4, Introduction
906 @section Please explain the various input methods in MULE/XEmacs 20.0 904 @section Please explain the various input methods in MULE/XEmacs 20.0
907 905
908 MORIOKA Tomohiko <morioka@@jaist.ac.jp> writes: 906 MORIOKA Tomohiko <morioka@@jaist.ac.jp> writes:
909 907
910 @quotation 908 @quotation
911 Original Mule supports following input methods: Wnn4, Wnn6, Canna, SJ3 909 Original Mule supports the following input methods: Wnn4, Wnn6, Canna, SJ3
912 and XIM. Interfaces for Wnn and SJ3 uses the @code{egg} user 910 and XIM. Interfaces for Wnn and SJ3 uses the @code{egg} user
913 interface. Interface for Canna does not use @samp{egg}. I don't know 911 interface. Interface for Canna does not use @samp{egg}. I don't know
914 about XIM. It is to support ATOK, of course, it may work for another 912 about XIM. It is to support ATOK, of course, it may work for another
915 servers. 913 servers.
916 914
1164 This is part 2 of the XEmacs Frequently Asked Questions list. This 1162 This is part 2 of the XEmacs Frequently Asked Questions list. This
1165 section is devoted to Installation, Maintenance and Trouble Shooting. 1163 section is devoted to Installation, Maintenance and Trouble Shooting.
1166 1164
1167 @menu 1165 @menu
1168 Installation: 1166 Installation:
1169 * Q2.0.1:: Running XEmacs without installing. 1167 * Q2.0.1:: Running XEmacs without installing.
1170 * Q2.0.2:: XEmacs is too big. 1168 * Q2.0.2:: XEmacs is too big.
1171 * Q2.0.3:: Compiling XEmacs with Netaudio. 1169 * Q2.0.3:: Compiling XEmacs with Netaudio.
1172 * Q2.0.4:: Problems with Linux and ncurses. 1170 * Q2.0.4:: Problems with Linux and ncurses.
1173 * Q2.0.5:: Do I need X11 to run XEmacs? 1171 * Q2.0.5:: Do I need X11 to run XEmacs?
1174 * Q2.0.6:: I'm having strange crashes. What do I do? 1172 * Q2.0.6:: I'm having strange crashes. What do I do?
1175 * Q2.0.7:: Libraries in non-standard locations. 1173 * Q2.0.7:: Libraries in non-standard locations.
1176 * Q2.0.8:: can't resolve symbol _h_errno 1174 * Q2.0.8:: can't resolve symbol _h_errno
1177 * Q2.0.9:: Where do I find external libraries? 1175 * Q2.0.9:: Where do I find external libraries?
1178 * Q2.0.10:: After I run configure I find a coredump, is something wrong? 1176 * Q2.0.10:: After I run configure I find a coredump, is something wrong?
1179 * Q2.0.11:: XEmacs can't resolve host names. 1177 * Q2.0.11:: XEmacs can't resolve host names.
1180 * Q2.0.12:: Why can't I strip XEmacs? 1178 * Q2.0.12:: Why can't I strip XEmacs?
1181 * Q2.0.13:: Can't link XEmacs on Solaris with Gcc. 1179 * Q2.0.13:: Can't link XEmacs on Solaris with Gcc.
1182 * Q2.0.14:: Make on HP/UX 9 fails after linking temacs 1180 * Q2.0.14:: Make on HP/UX 9 fails after linking temacs
1183 1181
1184 Trouble Shooting: 1182 Trouble Shooting:
1185 * Q2.1.1:: XEmacs just crashed on me! 1183 * Q2.1.1:: XEmacs just crashed on me!
1186 * Q2.1.2:: Cryptic Minibuffer messages. 1184 * Q2.1.2:: Cryptic Minibuffer messages.
1187 * Q2.1.3:: Translation Table Syntax messages at Startup. 1185 * Q2.1.3:: Translation Table Syntax messages at Startup.
1671 1669
1672 There are known difficulties linking with Gnu ld on Solaris. A typical 1670 There are known difficulties linking with Gnu ld on Solaris. A typical
1673 error message might look like: 1671 error message might look like:
1674 1672
1675 @example 1673 @example
1676 unexec(): dlopen(../dynodump/dynodump.so): ld.so.1: ./temacs: 1674 unexec(): dlopen(../dynodump/dynodump.so): ld.so.1: ./temacs:
1677 fatal: relocation error: 1675 fatal: relocation error:
1678 symbol not found: main: referenced in ../dynodump/dynodump.so 1676 symbol not found: main: referenced in ../dynodump/dynodump.so
1679 @end example 1677 @end example
1680 1678
1681 Martin Buchholz <mrb@@eng.sun.com> writes: 1679 Martin Buchholz <martin@@xemacs.org> writes:
1682 1680
1683 @quotation 1681 @quotation
1684 You need to specify @samp{-fno-gnu-linker} as part of your flags to pass 1682 You need to specify @samp{-fno-gnu-linker} as part of your flags to pass
1685 to ld. Future releases of XEmacs will try to do this automatically. 1683 to ld. Future releases of XEmacs will try to do this automatically.
1686 @end quotation 1684 @end quotation
1932 @example 1930 @example
1933 xemacs*cursorColor: black 1931 xemacs*cursorColor: black
1934 xemacs*pointerColor: black 1932 xemacs*pointerColor: black
1935 @end example 1933 @end example
1936 1934
1937 With the new colours installed the problem still occurs if the above 1935 With the new colors installed the problem still occurs if the above
1938 resources are not defined. 1936 resources are not defined.
1939 1937
1940 If the new colours are not present then an additional error occurs on 1938 If the new colors are not present then an additional error occurs on
1941 XEmacs startup, which says @samp{Color Red3} not defined. 1939 XEmacs startup, which says @samp{Color Red3} not defined.
1942 @end quotation 1940 @end quotation
1943 1941
1944 @node Q2.1.9, Q2.1.10, Q2.1.8, Installation 1942 @node Q2.1.9, Q2.1.10, Q2.1.8, Installation
1945 @section XEmacs causes my OpenWindows 3.0 server to crash. 1943 @section XEmacs causes my OpenWindows 3.0 server to crash.
1989 expression handler. 1987 expression handler.
1990 1988
1991 Douglas Kosovic <douglask@@dstc.edu.au> writes: 1989 Douglas Kosovic <douglask@@dstc.edu.au> writes:
1992 1990
1993 @quotation 1991 @quotation
1994 Actually it's a DEC cc optimisation bug that screws up the regexp 1992 Actually it's a DEC cc optimization bug that screws up the regexp
1995 handling in XEmacs. 1993 handling in XEmacs.
1996 1994
1997 Rebuilding using the @samp{-migrate} switch for DEC cc (which uses a 1995 Rebuilding using the @samp{-migrate} switch for DEC cc (which uses a
1998 different sort of optimisation) works fine. 1996 different sort of optimization) works fine.
1999 @end quotation 1997 @end quotation
2000 1998
2001 See @file{xemacs-19_13-dunix-3_2c.patch} at the following URL on how to 1999 See @file{xemacs-19_13-dunix-3_2c.patch} at the following URL on how to
2002 build with the @samp{-migrate} flag: 2000 build with the @samp{-migrate} flag:
2003 2001
2072 @end quotation 2070 @end quotation
2073 2071
2074 @node Q2.1.15, Q2.1.16, Q2.1.14, Installation 2072 @node Q2.1.15, Q2.1.16, Q2.1.14, Installation
2075 @section How to Debug an XEmacs problem with a debugger 2073 @section How to Debug an XEmacs problem with a debugger
2076 2074
2077 Ben Wing <ben@@666.com> writes:
2078
2079 @quotation
2080 If XEmacs does crash on you, one of the most productive things you can 2075 If XEmacs does crash on you, one of the most productive things you can
2081 do to help get the bug fixed is to poke around a bit with the debugger. 2076 do to help get the bug fixed is to poke around a bit with the debugger.
2082 Here are some hints: 2077 Here are some hints:
2083 2078
2084 @itemize @bullet 2079 @itemize @bullet
2085 @item 2080 @item
2086 First of all, if the crash is at all reproducible, consider very 2081 First of all, if the crash is at all reproducible, consider very
2087 strongly recompiling your XEmacs with debugging symbols, with no 2082 strongly recompiling your XEmacs with debugging symbols, with no
2088 optimization, and with the configure options @samp{--debug=yes}, 2083 optimization, and with the configure options @samp{--debug=yes} and
2089 @samp{--error-checking=all}, and @samp{--dynamic=no}. This will make 2084 @samp{--error-checking=all}. This will make your XEmacs run somewhat
2090 your XEmacs run somewhat slower but make it a lot more likely to catch 2085 slower but make it a lot more likely to catch the problem earlier
2091 the problem earlier (closer to its source), and a lot easier to 2086 (closer to its source), and a lot easier to determine what's going on
2092 determine what's going on with a debugger. 2087 with a debugger.
2093 2088
2094 @item 2089 @item
2095 If you're able to run XEmacs under a debugger and reproduce the crash 2090 If you're able to run XEmacs under a debugger and reproduce the crash
2096 (if it's inconvenient to do this because XEmacs is already running or is 2091 (if it's inconvenient to do this because XEmacs is already running or is
2097 running in batch mode as part of a bunch of scripts, consider attaching 2092 running in batch mode as part of a bunch of scripts, consider attaching
2111 2106
2112 @item 2107 @item
2113 Internally, you will probably see lots of variables that hold objects of 2108 Internally, you will probably see lots of variables that hold objects of
2114 type @code{Lisp_Object}. These are exactly what they appear to be, 2109 type @code{Lisp_Object}. These are exactly what they appear to be,
2115 i.e. references to Lisp objects. Printing them out with the debugger 2110 i.e. references to Lisp objects. Printing them out with the debugger
2116 probably won't be too useful---you'll just see a number. To decode 2111 probably won't be too useful---you'll likely just see a number. To
2117 them, do this: 2112 decode them, do this:
2118 2113
2119 @example 2114 @example
2120 call debug_print (OBJECT) 2115 call debug_print (OBJECT)
2121 @end example 2116 @end example
2122 2117
2131 @example 2126 @example
2132 call debug_backtrace () 2127 call debug_backtrace ()
2133 @end example 2128 @end example
2134 2129
2135 @item 2130 @item
2136 If all you've got is a core dump, all is not lost. You can still poke 2131 Using @code{debug_print} and @code{debug_backtrace} has two
2137 around somewhat, and if you're using GDB, there are some macros in the 2132 disadvantages - it can only be used with a running xemacs process, and
2138 file @file{gdbinit} in the @file{src} directory of the XEmacs 2133 it cannot display the internal C structure of a Lisp Object. Even if
2139 distribution that should make it easier for you to decode Lisp objects. 2134 all you've got is a core dump, all is not lost.
2140 2135
2141 If you're using DBX, you may be able to get further help from Martin 2136 If you're using GDB, there are some macros in the file
2142 Buchholz, the engineer at Sun who works on XEmacs. Write to him at 2137 @file{src/gdbinit} in the XEmacs source distribution that should make it
2143 <Martin.Buchholz@@sun.com>. 2138 easier for you to decode Lisp objects. Copy this file to
2139 @file{~/.gdbinit}, or @code{source} it from @file{~/.gdbinit}, and use
2140 the macros defined therein. In particular, use the @code{pobj} macro to
2141 print the internal C representation of a lisp object. This will work
2142 with a core file or not-yet-run executable. The aliases @code{ldp} and
2143 @code{lbt} are provided for conveniently calling @code{debug_print} and
2144 @code{debug_backtrace}.
2145
2146 If you are using Sun's @file{dbx} debugger, there is an equivalent file
2147 @file{src/dbxrc} to copy to or source from @file{~/.dbxrc}.
2144 2148
2145 @item 2149 @item
2146 If you're using a debugger to get a C stack backtrace and you're seeing 2150 If you're using a debugger to get a C stack backtrace and you're seeing
2147 stack traces with some of the innermost frames mangled, it may be due to 2151 stack traces with some of the innermost frames mangled, it may be due to
2148 dynamic linking. (This happens especially under Linux.) Consider 2152 dynamic linking. (This happens especially under Linux.) Consider
2166 do this---it doesn't accomplish anything except to save a bit of disk 2170 do this---it doesn't accomplish anything except to save a bit of disk
2167 space, and makes debugging much much harder. 2171 space, and makes debugging much much harder.
2168 2172
2169 @item 2173 @item
2170 Your stack is getting trashed. Debugging this is hard; you have to do a 2174 Your stack is getting trashed. Debugging this is hard; you have to do a
2171 binary-search-type of narrowing down where the crash occurs, until you 2175 binary-search type of narrowing down where the crash occurs, until you
2172 figure out exactly which line is causing the problem. Of course, this 2176 figure out exactly which line is causing the problem. Of course, this
2173 only works if the bug is highly reproducible. 2177 only works if the bug is highly reproducible.
2174 2178
2175 @item 2179 @item
2176 If your stack trace has exactly one frame in it, with address 0x0, this 2180 If your stack trace has exactly one frame in it, with address 0x0, this
2183 use the narrowing-down process described above. 2187 use the narrowing-down process described above.
2184 2188
2185 @item 2189 @item
2186 If you compiled 19.14 with @samp{--debug} (or by default in later 2190 If you compiled 19.14 with @samp{--debug} (or by default in later
2187 versions), you will get a Lisp backtrace output when XEmacs crashes, so 2191 versions), you will get a Lisp backtrace output when XEmacs crashes, so
2188 you'll have something useful. If you're in 19.13, you could try doing 2192 you'll have something useful.
2189 @code{call debug_backtrace()}---sometimes this works even after a fatal
2190 signal has been received.
2191 @end enumerate 2193 @end enumerate
2194
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
2192 @end itemize 2206 @end itemize
2193 @end quotation
2194
2195 Here's some more info about using gdbinit:
2196
2197 Different version of @code{gdbinit} are provided for different
2198 platforms. One of these should be installed as @file{.gdbinit} in your
2199 home directory. If you're using XEmacs 19.14 or better, you should
2200 install the default @code{gdbinit} in the @file{src/} directory if you
2201 have GDB 4.14 or better. With GDB 4.13 or earlier, install
2202 @file{gdbinit.pre-4.14}; however, this is noticeably harder to use. If
2203 you're on a machine that uses a union type for Lisp_Objects (only the
2204 DEC Alpha, I think), you'll have to use @code{gdbinit.union}, which is
2205 of the pre-4.14 variety but should be easily upgradable.
2206
2207 With XEmacs 19.13 and earlier, only one @code{gdbinit} is provided (I
2208 think); it's of the pre-4.14 variety and of the union-type
2209 variety. (Many more machines used the union type under 19.13).
2210
2211 With the GDB 4.14+ gdbinit, you can print out a Lisp_Object using
2212 @code{p1 OBJECT} (which calls @code{debug_print()}, and hence only works
2213 if you have a running process) or @code{frob OBJECT} (which works even
2214 on core dumps, and does its own decoding of the object, but its output
2215 isn't always so convenient).
2216
2217 With the pre-GDB 4.14 gdbinit, you have to do these steps:
2218
2219 @example
2220 print OBJECT
2221 xtype
2222 <then type "xcons" or "xstring" or whatever, depending on the type>
2223 @end example
2224
2225 If the object is a record type, you'll probably have to the following
2226 steps:
2227
2228 @example
2229 print OBJECT
2230 xtype
2231 xrecord
2232 <remember what type is printed>
2233 print OBJECT
2234 <then type "xbuffer" or "xsymbol" or whatever>
2235 @end example
2236
2237 Of course, if you know in advance what type the object is of, you can
2238 omit all but the last two steps.
2239 2207
2240 @node Q2.1.16, Q2.1.17, Q2.1.15, Installation 2208 @node Q2.1.16, Q2.1.17, Q2.1.15, Installation
2241 @section XEmacs crashes in @code{strcat} on HP/UX 10 2209 @section XEmacs crashes in @code{strcat} on HP/UX 10
2242 2210
2243 >From the problems database (through 2211 >From the problems database (through
2393 debug-on-quit doesn't work if something's turned on inhibit-quit or in 2361 debug-on-quit doesn't work if something's turned on inhibit-quit or in
2394 some other strange cases. 2362 some other strange cases.
2395 @end quotation 2363 @end quotation
2396 2364
2397 @node Q2.1.23, , Q2.1.22, Installation 2365 @node Q2.1.23, , Q2.1.22, Installation
2398 @section Movemail on Linux does not work for XEmacs 19.15 and later. 2366 @section Movemail on Linux does not work for XEmacs 19.15 and later.
2399 2367
2400 Movemail used to work fine in 19.14 but has stopped working in 19.15 2368 Movemail used to work fine in 19.14 but has stopped working in 19.15
2401 and 20.x. I am using Linux. 2369 and 20.x. I am using Linux.
2402 2370
2403 SL Baur <steve@@xemacs.org> writes: 2371 SL Baur <steve@@xemacs.org> writes:
2419 This is part 3 of the XEmacs Frequently Asked Questions list. This 2387 This is part 3 of the XEmacs Frequently Asked Questions list. This
2420 section is devoted to Customization and screen settings. 2388 section is devoted to Customization and screen settings.
2421 2389
2422 @menu 2390 @menu
2423 Customization---Emacs Lisp and @file{.emacs}: 2391 Customization---Emacs Lisp and @file{.emacs}:
2424 * Q3.0.1:: What version of Emacs am I running? 2392 * Q3.0.1:: What version of Emacs am I running?
2425 * Q3.0.2:: How do I evaluate Elisp expressions? 2393 * Q3.0.2:: How do I evaluate Elisp expressions?
2426 * Q3.0.3:: @code{(setq tab-width 6)} behaves oddly. 2394 * Q3.0.3:: @code{(setq tab-width 6)} behaves oddly.
2427 * Q3.0.4:: How can I add directories to the @code{load-path}? 2395 * Q3.0.4:: How can I add directories to the @code{load-path}?
2428 * Q3.0.5:: How to check if a lisp function is defined? 2396 * Q3.0.5:: How to check if a lisp function is defined?
2429 * Q3.0.6:: Can I force the output of @code{(face-list)} to a buffer? 2397 * Q3.0.6:: Can I force the output of @code{(face-list)} to a buffer?
2430 * Q3.0.7:: Font selections don't get saved after @code{Save Options}. 2398 * Q3.0.7:: Font selections don't get saved after @code{Save Options}.
2431 * Q3.0.8:: How do I make a single minibuffer frame? 2399 * Q3.0.8:: How do I make a single minibuffer frame?
2432 * Q3.0.9:: What is @code{Customize}? 2400 * Q3.0.9:: What is @code{Customize}?
2433 2401
2434 X Window System & Resources: 2402 X Window System & Resources:
2435 * Q3.1.1:: Where is a list of X resources? 2403 * Q3.1.1:: Where is a list of X resources?
2437 * Q3.1.3:: @code{(set-screen-width)} worked in 19.6, but not in 19.13? 2405 * Q3.1.3:: @code{(set-screen-width)} worked in 19.6, but not in 19.13?
2438 * Q3.1.4:: Specifying @code{Emacs*EmacsScreen.geometry} in @file{.emacs} does not work in 19.15? 2406 * Q3.1.4:: Specifying @code{Emacs*EmacsScreen.geometry} in @file{.emacs} does not work in 19.15?
2439 * Q3.1.5:: How can I get the icon to just say @samp{XEmacs}? 2407 * Q3.1.5:: How can I get the icon to just say @samp{XEmacs}?
2440 * Q3.1.6:: How can I have the window title area display the full path? 2408 * Q3.1.6:: How can I have the window title area display the full path?
2441 * Q3.1.7:: @samp{xemacs -name junk} doesn't work? 2409 * Q3.1.7:: @samp{xemacs -name junk} doesn't work?
2442 * Q3.1.8:: @samp{-iconic} it doesn't work. 2410 * Q3.1.8:: @samp{-iconic} doesn't work.
2443 2411
2444 Textual Fonts & Colors: 2412 Textual Fonts & Colors:
2445 * Q3.2.1:: How can I set color options from @file{.emacs}? 2413 * Q3.2.1:: How can I set color options from @file{.emacs}?
2446 * Q3.2.2:: How do I set the text, menu and modeline fonts? 2414 * Q3.2.2:: How do I set the text, menu and modeline fonts?
2447 * Q3.2.3:: How can I set the colors when highlighting a region? 2415 * Q3.2.3:: How can I set the colors when highlighting a region?
2448 * Q3.2.4:: How can I limit color map usage? 2416 * Q3.2.4:: How can I limit color map usage?
2449 * Q3.2.5:: My tty supports color, but XEmacs doesn't use them. 2417 * Q3.2.5:: My tty supports color, but XEmacs doesn't use them.
2450 2418
2451 The Modeline: 2419 The Modeline:
2452 * Q3.3.1:: How can I make the modeline go away? 2420 * Q3.3.1:: How can I make the modeline go away?
2453 * Q3.3.2:: How do you have XEmacs display the line number in the modeline? 2421 * Q3.3.2:: How do you have XEmacs display the line number in the modeline?
2454 * Q3.3.3:: How do I get XEmacs to put the time of day on the modeline? 2422 * Q3.3.3:: How do I get XEmacs to put the time of day on the modeline?
2455 * Q3.3.4:: How do I turn off current chapter from AUC TeX modeline? 2423 * Q3.3.4:: How do I turn off current chapter from AUC TeX modeline?
2456 * Q3.3.5:: How can one change the modeline color based on the mode used? 2424 * Q3.3.5:: How can one change the modeline color based on the mode used?
2457 2425
2458 3.4 Multiple Device Support: 2426 3.4 Multiple Device Support:
2459 * Q3.4.1:: How do I open a frame on another screen of my multi-headed display? 2427 * Q3.4.1:: How do I open a frame on another screen of my multi-headed display?
2460 * Q3.4.2:: Can I really connect to a running XEmacs after calling up over a modem? How? 2428 * Q3.4.2:: Can I really connect to a running XEmacs after calling up over a modem? How?
2461 2429
2462 3.5 The Keyboard: 2430 3.5 The Keyboard:
2463 * Q3.5.1:: How can I bind complex functions (or macros) to keys? 2431 * Q3.5.1:: How can I bind complex functions (or macros) to keys?
2464 * Q3.5.2:: How can I stop down-arrow from adding empty lines to the bottom of my buffers? 2432 * Q3.5.2:: How can I stop down-arrow from adding empty lines to the bottom of my buffers?
2465 * Q3.5.3:: How do I bind C-. and C-; to scroll one line up and down? 2433 * Q3.5.3:: How do I bind C-. and C-; to scroll one line up and down?
2466 * Q3.5.4:: Globally binding @kbd{Delete}? 2434 * Q3.5.4:: Globally binding @kbd{Delete}?
2467 * Q3.5.5:: Scrolling one line at a time. 2435 * Q3.5.5:: Scrolling one line at a time.
2468 * Q3.5.6:: How to map @kbd{Help} key alone on Sun type4 keyboard? 2436 * Q3.5.6:: How to map @kbd{Help} key alone on Sun type4 keyboard?
2469 * Q3.5.7:: How can you type in special characters in XEmacs? 2437 * Q3.5.7:: How can you type in special characters in XEmacs?
2470 * Q3.5.8:: Why does @code{(global-set-key [delete-forward] 'delete-char)} complain? 2438 * Q3.5.8:: Why does @code{(global-set-key [delete-forward] 'delete-char)} complain?
2471 * Q3.5.9:: How do I make the Delete key delete forward? 2439 * Q3.5.9:: How do I make the Delete key delete forward?
2472 * Q3.5.10:: Can I turn on @dfn{sticky} modifier keys? 2440 * Q3.5.10:: Can I turn on @dfn{sticky} modifier keys?
2473 2441
2498 * Q3.9.2:: How can one use resources to change scrollbar colors? 2466 * Q3.9.2:: How can one use resources to change scrollbar colors?
2499 * Q3.9.3:: Moving the scrollbar can move the point; can I disable this? 2467 * Q3.9.3:: Moving the scrollbar can move the point; can I disable this?
2500 * Q3.9.4:: How can I get automatic horizontal scrolling? 2468 * Q3.9.4:: How can I get automatic horizontal scrolling?
2501 2469
2502 Text Selections: 2470 Text Selections:
2503 * Q3.10.1:: How can I turn off or change highlighted selections? 2471 * Q3.10.1:: How can I turn off or change highlighted selections?
2504 * Q3.10.2:: How do I get that typing on an active region removes it? 2472 * Q3.10.2:: How do I get that typing on an active region removes it?
2505 * Q3.10.3:: Can I turn off the highlight during isearch? 2473 * Q3.10.3:: Can I turn off the highlight during isearch?
2506 * Q3.10.4:: How do I turn off highlighting after @kbd{C-x C-p} (mark-page)? 2474 * Q3.10.4:: How do I turn off highlighting after @kbd{C-x C-p} (mark-page)?
2507 * Q3.10.5:: The region disappears when I hit the end of buffer while scrolling. 2475 * Q3.10.5:: The region disappears when I hit the end of buffer while scrolling.
2508 @end menu 2476 @end menu
2585 2553
2586 It's almost always a mistake to test @code{emacs-version} or any similar 2554 It's almost always a mistake to test @code{emacs-version} or any similar
2587 variables. 2555 variables.
2588 2556
2589 Instead, use feature-tests, such as @code{featurep}, @code{boundp}, 2557 Instead, use feature-tests, such as @code{featurep}, @code{boundp},
2590 @code{fboundp}, or even simple behavioural tests, eg.: 2558 @code{fboundp}, or even simple behavioral tests, eg.:
2591 2559
2592 @lisp 2560 @lisp
2593 (defvar foo-old-losing-code-p 2561 (defvar foo-old-losing-code-p
2594 (condition-case nil (progn (losing-code t) nil) 2562 (condition-case nil (progn (losing-code t) nil)
2595 (wrong-number-of-arguments t))) 2563 (wrong-number-of-arguments t)))
2596 @end lisp 2564 @end lisp
2597 2565
2598 There is an incredible amount of broken code out there which could work 2566 There is an incredible amount of broken code out there which could work
2626 when you save options. 2594 when you save options.
2627 @end quotation 2595 @end quotation
2628 2596
2629 For XEmacs 19.15 and later: 2597 For XEmacs 19.15 and later:
2630 2598
2631 Implement the above as well as set the following in your @file{.emacs} 2599 Implement the above as well as set the following in your @file{.emacs}
2632 2600
2633 @lisp 2601 @lisp
2634 (setq options-save-faces t) 2602 (setq options-save-faces t)
2635 @end lisp 2603 @end lisp
2636 2604
2841 2809
2842 @lisp 2810 @lisp
2843 (set-face-background 'default "bisque") ; frame background 2811 (set-face-background 'default "bisque") ; frame background
2844 (set-face-foreground 'default "black") ; normal text 2812 (set-face-foreground 'default "black") ; normal text
2845 (set-face-background 'zmacs-region "red") ; When selecting w/ 2813 (set-face-background 'zmacs-region "red") ; When selecting w/
2846 ; mouse 2814 ; mouse
2847 (set-face-foreground 'zmacs-region "yellow") 2815 (set-face-foreground 'zmacs-region "yellow")
2848 (set-face-font 'default "*courier-bold-r*120-100-100*") 2816 (set-face-font 'default "*courier-bold-r*120-100-100*")
2849 (set-face-background 'highlight "blue") ; Ie when selecting buffers 2817 (set-face-background 'highlight "blue") ; Ie when selecting buffers
2850 (set-face-foreground 'highlight "yellow") 2818 (set-face-foreground 'highlight "yellow")
2851 (set-face-background 'modeline "blue") ; Line at bottom of buffer 2819 (set-face-background 'modeline "blue") ; Line at bottom of buffer
2852 (set-face-foreground 'modeline "white") 2820 (set-face-foreground 'modeline "white")
2853 (set-face-font 'modeline "*bold-r-normal*140-100-100*") 2821 (set-face-font 'modeline "*bold-r-normal*140-100-100*")
2854 (set-face-background 'isearch "yellow") ; When highlighting while 2822 (set-face-background 'isearch "yellow") ; When highlighting while
2855 ; searching 2823 ; searching
2856 (set-face-foreground 'isearch "red") 2824 (set-face-foreground 'isearch "red")
2857 (setq x-pointer-foreground-color "black") ; Adds to bg color, 2825 (setq x-pointer-foreground-color "black") ; Adds to bg color,
2858 ; so keep black 2826 ; so keep black
2859 (setq x-pointer-background-color "blue") ; This is color you really 2827 (setq x-pointer-background-color "blue") ; This is color you really
2860 ; want ptr/crsr 2828 ; want ptr/crsr
2867 setting face values. 2835 setting face values.
2868 2836
2869 In @file{.Xdefaults}: 2837 In @file{.Xdefaults}:
2870 2838
2871 @example 2839 @example
2872 Emacs.default.attributeFont: -*-*-medium-r-*-*-*-120-*-*-m-*-*-* 2840 Emacs.default.attributeFont: -*-*-medium-r-*-*-*-120-*-*-m-*-*-*
2873 Emacs*menubar*font: fixed 2841 Emacs*menubar*font: fixed
2874 Emacs.modeline.attributeFont: fixed 2842 Emacs.modeline.attributeFont: fixed
2875 @end example 2843 @end example
2876 2844
2877 This is confusing because modeline is a face, and can be found listed 2845 This is confusing because modeline is a face, and can be found listed
2896 @end example 2864 @end example
2897 2865
2898 or in your @file{.emacs}: 2866 or in your @file{.emacs}:
2899 2867
2900 @lisp 2868 @lisp
2901 (set-face-background 'zmacs-region "red") 2869 (set-face-background 'zmacs-region "red")
2902 (set-face-foreground 'zmacs-region "yellow") 2870 (set-face-foreground 'zmacs-region "yellow")
2903 @end lisp 2871 @end lisp
2904 2872
2905 @node Q3.2.4, Q3.2.5, Q3.2.3, Customization 2873 @node Q3.2.4, Q3.2.5, Q3.2.3, Customization
2906 @section How can I limit color map usage? 2874 @section How can I limit color map usage?
3018 @section How can one change the modeline color based on the mode used? 2986 @section How can one change the modeline color based on the mode used?
3019 2987
3020 You can use something like the following: 2988 You can use something like the following:
3021 2989
3022 @lisp 2990 @lisp
3023 (add-hook 'lisp-mode-hook 2991 (add-hook 'lisp-mode-hook
3024 (lambda () 2992 (lambda ()
3025 (set-face-background 'modeline "red" (current-buffer)))) 2993 (set-face-background 'modeline "red" (current-buffer))))
3026 @end lisp 2994 @end lisp
3027 2995
3028 Then, when editing a Lisp file (i.e. when in Lisp mode), the modeline 2996 Then, when editing a Lisp file (i.e. when in Lisp mode), the modeline
3574 There are redisplay bugs in 19.14 that may make the preceding result in 3542 There are redisplay bugs in 19.14 that may make the preceding result in
3575 a messed-up display, especially for frames with multiple windows. You 3543 a messed-up display, especially for frames with multiple windows. You
3576 may need to resize the frame before XEmacs completely realizes the 3544 may need to resize the frame before XEmacs completely realizes the
3577 toolbar is really gone. 3545 toolbar is really gone.
3578 3546
3579 Thanks to Martin Buchholz <Martin.Buchholz@@sun.com> for the correct 3547 Thanks to Martin Buchholz <martin@@xemacs.org> for the correct
3580 code. 3548 code.
3581 3549
3582 @node Q3.9.1, Q3.9.2, Q3.8.5, Customization 3550 @node Q3.9.1, Q3.9.2, Q3.8.5, Customization
3583 @section How can I disable the scrollbar? 3551 @section How can I disable the scrollbar?
3584 3552
3587 3555
3588 @example 3556 @example
3589 Emacs.scrollBarWidth: 0 3557 Emacs.scrollBarWidth: 0
3590 @end example 3558 @end example
3591 3559
3592 Or select from the @code{Options} menu @code{Frame Appearance->Scrolbars}. 3560 Or select from the @code{Options} menu @code{Frame Appearance->Scrollbars}.
3593 Remember to save options. 3561 Remember to save options.
3594 3562
3595 To turn the scrollbar off on a per-frame basis, use the following 3563 To turn the scrollbar off on a per-frame basis, use the following
3596 function: 3564 function:
3597 3565
3800 * Q4.1.1:: What is W3? 3768 * Q4.1.1:: What is W3?
3801 * Q4.1.2:: How do I run W3 from behind a firewall? 3769 * Q4.1.2:: How do I run W3 from behind a firewall?
3802 * Q4.1.3:: Is it true that W3 supports style sheets and tables? 3770 * Q4.1.3:: Is it true that W3 supports style sheets and tables?
3803 3771
3804 Reading Netnews and Mail with Gnus: 3772 Reading Netnews and Mail with Gnus:
3805 * Q4.2.1:: GNUS, (ding) Gnus, Gnus 5, September Gnus, Red Gnus,argh! 3773 * Q4.2.1:: GNUS, (ding) Gnus, Gnus 5, September Gnus, Red Gnus,argh!
3806 * Q4.2.2:: [This question intentionally left blank] 3774 * Q4.2.2:: [This question intentionally left blank]
3807 * Q4.2.3:: How do I make Gnus stay within a single frame? 3775 * Q4.2.3:: How do I make Gnus stay within a single frame?
3808 * Q4.2.4:: How do I customize the From: line? 3776 * Q4.2.4:: How do I customize the From: line?
3809 3777
3810 Other Mail & News: 3778 Other Mail & News:
3813 * Q4.3.3:: Why isn't this @code{movemail} program working? 3781 * Q4.3.3:: Why isn't this @code{movemail} program working?
3814 * Q4.3.4:: Movemail is also distributed by Netscape? Can that cause problems? 3782 * Q4.3.4:: Movemail is also distributed by Netscape? Can that cause problems?
3815 * Q4.3.5:: Where do I find pstogif (required by tm)? 3783 * Q4.3.5:: Where do I find pstogif (required by tm)?
3816 3784
3817 Sparcworks, EOS, and WorkShop: 3785 Sparcworks, EOS, and WorkShop:
3818 * Q4.4.1:: What is SPARCworks, EOS, and WorkShop 3786 * Q4.4.1:: What is SPARCworks, EOS, and WorkShop
3819 3787
3820 Energize: 3788 Energize:
3821 * Q4.5.1:: What is/was Energize? 3789 * Q4.5.1:: What is/was Energize?
3822 3790
3823 Infodock: 3791 Infodock:
3892 Note that each string is a regular expression. 3860 Note that each string is a regular expression.
3893 3861
3894 @node Q4.0.7, Q4.0.8, Q4.0.6, Subsystems 3862 @node Q4.0.7, Q4.0.8, Q4.0.6, Subsystems
3895 @section Is there a mailing list or FAQ for VM? 3863 @section Is there a mailing list or FAQ for VM?
3896 3864
3897 A FAQ for VM exists at <URL:http://www.cyberpass.net/~gorkab/vmfaq.htm>. 3865 A FAQ for VM exists at <URL:http://www.cyberpass.net/~gorkab/vmfaq.htm>.
3898 3866
3899 VM has its own newsgroups gnu.emacs.vm.info and gnu.emacs.vm.bug. 3867 VM has its own newsgroups gnu.emacs.vm.info and gnu.emacs.vm.bug.
3900 3868
3901 @node Q4.0.8, Q4.0.9, Q4.0.7, Subsystems 3869 @node Q4.0.8, Q4.0.9, Q4.0.7, Subsystems
3902 @section Remote mail reading with VM. 3870 @section Remote mail reading with VM.
3943 3911
3944 @quotation 3912 @quotation
3945 rmail and VM get new mail from @file{/usr/spool/mail/$USER} using a 3913 rmail and VM get new mail from @file{/usr/spool/mail/$USER} using a
3946 program called @code{movemail}. This program interlocks with 3914 program called @code{movemail}. This program interlocks with
3947 @code{/bin/mail} using the protocol defined by @code{/bin/mail}. 3915 @code{/bin/mail} using the protocol defined by @code{/bin/mail}.
3948 3916
3949 There are two different protocols in general use. One of them uses the 3917 There are two different protocols in general use. One of them uses the
3950 @code{flock} system call. The other involves creating a lock file; 3918 @code{flock} system call. The other involves creating a lock file;
3951 @code{movemail} must be able to write in @file{/usr/spool/mail} in order 3919 @code{movemail} must be able to write in @file{/usr/spool/mail} in order
3952 to do this. You control which one is used by defining, or not defining, 3920 to do this. You control which one is used by defining, or not defining,
3953 the macro @code{MAIL_USE_FLOCK} in @file{config.h} or the m- or s- file 3921 the macro @code{MAIL_USE_FLOCK} in @file{config.h} or the m- or s- file
4252 Era stood for "Emacs Rewritten Again". It was what we were calling the 4220 Era stood for "Emacs Rewritten Again". It was what we were calling the
4253 modified version of Lucid Emacs for Sun when I was dragged, er, allowed 4221 modified version of Lucid Emacs for Sun when I was dragged, er, allowed
4254 to work on this wonderful editor. 4222 to work on this wonderful editor.
4255 @end quotation 4223 @end quotation
4256 4224
4257 Martin Buchholz <Martin.Buchholz@@sun.com> writes: 4225 Martin Buchholz <martin@@xemacs.org> writes:
4258 4226
4259 @quotation 4227 @quotation
4260 EOS is being replaced with a new graphical development environment 4228 EOS is being replaced with a new graphical development environment
4261 called Sun WorkShop, which is currently (07/96) in Alpha Test. For more 4229 called Sun WorkShop, which is currently (07/96) in Alpha Test. For more
4262 details, check out 4230 details, check out
4313 Emacs Manual. 4281 Emacs Manual.
4314 4282
4315 InfoDock menus are much more extensive and more mature than standard 4283 InfoDock menus are much more extensive and more mature than standard
4316 Emacs menus. Each menu offers a @samp{Manual} item which displays 4284 Emacs menus. Each menu offers a @samp{Manual} item which displays
4317 documentation associated with the menu's functions. 4285 documentation associated with the menu's functions.
4318 4286
4319 @noindent 4287 @noindent
4320 Four types of menubars are provided: 4288 Four types of menubars are provided:
4321 @enumerate 4289 @enumerate
4322 @item 4290 @item
4323 An extensive menubar providing access to global InfoDock commands. 4291 An extensive menubar providing access to global InfoDock commands.
4373 requests. 4341 requests.
4374 4342
4375 InfoDock is available across the Internet via anonymous FTP. To get 4343 InfoDock is available across the Internet via anonymous FTP. To get
4376 it, first move to a directory into which you want the InfoDock archive 4344 it, first move to a directory into which you want the InfoDock archive
4377 files placed. We will call this <DIST-DIR>. 4345 files placed. We will call this <DIST-DIR>.
4378 4346
4379 @example 4347 @example
4380 cd <DIST-DIR> 4348 cd <DIST-DIR>
4381 @end example 4349 @end example
4382 4350
4383 Ftp to ftp.xemacs.org (Internet Host ID = 128.174.252.16): 4351 Ftp to ftp.xemacs.org (Internet Host ID = 128.174.252.16):
4386 prompt> ftp ftp.xemacs.org 4354 prompt> ftp ftp.xemacs.org
4387 @end example 4355 @end example
4388 4356
4389 Login as @samp{anonymous} with your own <user-id>@@<site-name> as a password. 4357 Login as @samp{anonymous} with your own <user-id>@@<site-name> as a password.
4390 4358
4391 @example 4359 @example
4392 Name (ftp.xemacs.org): anonymous 4360 Name (ftp.xemacs.org): anonymous
4393 331 Guest login ok, send your complete e-mail address as password. 4361 331 Guest login ok, send your complete e-mail address as password.
4394 Password: -<your-user-id@@your-domain> 4362 Password: -<your-user-id@@your-domain>
4395 230 Guest login ok, access restrictions apply. 4363 230 Guest login ok, access restrictions apply.
4396 @end example 4364 @end example
4464 @section Byte compiling AUC TeX on XEmacs 19.14. 4432 @section Byte compiling AUC TeX on XEmacs 19.14.
4465 4433
4466 Georges Brun-Cottan <bruncott@@dormeur.inria.fr> writes: 4434 Georges Brun-Cottan <bruncott@@dormeur.inria.fr> writes:
4467 4435
4468 @quotation 4436 @quotation
4469 When byte compiling auxtex-9.4g, you must use the command: 4437 When byte compiling auctex-9.4g, you must use the command:
4470 4438
4471 @example 4439 @example
4472 xemacs -batch -l lpath.el 4440 xemacs -batch -l lpath.el
4473 @end example 4441 @end example
4474 @end quotation 4442 @end quotation
4557 * Q5.0.5:: How can I get XEmacs to come up in text/auto-fill mode by default? 4525 * Q5.0.5:: How can I get XEmacs to come up in text/auto-fill mode by default?
4558 * Q5.0.6:: How do I start up a second shell buffer? 4526 * Q5.0.6:: How do I start up a second shell buffer?
4559 * Q5.0.7:: Telnet from shell filters too much. 4527 * Q5.0.7:: Telnet from shell filters too much.
4560 * Q5.0.8:: Why does edt emulation not work? 4528 * Q5.0.8:: Why does edt emulation not work?
4561 * Q5.0.9:: How can I emulate VI and use it as my default mode? 4529 * Q5.0.9:: How can I emulate VI and use it as my default mode?
4562 * Q5.0.10:: [This question intentionally left blank] 4530 * Q5.0.10:: [This question intentionally left blank]
4563 * Q5.0.11:: Filladapt doesn't work in 19.15? 4531 * Q5.0.11:: Filladapt doesn't work in 19.15?
4564 * Q5.0.12:: How do I disable gnuserv from opening a new frame? 4532 * Q5.0.12:: How do I disable gnuserv from opening a new frame?
4565 * Q5.0.13:: How do I start gnuserv so that each subsequent XEmacs is a client? 4533 * Q5.0.13:: How do I start gnuserv so that each subsequent XEmacs is a client?
4566 * Q5.0.14:: Strange things are happening in Shell Mode. 4534 * Q5.0.14:: Strange things are happening in Shell Mode.
4567 * Q5.0.15:: Where do I get the latest CC Mode? 4535 * Q5.0.15:: Where do I get the latest CC Mode?
4568 * Q5.0.16:: I find auto-show-mode disconcerting. How do I turn it off? 4536 * Q5.0.16:: I find auto-show-mode disconcerting. How do I turn it off?
4636 (makunbound 'c-mode-map) 4604 (makunbound 'c-mode-map)
4637 (fmakunbound 'c++-mode) 4605 (fmakunbound 'c++-mode)
4638 (makunbound 'c++-mode-map) 4606 (makunbound 'c++-mode-map)
4639 (makunbound 'c-style-alist) 4607 (makunbound 'c-style-alist)
4640 (load-library "old-c-mode") 4608 (load-library "old-c-mode")
4641 (load-library "old-c++-mode") 4609 (load-library "old-c++-mode")
4642 @end lisp 4610 @end lisp
4643 4611
4644 This must be done before any other reference is made to either c-mode or 4612 This must be done before any other reference is made to either c-mode or
4645 c++-mode. 4613 c++-mode.
4646 4614
4805 4773
4806 @node Q5.0.10, Q5.0.11, Q5.0.9, Miscellaneous 4774 @node Q5.0.10, Q5.0.11, Q5.0.9, Miscellaneous
4807 @section [This question intentionally left blank] 4775 @section [This question intentionally left blank]
4808 4776
4809 Obsolete question, left blank to avoid renumbering 4777 Obsolete question, left blank to avoid renumbering
4810 4778
4811 @node Q5.0.11, Q5.0.12, Q5.0.10, Miscellaneous 4779 @node Q5.0.11, Q5.0.12, Q5.0.10, Miscellaneous
4812 @section Filladapt doesn't work in 19.15 4780 @section Filladapt doesn't work in 19.15
4813 4781
4814 Filladapt 2.x is included in 19.15. In it filladapt is now a minor 4782 Filladapt 2.x is included in 19.15. In it filladapt is now a minor
4815 mode and minor modes are traditionally off by default. The following 4783 mode and minor modes are traditionally off by default. The following
4821 4789
4822 Use @code{turn-on-filladapt-mode} to turn Filladapt on in particular 4790 Use @code{turn-on-filladapt-mode} to turn Filladapt on in particular
4823 major modes, like this: 4791 major modes, like this:
4824 4792
4825 @lisp 4793 @lisp
4826 (add-hook 'text-mode-hook 'turn-on-filladapt-mode) 4794 (add-hook 'text-mode-hook 'turn-on-filladapt-mode)
4827 @end lisp 4795 @end lisp
4828 4796
4829 @node Q5.0.12, Q5.0.13, Q5.0.11, Miscellaneous 4797 @node Q5.0.12, Q5.0.13, Q5.0.11, Miscellaneous
4830 @section How do I disable gnuserv from opening a new frame? 4798 @section How do I disable gnuserv from opening a new frame?
4831 4799
4879 happens) when I'm typing into shell mode, I hit return and only a 4847 happens) when I'm typing into shell mode, I hit return and only a
4880 portion of the command is given to the shell, and a blank prompt is 4848 portion of the command is given to the shell, and a blank prompt is
4881 returned. If I hit return again, the rest of the previous command is 4849 returned. If I hit return again, the rest of the previous command is
4882 given to the shell. 4850 given to the shell.
4883 4851
4884 Martin Buchholz <Martin.Buchholz@@sun.com> writes: 4852 Martin Buchholz <martin@@xemacs.org> writes:
4885 4853
4886 @quotation 4854 @quotation
4887 There is a known problem with interaction between @code{csh} and the 4855 There is a known problem with interaction between @code{csh} and the
4888 @code{filec} option and XEmacs. You should add the following to your 4856 @code{filec} option and XEmacs. You should add the following to your
4889 @file{.cshrc}: 4857 @file{.cshrc}:
5263 (point-min) 5231 (point-min)
5264 'text 5232 'text
5265 (current-buffer)) 5233 (current-buffer))
5266 @end lisp 5234 @end lisp
5267 5235
5268 Replace @samp{FORMAT} with an unquoted symbol representing the format of 5236 Replace @samp{FORMAT} with an unquoted symbol representing the format of
5269 the image (e.g. @code{xpm}, @code{xbm}, @code{gif}, @code{jpeg}, etc.) 5237 the image (e.g. @code{xpm}, @code{xbm}, @code{gif}, @code{jpeg}, etc.)
5270 Instead of @samp{FILE}, use the image file name 5238 Instead of @samp{FILE}, use the image file name
5271 (e.g. @file{/usr/local/lib/xemacs-20.2/etc/recycle.xpm}). 5239 (e.g. @file{/usr/local/lib/xemacs-20.2/etc/recycle.xpm}).
5272 5240
5273 You can turn this to a function (that optionally prompts you for a file 5241 You can turn this to a function (that optionally prompts you for a file
5276 5244
5277 @node Q5.1.10, Q5.2.1, Q5.1.9, Miscellaneous 5245 @node Q5.1.10, Q5.2.1, Q5.1.9, Miscellaneous
5278 @section @code{map-extents} won't traverse all of my extents! 5246 @section @code{map-extents} won't traverse all of my extents!
5279 5247
5280 I tried to use @code{map-extents} to do an operation on all the extents 5248 I tried to use @code{map-extents} to do an operation on all the extents
5281 in a region. However, it seems to quit after processing a random number 5249 in a region. However, it seems to quit after processing a random number
5282 of extents. Is it buggy? 5250 of extents. Is it buggy?
5283 5251
5284 No. The documentation of @code{map-extents} states that it will iterate 5252 No. The documentation of @code{map-extents} states that it will iterate
5285 across the extents as long as @var{function} returns @code{nil}. 5253 across the extents as long as @var{function} returns @code{nil}.
5286 Unexperienced programmers often forget to return @code{nil} explicitly, 5254 Unexperienced programmers often forget to return @code{nil} explicitly,
5287 which results in buggy code. For instance, the following code is 5255 which results in buggy code. For instance, the following code is
5288 supposed to delete all the extents in a buffer, and issue as many 5256 supposed to delete all the extents in a buffer, and issue as many
5289 @samp{fubar!} messages. 5257 @samp{fubar!} messages.
5313 @lisp 5281 @lisp
5314 (setq bell-volume 0) 5282 (setq bell-volume 0)
5315 (setq sound-alist nil) 5283 (setq sound-alist nil)
5316 @end lisp 5284 @end lisp
5317 5285
5318 That will make your XEmacs totally silent -- even the default ding sound 5286 That will make your XEmacs totally silent -- even the default ding sound
5319 (TTY beep on TTY-s) will be gone. 5287 (TTY beep on TTY-s) will be gone.
5320 5288
5321 Starting with XEmacs-20.2 you can also change these with Customize. 5289 Starting with XEmacs-20.2 you can also change these with Customize.
5322 Select from the @code{Options} menu 5290 Select from the @code{Options} menu
5323 @code{Customize->Emacs->Environment->Sound->Sound...} or type 5291 @code{Customize->Emacs->Environment->Sound->Sound...} or type
5474 5442
5475 @lisp 5443 @lisp
5476 (let ((ext (make-extent (point-min) (point-max)))) 5444 (let ((ext (make-extent (point-min) (point-max))))
5477 (set-extent-property ext 'start-closed t) 5445 (set-extent-property ext 'start-closed t)
5478 (set-extent-property ext 'end-closed t) 5446 (set-extent-property ext 'end-closed t)
5479 (set-extent-property ext 'detachable nil) 5447 (set-extent-property ext 'detachable nil)
5480 (set-extent-end-glyph ext (make-glyph [string :data "[END]"]))) 5448 (set-extent-end-glyph ext (make-glyph [string :data "[END]"])))
5481 @end lisp 5449 @end lisp
5482 5450
5483 Since this is XEmacs, you can specify an icon to be shown on 5451 Since this is XEmacs, you can specify an icon to be shown on
5484 window-system devices. To do so, change the @code{make-glyph} call to 5452 window-system devices. To do so, change the @code{make-glyph} call to
5495 5463
5496 @lisp 5464 @lisp
5497 (let ((ext (make-extent (point-min) (point-max)))) 5465 (let ((ext (make-extent (point-min) (point-max))))
5498 (set-extent-property ext 'start-closed t) 5466 (set-extent-property ext 'start-closed t)
5499 (set-extent-property ext 'end-closed t) 5467 (set-extent-property ext 'end-closed t)
5500 (set-extent-property ext 'detachable nil) 5468 (set-extent-property ext 'detachable nil)
5501 (set-extent-end-glyph ext (make-glyph '([xpm :data "\ 5469 (set-extent-end-glyph ext (make-glyph '([xpm :data "\
5502 /* XPM */ 5470 /* XPM */
5503 static char* eye = @{ 5471 static char* eye = @{
5504 \"20 11 7 2\", 5472 \"20 11 7 2\",
5505 \"__ c None\" 5473 \"__ c None\"
5507 \"_a c #fefefe\", 5475 \"_a c #fefefe\",
5508 \"_b c #7f0000\", 5476 \"_b c #7f0000\",
5509 \"_c c #fefe00\", 5477 \"_c c #fefe00\",
5510 \"_d c #fe0000\", 5478 \"_d c #fe0000\",
5511 \"_e c #bfbfbf\", 5479 \"_e c #bfbfbf\",
5512 \"___________`_`_`___b_b_b_b_________`____\", 5480 \"___________`_`_`___b_b_b_b_________`____\",
5513 \"_________`_`_`___b_c_c_c_b_b____________\", 5481 \"_________`_`_`___b_c_c_c_b_b____________\",
5514 \"_____`_`_`_e___b_b_c_c_c___b___b_______`\", 5482 \"_____`_`_`_e___b_b_c_c_c___b___b_______`\",
5515 \"___`_`_e_a___b_b_d___b___b___b___b______\", 5483 \"___`_`_e_a___b_b_d___b___b___b___b______\",
5516 \"_`_`_e_a_e___b_b_d_b___b___b___b___b____\", 5484 \"_`_`_e_a_e___b_b_d_b___b___b___b___b____\",
5517 \"_`_`_a_e_a___b_b_d___b___b___b___b___b__\", 5485 \"_`_`_a_e_a___b_b_d___b___b___b___b___b__\",
5518 \"_`_`_e_a_e___b_b_d_b___b___b___b___b_b__\", 5486 \"_`_`_e_a_e___b_b_d_b___b___b___b___b_b__\",
5519 \"___`_`_e_a___b_b_b_d_c___b___b___d_b____\", 5487 \"___`_`_e_a___b_b_b_d_c___b___b___d_b____\",
5520 \"_____`_`_e_e___b_b_b_d_c___b_b_d_b______\", 5488 \"_____`_`_e_e___b_b_b_d_c___b_b_d_b______\",
5521 \"_`_____`_`_`_`___b_b_b_d_d_d_d_b________\", 5489 \"_`_____`_`_`_`___b_b_b_d_d_d_d_b________\",
5522 \"___`_____`_`_`_`___b_b_b_b_b_b__________\", 5490 \"___`_____`_`_`_`___b_b_b_b_b_b__________\",
5523 @} ;"] 5491 @} ;"]
5524 [string :data "[END]"])))) 5492 [string :data "[END]"]))))
5525 @end lisp 5493 @end lisp
5526 5494
5527 Note that you might want to make this a function, and put it to a hook. 5495 Note that you might want to make this a function, and put it to a hook.
5588 @item 5556 @item
5589 Then set up emacs to include the file as a mail header - there were a 5557 Then set up emacs to include the file as a mail header - there were a
5590 couple of suggestions here---either something like: 5558 couple of suggestions here---either something like:
5591 5559
5592 @lisp 5560 @lisp
5593 (setq mail-default-headers 5561 (setq mail-default-headers
5594 "X-Face: <Ugly looking text string here>") 5562 "X-Face: <Ugly looking text string here>")
5595 @end lisp 5563 @end lisp
5596 5564
5597 Or, alternatively, as: 5565 Or, alternatively, as:
5598 5566
5599 @lisp 5567 @lisp
5600 (defun mail-insert-x-face () 5568 (defun mail-insert-x-face ()
5601 (save-excursion 5569 (save-excursion
5602 (goto-char (point-min)) 5570 (goto-char (point-min))
5603 (search-forward mail-header-separator) 5571 (search-forward mail-header-separator)
5604 (beginning-of-line) 5572 (beginning-of-line)
5605 (insert "X-Face:") 5573 (insert "X-Face:")
5606 (insert-file-contents "~/.face"))) 5574 (insert-file-contents "~/.face")))
5627 conversion. For convenience xbm2xface is available for anonymous FTP at 5595 conversion. For convenience xbm2xface is available for anonymous FTP at
5628 <URL:ftp://ftp.miranova.com/pub/xemacs/xbm2xface.pl>. 5596 <URL:ftp://ftp.miranova.com/pub/xemacs/xbm2xface.pl>.
5629 5597
5630 Contributors for this item: 5598 Contributors for this item:
5631 5599
5632 Paul Emsley, 5600 Paul Emsley,
5633 Ricardo Marek, 5601 Ricardo Marek,
5634 Amir J. Katz, 5602 Amir J. Katz,
5635 Glen McCort, 5603 Glen McCort,
5636 Heinz Uphoff, 5604 Heinz Uphoff,
5637 Peter Arius, 5605 Peter Arius,
5638 Paul Harrison, and 5606 Paul Harrison, and
5639 Vegard Vesterheim 5607 Vegard Vesterheim
5640 5608
5641 @node Q5.3.11, Q5.3.12, Q5.3.10, Miscellaneous 5609 @node Q5.3.11, Q5.3.12, Q5.3.10, Miscellaneous
5642 @section How do I add new Info directories? 5610 @section How do I add new Info directories?
5643 5611
5644 You use something like: 5612 You use something like:
5645 5613
5646 @lisp 5614 @lisp
5647 (setq Info-directory-list (cons 5615 (setq Info-directory-list (cons
5648 (expand-file-name "~/info") 5616 (expand-file-name "~/info")
5649 Info-default-directory-list)) 5617 Info-default-directory-list))
5650 @end lisp 5618 @end lisp
5651 5619
5652 David Masterson <davidm@@prism.kla.com> writes: 5620 David Masterson <davidm@@prism.kla.com> writes: