Mercurial > hg > xemacs-beta
comparison man/xemacs-faq.texi @ 371:cc15677e0335 r21-2b1
Import from CVS: tag r21-2b1
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:03:08 +0200 |
parents | 1d62742628b6 |
children | 8626e4521993 |
comparison
equal
deleted
inserted
replaced
370:bd866891f083 | 371:cc15677e0335 |
---|---|
1 \input texinfo.tex @c -*- mode: texinfo; coding: iso-2022-8 -*- | 1 \input texinfo.tex @c -*-texinfo-*- |
2 @c %**start of header | 2 @c %**start of header |
3 @setfilename ../info/xemacs-faq.info | 3 @setfilename ../info/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 @finalout | 7 @finalout |
8 @titlepage | 8 @titlepage |
9 @title XEmacs FAQ | 9 @title XEmacs FAQ |
10 @subtitle Frequently asked questions about XEmacs @* Last Modified: $Date: 2001/01/20 20:49:32 $ | 10 @subtitle Frequently asked questions about XEmacs @* Last Modified: $Date: 1998/06/30 06:35:33 $ |
11 @sp 1 | 11 @sp 1 |
12 @author Tony Rossini <rossini@@biostat.washington.edu> | 12 @author Tony Rossini <arossini@@stat.sc.edu> |
13 @author Ben Wing <ben@@xemacs.org> | 13 @author Ben Wing <wing@@666.com> |
14 @author Chuck Thompson <cthomp@@xemacs.org> | 14 @author Chuck Thompson <cthomp@@xemacs.org> |
15 @author Steve Baur <steve@@xemacs.org> | 15 @author Steve Baur <steve@@xemacs.org> |
16 @author Andreas Kaempf <andreas@@sccon.com> | 16 @author Andreas Kaempf <andreas@@sccon.com> |
17 @author Christian Nyb@o{} <chr@@mediascience.no> | 17 @author Christian Nyb@o{} <chr@@mediascience.no> |
18 @author Sandra Wambold <wambold@@xemacs.org> | |
19 @page | 18 @page |
20 @end titlepage | 19 @end titlepage |
21 | |
22 @ifinfo | |
23 @dircategory XEmacs Editor | |
24 @direntry | |
25 * FAQ: (xemacs-faq). XEmacs FAQ. | |
26 @end direntry | |
27 @end ifinfo | |
28 | 20 |
29 @node Top, Introduction, (dir), (dir) | 21 @node Top, Introduction, (dir), (dir) |
30 @top XEmacs FAQ | 22 @top XEmacs FAQ |
31 @unnumbered Introduction | 23 @unnumbered Introduction |
32 | 24 |
33 This is the guide to the XEmacs Frequently Asked Questions list---a | 25 This is the guide to the XEmacs Frequently Asked Questions list---a |
34 compendium of questions and answers pertaining to one of the finest | 26 compendium of questions and answers pertaining to one of the finest |
35 programs ever written. XEmacs is much more than just a Text Editor. | 27 programs ever written. It is much more than just a Text Editor. |
36 | 28 |
37 This FAQ is freely redistributable. This FAQ is distributed in the hope | 29 This FAQ is freely redistributable. I take no liability for the |
38 that it will be useful, but WITHOUT ANY WARRANTY; without even the | 30 correctness and safety of any procedures or advice given here. This |
39 implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | 31 FAQ is distributed in the hope that it will be useful, but WITHOUT ANY |
32 WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
33 FITNESS FOR A PARTICULAR PURPOSE. | |
40 | 34 |
41 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 |
42 @iftex | 36 @iftex |
43 @* | 37 @* |
44 @end iftex | 38 @end iftex |
45 @uref{http://www.xemacs.org/faq/xemacs-faq.html} | 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. | |
46 | 44 |
47 @ifset CANONICAL | 45 @ifset CANONICAL |
48 @html | 46 @html |
49 This document is available in several different formats: | 47 This document is available in several different formats: |
50 @itemize @bullet | 48 @itemize @bullet |
64 The canonical version of the FAQ is the texinfo document | 62 The canonical version of the FAQ is the texinfo document |
65 @uref{xemacs-faq.texi, man/xemacs-faq.texi}. | 63 @uref{xemacs-faq.texi, man/xemacs-faq.texi}. |
66 @item | 64 @item |
67 If you do not have makeinfo installed, you may @uref{xemacs-faq.info, | 65 If you do not have makeinfo installed, you may @uref{xemacs-faq.info, |
68 download the faq} in info format, and install it in @file{<XEmacs | 66 download the faq} in info format, and install it in @file{<XEmacs |
69 library directory>/info/}. For example in | 67 libarary directory>/info/}. For example in |
70 @file{/usr/local/lib/xemacs-20.4/info/}. | 68 @file{/usr/local/lib/xemacs-20.4/info/}. |
71 | 69 |
72 @end itemize | 70 @end itemize |
73 | 71 |
74 @end html | 72 @end html |
81 * Introduction:: Introduction, Policy, Credits. | 79 * Introduction:: Introduction, Policy, Credits. |
82 * Installation:: Installation and Trouble Shooting. | 80 * Installation:: Installation and Trouble Shooting. |
83 * Customization:: Customization and Options. | 81 * Customization:: Customization and Options. |
84 * Subsystems:: Major Subsystems. | 82 * Subsystems:: Major Subsystems. |
85 * Miscellaneous:: The Miscellaneous Stuff. | 83 * Miscellaneous:: The Miscellaneous Stuff. |
86 * MS Windows:: XEmacs on Microsoft Windows. | |
87 * Current Events:: What the Future Holds. | 84 * Current Events:: What the Future Holds. |
88 | 85 |
89 @detailmenu | 86 @detailmenu |
90 | 87 |
91 --- The Detailed Node Listing --- | 88 --- The Detailed Node Listing --- |
96 * Q1.0.2:: What is the current version of XEmacs? | 93 * Q1.0.2:: What is the current version of XEmacs? |
97 * Q1.0.3:: Where can I find it? | 94 * Q1.0.3:: Where can I find it? |
98 * Q1.0.4:: Why Another Version of Emacs? | 95 * Q1.0.4:: Why Another Version of Emacs? |
99 * Q1.0.5:: Why Haven't XEmacs and GNU Emacs Merged? | 96 * Q1.0.5:: Why Haven't XEmacs and GNU Emacs Merged? |
100 * Q1.0.6:: Where can I get help? | 97 * Q1.0.6:: Where can I get help? |
101 * Q1.0.7:: Where are the mailing lists archived? | 98 * Q1.0.7:: Where is the mailing list archived? |
102 * Q1.0.8:: How do you pronounce XEmacs? | 99 * Q1.0.8:: How do you pronounce XEmacs? |
103 * Q1.0.9:: What does XEmacs look like? | 100 * Q1.0.9:: What does XEmacs look like? |
104 * Q1.0.10:: Is there a port of XEmacs to Microsoft ('95 or NT)? | 101 * Q1.0.10:: Is there a port of XEmacs to Microsoft ('95 or NT)? |
105 * Q1.0.11:: Is there a port of XEmacs to the Macintosh? | 102 * Q1.0.11:: Is there a port of XEmacs to the Macintosh? |
106 * Q1.0.12:: Is there a port of XEmacs to NextStep? | 103 * Q1.0.12:: Is there a port of XEmacs to NextStep? |
116 * Q1.2.1:: Who wrote XEmacs? | 113 * Q1.2.1:: Who wrote XEmacs? |
117 * Q1.2.2:: Who contributed to this version of the FAQ? | 114 * Q1.2.2:: Who contributed to this version of the FAQ? |
118 * Q1.2.3:: Who contributed to the FAQ in the past? | 115 * Q1.2.3:: Who contributed to the FAQ in the past? |
119 | 116 |
120 Internationalization: | 117 Internationalization: |
121 * Q1.3.1:: What is the status of internationalization support aka MULE (including Asian language support? | 118 * Q1.3.1:: What is the status of XEmacs v20? |
122 * Q1.3.2:: How can I help with internationalization? | 119 * Q1.3.2:: What is the status of Asian-language support, aka @var{mule}? |
123 * Q1.3.3:: How do I type non-ASCII characters? | 120 * Q1.3.3:: How do I type non-ASCII characters? |
124 * Q1.3.4:: Can XEmacs messages come out in a different language? | 121 * Q1.3.4:: Can XEmacs messages come out in a different language? |
125 * Q1.3.5:: Please explain the various input methods in MULE/XEmacs | 122 * Q1.3.5:: Please explain the various input methods in MULE/XEmacs 20.0 |
126 * Q1.3.6:: How do I portably code for MULE/XEmacs? | 123 * Q1.3.6:: How do I portably code for MULE/XEmacs 20.0? |
127 * Q1.3.7:: How about Cyrillic Modes? | 124 * Q1.3.7:: How about Cyrillic Modes? |
128 | 125 |
129 Getting Started: | 126 Getting Started: |
130 * Q1.4.1:: What is a @file{.emacs} and is there a sample one? | 127 * Q1.4.1:: What is a @file{.emacs} and is there a sample one? |
131 * Q1.4.2:: Can I use the same @file{.emacs} with the other Emacs? | 128 * Q1.4.2:: Can I use the same @file{.emacs} with the other Emacs? |
132 * Q1.4.3:: Any good XEmacs tutorials around? | 129 * Q1.4.3:: Any good XEmacs tutorials around? |
133 * Q1.4.4:: May I see an example of a useful XEmacs Lisp function? | 130 * Q1.4.4:: May I see an example of a useful XEmacs Lisp function? |
134 * Q1.4.5:: And how do I bind it to a key? | 131 * Q1.4.5:: And how do I bind it to a key? |
135 * Q1.4.6:: What's the difference between a macro and a function? | 132 * Q1.4.6:: What's the difference between a macro and a function? |
133 * Q1.4.7:: Why options saved with 19.13 don't work with 19.14 or later? | |
136 | 134 |
137 Installation and Trouble Shooting | 135 Installation and Trouble Shooting |
138 | 136 |
139 * Q2.0.1:: Running XEmacs without installing. | 137 * Q2.0.1:: Running XEmacs without installing. |
140 * Q2.0.2:: XEmacs is too big. | 138 * Q2.0.2:: XEmacs is too big. |
146 * Q2.0.8:: can't resolve symbol _h_errno | 144 * Q2.0.8:: can't resolve symbol _h_errno |
147 * Q2.0.9:: Where do I find external libraries? | 145 * Q2.0.9:: Where do I find external libraries? |
148 * Q2.0.10:: After I run configure I find a coredump, is something wrong? | 146 * Q2.0.10:: After I run configure I find a coredump, is something wrong? |
149 * Q2.0.11:: XEmacs can't resolve host names. | 147 * Q2.0.11:: XEmacs can't resolve host names. |
150 * Q2.0.12:: Why can't I strip XEmacs? | 148 * Q2.0.12:: Why can't I strip XEmacs? |
151 * Q2.0.13:: I don't need no steenkin' packages. Do I? (NEW) | 149 * Q2.0.13:: Can't link XEmacs on Solaris with Gcc. |
152 * Q2.0.14:: How do I figure out which packages to install? (NEW) | 150 * Q2.0.14:: Make on HP/UX 9 fails after linking temacs |
153 | 151 |
154 Trouble Shooting: | 152 Trouble Shooting: |
155 * Q2.1.1:: XEmacs just crashed on me! | 153 * Q2.1.1:: XEmacs just crashed on me! |
156 * Q2.1.2:: Cryptic Minibuffer messages. | 154 * Q2.1.2:: Cryptic Minibuffer messages. |
157 * Q2.1.3:: Translation Table Syntax messages at Startup. | 155 * Q2.1.3:: Translation Table Syntax messages at Startup. |
167 * Q2.1.13:: HP/UX 10.10 and @code{create_process} failure | 165 * Q2.1.13:: HP/UX 10.10 and @code{create_process} failure |
168 * Q2.1.14:: @kbd{C-g} doesn't work for me. Is it broken? | 166 * Q2.1.14:: @kbd{C-g} doesn't work for me. Is it broken? |
169 * Q2.1.15:: How to debug an XEmacs problem with a debugger. | 167 * Q2.1.15:: How to debug an XEmacs problem with a debugger. |
170 * Q2.1.16:: XEmacs crashes in @code{strcat} on HP/UX 10. | 168 * Q2.1.16:: XEmacs crashes in @code{strcat} on HP/UX 10. |
171 * Q2.1.17:: @samp{Marker does not point anywhere}. | 169 * Q2.1.17:: @samp{Marker does not point anywhere}. |
172 * Q2.1.18:: [This question intentionally left blank] | 170 * Q2.1.18:: 19.14 hangs on HP/UX 10.10. |
173 * Q2.1.19:: XEmacs does not follow the local timezone. | 171 * Q2.1.19:: XEmacs does not follow the local timezone. |
174 * Q2.1.20:: @samp{Symbol's function definition is void: hkey-help-show.} | 172 * Q2.1.20:: @samp{Symbol's function definition is void: hkey-help-show.} |
175 * Q2.1.21:: [This question intentionally left blank] | 173 * Q2.1.21:: Every so often the XEmacs frame freezes. |
176 * Q2.1.22:: XEmacs seems to take a really long time to do some things. | 174 * Q2.1.22:: XEmacs seems to take a really long time to do some things. |
177 * Q2.1.23:: Movemail on Linux does not work for XEmacs 19.15 and later. | 175 * Q2.1.23:: Movemail on Linux does not work for XEmacs 19.15 and later. |
178 * Q2.1.24:: XEmacs won't start without network. (NEW) | |
179 * Q2.1.25:: After upgrading, XEmacs won't do `foo' any more! (NEW) | |
180 | 176 |
181 Customization and Options | 177 Customization and Options |
182 | 178 |
183 * Q3.0.1:: What version of Emacs am I running? | 179 * Q3.0.1:: What version of Emacs am I running? |
184 * Q3.0.2:: How do I evaluate Elisp expressions? | 180 * Q3.0.2:: How do I evaluate Elisp expressions? |
191 * Q3.0.9:: What is @code{Customize}? | 187 * Q3.0.9:: What is @code{Customize}? |
192 | 188 |
193 X Window System & Resources: | 189 X Window System & Resources: |
194 * Q3.1.1:: Where is a list of X resources? | 190 * Q3.1.1:: Where is a list of X resources? |
195 * Q3.1.2:: How can I detect a color display? | 191 * Q3.1.2:: How can I detect a color display? |
196 * Q3.1.3:: [This question intentionally left blank] | 192 * Q3.1.3:: @code{(set-screen-width)} worked in 19.6, but not in 19.13? |
197 * Q3.1.4:: [This question intentionally left blank] | 193 * Q3.1.4:: Specifying @code{Emacs*EmacsScreen.geometry} in @file{.emacs} does not work in 19.15? |
198 * Q3.1.5:: How can I get the icon to just say @samp{XEmacs}? | 194 * Q3.1.5:: How can I get the icon to just say @samp{XEmacs}? |
199 * Q3.1.6:: How can I have the window title area display the full path? | 195 * Q3.1.6:: How can I have the window title area display the full path? |
200 * Q3.1.7:: @samp{xemacs -name junk} doesn't work? | 196 * Q3.1.7:: @samp{xemacs -name junk} doesn't work? |
201 * Q3.1.8:: @samp{-iconic} doesn't work. | 197 * Q3.1.8:: @samp{-iconic} doesn't work. |
202 | 198 |
229 * Q3.5.7:: How can you type in special characters in XEmacs? | 225 * Q3.5.7:: How can you type in special characters in XEmacs? |
230 * Q3.5.8:: Why does @code{(global-set-key [delete-forward] 'delete-char)} complain? | 226 * Q3.5.8:: Why does @code{(global-set-key [delete-forward] 'delete-char)} complain? |
231 * Q3.5.9:: How do I make the Delete key delete forward? | 227 * Q3.5.9:: How do I make the Delete key delete forward? |
232 * Q3.5.10:: Can I turn on @dfn{sticky} modifier keys? | 228 * Q3.5.10:: Can I turn on @dfn{sticky} modifier keys? |
233 * Q3.5.11:: How do I map the arrow keys? | 229 * Q3.5.11:: How do I map the arrow keys? |
234 * Q3.5.12:: XEmacs complains about my xmodmap (I hate the default X keymap). | |
235 | 230 |
236 The Cursor: | 231 The Cursor: |
237 * Q3.6.1:: Is there a way to make the bar cursor thicker? | 232 * Q3.6.1:: Is there a way to make the bar cursor thicker? |
238 * Q3.6.2:: Is there a way to get back the old block cursor where the cursor covers the character in front of the point? | 233 * Q3.6.2:: Is there a way to get back the old block cursor where the cursor covers the character in front of the point? |
239 * Q3.6.3:: Can I make the cursor blink? | 234 * Q3.6.3:: Can I make the cursor blink? |
301 * Q4.3.4:: Movemail is also distributed by Netscape? Can that cause problems? | 296 * Q4.3.4:: Movemail is also distributed by Netscape? Can that cause problems? |
302 * Q4.3.5:: Where do I find pstogif (required by tm)? | 297 * Q4.3.5:: Where do I find pstogif (required by tm)? |
303 | 298 |
304 Sparcworks, EOS, and WorkShop: | 299 Sparcworks, EOS, and WorkShop: |
305 * Q4.4.1:: What is SPARCworks, EOS, and WorkShop | 300 * Q4.4.1:: What is SPARCworks, EOS, and WorkShop |
306 * Q4.4.2:: How do I start the Sun Workshop support in XEmacs 21? | |
307 | 301 |
308 Energize: | 302 Energize: |
309 * Q4.5.1:: What is/was Energize? | 303 * Q4.5.1:: What is/was Energize? |
310 | 304 |
311 Infodock: | 305 Infodock: |
312 * Q4.6.1:: What is Infodock? | 306 * Q4.6.1:: What is Infodock? |
313 | 307 |
314 Other Unbundled Packages: | 308 Other Unbundled Packages: |
315 * Q4.7.1:: What is AUC TeX? Where do you get it? | 309 * Q4.7.1:: What is AUC TeX? Where do you get it? |
316 * Q4.7.2:: Are there any Emacs Lisp Spreadsheets? | 310 * Q4.7.2:: Are there any Emacs Lisp Spreadsheets? |
317 * Q4.7.3:: [This question intentionally left blank] | 311 * Q4.7.3:: Byte compiling AUC TeX on XEmacs 19.14 |
318 * Q4.7.4:: Problems installing AUC TeX | 312 * Q4.7.4:: Problems installing AUC TeX |
319 * Q4.7.5:: Is there a reason for an Emacs package not to be included in XEmacs? | 313 * Q4.7.5:: Is there a reason for an Emacs package not to be included in XEmacs? |
320 * Q4.7.6:: Is there a MatLab mode? | 314 * Q4.7.6:: Is there a MatLab mode? |
321 | 315 |
322 The Miscellaneous Stuff | 316 The Miscellaneous Stuff |
329 * Q5.0.6:: How do I start up a second shell buffer? | 323 * Q5.0.6:: How do I start up a second shell buffer? |
330 * Q5.0.7:: Telnet from shell filters too much. | 324 * Q5.0.7:: Telnet from shell filters too much. |
331 * Q5.0.8:: Why does edt emulation not work? | 325 * Q5.0.8:: Why does edt emulation not work? |
332 * Q5.0.9:: How can I emulate VI and use it as my default mode? | 326 * Q5.0.9:: How can I emulate VI and use it as my default mode? |
333 * Q5.0.10:: [This question intentionally left blank] | 327 * Q5.0.10:: [This question intentionally left blank] |
334 * Q5.0.11:: How do I turn on filladapt for all buffers? | 328 * Q5.0.11:: Filladapt doesn't work in 19.15? |
335 * Q5.0.12:: How do I disable gnuserv from opening a new frame? | 329 * Q5.0.12:: How do I disable gnuserv from opening a new frame? |
336 * Q5.0.13:: How do I start gnuserv so that each subsequent XEmacs is a client? | 330 * Q5.0.13:: How do I start gnuserv so that each subsequent XEmacs is a client? |
337 * Q5.0.14:: Strange things are happening in Shell Mode. | 331 * Q5.0.14:: Strange things are happening in Shell Mode. |
338 * Q5.0.15:: Where do I get the latest CC Mode? | 332 * Q5.0.15:: Where do I get the latest CC Mode? |
339 * Q5.0.16:: I find auto-show-mode disconcerting. How do I turn it off? | 333 * Q5.0.16:: I find auto-show-mode disconcerting. How do I turn it off? |
340 * Q5.0.17:: How can I get two instances of info? | 334 * Q5.0.17:: How can I get two instances of info? |
341 * Q5.0.18:: [This question intentionally left blank] | 335 * Q5.0.18:: I upgraded to XEmacs 19.14 and gnuserv stopped working |
342 * Q5.0.19:: Is there something better than LaTeX mode? | 336 * Q5.0.19:: Is there something better than LaTeX mode? |
343 * Q5.0.20:: Is there a way to start a new XEmacs if there's no gnuserv running, and otherwise use gnuclient? | 337 * Q5.0.20:: Is there a way to start a new XEmacs if there's no gnuserv running, and otherwise use gnuclient? |
344 | 338 |
345 Emacs Lisp Programming Techniques: | 339 Emacs Lisp Programming Techniques: |
346 * Q5.1.1:: The difference in key sequences between XEmacs and GNU Emacs? | 340 * Q5.1.1:: The difference in key sequences between XEmacs and GNU Emacs? |
347 * Q5.1.2:: Can I generate "fake" keyboard events? | 341 * Q5.1.2:: Can I generate "fake" keyboard events? |
348 * Q5.1.3:: Could you explain @code{read-kbd-macro} in more detail? | 342 * Q5.1.3:: Could you explain @code{read-kbd-macro} in more detail? |
349 * Q5.1.4:: What is the performance hit of @code{let}? | 343 * Q5.1.4:: What is the performance hit of @code{let}? |
350 * Q5.1.5:: What is the recommended use of @code{setq}? | 344 * Q5.1.5:: What is the recommended use of @code{setq}? |
351 * Q5.1.6:: What is the typical misuse of @code{setq} ? | 345 * Q5.1.6:: What is the typical misuse of @code{setq} ? |
352 * Q5.1.7:: I like the @code{do} form of cl, does it slow things down? | 346 * Q5.1.7:: I like the the @code{do} form of cl, does it slow things down? |
353 * Q5.1.8:: I like recursion, does it slow things down? | 347 * Q5.1.8:: I like recursion, does it slow things down? |
354 * Q5.1.9:: How do I put a glyph as annotation in a buffer? | 348 * Q5.1.9:: How do I put a glyph as annotation in a buffer? |
355 * Q5.1.10:: @code{map-extents} won't traverse all of my extents! | 349 * Q5.1.10:: @code{map-extents} won't traverse all of my extents! |
356 * Q5.1.11:: My elisp program is horribly slow. Is there an easy way to find out where it spends time? | 350 * Q5.1.11:: My elisp program is horribly slow. Is there an easy way to find out where it spends time? |
357 | 351 |
373 * Q5.3.9:: Are only certain syntactic character classes available for abbrevs? | 367 * Q5.3.9:: Are only certain syntactic character classes available for abbrevs? |
374 * Q5.3.10:: How can I get those oh-so-neat X-Face lines? | 368 * Q5.3.10:: How can I get those oh-so-neat X-Face lines? |
375 * Q5.3.11:: How do I add new Info directories? | 369 * Q5.3.11:: How do I add new Info directories? |
376 * Q5.3.12:: What do I need to change to make printing work? | 370 * Q5.3.12:: What do I need to change to make printing work? |
377 | 371 |
378 XEmacs on MS Windows | 372 What the Future Holds |
379 | 373 |
380 General Info: | 374 * Q6.0.1:: What is new in 20.2? |
381 * Q6.0.1:: What is the status of the XEmacs port to Windows? | 375 * Q6.0.2:: What is new in 20.3? |
382 * Q6.0.2:: What flavors of MS Windows are supported? | 376 * Q6.0.3:: What is new in 20.4? |
383 * Q6.0.3:: Are binary kits available? | 377 * Q6.0.4:: Procedural changes in XEmacs development. |
384 * Q6.0.4:: Does XEmacs on MS Windows require an X server to run? | |
385 | |
386 Building XEmacs on MS Windows: | |
387 * Q6.1.1:: I decided to run with X. Where do I get an X server? | |
388 * Q6.1.2:: What compiler do I need to compile XEmacs? | |
389 * Q6.1.3:: How do I compile for the native port? | |
390 * Q6.1.4:: How do I compile for the X port? | |
391 * Q6.1.5:: How do I compile for Cygnus' Cygwin? | |
392 * Q6.1.6:: What do I need for Cygwin? | |
393 | |
394 Customization and User Interface: | |
395 * Q6.2.1:: How will the port cope with differences in the Windows user interface? | |
396 * Q6.2.2:: How do I change fonts in XEmacs on MS Windows? | |
397 * Q6.2.3:: Where do I put my @file{.emacs} file? | |
398 | |
399 Miscellaneous: | |
400 * Q6.3.1:: Will XEmacs rename all the win32-* symbols to w32-*? | |
401 * Q6.3.2:: What are the differences between the various MS Windows emacsen? | |
402 * Q6.3.3:: What is the porting team doing at the moment? | |
403 | |
404 Troubleshooting: | |
405 * Q6.4.1:: XEmacs won't start on Windows. (NEW) | |
406 | |
407 Current Events: | |
408 | |
409 * Q7.0.1:: What is new in 20.2? | |
410 * Q7.0.2:: What is new in 20.3? | |
411 * Q7.0.3:: What is new in 20.4? | |
412 * Q7.0.4:: Procedural changes in XEmacs development. | |
413 @end detailmenu | 378 @end detailmenu |
414 @end menu | 379 @end menu |
415 | 380 |
416 @node Introduction, Installation, Top, Top | 381 @node Introduction, Installation, Top, Top |
417 @unnumbered 1 Introduction, Policy, Credits | 382 @unnumbered 1 Introduction, Policy, Credits |
421 be complete. Instead it is aimed at the person who is either | 386 be complete. Instead it is aimed at the person who is either |
422 considering XEmacs for their own use, or has just obtained it and is | 387 considering XEmacs for their own use, or has just obtained it and is |
423 wondering what to do next. It is also useful as a reference to | 388 wondering what to do next. It is also useful as a reference to |
424 available resources. | 389 available resources. |
425 | 390 |
426 The previous maintainer of the FAQ was @email{rossini@@biostat.washington.edu, | 391 The previous maintainer of the FAQ was @email{rossini@@stat.sc.edu, |
427 Anthony Rossini}, who started it, after getting tired of hearing JWZ | 392 Anthony Rossini}, who started it, after getting tired of hearing JWZ |
428 complain about repeatedly having to answer questions. | 393 complain about repeatedly having to answer questions. |
429 @email{ben@@xemacs.org, Ben Wing} and @email{cthomp@@xemacs.org, Chuck | 394 @email{ben@@666.com, Ben Wing} and @email{cthomp@@xemacs.org, Chuck |
430 Thompson}, the principal authors of XEmacs, then took over and Ben did | 395 Thompson}, the principal authors of XEmacs, then took over and Ben did |
431 a massive update reorganizing the whole thing. At which point Anthony | 396 a massive update reorganizing the whole thing. At which point Anthony |
432 took back over, but then had to give it up again. Some of the other | 397 took back over, but then had to give it up again. Some of the other |
433 contributors to this FAQ are listed later in this document. | 398 contributors to this FAQ are listed later in this document. |
434 | 399 |
435 The previous version was converted to hypertext format, and edited by | 400 The previous version was converted to hypertext format, and edited by |
436 @email{steve@@xemacs.org, Steven L. Baur}. It was converted back to | 401 @email{steve@@altair.xemacs.org, Steven L. Baur}. It was converted back to |
437 texinfo by @email{hniksic@@xemacs.org, Hrvoje Niksic}. The FAQ was then | 402 texinfo by @email{hniksic@@srce.hr, Hrvoje Niksic}. |
438 maintained by @email{andreas@@sccon.com, Andreas Kaempf}, who passed it | 403 |
439 on to ChristianNyb@o{}. | 404 The FAQ was then maintained by @email{andreas@@sccon.com, Andreas |
405 Kaempf}, who passed it on to @email{faq@@xemacs.org, Christian | |
406 Nyb@o{}}, the current FAQ maintainer. | |
440 | 407 |
441 If you notice any errors or items which should be added or amended to | 408 If you notice any errors or items which should be added or amended to |
442 this FAQ please send email to @email{faq@@xemacs.org, Sandra | 409 this FAQ please send email to @email{faq@@xemacs.org, Christian |
443 Wambold}. Include @samp{XEmacs FAQ} on the Subject: line. | 410 Nyb@o{}}. Include @samp{XEmacs FAQ} on the Subject: line. |
444 | 411 |
445 @menu | 412 @menu |
446 Introduction: | 413 Introduction: |
447 * Q1.0.1:: What is XEmacs? | 414 * Q1.0.1:: What is XEmacs? |
448 * Q1.0.2:: What is the current version of XEmacs? | 415 * Q1.0.2:: What is the current version of XEmacs? |
449 * Q1.0.3:: Where can I find it? | 416 * Q1.0.3:: Where can I find it? |
450 * Q1.0.4:: Why Another Version of Emacs? | 417 * Q1.0.4:: Why Another Version of Emacs? |
451 * Q1.0.5:: Why Haven't XEmacs and GNU Emacs Merged? | 418 * Q1.0.5:: Why Haven't XEmacs and GNU Emacs Merged? |
452 * Q1.0.6:: Where can I get help? | 419 * Q1.0.6:: Where can I get help? |
453 * Q1.0.7:: Where are the mailing lists archived? | 420 * Q1.0.7:: Where is the mailing list archived? |
454 * Q1.0.8:: How do you pronounce XEmacs? | 421 * Q1.0.8:: How do you pronounce XEmacs? |
455 * Q1.0.9:: What does XEmacs look like? | 422 * Q1.0.9:: What does XEmacs look like? |
456 * Q1.0.10:: Is there a port of XEmacs to Microsoft ('95 or NT)? | 423 * Q1.0.10:: Is there a port of XEmacs to Microsoft ('95 or NT)? |
457 * Q1.0.11:: Is there a port of XEmacs to the Macintosh? | 424 * Q1.0.11:: Is there a port of XEmacs to the Macintosh? |
458 * Q1.0.12:: Is there a port of XEmacs to NextStep? | 425 * Q1.0.12:: Is there a port of XEmacs to NextStep? |
468 * Q1.2.1:: Who wrote XEmacs? | 435 * Q1.2.1:: Who wrote XEmacs? |
469 * Q1.2.2:: Who contributed to this version of the FAQ? | 436 * Q1.2.2:: Who contributed to this version of the FAQ? |
470 * Q1.2.3:: Who contributed to the FAQ in the past? | 437 * Q1.2.3:: Who contributed to the FAQ in the past? |
471 | 438 |
472 Internationalization: | 439 Internationalization: |
473 * Q1.3.1:: What is the status of internationalization support aka MULE (including Asian language support? | 440 * Q1.3.1:: What is the status of XEmacs v20? |
474 * Q1.3.2:: How can I help with internationalization? | 441 * Q1.3.2:: What is the status of Asian-language support, aka @var{mule}? |
475 * Q1.3.3:: How do I type non-ASCII characters? | 442 * Q1.3.3:: How do I type non-ASCII characters? |
476 * Q1.3.4:: Can XEmacs messages come out in a different language? | 443 * Q1.3.4:: Can XEmacs messages come out in a different language? |
477 * Q1.3.5:: Please explain the various input methods in MULE/XEmacs | 444 * Q1.3.5:: Please explain the various input methods in MULE/XEmacs 20.0 |
478 * Q1.3.6:: How do I portably code for MULE/XEmacs? | 445 * Q1.3.6:: How do I portably code for MULE/XEmacs 20.0? |
479 * Q1.3.7:: How about Cyrillic Modes? | 446 * Q1.3.7:: How about Cyrillic Modes? |
480 | 447 |
481 Getting Started: | 448 Getting Started: |
482 * Q1.4.1:: What is a @file{.emacs} and is there a sample one? | 449 * Q1.4.1:: What is a @file{.emacs} and is there a sample one? |
483 * Q1.4.2:: Can I use the same @file{.emacs} with the other Emacs? | 450 * Q1.4.2:: Can I use the same @file{.emacs} with the other Emacs? |
484 * Q1.4.3:: Any good XEmacs tutorials around? | 451 * Q1.4.3:: Any good XEmacs tutorials around? |
485 * Q1.4.4:: May I see an example of a useful XEmacs Lisp function? | 452 * Q1.4.4:: May I see an example of a useful XEmacs Lisp function? |
486 * Q1.4.5:: And how do I bind it to a key? | 453 * Q1.4.5:: And how do I bind it to a key? |
487 * Q1.4.6:: What's the difference between a macro and a function? | 454 * Q1.4.6:: What's the difference between a macro and a function? |
455 * Q1.4.7:: Why options saved with 19.13 don't work with 19.14 or later? | |
488 @end menu | 456 @end menu |
489 | 457 |
490 @node Q1.0.1, Q1.0.2, Introduction, Introduction | 458 @node Q1.0.1, Q1.0.2, Introduction, Introduction |
491 @unnumberedsec 1.0: Introduction | 459 @unnumberedsec 1.0: Introduction |
492 @unnumberedsubsec Q1.0.1: What is XEmacs? | 460 @unnumberedsubsec Q1.0.1: What is XEmacs? |
499 track changes to GNU Emacs while also working to add new features. | 467 track changes to GNU Emacs while also working to add new features. |
500 | 468 |
501 @node Q1.0.2, Q1.0.3, Q1.0.1, Introduction | 469 @node Q1.0.2, Q1.0.3, Q1.0.1, Introduction |
502 @unnumberedsubsec Q1.0.2: What is the current version of XEmacs? | 470 @unnumberedsubsec Q1.0.2: What is the current version of XEmacs? |
503 | 471 |
504 XEmacs versions 21.1.* are releases made from the current stable | 472 XEmacs 20.4 is a minor upgrade from 20.3, containing many bugfixes. It |
505 sources. XEmacs versions 21.2.* are releases made from the development | 473 was released in February 1998. |
506 sources. Check at @uref{http://www.xemacs.org} for the current minor | |
507 version. | |
508 | 474 |
509 XEmacs 19.16 was the last release of v19, released in November, 1997, | 475 XEmacs 19.16 was the last release of v19, released in November, 1997, |
510 which was also the last version without international language support. | 476 which was also the last version without international language support. |
511 | 477 |
512 @node Q1.0.3, Q1.0.4, Q1.0.2, Introduction | 478 @node Q1.0.3, Q1.0.4, Q1.0.2, Introduction |
513 @unnumberedsubsec Q1.0.3: Where can I find it? | 479 @unnumberedsubsec Q1.0.3: Where can I find it? |
514 | 480 |
515 The canonical source and binaries can be found via anonymous FTP at: | 481 The canonical source and binaries is found via anonymous FTP at: |
516 | 482 |
517 @example | 483 @example |
518 @uref{ftp://ftp.xemacs.org/pub/xemacs/} | 484 @uref{ftp://ftp.xemacs.org/pub/xemacs/} |
519 @end example | 485 @end example |
520 | 486 |
522 @unnumberedsubsec Q1.0.4: Why Another Version of Emacs? | 488 @unnumberedsubsec Q1.0.4: Why Another Version of Emacs? |
523 | 489 |
524 For a detailed description of the differences between GNU Emacs and | 490 For a detailed description of the differences between GNU Emacs and |
525 XEmacs and a detailed history of XEmacs, check out the | 491 XEmacs and a detailed history of XEmacs, check out the |
526 @example | 492 @example |
527 @uref{http://www.xemacs.org/About/XEmacsVsGNUemacs.html, NEWS file} | 493 @uref{http://www.xemacs.org/NEWS.html, NEWS file} |
528 @end example | 494 @end example |
529 | 495 |
530 However, here is a list of some of the reasons why we think you might | 496 However, here is a list of some of the reasons why we think you might |
531 consider using it: | 497 consider using it: |
532 | 498 |
604 @email{bug-gnu-emacs@@prep.ai.mit.edu}. | 570 @email{bug-gnu-emacs@@prep.ai.mit.edu}. |
605 | 571 |
606 @node Q1.0.6, Q1.0.7, Q1.0.5, Introduction | 572 @node Q1.0.6, Q1.0.7, Q1.0.5, Introduction |
607 @unnumberedsubsec Q1.0.6: Where can I get help? | 573 @unnumberedsubsec Q1.0.6: Where can I get help? |
608 | 574 |
609 Probably the easiest way, if everything is installed, is to use Info, by | 575 Probably the easiest way, if everything is installed, is to use info, by |
610 pressing @kbd{C-h i}, or selecting @code{Manuals->Info} from the | 576 pressing @kbd{C-h i}, or selecting @code{Emacs Info} from the Help Menu. |
611 Help Menu. @kbd{M-x apropos} can be used to look for particular commands. | 577 |
612 | 578 Also, @kbd{M-x apropos} will look for commands for you. |
613 For items not found in the manual, try reading this FAQ | 579 |
614 @comment , examining the regular GNU Emacs FAQ (which can be | 580 Try reading this FAQ, examining the regular GNU Emacs FAQ (which can be |
615 @comment found with the Emacs 19 distribution) as well as at | 581 found with the Emacs 19 distribution) as well as at |
616 @comment @uref{http://www.eecs.nwu.edu/emacs/faq/} | 582 @uref{http://www.eecs.nwu.edu/emacs/faq/} and reading the Usenet group |
617 and reading the Usenet group comp.emacs.xemacs. | 583 comp.emacs.xemacs. |
618 | 584 |
619 If you choose to post to a newsgroup, @strong{please use | 585 If that does not help, try posting your question to comp.emacs.xemacs. |
620 comp.emacs.xemacs}. Please do not post XEmacs related questions to | 586 Please @strong{do not} post XEmacs related questions to gnu.emacs.help. |
621 gnu.emacs.help. | |
622 | 587 |
623 If you cannot post or read Usenet news, there is a corresponding mailing | 588 If you cannot post or read Usenet news, there is a corresponding mailing |
624 list which is available. It can be subscribed to by sending a message | 589 list which is available. It can be subscribed to by sending a message |
625 to @email{xemacs-request@@xemacs.org} with @samp{subscribe} in the | 590 with a subject of @samp{subscribe} to @email{xemacs-request@@xemacs.org} |
626 body of the message. Send to the list at @email{xemacs@@xemacs.org}. | 591 for subscription information and @email{xemacs@@xemacs.org} to send messages |
627 list. To cancel a subscription, you @strong{must} use the | 592 to the list. |
628 xemacs-request address. Send a message with a subject of | 593 |
629 @samp{unsubscribe} to be removed. | 594 To cancel a subscription, you @strong{must} use the xemacs-request |
595 address. Send a message with a subject of @samp{unsubscribe} to be | |
596 removed. | |
630 | 597 |
631 @node Q1.0.7, Q1.0.8, Q1.0.6, Introduction | 598 @node Q1.0.7, Q1.0.8, Q1.0.6, Introduction |
632 @unnumberedsubsec Q1.0.7: Where are the mailing lists archived? | 599 @unnumberedsubsec Q1.0.7: Where is the mailing list archived? |
633 | 600 |
634 The archives can be found at @uref{http://www.xemacs.org/Lists/Archive} | 601 The mailing list was archived in the directory |
602 @example | |
603 @uref{ftp://ftp.xemacs.org/pub/mlists/}. | |
604 @end example | |
605 | |
606 However, this archive is out of date. The current mailing list server | |
607 supports an @code{archive} feature, which may be utilized. | |
635 | 608 |
636 @node Q1.0.8, Q1.0.9, Q1.0.7, Introduction | 609 @node Q1.0.8, Q1.0.9, Q1.0.7, Introduction |
637 @unnumberedsubsec Q1.0.8: How do you pronounce XEmacs? | 610 @unnumberedsubsec Q1.0.8: How do you pronounce XEmacs? |
638 | 611 |
639 The most common pronounciation is @samp{Eks eemax}. | 612 I pronounce it @samp{Eks eemax}. |
640 | 613 |
641 @node Q1.0.9, Q1.0.10, Q1.0.8, Introduction | 614 @node Q1.0.9, Q1.0.10, Q1.0.8, Introduction |
642 @unnumberedsubsec Q1.0.9: What does XEmacs look like? | 615 @unnumberedsubsec Q1.0.9: What does XEmacs look like? |
643 | 616 |
644 Screen snapshots are available in the WWW version of the FAQ. | 617 Screen snapshots are available in the WWW version of the FAQ. |
647 @end example | 620 @end example |
648 | 621 |
649 @node Q1.0.10, Q1.0.11, Q1.0.9, Introduction | 622 @node Q1.0.10, Q1.0.11, Q1.0.9, Introduction |
650 @unnumberedsubsec Q1.0.10: Is there a port of XEmacs to Microsoft ('95 or NT)? | 623 @unnumberedsubsec Q1.0.10: Is there a port of XEmacs to Microsoft ('95 or NT)? |
651 | 624 |
652 Yes, @xref{MS Windows}. | 625 Thanks to efforts of many people, coordinated by |
653 | 626 @email{davidh@@wr.com.au, David Hobley} and @email{marcpa@@cam.org, Marc |
654 @comment Thanks to efforts of many people, coordinated by | 627 Paquette}, beta versions of XEmacs now run on 32-bit Windows platforms |
655 @comment @email{davidh@@wr.com.au, David Hobley} and @email{marcpa@@cam.org, Marc | 628 (NT and 95). The current betas require having an X server to run |
656 @comment Paquette}, beta versions of XEmacs now run on 32-bit Windows platforms | 629 XEmacs; however, a native NT/95 port is in alpha, thanks to |
657 @comment (NT and 95). The current betas require having an X server to run | 630 @email{jhar@@tardis.ed.ac.uk, Jonathan Harris}. |
658 @comment XEmacs; however, a native NT/95 port is in alpha, thanks to | 631 |
659 @comment @email{jhar@@tardis.ed.ac.uk, Jonathan Harris}. | 632 Although some features are still unimplemented, XEmacs 21.0 will support |
660 @comment | 633 MS-Windows. |
661 @comment Although some features are still unimplemented, XEmacs 21.0 will support | 634 |
662 @comment MS-Windows. | 635 The NT development is now coordinated by a mailing list at |
663 @comment | 636 @email{xemacs-nt@@xemacs.org}. |
664 @comment The NT development is now coordinated by a mailing list at | 637 |
665 @comment @email{xemacs-nt@@xemacs.org}. | 638 If you are willing to contribute or want to follow the progress, mail to |
666 @comment | 639 @iftex |
667 @comment If you are willing to contribute or want to follow the progress, mail to | 640 @* |
668 @comment @iftex | 641 @end iftex |
669 @comment @* | 642 @email{xemacs-nt-request@@xemacs.org} to subscribe. |
670 @comment @end iftex | 643 |
671 @comment @email{xemacs-nt-request@@xemacs.org} to subscribe. | 644 Furthermore, Altrasoft is seeking corporate and government sponsors to |
672 @comment | 645 help fund a fully native port of XEmacs to Windows 95 and NT using |
673 @comment Furthermore, Altrasoft is seeking corporate and government sponsors to | 646 full-time, senior-level staff working under a professionally managed |
674 @comment help fund a fully native port of XEmacs to Windows 95 and NT using | 647 project structure. See @uref{http://www.altrasoft.com/, the Altrasoft |
675 @comment full-time, senior-level staff working under a professionally managed | 648 web site} for more details |
676 @comment project structure. See @uref{http://www.altrasoft.com/, the Altrasoft | 649 or contact Altrasoft directly at 1-888-ALTSOFT. |
677 @comment web site} for more details | 650 |
678 @comment or contact Altrasoft directly at 1-888-ALTSOFT. | 651 |
679 @comment | 652 The closest existing port is @dfn{Win-Emacs}, which is based on Lucid |
680 @comment | 653 Emacs 19.6. Available from @uref{http://www.pearlsoft.com/}. |
681 @comment The closest existing port is @dfn{Win-Emacs}, which is based on Lucid | 654 |
682 @comment Emacs 19.6. Available from @uref{http://www.pearlsoft.com/}. | 655 There's a port of GNU Emacs (not XEmacs) at |
683 @comment | 656 @example |
684 @comment There's a port of GNU Emacs (not XEmacs) at | 657 @uref{http://www.cs.washington.edu/homes/voelker/ntemacs.html}. |
685 @comment @example | 658 @end example |
686 @comment @uref{http://www.cs.washington.edu/homes/voelker/ntemacs.html}. | |
687 @comment @end example | |
688 | 659 |
689 @node Q1.0.11, Q1.0.12, Q1.0.10, Introduction | 660 @node Q1.0.11, Q1.0.12, Q1.0.10, Introduction |
690 @unnumberedsubsec Q1.0.11: Is there a port of XEmacs to the Macintosh? | 661 @unnumberedsubsec Q1.0.11: Is there a port of XEmacs to the Macintosh? |
691 @c changed | 662 @c changed |
692 | 663 |
693 @c There has been a port to the MachTen environment of XEmacs 19.13, but no | 664 There has been a port to the MachTen environment of XEmacs 19.13, but no |
694 @c patches have been submitted to the maintainers to get this in the | 665 patches have been submitted to the maintainers to get this in the |
695 @c mainstream distribution. | 666 mainstream distribution. |
696 @c | 667 |
697 @c For the MacOS, there is a port of | 668 For the MacOS, there is a port of |
698 @c @uref{ftp://ftp.cs.cornell.edu/pub/parmet/, Emacs 18.59}. | 669 @uref{ftp://ftp.cs.cornell.edu/pub/parmet/, Emacs 18.59}. |
699 | |
700 Yes, there is a port of XEmacs 19.14, tested on MacOS 7.6.1 and MacOS | |
701 8.5.1 by @email{pjarvis@@ispchannel.com, Pitts Jarvis}. It's available | |
702 at @uref{http://homepage.mac.com/pjarvis/xemacs.html}. | |
703 | 670 |
704 @node Q1.0.12, Q1.0.13, Q1.0.11, Introduction | 671 @node Q1.0.12, Q1.0.13, Q1.0.11, Introduction |
705 @unnumberedsubsec Q1.0.12: Is there a port of XEmacs to NextStep? | 672 @unnumberedsubsec Q1.0.12: Is there a port of XEmacs to NextStep? |
706 | 673 |
707 Carl Edman, apparently no longer at @email{cedman@@princeton.edu}, did | 674 Carl Edman, apparently no longer at @email{cedman@@princeton.edu}, did |
709 XEmacs port, but never went any farther. | 676 XEmacs port, but never went any farther. |
710 | 677 |
711 @node Q1.0.13, Q1.0.14, Q1.0.12, Introduction | 678 @node Q1.0.13, Q1.0.14, Q1.0.12, Introduction |
712 @unnumberedsubsec Q1.0.13: Is there a port of XEmacs to OS/2? | 679 @unnumberedsubsec Q1.0.13: Is there a port of XEmacs to OS/2? |
713 | 680 |
714 No, but Alexander Nikolaev <avn_1251@@mail.ru> is working on it. | 681 No, and there is no news of anyone working on it. |
715 | 682 |
716 @node Q1.0.14, Q1.1.1, Q1.0.13, Introduction | 683 @node Q1.0.14, Q1.1.1, Q1.0.13, Introduction |
717 @unnumberedsubsec Q1.0.14: Where can I obtain a printed copy of the XEmacs users manual? | 684 @unnumberedsubsec Q1.0.14: Where can I obtain a printed copy of the XEmacs users manual? |
718 | 685 |
719 Pre-printed manuals are not available. If you are familiar with | 686 Altrasoft Associates, a firm specializing in Emacs-related support and |
720 TeX, you can generate your own manual from the XEmacs sources. | 687 development, will be maintaining the XEmacs user manual. The firm plans |
721 | 688 to begin publishing printed copies of the manual soon. |
722 HTML and Postscript versions of XEmacs manuals may be available from the | 689 @c This used to say `March 1997'! |
723 XEmacs web site in the future. Send requests to @email{faq@@xemacs.org}. | 690 |
691 @example | |
692 Web: @uref{http://www.xemacs.com} | |
693 E-mail: @email{info@@xemacs.com} | |
694 Tel: +1 408 243 3300 | |
695 @end example | |
724 | 696 |
725 @node Q1.1.1, Q1.1.2, Q1.0.14, Introduction | 697 @node Q1.1.1, Q1.1.2, Q1.0.14, Introduction |
726 @unnumberedsec 1.1: Policies | 698 @unnumberedsec 1.1: Policies |
727 @unnumberedsubsec Q1.1.1: What is the FAQ editorial policy? | 699 @unnumberedsubsec Q1.1.1: What is the FAQ editorial policy? |
728 | 700 |
729 The FAQ is actively maintained and modified regularly. All links should | 701 The FAQ is actively maintained and modified regularly. All links should |
730 be up to date. Unfortunately, some of the information is out of date -- | 702 be up to date. |
731 a situation which the FAQ maintainer is working on. All submissions are | 703 |
732 welcome, please e-mail submissions to @email{faq@@xemacs.org, XEmacs FAQ | 704 Changes are displayed on a monthly basis. @dfn{Months}, for this |
733 maintainers}. | 705 purpose are defined as the 5th of the month through the 5th of the |
706 month. Preexisting questions that have been changed are marked as such. | |
707 Brand new questions are tagged. | |
708 | |
709 All submissions are welcome. E-mail submissions | |
710 to | |
711 @iftex | |
712 @* | |
713 @end iftex | |
714 @email{faq@@xemacs.org, Christian Nyb@o{}}. | |
734 | 715 |
735 Please make sure that @samp{XEmacs FAQ} appears on the Subject: line. | 716 Please make sure that @samp{XEmacs FAQ} appears on the Subject: line. |
736 If you think you have a better way of answering a question, or think a | 717 If you think you have a better way of answering a question, or think a |
737 question should be included, we'd like to hear about it. Questions and | 718 question should be included, I'd like to hear about it. Questions and |
738 answers included into the FAQ will be edited for spelling and grammar | 719 answers included into the FAQ will be edited for spelling and grammar, |
739 and will be attributed. Answers appearing without attribution are | 720 and will be attributed. Answers appearing without attribution are |
740 either from versions of the FAQ dated before May 1996 or are from | 721 either from versions of the FAQ dated before May 1996, or are from one |
741 previous FAQ maintainers. Answers quoted from Usenet news articles will | 722 of the four people listed at the top of this document. Answers quoted |
742 always be attributed, regardless of the author. | 723 from Usenet news articles will always be attributed, regardless of the |
724 author. | |
743 | 725 |
744 @node Q1.1.2, Q1.1.3, Q1.1.1, Introduction | 726 @node Q1.1.2, Q1.1.3, Q1.1.1, Introduction |
745 @unnumberedsubsec Q1.1.2: How do I become a Beta Tester? | 727 @unnumberedsubsec Q1.1.2: How do I become a Beta Tester? |
746 | 728 |
747 Send an email message to @email{xemacs-beta-request@@xemacs.org} with | 729 Send an email message to @email{xemacs-beta-request@@xemacs.org} with a |
748 the line @samp{subscribe} in the body of the message. | 730 subject line of @samp{subscribe}. |
749 | 731 |
750 Be prepared to get your hands dirty, as beta testers are expected to | 732 Be prepared to get your hands dirty, as beta testers are expected to |
751 identify problems as best they can. | 733 identify problems as best they can. |
752 | 734 |
753 @node Q1.1.3, Q1.2.1, Q1.1.2, Introduction | 735 @node Q1.1.3, Q1.2.1, Q1.1.2, Introduction |
754 @unnumberedsubsec Q1.1.3: How do I contribute to XEmacs itself? | 736 @unnumberedsubsec Q1.1.3: How do I contribute to XEmacs itself? |
755 | 737 |
756 Ben Wing @email{ben@@xemacs.org} writes: | 738 Ben Wing @email{ben@@666.com} writes: |
757 | 739 |
758 @quotation | 740 @quotation |
759 BTW if you have a wish list of things that you want added, you have to | 741 BTW if you have a wish list of things that you want added, you have to |
760 speak up about it! More specifically, you can do the following if you | 742 speak up about it! More specifically, you can do the following if you |
761 want a feature added (in increasing order of usefulness): | 743 want a feature added (in increasing order of usefulness): |
789 XEmacs is the result of the time and effort of many people. The | 771 XEmacs is the result of the time and effort of many people. The |
790 developers responsible for the 19.16/20.x releases are: | 772 developers responsible for the 19.16/20.x releases are: |
791 | 773 |
792 @itemize @bullet | 774 @itemize @bullet |
793 @item @email{martin@@xemacs.org, Martin Buchholz} | 775 @item @email{martin@@xemacs.org, Martin Buchholz} |
794 @html | 776 @ifhtml |
795 <br><img src="mrb.jpeg" alt="Portrait of Martin Buchholz"><br> | 777 <br><img src="mrb.jpeg" alt="Portrait of Martin Buchholz"><br> |
796 @end html | 778 @end ifhtml |
797 | 779 |
798 | 780 |
799 @item @email{steve@@xemacs.org, Steve Baur} | 781 @item @email{steve@@altair.xemacs.org, Steve Baur} |
800 | 782 |
801 @html | 783 @ifhtml |
802 <br><img src="steve.gif" alt="Portrait of Steve Baur"><br> | 784 <br><img src="steve.gif" alt="Portrait of Steve Baur"><br> |
803 @end html | 785 @end ifhtml |
804 | 786 |
805 | 787 |
806 @item @email{hniksic@@xemacs.org, Hrvoje Niksic} | 788 @item @email{hniksic@@srce.hr, Hrvoje Niksic} |
807 | 789 |
808 @html | 790 @ifhtml |
809 <br><img src="hniksic.jpeg" alt="Portrait of Hrvoje Niksic"><br> | 791 <br><img src="hniksic.jpeg" alt="Portrait of Hrvoje Niksic"><br> |
810 @end html | 792 @end ifhtml |
811 | 793 |
812 @end itemize | 794 @end itemize |
813 | 795 |
814 The developers responsible for the 19.14 release are: | 796 The developers responsible for the 19.14 release are: |
815 | 797 |
816 @itemize @bullet | 798 @itemize @bullet |
817 @item @email{cthomp@@xemacs.org, Chuck Thompson} | 799 @item @email{cthomp@@xemacs.org, Chuck Thompson} |
818 @html | 800 @ifhtml |
819 <br><img src="cthomp.jpeg" alt="Portrait of Chuck Thompson"><br> | 801 <br><img src="cthomp.jpeg" alt="Portrait of Chuck Thompson"><br> |
820 @end html | 802 @end ifhtml |
821 | 803 |
822 Chuck was Mr. XEmacs from 19.11 through 19.14, and is responsible | 804 Chuck was Mr. XEmacs from 19.11 through 19.14, and is responsible |
823 for XEmacs becoming a widely distributed program over the Internet. | 805 for XEmacs becoming a widely distributed program over the Internet. |
824 | 806 |
825 @item @email{ben@@xemacs.org, Ben Wing} | 807 @item @email{ben@@666.com, Ben Wing} |
826 @html | 808 @ifhtml |
827 <br><img src="wing.gif" alt="Portrait of Ben Wing"><br> | 809 <br><img src="wing.gif" alt="Portrait of Ben Wing"><br> |
828 @end html | 810 @end ifhtml |
829 | 811 |
830 @end itemize | 812 @end itemize |
831 | 813 |
832 | 814 |
833 @itemize @bullet | 815 @itemize @bullet |
834 @item @email{jwz@@jwz.org, Jamie Zawinski} | 816 @item @email{jwz@@netscape.com, Jamie Zawinski} |
835 @html | 817 @ifhtml |
836 <br><img src="jwz.gif" alt="Portrait of Jamie Zawinski"><br> | 818 <br><img src="jwz.gif" alt="Portrait of Jamie Zawinski"><br> |
837 @end html | 819 @end ifhtml |
838 | 820 |
839 Jamie Zawinski was Mr. Lucid Emacs from 19.0 through 19.10, the last | 821 Jamie Zawinski was Mr. Lucid Emacs from 19.0 through 19.10, the last |
840 release actually named Lucid Emacs. Richard Mlynarik was crucial to | 822 release actually named Lucid Emacs. Richard Mlynarik was crucial to |
841 most of those releases. | 823 most of those releases. |
842 | 824 |
843 @item @email{Mly@@POBox.COM, Richard Mlynarik} | 825 @item @email{mly@@adoc.xerox.com, Richard Mlynarik} |
844 @end itemize | 826 @end itemize |
845 | 827 |
846 Along with many other contributors, partially enumerated in the | 828 Along with many other contributors, partially enumerated in the |
847 @samp{About XEmacs} option in the Help menu. | 829 @samp{About XEmacs} option in the Help menu. |
848 | 830 |
853 version of the FAQ (listed in alphabetical order): | 835 version of the FAQ (listed in alphabetical order): |
854 | 836 |
855 @itemize @bullet | 837 @itemize @bullet |
856 @item @email{steve@@xemacs.org, SL Baur} | 838 @item @email{steve@@xemacs.org, SL Baur} |
857 | 839 |
858 @item @email{hniksic@@xemacs.org, Hrvoje Niksic} | 840 @item @email{hniksic@@srce.hr, Hrvoje Niksic} |
859 | 841 |
860 @item @email{Aki.Vehtari@@hut.fi, Aki Vehtari} | 842 @item @email{Aki.Vehtari@@hut.fi, Aki Vehtari} |
861 | 843 |
862 @end itemize | 844 @end itemize |
863 | 845 |
868 crash some time ago. | 850 crash some time ago. |
869 | 851 |
870 @itemize @bullet | 852 @itemize @bullet |
871 @item @email{binge@@aloft.att.com, Curtis.N.Bingham} | 853 @item @email{binge@@aloft.att.com, Curtis.N.Bingham} |
872 | 854 |
873 @item @email{bruncott@@dormeur.inria.fr, Georges Brun-Cottan} | |
874 | |
875 @item @email{rjc@@cogsci.ed.ac.uk, Richard Caley} | 855 @item @email{rjc@@cogsci.ed.ac.uk, Richard Caley} |
876 | 856 |
877 @item @email{cognot@@ensg.u-nancy.fr, Richard Cognot} | 857 @item @email{cognot@@ensg.u-nancy.fr, Richard Cognot} |
878 | 858 |
879 @item @email{daku@@nortel.ca, Mark Daku} | |
880 | |
881 @item @email{wgd@@martigny.ai.mit.edu, William G. Dubuque} | 859 @item @email{wgd@@martigny.ai.mit.edu, William G. Dubuque} |
882 | 860 |
883 @item @email{eeide@@cs.utah.edu, Eric Eide} | 861 @item @email{eeide@@cs.utah.edu, Eric Eide} |
884 | |
885 @item @email{af@@biomath.jussieu.fr, Alain Fauconnet} | |
886 | 862 |
887 @item @email{cflatter@@nrao.edu, Chris Flatters} | 863 @item @email{cflatter@@nrao.edu, Chris Flatters} |
888 | 864 |
889 @item @email{ginsparg@@adra.com, Evelyn Ginsparg} | 865 @item @email{ginsparg@@adra.com, Evelyn Ginsparg} |
890 | 866 |
907 @item @email{Aki.Vehtari@@hut.fi, Aki Vehtari} | 883 @item @email{Aki.Vehtari@@hut.fi, Aki Vehtari} |
908 @end itemize | 884 @end itemize |
909 | 885 |
910 @node Q1.3.1, Q1.3.2, Q1.2.3, Introduction | 886 @node Q1.3.1, Q1.3.2, Q1.2.3, Introduction |
911 @unnumberedsec 1.3: Internationalization | 887 @unnumberedsec 1.3: Internationalization |
912 @unnumberedsubsec Q1.3.1: What is the status of internationalization support aka MULE (including Asian language support? | 888 @unnumberedsubsec Q1.3.1: What is the status of XEmacs v20? |
913 | 889 |
914 Both the stable and development versions of XEmacs include | 890 XEmacs v20 is the version of XEmacs that includes MULE (Asian-language) |
915 internationalization support (aka MULE). MULE currently works on UNIX | 891 support. XEmacs 20.0 was released in February 1997, followed by XEmacs |
916 and Linux systems; work for supporting MULE on Windows operating systems | 892 20.2 in May, XEmacs 20.3 in November and XEmacs 20.4 in February 1998. When compiled without MULE |
917 is in progress. Binaries compiled without MULE support run faster than | 893 support, 20.4 is approximately as stable as 19.16, and probably faster |
918 MULE capable XEmacsen. | 894 (due to additional optimization work.) |
895 | |
896 As of XEmacs 20.3, version 20 is @emph{the} supported version of | |
897 XEmacs. This means that 19.16 will optionally receive stability fixes | |
898 (if any), but that all the real development work will be done on the v20 | |
899 tree. | |
900 | |
901 The incompatible changes in XEmacs 20 include the additional byte-codes, | |
902 new primitive data types (@code{character}, @code{char-table}, and | |
903 @code{range-table}). This means that the character-integer equivalence | |
904 inherent to all the previous Emacs and XEmacs releases no longer | |
905 applies. | |
906 | |
907 However, to avoid breaking old code, many functions that should normally | |
908 accept characters work with integers, and vice versa. For more | |
909 information, see the Lisp reference manual. Here is a relevant excerpt, | |
910 for your convenience. | |
911 | |
912 @quotation | |
913 In XEmacs version 19, and in all versions of FSF GNU Emacs, a | |
914 @dfn{character} in XEmacs Lisp is nothing more than an integer. | |
915 This is yet another holdover from XEmacs Lisp's derivation from | |
916 vintage-1980 Lisps; modern versions of Lisp consider this equivalence | |
917 a bad idea, and have separate character types. In XEmacs version 20, | |
918 the modern convention is followed, and characters are their own | |
919 primitive types. (This change was necessary in order for @sc{MULE}, | |
920 i.e. Asian-language, support to be correctly implemented.) | |
921 | |
922 Even in XEmacs version 20, remnants of the equivalence between | |
923 characters and integers still exist; this is termed the @dfn{char-int | |
924 confoundance disease}. In particular, many functions such as @code{eq}, | |
925 @code{equal}, and @code{memq} have equivalent functions (@code{old-eq}, | |
926 @code{old-equal}, @code{old-memq}, etc.) that pretend like characters | |
927 are integers are the same. Byte code compiled under any version 19 | |
928 Emacs will have all such functions mapped to their @code{old-} equivalents | |
929 when the byte code is read into XEmacs 20. This is to preserve | |
930 compatibility -- Emacs 19 converts all constant characters to the equivalent | |
931 integer during byte-compilation, and thus there is no other way to preserve | |
932 byte-code compatibility even if the code has specifically been written | |
933 with the distinction between characters and integers in mind. | |
934 | |
935 Every character has an equivalent integer, called the @dfn{character | |
936 code}. For example, the character @kbd{A} is represented as the | |
937 @w{integer 65}, following the standard @sc{ASCII} representation of | |
938 characters. If XEmacs was not compiled with @sc{MULE} support, the | |
939 range of this integer will always be 0 to 255 -- eight bits, or one | |
940 byte. (Integers outside this range are accepted but silently truncated; | |
941 however, you should most decidedly @emph{not} rely on this, because it | |
942 will not work under XEmacs with @sc{MULE} support.) When @sc{MULE} | |
943 support is present, the range of character codes is much | |
944 larger. (Currently, 19 bits are used.) | |
945 | |
946 FSF GNU Emacs uses kludgy character codes above 255 to represent | |
947 keyboard input of @sc{ASCII} characters in combination with certain | |
948 modifiers. XEmacs does not use this (a more general mechanism is | |
949 used that does not distinguish between @sc{ASCII} keys and other | |
950 keys), so you will never find character codes above 255 in a | |
951 non-@sc{MULE} XEmacs. | |
952 | |
953 Individual characters are not often used in programs. It is far more | |
954 common to work with @emph{strings}, which are sequences composed of | |
955 characters. | |
956 @end quotation | |
919 | 957 |
920 @node Q1.3.2, Q1.3.3, Q1.3.1, Introduction | 958 @node Q1.3.2, Q1.3.3, Q1.3.1, Introduction |
921 @unnumberedsubsec Q1.3.2: How can I help with internationalization? | 959 @unnumberedsubsec Q1.3.2: What is the status of Asian-language support, aka MULE? |
922 | 960 |
923 If you would like to help, you may want to join the | 961 The MULE support works OK but still needs a fair amount of work before |
924 @email{xemacs-mule@@xemacs.org} mailing list. Especially needed are | 962 it's really solid. We could definitely use some help here, esp. people |
925 people who speak/write languages other than English, who are willing to | 963 who speak Japanese and will use XEmacs/MULE to work with Japanese and |
926 use XEmacs/MULE regularly, and have some experience with Elisp. | 964 have some experience with E-Lisp. |
965 | |
966 As the fundings on Mule have stopped, the Mule part of XEmacs is currently | |
967 looking for a full-time maintainer. If you can provide help here, or | |
968 are willing to fund the work, please mail to @email{xemacs-beta@@xemacs.org}. | |
927 | 969 |
928 @xref{Q1.1.2}. | 970 @xref{Q1.1.2}. |
929 | 971 |
930 @node Q1.3.3, Q1.3.4, Q1.3.2, Introduction | 972 @node Q1.3.3, Q1.3.4, Q1.3.2, Introduction |
931 @unnumberedsubsec Q1.3.3: How do I type non-ASCII characters? | 973 @unnumberedsubsec Q1.3.3: How do I type non-ASCII characters? |
932 | 974 |
933 See question 3.5.7 (@pxref{Q3.5.7}) in part 3 of this FAQ. | 975 See question 3.5.7 (@xref{Q3.5.7}) in part 3 of this FAQ. |
934 | 976 |
935 @node Q1.3.4, Q1.3.5, Q1.3.3, Introduction | 977 @node Q1.3.4, Q1.3.5, Q1.3.3, Introduction |
936 @unnumberedsubsec Q1.3.4: Can XEmacs messages come out in a different language? | 978 @unnumberedsubsec Q1.3.4: Can XEmacs messages come out in a different language? |
937 | 979 |
938 The message-catalog support has mostly been written but doesn't | 980 The message-catalog support has mostly been written but doesn't |
939 currently work. The first release of XEmacs 20 will @emph{not} support | 981 currently work. The first release of XEmacs 20 will @emph{not} support |
940 it. However, menubar localization @emph{does} work. To | 982 it. However, menubar localization @emph{does} work, even in 19.14. To |
941 enable it, add to your @file{Emacs} file entries like this: | 983 enable it, add to your @file{Emacs} file entries like this: |
942 | 984 |
943 @example | 985 @example |
944 Emacs*XlwMenu.resourceLabels: True | 986 Emacs*XlwMenu.resourceLabels: True |
945 Emacs*XlwMenu.file.labelString: Fichier | 987 Emacs*XlwMenu.file.labelString: Fichier |
946 Emacs*XlwMenu.openInOtherWindow.labelString: In anderem Fenster oeffnen | 988 Emacs*XlwMenu.openInOtherWindow.labelString: In anderem Fenster offnen |
947 @end example | 989 @end example |
948 | 990 |
949 The name of the resource is derived from the non-localized entry by | 991 The name of the resource is derived from the non-localized entry by |
950 removing punctuation and capitalizing as above. | 992 removing punctuation and capitalizing as above. |
951 | 993 |
952 @node Q1.3.5, Q1.3.6, Q1.3.4, Introduction | 994 @node Q1.3.5, Q1.3.6, Q1.3.4, Introduction |
953 @unnumberedsubsec Q1.3.5: Please explain the various input methods in MULE/XEmacs | 995 @unnumberedsubsec Q1.3.5: Please explain the various input methods in MULE/XEmacs 20.0 |
954 | 996 |
955 @email{morioka@@jaist.ac.jp, MORIOKA Tomohiko} writes: | 997 @email{morioka@@jaist.ac.jp, MORIOKA Tomohiko} writes: |
956 | 998 |
957 @quotation | 999 @quotation |
958 Original Mule supports the following input methods: Wnn4, Wnn6, Canna, SJ3 | 1000 Original Mule supports the following input methods: Wnn4, Wnn6, Canna, SJ3 |
999 plan is stopped. Perhaps after Mule merged GNU Emacs will be released, | 1041 plan is stopped. Perhaps after Mule merged GNU Emacs will be released, |
1000 it will be continued. | 1042 it will be continued. |
1001 @end quotation | 1043 @end quotation |
1002 | 1044 |
1003 @node Q1.3.6, Q1.3.7, Q1.3.5, Introduction | 1045 @node Q1.3.6, Q1.3.7, Q1.3.5, Introduction |
1004 @unnumberedsubsec Q1.3.6: How do I portably code for MULE/XEmacs? | 1046 @unnumberedsubsec Q1.3.6: How do I portably code for MULE/XEmacs 20? |
1005 | 1047 |
1006 @email{morioka@@jaist.ac.jp, MORIOKA Tomohiko} writes: | 1048 @email{morioka@@jaist.ac.jp, MORIOKA Tomohiko} writes: |
1007 | 1049 |
1008 @quotation | 1050 @quotation |
1009 MULE and XEmacs are quite different. So the application | 1051 MULE and XEmacs are quite different. So the application |
1036 @lisp | 1078 @lisp |
1037 (if (featurep 'mule) | 1079 (if (featurep 'mule) |
1038 (cond ((boundp 'MULE) | 1080 (cond ((boundp 'MULE) |
1039 ;; for original Mule | 1081 ;; for original Mule |
1040 ) | 1082 ) |
1041 ((string-match "XEmacs" emacs-version) | 1083 ((string-match "XEmacs" emacs-version) |
1042 ;; for XEmacs with Mule | 1084 ;; for XEmacs with Mule |
1043 ) | 1085 ) |
1044 (t | 1086 (t |
1045 ;; for next version of Emacs | 1087 ;; for next version of Emacs |
1046 )) | 1088 )) |
1047 ;; for old emacs variants | 1089 ;; for old emacs variants |
1048 ) | 1090 ) |
1049 @end lisp | 1091 @end lisp |
1050 @end quotation | 1092 @end quotation |
1051 | 1093 |
1110 show you how to handle different versions and flavors of Emacs. | 1152 show you how to handle different versions and flavors of Emacs. |
1111 | 1153 |
1112 @node Q1.4.3, Q1.4.4, Q1.4.2, Introduction | 1154 @node Q1.4.3, Q1.4.4, Q1.4.2, Introduction |
1113 @unnumberedsubsec Q1.4.3: Any good tutorials around? | 1155 @unnumberedsubsec Q1.4.3: Any good tutorials around? |
1114 | 1156 |
1115 There's the XEmacs tutorial available from the Help Menu under | 1157 There's the XEmacs tutorial available from the Help Menu, or by typing |
1116 @samp{Basics->Tutorials}, or by typing @kbd{C-h t}. To check whether | 1158 @kbd{C-h t}. To check whether it's available in a non-english language, |
1117 it's available in a non-english language, type @kbd{C-u C-h t TAB}, type | 1159 type @kbd{C-u C-h t TAB}, type the first letters of your preferred |
1118 the first letters of your preferred language, then type @key{RET}. | 1160 language, then type @key{RET}. |
1119 | 1161 |
1120 @comment There's an Emacs Lisp tutorial at | 1162 There's an Emacs Lisp tutorial at |
1121 @comment | 1163 |
1122 @comment @example | 1164 @example |
1123 @comment @uref{ftp://prep.ai.mit.edu/pub/gnu/emacs-lisp-intro-1.04.tar.gz}. | 1165 @uref{ftp://prep.ai.mit.edu/pub/gnu/emacs-lisp-intro-1.04.tar.gz}. |
1124 @comment @end example | 1166 @end example |
1125 @comment | 1167 |
1126 @comment @email{erik@@petaxp.rug.ac.be, Erik Sundermann} has made a tutorial web | 1168 @email{erik@@petaxp.rug.ac.be, Erik Sundermann} has made a tutorial web |
1127 @comment page at | 1169 page at |
1128 @comment @iftex | 1170 @iftex |
1129 @comment @* | 1171 @* |
1130 @comment @end iftex | 1172 @end iftex |
1131 @comment @uref{http://petaxp.rug.ac.be/~erik/xemacs/}. | 1173 @uref{http://petaxp.rug.ac.be/~erik/xemacs/}. |
1132 | 1174 |
1133 @node Q1.4.4, Q1.4.5, Q1.4.3, Introduction | 1175 @node Q1.4.4, Q1.4.5, Q1.4.3, Introduction |
1134 @unnumberedsubsec Q1.4.4: May I see an example of a useful XEmacs Lisp function? | 1176 @unnumberedsubsec Q1.4.4: May I see an example of a useful XEmacs Lisp function? |
1135 | 1177 |
1136 The following function does a little bit of everything useful. It does | 1178 The following function does a little bit of everything useful. It does |
1174 (global-set-key "\C-cd" 'double-word) | 1216 (global-set-key "\C-cd" 'double-word) |
1175 @end lisp | 1217 @end lisp |
1176 | 1218 |
1177 Or interactively, @kbd{M-x global-set-key} and follow the prompts. | 1219 Or interactively, @kbd{M-x global-set-key} and follow the prompts. |
1178 | 1220 |
1179 @node Q1.4.6, , Q1.4.5, Introduction | 1221 @node Q1.4.6, Q1.4.7, Q1.4.5, Introduction |
1180 @unnumberedsubsec Q1.4.6: What's the difference between a macro and a function? | 1222 @unnumberedsubsec Q1.4.6: What's the difference between a macro and a function? |
1181 | 1223 |
1182 Quoting from the Lisp Reference (a.k.a @dfn{Lispref}) Manual: | 1224 Quoting from the Lisp Reference (a.k.a @dfn{Lispref}) Manual: |
1183 | 1225 |
1184 @dfn{Macros} enable you to define new control constructs and other | 1226 @dfn{Macros} enable you to define new control constructs and other |
1193 or parts of them. | 1235 or parts of them. |
1194 | 1236 |
1195 Do not confuse the two terms with @dfn{keyboard macros}, which are | 1237 Do not confuse the two terms with @dfn{keyboard macros}, which are |
1196 another matter, entirely. A keyboard macro is a key bound to several | 1238 another matter, entirely. A keyboard macro is a key bound to several |
1197 other keys. Refer to manual for details. | 1239 other keys. Refer to manual for details. |
1240 | |
1241 @node Q1.4.7, , Q1.4.6, Introduction | |
1242 @unnumberedsubsec Q1.4.7: How come options saved with 19.13 don't work with 19.14 or later? | |
1243 | |
1244 There's a problem with options of the form: | |
1245 | |
1246 @lisp | |
1247 (add-spec-list-to-specifier (face-property 'searchm-field 'font) | |
1248 '((global (nil)))) | |
1249 @end lisp | |
1250 | |
1251 saved by a 19.13 XEmacs that causes a 19.14 XEmacs grief. You must | |
1252 delete these options. XEmacs 19.14 and later no longer write the | |
1253 options directly to @file{.emacs} which should allow us to deal with | |
1254 version incompatibilities better in the future. | |
1255 | |
1256 Options saved under XEmacs 19.13 are protected by code that specifically | |
1257 requires a version 19 XEmacs. This won't be a problem unless you're | |
1258 using XEmacs v20. You should consider changing the code to read: | |
1259 | |
1260 @lisp | |
1261 (cond | |
1262 ((and (string-match "XEmacs" emacs-version) | |
1263 (boundp 'emacs-major-version) | |
1264 (or (and (= emacs-major-version 19) | |
1265 (>= emacs-minor-version 12)) | |
1266 (>= emacs-major-version 20))) | |
1267 ... | |
1268 )) | |
1269 @end lisp | |
1198 | 1270 |
1199 @node Installation, Customization, Introduction, Top | 1271 @node Installation, Customization, Introduction, Top |
1200 @unnumbered 2 Installation and Trouble Shooting | 1272 @unnumbered 2 Installation and Trouble Shooting |
1201 | 1273 |
1202 This is part 2 of the XEmacs Frequently Asked Questions list. This | 1274 This is part 2 of the XEmacs Frequently Asked Questions list. This |
1214 * Q2.0.8:: can't resolve symbol _h_errno | 1286 * Q2.0.8:: can't resolve symbol _h_errno |
1215 * Q2.0.9:: Where do I find external libraries? | 1287 * Q2.0.9:: Where do I find external libraries? |
1216 * Q2.0.10:: After I run configure I find a coredump, is something wrong? | 1288 * Q2.0.10:: After I run configure I find a coredump, is something wrong? |
1217 * Q2.0.11:: XEmacs can't resolve host names. | 1289 * Q2.0.11:: XEmacs can't resolve host names. |
1218 * Q2.0.12:: Why can't I strip XEmacs? | 1290 * Q2.0.12:: Why can't I strip XEmacs? |
1219 * Q2.0.13:: I don't need no steenkin' packages. Do I? (NEW) | 1291 * Q2.0.13:: Can't link XEmacs on Solaris with Gcc. |
1220 * Q2.0.14:: I don't want to install a million .els one at a time! (NEW) | 1292 * Q2.0.14:: Make on HP/UX 9 fails after linking temacs |
1221 | 1293 |
1222 Trouble Shooting: | 1294 Trouble Shooting: |
1223 * Q2.1.1:: XEmacs just crashed on me! | 1295 * Q2.1.1:: XEmacs just crashed on me! |
1224 * Q2.1.2:: Cryptic Minibuffer messages. | 1296 * Q2.1.2:: Cryptic Minibuffer messages. |
1225 * Q2.1.3:: Translation Table Syntax messages at Startup. | 1297 * Q2.1.3:: Translation Table Syntax messages at Startup. |
1235 * Q2.1.13:: HP/UX 10.10 and @code{create_process} failure | 1307 * Q2.1.13:: HP/UX 10.10 and @code{create_process} failure |
1236 * Q2.1.14:: @kbd{C-g} doesn't work for me. Is it broken? | 1308 * Q2.1.14:: @kbd{C-g} doesn't work for me. Is it broken? |
1237 * Q2.1.15:: How to debug an XEmacs problem with a debugger. | 1309 * Q2.1.15:: How to debug an XEmacs problem with a debugger. |
1238 * Q2.1.16:: XEmacs crashes in @code{strcat} on HP/UX 10. | 1310 * Q2.1.16:: XEmacs crashes in @code{strcat} on HP/UX 10. |
1239 * Q2.1.17:: @samp{Marker does not point anywhere}. | 1311 * Q2.1.17:: @samp{Marker does not point anywhere}. |
1240 * Q2.1.18:: [This question intentionally left blank] | 1312 * Q2.1.18:: 19.14 hangs on HP/UX 10.10. |
1241 * Q2.1.19:: XEmacs does not follow the local timezone. | 1313 * Q2.1.19:: XEmacs does not follow the local timezone. |
1242 * Q2.1.20:: @samp{Symbol's function definition is void: hkey-help-show.} | 1314 * Q2.1.20:: @samp{Symbol's function definition is void: hkey-help-show.} |
1243 * Q2.1.21:: [This question intentionally left blank] | 1315 * Q2.1.21:: Every so often the XEmacs frame freezes. |
1244 * Q2.1.22:: XEmacs seems to take a really long time to do some things. | 1316 * Q2.1.22:: XEmacs seems to take a really long time to do some things. |
1245 * Q2.1.23:: Movemail on Linux does not work for XEmacs 19.15 and later. | 1317 * Q2.1.23:: Movemail on Linux does not work for XEmacs 19.15 and later. |
1246 * Q2.1.24:: XEmacs won't start without network. (NEW) | |
1247 * Q2.1.25:: After upgrading, XEmacs won't do `foo' any more! (NEW) | |
1248 @end menu | 1318 @end menu |
1249 | 1319 |
1250 @node Q2.0.1, Q2.0.2, Installation, Installation | 1320 @node Q2.0.1, Q2.0.2, Installation, Installation |
1251 @unnumberedsec 2.0: Installation | 1321 @unnumberedsec 2.0: Installation |
1252 @unnumberedsubsec Q2.0.1: Running XEmacs without installing | 1322 @unnumberedsubsec Q2.0.1: Running XEmacs without installing |
1253 | 1323 The @file{INSTALL} file says that up to 108 MB of space is needed |
1254 How can I just try XEmacs without installing it? | 1324 temporarily during installation! How can I just try it out? |
1255 | 1325 |
1256 XEmacs will run in place without requiring installation and copying of | 1326 XEmacs will run in place without requiring installation and copying of |
1257 the Lisp directories, and without having to specify a special build-time | 1327 the Lisp directories, and without having to specify a special build-time |
1258 flag. It's the copying of the Lisp directories that requires so much | 1328 flag. It's the copying of the Lisp directories that requires so much |
1259 space. XEmacs is largely written in Lisp. | 1329 space. XEmacs is largely written in Lisp. |
1270 This will let you run XEmacs without massive copying. | 1340 This will let you run XEmacs without massive copying. |
1271 | 1341 |
1272 @node Q2.0.2, Q2.0.3, Q2.0.1, Installation | 1342 @node Q2.0.2, Q2.0.3, Q2.0.1, Installation |
1273 @unnumberedsubsec Q2.0.2: XEmacs is too big | 1343 @unnumberedsubsec Q2.0.2: XEmacs is too big |
1274 | 1344 |
1275 The space required by the installation directories can be | 1345 Although this entry has been written for XEmacs 19.13, most of it still |
1346 stands true. | |
1347 | |
1348 @email{steve@@altair.xemacs.org, Steve Baur} writes: | |
1349 | |
1350 @quotation | |
1351 The 45MB of space required by the installation directories can be | |
1276 reduced dramatically if desired. Gzip all the .el files. Remove all | 1352 reduced dramatically if desired. Gzip all the .el files. Remove all |
1277 the packages you'll never want to use. Remove the TexInfo manuals. | 1353 the packages you'll never want to use (or even ones you do like the two |
1354 obsolete mailcrypts and Gnus 4 in 19.13). Remove the TexInfo manuals. | |
1278 Remove the Info (and use just hardcopy versions of the manual). Remove | 1355 Remove the Info (and use just hardcopy versions of the manual). Remove |
1279 most of the stuff in etc. Remove or gzip all the source code. Gzip or | 1356 most of the stuff in etc. Remove or gzip all the source code. Gzip or |
1280 remove the C source code. Configure it so that copies are not made of | 1357 remove the C source code. Configure it so that copies are not made of |
1281 the support lisp. | 1358 the support lisp. I'm not advocating any of these things, just pointing |
1359 out ways to reduce the disk requirements if desired. | |
1360 | |
1361 Now examine the space used by directory: | |
1362 | |
1363 @format | |
1364 0 /usr/local/bin/xemacs | |
1365 2048 /usr/local/bin/xemacs-19.13 | |
1366 | |
1367 1546 /usr/local/lib/xemacs-19.13/i486-miranova-sco3.2v4.2 | |
1368 1158 /usr/local/lib/xemacs-19.13/i486-unknown-linux1.2.13 | |
1369 @end format | |
1370 | |
1371 You need to keep these. XEmacs isn't stripped by default in | |
1372 installation, you should consider stripping. That will save you about | |
1373 5MB right there. | |
1374 | |
1375 @format | |
1376 207 /usr/local/lib/xemacs-19.13/etc/w3 | |
1377 122 /usr/local/lib/xemacs-19.13/etc/sounds | |
1378 18 /usr/local/lib/xemacs-19.13/etc/sparcworks | |
1379 159 /usr/local/lib/xemacs-19.13/etc/vm | |
1380 6 /usr/local/lib/xemacs-19.13/etc/e | |
1381 21 /usr/local/lib/xemacs-19.13/etc/eos | |
1382 172 /usr/local/lib/xemacs-19.13/etc/toolbar | |
1383 61 /usr/local/lib/xemacs-19.13/etc/ns | |
1384 43 /usr/local/lib/xemacs-19.13/etc/gnus | |
1385 @end format | |
1386 | |
1387 These are support directories for various packages. In general they | |
1388 match a directory under ./xemacs-19.13/lib/xemacs-19.13/lisp/. If you | |
1389 do not require the package, you may delete or gzip the support too. | |
1390 | |
1391 @format | |
1392 1959 /usr/local/lib/xemacs-19.13/etc | |
1393 175 /usr/local/lib/xemacs-19.13/lisp/bytecomp | |
1394 340 /usr/local/lib/xemacs-19.13/lisp/calendar | |
1395 342 /usr/local/lib/xemacs-19.13/lisp/comint | |
1396 517 /usr/local/lib/xemacs-19.13/lisp/dired | |
1397 42 /usr/local/lib/xemacs-19.13/lisp/electric | |
1398 212 /usr/local/lib/xemacs-19.13/lisp/emulators | |
1399 238 /usr/local/lib/xemacs-19.13/lisp/energize | |
1400 289 /usr/local/lib/xemacs-19.13/lisp/gnus | |
1401 457 /usr/local/lib/xemacs-19.13/lisp/ilisp | |
1402 1439 /usr/local/lib/xemacs-19.13/lisp/modes | |
1403 2276 /usr/local/lib/xemacs-19.13/lisp/packages | |
1404 1040 /usr/local/lib/xemacs-19.13/lisp/prim | |
1405 176 /usr/local/lib/xemacs-19.13/lisp/pcl-cvs | |
1406 154 /usr/local/lib/xemacs-19.13/lisp/rmail | |
1407 3 /usr/local/lib/xemacs-19.13/lisp/epoch | |
1408 45 /usr/local/lib/xemacs-19.13/lisp/term | |
1409 860 /usr/local/lib/xemacs-19.13/lisp/utils | |
1410 851 /usr/local/lib/xemacs-19.13/lisp/vm | |
1411 13 /usr/local/lib/xemacs-19.13/lisp/vms | |
1412 157 /usr/local/lib/xemacs-19.13/lisp/x11 | |
1413 19 /usr/local/lib/xemacs-19.13/lisp/tooltalk | |
1414 14 /usr/local/lib/xemacs-19.13/lisp/sunpro | |
1415 291 /usr/local/lib/xemacs-19.13/lisp/games | |
1416 198 /usr/local/lib/xemacs-19.13/lisp/edebug | |
1417 619 /usr/local/lib/xemacs-19.13/lisp/w3 | |
1418 229 /usr/local/lib/xemacs-19.13/lisp/eos | |
1419 55 /usr/local/lib/xemacs-19.13/lisp/iso | |
1420 59 /usr/local/lib/xemacs-19.13/lisp/mailcrypt | |
1421 187 /usr/local/lib/xemacs-19.13/lisp/eterm | |
1422 356 /usr/local/lib/xemacs-19.13/lisp/ediff | |
1423 408 /usr/local/lib/xemacs-19.13/lisp/hyperbole/kotl | |
1424 1262 /usr/local/lib/xemacs-19.13/lisp/hyperbole | |
1425 247 /usr/local/lib/xemacs-19.13/lisp/hm--html-menus | |
1426 161 /usr/local/lib/xemacs-19.13/lisp/mh-e | |
1427 299 /usr/local/lib/xemacs-19.13/lisp/viper | |
1428 53 /usr/local/lib/xemacs-19.13/lisp/oobr/tree-x | |
1429 4 /usr/local/lib/xemacs-19.13/lisp/oobr/tree-nx/English.lproj/DocWindow.nib | |
1430 3 /usr/local/lib/xemacs-19.13/lisp/oobr/tree-nx/English.lproj/InfoPanel.nib | |
1431 3 /usr/local/lib/xemacs-19.13/lisp/oobr/tree-nx/English.lproj/TreeView.nib | |
1432 11 /usr/local/lib/xemacs-19.13/lisp/oobr/tree-nx/English.lproj | |
1433 53 /usr/local/lib/xemacs-19.13/lisp/oobr/tree-nx | |
1434 466 /usr/local/lib/xemacs-19.13/lisp/oobr | |
1435 14142 /usr/local/lib/xemacs-19.13/lisp | |
1436 @end format | |
1282 | 1437 |
1283 These are all Emacs Lisp source code and bytecompiled object code. You | 1438 These are all Emacs Lisp source code and bytecompiled object code. You |
1284 may safely gzip everything named *.el here. You may remove any package | 1439 may safely gzip everything named *.el here. You may remove any package |
1285 you don't use. @emph{Nothing bad will happen if you delete a package | 1440 you don't use. @emph{Nothing bad will happen if you delete a package |
1286 that you do not use}. You must be sure you do not use it though, so be | 1441 that you do not use}. You must be sure you do not use it though, so be |
1287 conservative at first. | 1442 conservative at first. |
1288 | 1443 |
1289 Possible candidates for deletion include w3, games, hyperbole, mh-e, | 1444 Possible candidates for deletion include w3 (newer versions exist, or |
1290 hm-html-menus, vm, viper, oobr, gnus, etc. Ask yourself, @emph{Do I | 1445 you may just use Lynx or Netscape for web browsing), games, hyperbole, |
1291 ever want to use this package?} If the answer is no, then it is a | 1446 mh-e, hm--html-menus (better packages exist), vm, viper, oobr, gnus (new |
1292 candidate for removal. | 1447 versions exist), etc. Ask yourself, @emph{Do I ever want to use this |
1448 package?} If the answer is no, then it is a candidate for removal. | |
1293 | 1449 |
1294 First, gzip all the .el files. Then go about package by package and | 1450 First, gzip all the .el files. Then go about package by package and |
1295 start gzipping the .elc files. Then run XEmacs and do whatever it is | 1451 start gzipping the .elc files. Then run XEmacs and do whatever it is |
1296 you normally do. If nothing bad happens, then delete the directory. Be | 1452 you normally do. If nothing bad happens, then delete the directory. Be |
1297 conservative about deleting directories, and it would be handy to have a | 1453 conservative about deleting directories, and it would be handy to have a |
1298 backup around in case you get too zealous. | 1454 backup tape around in case you get too zealous. |
1299 | 1455 |
1300 @file{prim}, @file{modes}, @file{packages}, and @file{utils} are four | 1456 @file{prim}, @file{modes}, @file{packages}, and @file{utils} are four |
1301 directories you definitely do @strong{not} want to delete, although | 1457 directories you definitely do @strong{not} want to delete, although |
1302 certain packages can be removed from them if you do not use them. | 1458 certain packages can be removed from them if you do not use them. |
1303 | 1459 |
1304 Online texinfo sources in the @file{info} can either be compressed them | 1460 @example |
1305 or remove them. In either case, @kbd{C-h i} (info mode) will no longer | 1461 1972 /usr/local/lib/xemacs-19.13/info |
1306 work. | 1462 @end example |
1463 | |
1464 These are online texinfo sources. You may either gzip them or remove | |
1465 them. In either case, @kbd{C-h i} (info mode) will no longer work. | |
1466 | |
1467 @example | |
1468 20778 /usr/local/lib/xemacs-19.13 | |
1469 @end example | |
1470 | |
1471 The 20MB achieved is less than half of what the full distribution takes up, | |
1472 @strong{and} can be achieved without deleting a single file. | |
1473 @end quotation | |
1474 | |
1475 @email{boffi@@hp735.stru.polimi.it, Giacomo Boffi} provides this procedure: | |
1476 | |
1477 @quotation | |
1478 Substitute @file{/usr/local/lib/} with the path where the xemacs tree is | |
1479 rooted, then use this script: | |
1480 | |
1481 @example | |
1482 #!/bin/sh | |
1483 | |
1484 r=/usr/local/lib/xemacs-19.13/lisp | |
1485 | |
1486 cd $r ; rm -f cmpr ; touch cmpr | |
1487 | |
1488 du -s . | |
1489 | |
1490 for d in * ; do | |
1491 if test -d $d ; then | |
1492 cd $d | |
1493 for f in *.el ; do | |
1494 # compress (remove) only (ONLY) the sources that have a | |
1495 # corresponding compiled file --- do not (DO NOT) | |
1496 # touch other sources | |
1497 if test -f $@{f@}c ; then gzip -v9 $f >> $r/cmpr ; fi | |
1498 done | |
1499 cd .. | |
1500 fi | |
1501 done | |
1502 | |
1503 du -s . | |
1504 @end example | |
1505 | |
1506 A step beyond would be substituting @samp{rm -f} for @samp{gzip -v9}, | |
1507 but you have to be desperate for removing the sources (remember that | |
1508 emacs can access compressed files transparently). | |
1509 | |
1510 Also, a good megabyte could easily be trimmed from the $r/../etc | |
1511 directory, e.g., the termcap files, some O+NEWS, others that I don't | |
1512 remember as well. | |
1513 @end quotation | |
1514 | |
1515 @quotation | |
1516 XEmacs 21.0 will unbundle the lisp hierarchy and allow the installer | |
1517 to choose exactly how much support code gets installed. | |
1518 @end quotation | |
1307 | 1519 |
1308 @node Q2.0.3, Q2.0.4, Q2.0.2, Installation | 1520 @node Q2.0.3, Q2.0.4, Q2.0.2, Installation |
1309 @unnumberedsubsec Q2.0.3: Compiling XEmacs with Netaudio. | 1521 @unnumberedsubsec Q2.0.3: Compiling XEmacs with Netaudio. |
1310 | 1522 |
1311 What is the best way to compile XEmacs with the netaudio system, since I | 1523 What is the best way to compile XEmacs with the netaudio system, since I |
1347 @* | 1559 @* |
1348 @end iftex | 1560 @end iftex |
1349 Terminal type `xterm' undefined (or can't access database?) | 1561 Terminal type `xterm' undefined (or can't access database?) |
1350 @end example | 1562 @end example |
1351 | 1563 |
1352 @email{ben@@xemacs.org, Ben Wing} writes: | 1564 @email{ben@@666.com, Ben Wing} writes: |
1353 | 1565 |
1354 @quotation | 1566 @quotation |
1355 Your ncurses configuration is messed up. Your /usr/lib/terminfo is a | 1567 Your ncurses configuration is messed up. Your /usr/lib/terminfo is a |
1356 bad pointer, perhaps to a CD-ROM that is not inserted. | 1568 bad pointer, perhaps to a CD-ROM that is not inserted. |
1357 @end quotation | 1569 @end quotation |
1358 | 1570 |
1359 @node Q2.0.5, Q2.0.6, Q2.0.4, Installation | 1571 @node Q2.0.5, Q2.0.6, Q2.0.4, Installation |
1360 @unnumberedsubsec Q2.0.5: Do I need X11 to run XEmacs? | 1572 @unnumberedsubsec Q2.0.5: Do I need X11 to run XEmacs? |
1361 | 1573 |
1362 No. The name @dfn{XEmacs} is unfortunate in the sense that it is | 1574 No. The name @dfn{XEmacs} is unfortunate in the sense that it is |
1363 @strong{not} an X Window System-only version of Emacs. XEmacs has | 1575 @strong{not} an X Window System-only version of Emacs. Starting with |
1364 full color support on a color-capable character terminal. | 1576 19.14 XEmacs has full color support on a color capable character |
1577 terminal. | |
1365 | 1578 |
1366 @node Q2.0.6, Q2.0.7, Q2.0.5, Installation | 1579 @node Q2.0.6, Q2.0.7, Q2.0.5, Installation |
1367 @unnumberedsubsec Q2.0.6: I'm having strange crashes. What do I do? | 1580 @unnumberedsubsec Q2.0.6: I'm having strange crashes. What do I do? |
1368 | 1581 |
1369 There have been a variety of reports of crashes due to compilers with | 1582 There have been a variety of reports of crashes due to compilers with |
1400 @end iftex | 1613 @end iftex |
1401 @samp{h_errno^@@^@@}. Any version of Emacs will | 1614 @samp{h_errno^@@^@@}. Any version of Emacs will |
1402 suffice. If you don't understand how to do this, don't do it. | 1615 suffice. If you don't understand how to do this, don't do it. |
1403 | 1616 |
1404 @item | 1617 @item |
1405 Rebuild XEmacs yourself---any working ELF version of libc should be | 1618 Rebuild XEmacs yourself -- any working ELF version of libc should be |
1406 O.K. | 1619 O.K. |
1407 @end enumerate | 1620 @end enumerate |
1408 | 1621 |
1409 @email{hniksic@@xemacs.org, Hrvoje Niksic} writes: | 1622 @email{hniksic@@srce.hr, Hrvoje Niksic} writes: |
1410 | 1623 |
1411 @quotation | 1624 @quotation |
1412 Why not use a Perl one-liner for No. 2? | 1625 Why not use a Perl one-liner for No. 2? |
1413 | 1626 |
1414 @example | 1627 @example |
1581 /usr/local/lib/xemacs-19.16/i586-unknown-linuxaout | 1794 /usr/local/lib/xemacs-19.16/i586-unknown-linuxaout |
1582 @end enumerate | 1795 @end enumerate |
1583 @end quotation | 1796 @end quotation |
1584 | 1797 |
1585 @node Q2.0.13, Q2.0.14, Q2.0.12, Installation | 1798 @node Q2.0.13, Q2.0.14, Q2.0.12, Installation |
1586 @unnumberedsubsec Q2.0.13: I don't need no steenkin' packages. Do I? (NEW) | 1799 @unnumberedsubsec Q2.0.13: Problems linking with Gcc on Solaris |
1587 | 1800 |
1588 Strictly speaking, no. XEmacs will build and install just fine without | 1801 There are known difficulties linking with Gnu ld on Solaris. A typical |
1589 any packages installed. However, only the most basic editing functions | 1802 error message might look like: |
1590 will be available with no packages installed, so installing packages is | 1803 |
1591 an essential part of making your installed XEmacs _useful_. | 1804 @example |
1805 unexec(): dlopen(../dynodump/dynodump.so): ld.so.1: ./temacs: | |
1806 fatal: relocation error: | |
1807 symbol not found: main: referenced in ../dynodump/dynodump.so | |
1808 @end example | |
1809 | |
1810 @email{martin@@xemacs.org, Martin Buchholz} writes: | |
1811 | |
1812 @quotation | |
1813 You need to specify @samp{-fno-gnu-linker} as part of your flags to pass | |
1814 to ld. Future releases of XEmacs will try to do this automatically. | |
1815 @end quotation | |
1592 | 1816 |
1593 @node Q2.0.14, Q2.1.1, Q2.0.13, Installation | 1817 @node Q2.0.14, Q2.1.1, Q2.0.13, Installation |
1594 @unnumberedsubsec Q2.0.12: How do I figure out which packages to install? (NEW) | 1818 @unnumberedsubsec Q2.0.14: Make on HP/UX 9 fails after linking temacs |
1595 | 1819 |
1596 Many people really liked the old way that packages were bundled and do | 1820 Problem when building xemacs-19.16 on hpux 9: |
1597 not want to mess with packages at all. You can grab all the packages at | 1821 |
1598 once like you used to with old XEmacs versions. Download the file | 1822 @email{cognot@@ensg.u-nancy.fr, Richard Cognot} writes: |
1599 | 1823 |
1600 @file{xemacs-sumo.tar.gz} | 1824 @quotation |
1601 | 1825 make on hpux fails after linking temacs with a message: |
1602 For an XEmacs compiled with Mule you also need | 1826 |
1603 | 1827 @example |
1604 @file{xemacs-mule-sumo.tar.gz} | 1828 "make: don't know how to make .y." |
1605 | 1829 @end example |
1606 N.B. They are called 'Sumo Tarballs' for good reason. They are | 1830 |
1607 currently about 15MB and 2.3MB (gzipped) respectively. | 1831 Solution: This is a problem with HP make revision 70.X. Either use GNU |
1608 | 1832 make, or install PHCO_6552, which will bring make to revision |
1609 Install them by | 1833 72.24.1.17. |
1610 | 1834 @end quotation |
1611 @code{cd $prefix/lib/xemacs ; gunzip -c <tarballname> | tar xf -} | 1835 |
1612 | |
1613 As the Sumo tarballs are not regenerated as often as the individual | |
1614 packages, it is recommended that you use the automatic package tools | |
1615 afterwards to pick up any recent updates. | |
1616 | 1836 |
1617 @node Q2.1.1, Q2.1.2, Q2.0.14, Installation | 1837 @node Q2.1.1, Q2.1.2, Q2.0.14, Installation |
1618 @unnumberedsec 2.1: Trouble Shooting | 1838 @unnumberedsec 2.1: Trouble Shooting |
1619 @unnumberedsubsec Q2.1.1: Help! XEmacs just crashed on me! | 1839 @unnumberedsubsec Q2.1.1: Help! XEmacs just crashed on me! |
1620 | 1840 |
1655 @code{gdb}. If you don't have any such debugger available, complain to | 1875 @code{gdb}. If you don't have any such debugger available, complain to |
1656 your system administrator. | 1876 your system administrator. |
1657 | 1877 |
1658 It's possible that a core file didn't get produced, in which case you're | 1878 It's possible that a core file didn't get produced, in which case you're |
1659 out of luck. Go complain to your system administrator and tell him not | 1879 out of luck. Go complain to your system administrator and tell him not |
1660 to disable core files by default. Also @xref{Q2.1.15}, for tips and | 1880 to disable core files by default. Also @xref{Q2.1.15} for tips and |
1661 techniques for dealing with a debugger. | 1881 techniques for dealing with a debugger. |
1662 | 1882 |
1663 When making a problem report make sure that: | 1883 When making a problem report make sure that: |
1664 | 1884 |
1665 @enumerate | 1885 @enumerate |
1829 I think this is due to undefined resources; You need to define color | 2049 I think this is due to undefined resources; You need to define color |
1830 backgrounds and foregrounds into your @file{.../app-defaults/Emacs} | 2050 backgrounds and foregrounds into your @file{.../app-defaults/Emacs} |
1831 like: | 2051 like: |
1832 | 2052 |
1833 @example | 2053 @example |
1834 *Foreground: Black ;everything will be of black on grey95, | 2054 *Foreground: Black ;everything will be of black on grey95, |
1835 *Background: Grey95 ;unless otherwise specified. | 2055 *Background: Grey95 ;unless otherwise specified. |
1836 *cursorColor: Red3 ;red3 cursor with grey95 border. | 2056 *cursorColor: Red3 ;red3 cursor with grey95 border. |
1837 *pointerColor: Red3 ;red3 pointer with grey95 border. | 2057 *pointerColor: Red3 ;red3 pointer with grey95 border. |
1838 @end example | 2058 @end example |
1839 @end quotation | 2059 @end quotation |
1840 | 2060 |
1841 Natalie Kershaw adds: | 2061 Natalie Kershaw adds: |
1842 | 2062 |
1981 @end quotation | 2201 @end quotation |
1982 | 2202 |
1983 @node Q2.1.14, Q2.1.15, Q2.1.13, Installation | 2203 @node Q2.1.14, Q2.1.15, Q2.1.13, Installation |
1984 @unnumberedsubsec Q2.1.14: @kbd{C-g} doesn't work for me. Is it broken? | 2204 @unnumberedsubsec Q2.1.14: @kbd{C-g} doesn't work for me. Is it broken? |
1985 | 2205 |
1986 @email{ben@@xemacs.org, Ben Wing} writes: | 2206 @email{ben@@666.com, Ben Wing} writes: |
1987 | 2207 |
1988 @quotation | 2208 @quotation |
1989 @kbd{C-g} does work for most people in most circumstances. If it | 2209 @kbd{C-g} does work for most people in most circumstances. If it |
1990 doesn't, there are only two explanations: | 2210 doesn't, there are only two explanations: |
1991 | 2211 |
2076 disadvantages - it can only be used with a running xemacs process, and | 2296 disadvantages - it can only be used with a running xemacs process, and |
2077 it cannot display the internal C structure of a Lisp Object. Even if | 2297 it cannot display the internal C structure of a Lisp Object. Even if |
2078 all you've got is a core dump, all is not lost. | 2298 all you've got is a core dump, all is not lost. |
2079 | 2299 |
2080 If you're using GDB, there are some macros in the file | 2300 If you're using GDB, there are some macros in the file |
2081 @file{src/.gdbinit} in the XEmacs source distribution that should make | 2301 @file{src/gdbinit} in the XEmacs source distribution that should make it |
2082 it easier for you to decode Lisp objects. This file is automatically | 2302 easier for you to decode Lisp objects. Copy this file to |
2083 read by gdb if gdb is run in the directory where xemacs was built, and | 2303 @file{~/.gdbinit}, or @code{source} it from @file{~/.gdbinit}, and use |
2084 contains these useful macros to inspect the state of xemacs: | 2304 the macros defined therein. In particular, use the @code{pobj} macro to |
2085 | 2305 print the internal C representation of a lisp object. This will work |
2086 @table @code | 2306 with a core file or not-yet-run executable. The aliases @code{ldp} and |
2087 @item pobj | 2307 @code{lbt} are provided for conveniently calling @code{debug_print} and |
2088 Usage: pobj lisp_object @* | 2308 @code{debug_backtrace}. |
2089 Print the internal C representation of a lisp object. | |
2090 | |
2091 @item xtype | |
2092 Usage: xtype lisp_object @* | |
2093 Print the Lisp type of a lisp object. | |
2094 | |
2095 @item lbt | |
2096 Usage: lbt @* | |
2097 Print the current Lisp stack trace. | |
2098 Requires a running xemacs process. | |
2099 | |
2100 @item ldp | |
2101 Usage: ldp lisp_object @* | |
2102 Print a Lisp Object value using the Lisp printer. | |
2103 Requires a running xemacs process. | |
2104 | |
2105 @item run-temacs | |
2106 Usage: run-temacs @* | |
2107 Run temacs interactively, like xemacs. | |
2108 Use this with debugging tools (like purify) that cannot deal with dumping, | |
2109 or when temacs builds successfully, but xemacs does not. | |
2110 | |
2111 @item dump-temacs | |
2112 Usage: dump-temacs @* | |
2113 Run the dumping part of the build procedure. | |
2114 Use when debugging temacs, not xemacs! | |
2115 Use this when temacs builds successfully, but xemacs does not. | |
2116 | |
2117 @item check-xemacs | |
2118 Usage: check-xemacs @* | |
2119 Run the test suite. Equivalent to 'make check'. | |
2120 | |
2121 @item check-temacs | |
2122 Usage: check-temacs @* | |
2123 Run the test suite on temacs. Equivalent to 'make check-temacs'. | |
2124 Use this with debugging tools (like purify) that cannot deal with dumping, | |
2125 or when temacs builds successfully, but xemacs does not. | |
2126 @end table | |
2127 | 2309 |
2128 If you are using Sun's @file{dbx} debugger, there is an equivalent file | 2310 If you are using Sun's @file{dbx} debugger, there is an equivalent file |
2129 @file{src/.dbxrc}, which defines the same commands for dbx. | 2311 @file{src/dbxrc} to copy to or source from @file{~/.dbxrc}. |
2130 | 2312 |
2131 @item | 2313 @item |
2132 If you're using a debugger to get a C stack backtrace and you're seeing | 2314 If you're using a debugger to get a C stack backtrace and you're seeing |
2133 stack traces with some of the innermost frames mangled, it may be due to | 2315 stack traces with some of the innermost frames mangled, it may be due to |
2134 dynamic linking. (This happens especially under Linux.) Consider | 2316 dynamic linking. (This happens especially under Linux.) Consider |
2175 | 2357 |
2176 @end enumerate | 2358 @end enumerate |
2177 | 2359 |
2178 @item | 2360 @item |
2179 If you compile with the newer gcc variants gcc-2.8 or egcs, you will | 2361 If you compile with the newer gcc variants gcc-2.8 or egcs, you will |
2180 also need gdb 4.17 or above. Earlier releases of gdb can't handle the | 2362 also need gdb 4.17. Earlier releases of gdb can't handle the debug |
2181 debug information generated by the newer compilers. | 2363 information generated by the newer compilers. |
2182 | 2364 |
2183 @item | 2365 @item |
2184 In versions of XEmacs before 21.2.27, @file{src/.gdbinit} was named | 2366 The above information on using @file{src/gdbinit} works for XEmacs-21.0 |
2185 @file{src/gdbinit}. This had the disadvantage of not being sourced | 2367 and above. For older versions of XEmacs, there are different |
2186 automatically by gdb, so you had to set that up yourself. | 2368 @file{gdbinit} files provided in the @file{src} directory. Use the one |
2369 corresponding to the configure options used when building XEmacs. | |
2187 | 2370 |
2188 @end itemize | 2371 @end itemize |
2189 | 2372 |
2190 @node Q2.1.16, Q2.1.17, Q2.1.15, Installation | 2373 @node Q2.1.16, Q2.1.17, Q2.1.15, Installation |
2191 @unnumberedsubsec Q2.1.16: XEmacs crashes in @code{strcat} on HP/UX 10 | 2374 @unnumberedsubsec Q2.1.16: XEmacs crashes in @code{strcat} on HP/UX 10 |
2192 | 2375 |
2193 From the problems database (through | 2376 >From the problems database (through |
2194 the former address http://support.mayfield.hp.com/): | 2377 @uref{http://support.mayfield.hp.com/}): |
2195 | 2378 |
2196 @example | 2379 @example |
2197 Problem Report: 5003302299 | 2380 Problem Report: 5003302299 |
2198 Status: Open | 2381 Status: Open |
2199 | 2382 |
2227 A problem with some early versions of Gnus 5.4 caused this error. | 2410 A problem with some early versions of Gnus 5.4 caused this error. |
2228 Upgrade your Gnus. | 2411 Upgrade your Gnus. |
2229 @end enumerate | 2412 @end enumerate |
2230 | 2413 |
2231 @node Q2.1.18, Q2.1.19, Q2.1.17, Installation | 2414 @node Q2.1.18, Q2.1.19, Q2.1.17, Installation |
2232 @unnumberedsubsec Q2.1.18: removed | 2415 @unnumberedsubsec Q2.1.18: 19.14 hangs on HP/UX 10.10. |
2416 | |
2417 @email{cognot@@ensg.u-nancy.fr, Richard Cognot} writes: | |
2418 | |
2419 @quotation | |
2420 For the record, compiling on hpux 10.10 leads to a hang in Gnus when | |
2421 compiled with optimization on. | |
2422 | |
2423 I've just discovered that my hpux 10.01 binary was working less well | |
2424 than expected. In fact, on a 10.10 system, @code{(while t)} was not | |
2425 interrupted by @kbd{C-g}. I defined @code{BROKEN_SIGIO} and recompiled on | |
2426 10.10, and... the hang is now gone. | |
2427 | |
2428 As far as configure goes, this will be a bit tricky: @code{BROKEN_SIGIO} | |
2429 is needed on 10.10, but @strong{not} on 10.01: if I run my 10.01 binary | |
2430 on a 10.01 machine, without @code{BROKEN_SIGIO} being defined, @kbd{C-g} | |
2431 works as expected. | |
2432 @end quotation | |
2433 | |
2434 @email{cognot@@ensg.u-nancy.fr, Richard Cognot} adds: | |
2435 | |
2436 @quotation | |
2437 Apparently somebody has found the reason why there is this | |
2438 @iftex | |
2439 @* | |
2440 @end iftex | |
2441 @samp{poll: | |
2442 interrupted...} message for each event. For some reason, libcurses | |
2443 reimplements a @code{select()} system call, in a highly broken fashion. | |
2444 The fix is to add a -lc to the link line @emph{before} the | |
2445 -lxcurses. XEmacs will then use the right version of @code{select()}. | |
2446 @end quotation | |
2447 | |
2448 | |
2449 @email{af@@biomath.jussieu.fr, Alain Fauconnet} writes: | |
2450 | |
2451 @quotation | |
2452 The @emph{real} solution is to @emph{not} link -lcurses in! I just | |
2453 changed -lcurses to -ltermcap in the Makefile and it fixed: | |
2454 | |
2455 @enumerate | |
2456 @item | |
2457 The @samp{poll: interrupted system call} message. | |
2458 | |
2459 @item | |
2460 A more serious problem I had discovered in the meantime, that is the | |
2461 fact that subprocess handling was seriously broken: subprocesses | |
2462 e.g. started by AUC TeX for TeX compilation of a buffer would | |
2463 @emph{hang}. Actually they would wait forever for emacs to read the | |
2464 socket which connects stdout... | |
2465 @end enumerate | |
2466 @end quotation | |
2233 | 2467 |
2234 @node Q2.1.19, Q2.1.20, Q2.1.18, Installation | 2468 @node Q2.1.19, Q2.1.20, Q2.1.18, Installation |
2235 @unnumberedsubsec Q2.1.19: XEmacs does not follow the local timezone. | 2469 @unnumberedsubsec Q2.1.19: XEmacs does not follow the local timezone. |
2236 | 2470 |
2237 When using one of the prebuilt binaries many users have observed that | 2471 When using one of the prebuilt binaries many users have observed that |
2255 @end lisp | 2489 @end lisp |
2256 | 2490 |
2257 where you load hyperbole and the problem should go away. | 2491 where you load hyperbole and the problem should go away. |
2258 | 2492 |
2259 @node Q2.1.21, Q2.1.22, Q2.1.20, Installation | 2493 @node Q2.1.21, Q2.1.22, Q2.1.20, Installation |
2260 @unnumberedsubsec Q2.1.21: [This question intentionally left blank] | 2494 @unnumberedsubsec Q2.1.21: Every so often the XEmacs frame freezes |
2495 | |
2496 This problem has been fixed in 19.15, and was due to a not easily | |
2497 reproducible race condition. | |
2261 | 2498 |
2262 @node Q2.1.22, Q2.1.23, Q2.1.21, Installation | 2499 @node Q2.1.22, Q2.1.23, Q2.1.21, Installation |
2263 @unnumberedsubsec Q2.1.22: XEmacs seems to take a really long time to do some things | 2500 @unnumberedsubsec Q2.1.22: XEmacs seems to take a really long time to do some things |
2264 | 2501 |
2265 @email{dmoore@@ucsd.edu, David Moore} writes: | 2502 @email{dmoore@@ucsd.edu, David Moore} writes: |
2292 | 2529 |
2293 debug-on-quit doesn't work if something's turned on inhibit-quit or in | 2530 debug-on-quit doesn't work if something's turned on inhibit-quit or in |
2294 some other strange cases. | 2531 some other strange cases. |
2295 @end quotation | 2532 @end quotation |
2296 | 2533 |
2297 @node Q2.1.23, Q2.1.24, Q2.1.22, Installation | 2534 @node Q2.1.23, , Q2.1.22, Installation |
2298 @unnumberedsubsec Q2.1.23: Movemail on Linux does not work for XEmacs 19.15 and later. | 2535 @unnumberedsubsec Q2.1.23: Movemail on Linux does not work for XEmacs 19.15 and later. |
2299 | 2536 |
2300 Movemail used to work fine in 19.14 but has stopped working in 19.15 | 2537 Movemail used to work fine in 19.14 but has stopped working in 19.15 |
2301 and 20.x. I am using Linux. | 2538 and 20.x. I am using Linux. |
2302 | 2539 |
2310 | 2547 |
2311 @example | 2548 @example |
2312 #define MAIL_USE_FLOCK | 2549 #define MAIL_USE_FLOCK |
2313 @end example | 2550 @end example |
2314 @end quotation | 2551 @end quotation |
2315 | |
2316 @node Q2.1.24, Q2.1.25, Q2.1.23, Installation | |
2317 @unnumberedsubsec Q2.1.24: XEmacs won't start without network. (NEW) | |
2318 | |
2319 If XEmacs starts when you're on the network, but fails when you're not | |
2320 on the network, you may be missing a "localhost" entry in your | |
2321 @file{/etc/hosts} file. The file should contain an entry like: | |
2322 | |
2323 @example | |
2324 127.0.0.1 localhost | |
2325 @end example | |
2326 | |
2327 Add that line, and XEmacs will be happy. | |
2328 | |
2329 @node Q2.1.25, , Q2.1.24, Installation | |
2330 @unnumberedsubsec Q2.1.25:: After upgrading, XEmacs won't do `foo' any more! (NEW) | |
2331 | |
2332 You have been used to doing `foo', but now when you invoke it (or click | |
2333 the toolbar button or select the menu item), nothing (or an error) | |
2334 happens. The simplest explanation is that you are missing a package | |
2335 that is essential to you. You can either track it down and install it, | |
2336 or install the `Sumo Tarball' (see @pxref{Q2.0.14}). | |
2337 | 2552 |
2338 @node Customization, Subsystems, Installation, Top | 2553 @node Customization, Subsystems, Installation, Top |
2339 @unnumbered 3 Customization and Options | 2554 @unnumbered 3 Customization and Options |
2340 | 2555 |
2341 This is part 3 of the XEmacs Frequently Asked Questions list. This | 2556 This is part 3 of the XEmacs Frequently Asked Questions list. This |
2354 * Q3.0.9:: What is @code{Customize}? | 2569 * Q3.0.9:: What is @code{Customize}? |
2355 | 2570 |
2356 X Window System & Resources: | 2571 X Window System & Resources: |
2357 * Q3.1.1:: Where is a list of X resources? | 2572 * Q3.1.1:: Where is a list of X resources? |
2358 * Q3.1.2:: How can I detect a color display? | 2573 * Q3.1.2:: How can I detect a color display? |
2359 * Q3.1.3:: [This question intentionally left blank] | 2574 * Q3.1.3:: @code{(set-screen-width)} worked in 19.6, but not in 19.13? |
2360 * Q3.1.4:: [This question intentionally left blank] | 2575 * Q3.1.4:: Specifying @code{Emacs*EmacsScreen.geometry} in @file{.emacs} does not work in 19.15? |
2361 * Q3.1.5:: How can I get the icon to just say @samp{XEmacs}? | 2576 * Q3.1.5:: How can I get the icon to just say @samp{XEmacs}? |
2362 * Q3.1.6:: How can I have the window title area display the full path? | 2577 * Q3.1.6:: How can I have the window title area display the full path? |
2363 * Q3.1.7:: @samp{xemacs -name junk} doesn't work? | 2578 * Q3.1.7:: @samp{xemacs -name junk} doesn't work? |
2364 * Q3.1.8:: @samp{-iconic} doesn't work. | 2579 * Q3.1.8:: @samp{-iconic} doesn't work. |
2365 | 2580 |
2392 * Q3.5.7:: How can you type in special characters in XEmacs? | 2607 * Q3.5.7:: How can you type in special characters in XEmacs? |
2393 * Q3.5.8:: Why does @code{(global-set-key [delete-forward] 'delete-char)} complain? | 2608 * Q3.5.8:: Why does @code{(global-set-key [delete-forward] 'delete-char)} complain? |
2394 * Q3.5.9:: How do I make the Delete key delete forward? | 2609 * Q3.5.9:: How do I make the Delete key delete forward? |
2395 * Q3.5.10:: Can I turn on @dfn{sticky} modifier keys? | 2610 * Q3.5.10:: Can I turn on @dfn{sticky} modifier keys? |
2396 * Q3.5.11:: How do I map the arrow keys? | 2611 * Q3.5.11:: How do I map the arrow keys? |
2397 * Q3.5.12:: XEmacs complains about my xmodmap (I hate the default X keymap). | |
2398 | 2612 |
2399 The Cursor: | 2613 The Cursor: |
2400 * Q3.6.1:: Is there a way to make the bar cursor thicker? | 2614 * Q3.6.1:: Is there a way to make the bar cursor thicker? |
2401 * Q3.6.2:: Is there a way to get back the old block cursor where the cursor covers the character in front of the point? | 2615 * Q3.6.2:: Is there a way to get back the old block cursor where the cursor covers the character in front of the point? |
2402 * Q3.6.3:: Can I make the cursor blink? | 2616 * Q3.6.3:: Can I make the cursor blink? |
2511 | 2725 |
2512 It's almost always a mistake to test @code{emacs-version} or any similar | 2726 It's almost always a mistake to test @code{emacs-version} or any similar |
2513 variables. | 2727 variables. |
2514 | 2728 |
2515 Instead, use feature-tests, such as @code{featurep}, @code{boundp}, | 2729 Instead, use feature-tests, such as @code{featurep}, @code{boundp}, |
2516 @code{fboundp}, or even simple behavioral tests, eg.: | 2730 @code{fboundp}, or even simple behavioural tests, eg.: |
2517 | 2731 |
2518 @lisp | 2732 @lisp |
2519 (defvar foo-old-losing-code-p | 2733 (defvar foo-old-losing-code-p |
2520 (condition-case nil (progn (losing-code t) nil) | 2734 (condition-case nil (progn (losing-code t) nil) |
2521 (wrong-number-of-arguments t))) | 2735 (wrong-number-of-arguments t))) |
2544 For XEmacs 19.14 and previous: | 2758 For XEmacs 19.14 and previous: |
2545 | 2759 |
2546 @email{mannj@@ll.mit.edu, John Mann} writes: | 2760 @email{mannj@@ll.mit.edu, John Mann} writes: |
2547 | 2761 |
2548 @quotation | 2762 @quotation |
2549 You have to go to Options->Frame Appearance and unselect | 2763 You have to go to Options->Menubar Appearance and unselect |
2550 @samp{Frame-Local Font Menu}. If this option is selected, font changes | 2764 @samp{Frame-Local Font Menu}. If this option is selected, font changes |
2551 are only applied to the @emph{current} frame and do @emph{not} get saved | 2765 are only applied to the @emph{current} frame and do @emph{not} get saved |
2552 when you save options. | 2766 when you save options. |
2553 @end quotation | 2767 @end quotation |
2554 | 2768 |
2569 (setq initial-frame-plist '(minibuffer nil)) | 2783 (setq initial-frame-plist '(minibuffer nil)) |
2570 (setq default-frame-plist '(minibuffer nil)) | 2784 (setq default-frame-plist '(minibuffer nil)) |
2571 (setq default-minibuffer-frame | 2785 (setq default-minibuffer-frame |
2572 (make-frame | 2786 (make-frame |
2573 '(minibuffer only | 2787 '(minibuffer only |
2574 width 86 | 2788 width 86 |
2575 height 1 | 2789 height 1 |
2576 menubar-visible-p nil | 2790 menubar-visible-p nil |
2577 default-toolbar-visible-p nil | 2791 default-toolbar-visible-p nil |
2578 name "minibuffer" | 2792 name "minibuffer" |
2579 top -2 | 2793 top -2 |
2580 left -2 | 2794 left -2 |
2581 has-modeline-p nil))) | 2795 has-modeline-p nil))) |
2582 (frame-notice-user-settings) | 2796 (frame-notice-user-settings) |
2583 @end lisp | 2797 @end lisp |
2584 | 2798 |
2585 @strong{Please note:} The single minibuffer frame may not be to everyone's | 2799 @strong{Please note:} The single minibuffer frame may not be to everyone's |
2586 taste, and there any number of other XEmacs options settings that may | 2800 taste, and there any number of other XEmacs options settings that may |
2628 .... | 2842 .... |
2629 ) | 2843 ) |
2630 @end lisp | 2844 @end lisp |
2631 | 2845 |
2632 @node Q3.1.3, Q3.1.4, Q3.1.2, Customization | 2846 @node Q3.1.3, Q3.1.4, Q3.1.2, Customization |
2633 @unnumberedsubsec Q3.1.3: [This question intentionally left blank] | 2847 @unnumberedsubsec Q3.1.3: @code{(set-screen-width)} worked in 19.6, but not in 19.13? |
2848 | |
2849 In Lucid Emacs 19.6 I did @code{(set-screen-width @var{characters})} and | |
2850 @code{(set-screen-height @var{lines})} in my @file{.emacs} instead of | |
2851 specifying @code{Emacs*EmacsScreen.geometry} in my | |
2852 @iftex | |
2853 @* | |
2854 @end iftex | |
2855 @file{.Xdefaults} but | |
2856 this does not work in XEmacs 19.13. | |
2857 | |
2858 These two functions now take frame arguments: | |
2859 | |
2860 @lisp | |
2861 (set-frame-width (selected-frame) @var{characters}) | |
2862 (set-frame-height (selected-frame) @var{lines}) | |
2863 @end lisp | |
2634 | 2864 |
2635 @node Q3.1.4, Q3.1.5, Q3.1.3, Customization | 2865 @node Q3.1.4, Q3.1.5, Q3.1.3, Customization |
2636 @unnumberedsubsec Q3.1.4: [This question intentionally left blank] | 2866 @unnumberedsubsec Q3.1.4: Specifying @code{Emacs*EmacsScreen.geometry} in @file{.emacs} does not work in 19.15? |
2867 | |
2868 In XEmacs 19.11 I specified @code{Emacs*EmacsScreen.geometry} in | |
2869 my @file{.emacs} but this does not work in XEmacs 19.15. | |
2870 | |
2871 We have switched from using the term @dfn{screen} to using the term | |
2872 @dfn{frame}. | |
2873 | |
2874 The correct entry for your @file{.Xdefaults} is now: | |
2875 | |
2876 @example | |
2877 Emacs*EmacsFrame.geometry | |
2878 @end example | |
2637 | 2879 |
2638 @node Q3.1.5, Q3.1.6, Q3.1.4, Customization | 2880 @node Q3.1.5, Q3.1.6, Q3.1.4, Customization |
2639 @unnumberedsubsec Q3.1.5: How can I get the icon to just say @samp{XEmacs}? | 2881 @unnumberedsubsec Q3.1.5: How can I get the icon to just say @samp{XEmacs}? |
2640 | 2882 |
2641 I'd like the icon to just say @samp{XEmacs}, and not include the name of | 2883 I'd like the icon to just say @samp{XEmacs}, and not include the name of |
2662 A more sophisticated title might be: | 2904 A more sophisticated title might be: |
2663 | 2905 |
2664 @lisp | 2906 @lisp |
2665 (setq frame-title-format | 2907 (setq frame-title-format |
2666 '("%S: " (buffer-file-name "%f" | 2908 '("%S: " (buffer-file-name "%f" |
2667 (dired-directory dired-directory "%b")))) | 2909 (dired-directory dired-directory "%b")))) |
2668 @end lisp | 2910 @end lisp |
2669 | 2911 |
2670 That is, use the file name, or the dired-directory, or the buffer name. | 2912 That is, use the file name, or the dired-directory, or the buffer name. |
2671 | 2913 |
2672 @node Q3.1.7, Q3.1.8, Q3.1.6, Customization | 2914 @node Q3.1.7, Q3.1.8, Q3.1.6, Customization |
2725 | 2967 |
2726 When I start up XEmacs using @samp{-iconic} it doesn't work right. | 2968 When I start up XEmacs using @samp{-iconic} it doesn't work right. |
2727 Using @samp{-unmapped} on the command line, and setting the | 2969 Using @samp{-unmapped} on the command line, and setting the |
2728 @code{initiallyUnmapped} X Resource don't seem to help much either... | 2970 @code{initiallyUnmapped} X Resource don't seem to help much either... |
2729 | 2971 |
2730 @email{ben@@xemacs.org, Ben Wing} writes: | 2972 @email{ben@@666.com, Ben Wing} writes: |
2731 | 2973 |
2732 @quotation | 2974 @quotation |
2733 Ugh, this stuff is such an incredible mess that I've about given up | 2975 Ugh, this stuff is such an incredible mess that I've about given up |
2734 getting it to work. The principal problem is numerous window-manager | 2976 getting it to work. The principal problem is numerous window-manager |
2735 bugs... | 2977 bugs... |
2746 | 2988 |
2747 @lisp | 2989 @lisp |
2748 (set-face-background 'default "bisque") ; frame background | 2990 (set-face-background 'default "bisque") ; frame background |
2749 (set-face-foreground 'default "black") ; normal text | 2991 (set-face-foreground 'default "black") ; normal text |
2750 (set-face-background 'zmacs-region "red") ; When selecting w/ | 2992 (set-face-background 'zmacs-region "red") ; When selecting w/ |
2751 ; mouse | 2993 ; mouse |
2752 (set-face-foreground 'zmacs-region "yellow") | 2994 (set-face-foreground 'zmacs-region "yellow") |
2753 (set-face-font 'default "*courier-bold-r*120-100-100*") | 2995 (set-face-font 'default "*courier-bold-r*120-100-100*") |
2754 (set-face-background 'highlight "blue") ; Ie when selecting | 2996 (set-face-background 'highlight "blue") ; Ie when selecting |
2755 ; buffers | 2997 ; buffers |
2756 (set-face-foreground 'highlight "yellow") | 2998 (set-face-foreground 'highlight "yellow") |
2757 (set-face-background 'modeline "blue") ; Line at bottom | 2999 (set-face-background 'modeline "blue") ; Line at bottom |
2758 ; of buffer | 3000 ; of buffer |
2759 (set-face-foreground 'modeline "white") | 3001 (set-face-foreground 'modeline "white") |
2760 (set-face-font 'modeline "*bold-r-normal*140-100-100*") | 3002 (set-face-font 'modeline "*bold-r-normal*140-100-100*") |
2761 (set-face-background 'isearch "yellow") ; When highlighting | 3003 (set-face-background 'isearch "yellow") ; When highlighting |
2762 ; while searching | 3004 ; while searching |
2763 (set-face-foreground 'isearch "red") | 3005 (set-face-foreground 'isearch "red") |
2764 (setq x-pointer-foreground-color "black") ; Adds to bg color, | 3006 (setq x-pointer-foreground-color "black") ; Adds to bg color, |
2765 ; so keep black | 3007 ; so keep black |
2766 (setq x-pointer-background-color "blue") ; This is color | 3008 (setq x-pointer-background-color "blue") ; This is color |
2767 ; you really | 3009 ; you really |
2768 ; want ptr/crsr | 3010 ; want ptr/crsr |
2769 @end lisp | 3011 @end lisp |
2770 | 3012 |
2771 @node Q3.2.2, Q3.2.3, Q3.2.1, Customization | 3013 @node Q3.2.2, Q3.2.3, Q3.2.1, Customization |
2772 @unnumberedsubsec Q3.2.2: How do I set the text, menu and modeline fonts? | 3014 @unnumberedsubsec Q3.2.2: How do I set the text, menu and modeline fonts? |
2773 | 3015 |
2868 | 3110 |
2869 and so on. You can also do this interactively via @kbd{M-x edit-faces}. | 3111 and so on. You can also do this interactively via @kbd{M-x edit-faces}. |
2870 | 3112 |
2871 @end quotation | 3113 @end quotation |
2872 | 3114 |
3115 @unnumberedsec 3.3: The Modeline | |
2873 @node Q3.3.1, Q3.3.2, Q3.2.6, Customization | 3116 @node Q3.3.1, Q3.3.2, Q3.2.6, Customization |
2874 @unnumberedsec 3.3: The Modeline | |
2875 @unnumberedsubsec Q3.3.1: How can I make the modeline go away? | 3117 @unnumberedsubsec Q3.3.1: How can I make the modeline go away? |
2876 | 3118 |
2877 @lisp | 3119 @lisp |
2878 (set-specifier has-modeline-p nil) | 3120 (set-specifier has-modeline-p nil) |
2879 @end lisp | 3121 @end lisp |
2939 Or just add a hook to @code{TeX-mode-hook} to turn it off only for TeX | 3181 Or just add a hook to @code{TeX-mode-hook} to turn it off only for TeX |
2940 mode: | 3182 mode: |
2941 | 3183 |
2942 @lisp | 3184 @lisp |
2943 (add-hook 'TeX-mode-hook | 3185 (add-hook 'TeX-mode-hook |
2944 '(lambda () (setq fume-display-in-modeline-p nil))) | 3186 '(lambda () (setq fume-display-in-modeline-p nil))) |
2945 @end lisp | 3187 @end lisp |
2946 | 3188 |
2947 @email{dhughes@@origin-at.co.uk, David Hughes} writes: | 3189 @email{dhughes@@origin-at.co.uk, David Hughes} writes: |
2948 | 3190 |
2949 @quotation | 3191 @quotation |
3054 For the FAQ example you could use: | 3296 For the FAQ example you could use: |
3055 | 3297 |
3056 @lisp | 3298 @lisp |
3057 (global-set-key [(control ?.)] | 3299 (global-set-key [(control ?.)] |
3058 (lambda () (interactive) (scroll-up 1))) | 3300 (lambda () (interactive) (scroll-up 1))) |
3059 (global-set-key [(control ?;)] | 3301 (global-set-key [(control ? ;)] |
3060 (lambda () (interactive) (scroll-up -1))) | 3302 (lambda () (interactive) (scroll-up -1))) |
3061 @end lisp | 3303 @end lisp |
3062 | 3304 |
3063 This is fine if you only need a few functions within the lambda body. | 3305 This is fine if you only need a few functions within the lambda body. |
3064 If you're doing more it's cleaner to define a separate function as in | 3306 If you're doing more it's cleaner to define a separate function as in |
3065 question 3.5.3 (@pxref{Q3.5.3}). | 3307 question 3.5.3 (@xref{Q3.5.3}). |
3066 | 3308 |
3067 @node Q3.5.2, Q3.5.3, Q3.5.1, Customization | 3309 @node Q3.5.2, Q3.5.3, Q3.5.1, Customization |
3068 @unnumberedsubsec Q3.5.2: How can I stop down-arrow from adding empty lines to the bottom of my buffers? | 3310 @unnumberedsubsec Q3.5.2: How can I stop down-arrow from adding empty lines to the bottom of my buffers? |
3069 | 3311 |
3070 Add the following line to your @file{.emacs} file: | 3312 Add the following line to your @file{.emacs} file: |
3076 This has been the default setting in XEmacs for some time. | 3318 This has been the default setting in XEmacs for some time. |
3077 | 3319 |
3078 @node Q3.5.3, Q3.5.4, Q3.5.2, Customization | 3320 @node Q3.5.3, Q3.5.4, Q3.5.2, Customization |
3079 @unnumberedsubsec Q3.5.3: How do I bind C-. and C-; to scroll one line up and down? | 3321 @unnumberedsubsec Q3.5.3: How do I bind C-. and C-; to scroll one line up and down? |
3080 | 3322 |
3081 Add the following (Thanks to @email{Mly@@POBox.COM, Richard Mlynarik} and | 3323 Add the following (Thanks to @email{mly@@adoc.xerox.com, Richard Mlynarik} and |
3082 @email{wayne@@zen.cac.stratus.com, Wayne Newberry}) to @file{.emacs}: | 3324 @email{wayne@@zen.cac.stratus.com, Wayne Newberry}) to @file{.emacs}: |
3083 | 3325 |
3084 @lisp | 3326 @lisp |
3085 (defun scroll-up-one-line () | 3327 (defun scroll-up-one-line () |
3086 (interactive) | 3328 (interactive) |
3089 (defun scroll-down-one-line () | 3331 (defun scroll-down-one-line () |
3090 (interactive) | 3332 (interactive) |
3091 (scroll-down 1)) | 3333 (scroll-down 1)) |
3092 | 3334 |
3093 (global-set-key [(control ?.)] 'scroll-up-one-line) ; C-. | 3335 (global-set-key [(control ?.)] 'scroll-up-one-line) ; C-. |
3094 (global-set-key [(control ?;)] 'scroll-down-one-line) ; C-; | 3336 (global-set-key [(control ? ;)] 'scroll-down-one-line) ; C-; |
3095 @end lisp | 3337 @end lisp |
3096 | 3338 |
3097 The key point is that you can only bind simple functions to keys; you | 3339 The key point is that you can only bind simple functions to keys; you |
3098 can not bind a key to a function that you're also passing arguments to. | 3340 can not bind a key to a function that you're also passing arguments to. |
3099 (@pxref{Q3.5.1} for a better answer). | 3341 (@xref{Q3.5.1} for a better answer). |
3100 | 3342 |
3101 @node Q3.5.4, Q3.5.5, Q3.5.3, Customization | 3343 @node Q3.5.4, Q3.5.5, Q3.5.3, Customization |
3102 @unnumberedsubsec Q3.5.4: Globally binding @kbd{Delete}? | 3344 @unnumberedsubsec Q3.5.4: Globally binding @kbd{Delete}? |
3103 | 3345 |
3104 I cannot manage to globally bind my @kbd{Delete} key to something other | 3346 I cannot manage to globally bind my @kbd{Delete} key to something other |
3205 | 3447 |
3206 Generally, the simplest way is to define a key as Multi_key with | 3448 Generally, the simplest way is to define a key as Multi_key with |
3207 xmodmap, e.g. | 3449 xmodmap, e.g. |
3208 @c hey, show some respect, willya -- there's xkeycaps, isn't there? -- | 3450 @c hey, show some respect, willya -- there's xkeycaps, isn't there? -- |
3209 @c chr ;) | 3451 @c chr ;) |
3210 @c Fixed. sjt ;) | 3452 @example |
3211 @example | 3453 xmodmap -e 'keycode 0xff20 = Multi_key' |
3212 xmodmap -e 'keycode 0xff20 = Multi_key' | |
3213 @end example | 3454 @end example |
3214 | 3455 |
3215 You will need to pick an appropriate keycode. Use xev to find out the | 3456 You will need to pick an appropriate keycode. Use xev to find out the |
3216 keycodes for each key. | 3457 keycodes for each key. |
3217 | 3458 |
3218 [NB: On a `Windows' keyboard, recent versions of XFree86 automatically | 3459 [NB: On a `Windows' keyboard, recent versions of XFree86 automatically |
3219 define the right `Windows' key as Multi_key'.] | 3460 define the right `Windows' key as Multi_key'.] |
3220 | 3461 |
3221 Once you have Multi_key defined, you can use e.g. | 3462 Once you have Multi_key defined, you can use e.g. |
3222 @example | 3463 @example |
3223 Multi a ' => á | 3464 Multi a ' => á |
3224 Multi e " => ë | 3465 Multi e " => ë |
3225 Multi c , => ç | 3466 Multi c , => ç |
3226 @end example | 3467 @end example |
3227 | 3468 |
3228 etc. | 3469 etc. |
3229 | 3470 |
3230 Also, recent versions of XFree86 define various AltGr-<key> | 3471 Also, recent versions of XFree86 define various AltGr-<key> |
3231 combinations as dead keys, i.e. | 3472 combinations as dead keys, i.e. |
3232 @example | 3473 @example |
3233 AltGr [ => dead_diaeresis | 3474 AltGr [ => dead_diaeresis |
3234 AltGr ] => dead_tilde | 3475 AltGr ] => dead_tilde |
3235 AltGr ; => dead_acute | 3476 AltGr ; => dead_acute |
3236 @end example | 3477 @end example |
3237 etc. | 3478 etc. |
3238 | 3479 |
3239 Running @samp{xmodmap -pk} will list all of the defined keysyms. | 3480 Running @samp{xmodmap -pk} will list all of the defined keysyms. |
3240 @end quotation | 3481 @end quotation |
3241 | |
3242 Actually, the simplest way to define keys on the X server is to use | |
3243 XKeyCaps (@pxref{Q3.5.12}), which provides an efficient GUI interface | |
3244 and will write correct @samp{xmodmap} scripts for you. | |
3245 | 3482 |
3246 @node Q3.5.8, Q3.5.9, Q3.5.7, Customization | 3483 @node Q3.5.8, Q3.5.9, Q3.5.7, Customization |
3247 @unnumberedsubsec Q3.5.8: Why does @code{(global-set-key [delete-forward] 'delete-char)} complain? | 3484 @unnumberedsubsec Q3.5.8: Why does @code{(global-set-key [delete-forward] 'delete-char)} complain? |
3248 | 3485 |
3249 Why does @code{(define-key global-map [ delete-forward ] 'delete-char)} | 3486 Why does @code{(define-key global-map [ delete-forward ] 'delete-char)} |
3294 Yes, with @code{(setq modifier-keys-are-sticky t)}. This will give the | 3531 Yes, with @code{(setq modifier-keys-are-sticky t)}. This will give the |
3295 effect of being able to press and release Shift and have the next | 3532 effect of being able to press and release Shift and have the next |
3296 character typed come out in upper case. This will affect all the other | 3533 character typed come out in upper case. This will affect all the other |
3297 modifier keys like Control and Meta as well. | 3534 modifier keys like Control and Meta as well. |
3298 | 3535 |
3299 @email{ben@@xemacs.org, Ben Wing} writes: | 3536 @email{ben@@666.com, Ben Wing} writes: |
3300 | 3537 |
3301 @quotation | 3538 @quotation |
3302 One thing about the sticky modifiers is that if you move the mouse out | 3539 One thing about the sticky modifiers is that if you move the mouse out |
3303 of the frame and back in, it cancels all currently ``stuck'' modifiers. | 3540 of the frame and back in, it cancels all currently ``stuck'' modifiers. |
3304 @end quotation | 3541 @end quotation |
3305 | 3542 |
3306 @node Q3.5.11, Q3.5.12, Q3.5.10, Customization | 3543 @node Q3.5.11, Q3.6.1, Q3.5.10, Customization |
3307 @unnumberedsubsec Q3.5.11: How do I map the arrow keys? | 3544 @unnumberedsubsec Q3.5.11: How do I map the arrow keys? |
3308 @c New | 3545 @c New |
3309 Say you want to map @kbd{C-@key{right}} to forward-word: | 3546 Say you want to map @kbd{C-@key{right}} to forward-word: |
3310 | 3547 |
3311 @email{sds@@usa.net, Sam Steingold} writes: | 3548 @email{sds@@usa.net, Sam Steingold} writes: |
3325 ; ver > 20, both | 3562 ; ver > 20, both |
3326 (define-key global-map (kbd "C-<right>") 'forward-word) | 3563 (define-key global-map (kbd "C-<right>") 'forward-word) |
3327 @end lisp | 3564 @end lisp |
3328 @end quotation | 3565 @end quotation |
3329 | 3566 |
3330 @node Q3.5.12, Q3.6.1, Q3.5.11, Customization | 3567 |
3331 @unnumberedsubsec Q3.5.12: XEmacs complains about my xmodmap (I hate the default X keymap). | 3568 |
3332 @c New | 3569 @node Q3.6.1, Q3.6.2, Q3.5.11, Customization |
3333 | |
3334 Get XKeyCaps from @uref{http://www.jwz.org/xkeycaps/}. It knows more | |
3335 than 200 keyboards by name, and provides nice pictures so you can tell | |
3336 if yours is a lookalike OEM version. It sports an efficient GUI | |
3337 interface for remapping, and it knows how to write correct | |
3338 @samp{xmodmap} scripts. | |
3339 | |
3340 Most Linux and BSD distributions provide packages or ports. | |
3341 | |
3342 If you haven't tried XKeyCaps for your X11 keymapping problems, then | |
3343 you're wasting your time. It is highly unlikely that a human being will | |
3344 be able to give you as good advice as XKeyCaps will for most problems. | |
3345 Even XKeyCaps's author has forgotten the details of the X11 keyboard | |
3346 mechanism. There are a few problems it can't handle, but try it first. | |
3347 | |
3348 | |
3349 | |
3350 @node Q3.6.1, Q3.6.2, Q3.5.12, Customization | |
3351 @unnumberedsec 3.6: The Cursor | 3570 @unnumberedsec 3.6: The Cursor |
3352 @unnumberedsubsec Q3.6.1: Is there a way to make the bar cursor thicker? | 3571 @unnumberedsubsec Q3.6.1: Is there a way to make the bar cursor thicker? |
3353 | 3572 |
3354 I'd like to have the bar cursor a little thicker, as I tend to "lose" it | 3573 I'd like to have the bar cursor a little thicker, as I tend to "lose" it |
3355 often. | 3574 often. |
3372 @kbd{M-x customize @key{RET} display @key{RET}}. | 3591 @kbd{M-x customize @key{RET} display @key{RET}}. |
3373 | 3592 |
3374 You can use a color to make it stand out better: | 3593 You can use a color to make it stand out better: |
3375 | 3594 |
3376 @example | 3595 @example |
3377 Emacs*cursorColor: Red | 3596 Emacs*cursorColor: Red |
3378 @end example | 3597 @end example |
3379 | 3598 |
3380 @node Q3.6.2, Q3.6.3, Q3.6.1, Customization | 3599 @node Q3.6.2, Q3.6.3, Q3.6.1, Customization |
3381 @unnumberedsubsec Q3.6.2: Is there a way to get back the block cursor? | 3600 @unnumberedsubsec Q3.6.2: Is there a way to get back the block cursor? |
3382 | 3601 |
3746 You want to use something called @dfn{pending delete}. Pending delete | 3965 You want to use something called @dfn{pending delete}. Pending delete |
3747 is what happens when you select a region (with the mouse or keyboard) | 3966 is what happens when you select a region (with the mouse or keyboard) |
3748 and you press a key to replace the selected region by the key you typed. | 3967 and you press a key to replace the selected region by the key you typed. |
3749 Usually backspace kills the selected region. | 3968 Usually backspace kills the selected region. |
3750 | 3969 |
3751 To get this behavior, add the following lines to your @file{.emacs}: | 3970 To get this behavior, add the following line to your @file{.emacs}: |
3752 | 3971 |
3753 @lisp | 3972 @lisp |
3754 (cond | 3973 (turn-on-pending-delete) |
3755 ((fboundp 'turn-on-pending-delete) | 3974 @end lisp |
3756 (turn-on-pending-delete)) | 3975 |
3757 ((fboundp 'pending-delete-on) | 3976 Note that this will work with both Backspace and Delete. |
3758 (pending-delete-on t))) | |
3759 @end lisp | |
3760 | |
3761 Note that this will work with both Backspace and Delete. This code is a | |
3762 tad more complicated than it has to be for XEmacs in order to make it | |
3763 more portable. | |
3764 | 3977 |
3765 @node Q3.10.3, Q3.10.4, Q3.10.2, Customization | 3978 @node Q3.10.3, Q3.10.4, Q3.10.2, Customization |
3766 @unnumberedsubsec Q3.10.3: Can I turn off the highlight during isearch? | 3979 @unnumberedsubsec Q3.10.3: Can I turn off the highlight during isearch? |
3767 | 3980 |
3768 I do not like my text highlighted while I am doing isearch as I am not | 3981 I do not like my text highlighted while I am doing isearch as I am not |
3805 @lisp | 4018 @lisp |
3806 (defadvice scroll-up (around scroll-up freeze) | 4019 (defadvice scroll-up (around scroll-up freeze) |
3807 (interactive "_P") | 4020 (interactive "_P") |
3808 (let ((zmacs-region-stays t)) | 4021 (let ((zmacs-region-stays t)) |
3809 (if (interactive-p) | 4022 (if (interactive-p) |
3810 (condition-case nil | 4023 (condition-case nil |
3811 ad-do-it | 4024 ad-do-it |
3812 (end-of-buffer (goto-char (point-max)))) | 4025 (end-of-buffer (goto-char (point-max)))) |
3813 ad-do-it))) | 4026 ad-do-it))) |
3814 | 4027 |
3815 (defadvice scroll-down (around scroll-down freeze) | 4028 (defadvice scroll-down (around scroll-down freeze) |
3816 (interactive "_P") | 4029 (interactive "_P") |
3817 (let ((zmacs-region-stays t)) | 4030 (let ((zmacs-region-stays t)) |
3818 (if (interactive-p) | 4031 (if (interactive-p) |
3819 (condition-case nil | 4032 (condition-case nil |
3820 ad-do-it | 4033 ad-do-it |
3821 (beginning-of-buffer (goto-char (point-min)))) | 4034 (beginning-of-buffer (goto-char (point-min)))) |
3822 ad-do-it))) | 4035 ad-do-it))) |
3823 @end lisp | 4036 @end lisp |
3824 | 4037 |
3825 Thanks to @email{raman@@adobe.com, T. V. Raman} for assistance in deriving this | 4038 Thanks to @email{raman@@adobe.com, T. V. Raman} for assistance in deriving this |
3826 answer. | 4039 answer. |
3864 * Q4.3.4:: Movemail is also distributed by Netscape? Can that cause problems? | 4077 * Q4.3.4:: Movemail is also distributed by Netscape? Can that cause problems? |
3865 * Q4.3.5:: Where do I find pstogif (required by tm)? | 4078 * Q4.3.5:: Where do I find pstogif (required by tm)? |
3866 | 4079 |
3867 Sparcworks, EOS, and WorkShop: | 4080 Sparcworks, EOS, and WorkShop: |
3868 * Q4.4.1:: What is SPARCworks, EOS, and WorkShop | 4081 * Q4.4.1:: What is SPARCworks, EOS, and WorkShop |
3869 * Q4.4.2:: How do I start the Sun Workshop support in XEmacs 21? | |
3870 | 4082 |
3871 Energize: | 4083 Energize: |
3872 * Q4.5.1:: What is/was Energize? | 4084 * Q4.5.1:: What is/was Energize? |
3873 | 4085 |
3874 Infodock: | 4086 Infodock: |
3875 * Q4.6.1:: What is Infodock? | 4087 * Q4.6.1:: What is Infodock? |
3876 | 4088 |
3877 Other Unbundled Packages: | 4089 Other Unbundled Packages: |
3878 * Q4.7.1:: What is AUC TeX? Where do you get it? | 4090 * Q4.7.1:: What is AUC TeX? Where do you get it? |
3879 * Q4.7.2:: Are there any Emacs Lisp Spreadsheets? | 4091 * Q4.7.2:: Are there any Emacs Lisp Spreadsheets? |
3880 * Q4.7.3:: [This question intentionally left blank] | 4092 * Q4.7.3:: Byte compiling AUC TeX on XEmacs 19.14 |
3881 * Q4.7.4:: Problems installing AUC TeX | 4093 * Q4.7.4:: Problems installing AUC TeX |
3882 * Q4.7.5:: Is there a reason for an Emacs package not to be included in XEmacs? | 4094 * Q4.7.5:: Is there a reason for an Emacs package not to be included in XEmacs? |
3883 * Q4.7.6:: Is there a MatLab mode? | 4095 * Q4.7.6:: Is there a MatLab mode? |
3884 @end menu | 4096 @end menu |
3885 | 4097 |
3944 Set @code{vm-reply-ignored-addresses} to a list, like | 4156 Set @code{vm-reply-ignored-addresses} to a list, like |
3945 | 4157 |
3946 @lisp | 4158 @lisp |
3947 (setq vm-reply-ignored-addresses | 4159 (setq vm-reply-ignored-addresses |
3948 '("wing@@nuspl@@nvwls.cc.purdue.edu,netcom[0-9]*.netcom.com" | 4160 '("wing@@nuspl@@nvwls.cc.purdue.edu,netcom[0-9]*.netcom.com" |
3949 "wing@@netcom.com" "wing@@xemacs.org")) | 4161 "wing@@netcom.com" "wing@@666.com")) |
3950 @end lisp | 4162 @end lisp |
3951 | 4163 |
3952 Note that each string is a regular expression. | 4164 Note that each string is a regular expression. |
3953 | 4165 |
3954 @node Q4.0.7, Q4.0.8, Q4.0.6, Subsystems | 4166 @node Q4.0.7, Q4.0.8, Q4.0.6, Subsystems |
4051 | 4263 |
4052 John.@email{Cooper@@Eng.Sun.COM, John S Cooper} writes: | 4264 John.@email{Cooper@@Eng.Sun.COM, John S Cooper} writes: |
4053 | 4265 |
4054 @quotation | 4266 @quotation |
4055 @lisp | 4267 @lisp |
4056 ; Don't use multiple frames | 4268 ; Don't use multiple frames |
4057 (setq vm-frame-per-composition nil) | 4269 (setq vm-frame-per-composition nil) |
4058 (setq vm-frame-per-folder nil) | 4270 (setq vm-frame-per-folder nil) |
4059 (setq vm-frame-per-edit nil) | 4271 (setq vm-frame-per-edit nil) |
4060 (setq vm-frame-per-summary nil) | 4272 (setq vm-frame-per-summary nil) |
4061 @end lisp | 4273 @end lisp |
4066 @c Changed June | 4278 @c Changed June |
4067 For mh-e use the following: | 4279 For mh-e use the following: |
4068 | 4280 |
4069 @lisp | 4281 @lisp |
4070 (add-hook 'mh-show-mode-hook '(lambda () | 4282 (add-hook 'mh-show-mode-hook '(lambda () |
4071 (smiley-region (point-min) | 4283 (smiley-region (point-min) |
4072 (point-max)))) | 4284 (point-max)))) |
4073 @end lisp | 4285 @end lisp |
4074 | 4286 |
4075 @email{bill@@carpenter.ORG, WJCarpenter} writes: | 4287 @email{bill@@carpenter.ORG, WJCarpenter} writes: |
4076 For VM use the following: | 4288 For VM use the following: |
4199 @unnumberedsubsec Q4.3.1: How can I read and/or compose MIME messages? | 4411 @unnumberedsubsec Q4.3.1: How can I read and/or compose MIME messages? |
4200 @c Changed June | 4412 @c Changed June |
4201 | 4413 |
4202 VM supports MIME natively. | 4414 VM supports MIME natively. |
4203 | 4415 |
4204 You probably want to use the Tools for MIME (tm). @xref{Q4.3.2}, for | 4416 You probably want to use the Tools for MIME (tm). @xref{Q4.3.2} for |
4205 details. | 4417 details. |
4206 | 4418 |
4207 @email{trey@@cs.berkeley.edu, Trey Jackson} has an Emacs & MIME web page at | 4419 @email{trey@@cs.berkeley.edu, Trey Jackson} has an Emacs & MIME web page at |
4208 @iftex | 4420 @iftex |
4209 @* | 4421 @* |
4248 @item MIME extenders for mh-e, GNUS, RMAIL and VM. | 4460 @item MIME extenders for mh-e, GNUS, RMAIL and VM. |
4249 @end itemize | 4461 @end itemize |
4250 | 4462 |
4251 tm is available from following anonymous ftp sites: | 4463 tm is available from following anonymous ftp sites: |
4252 @itemize @bullet | 4464 @itemize @bullet |
4253 @comment @item @uref{ftp://ftp.jaist.ac.jp/pub/GNU/elisp/mime/} (Japan). | 4465 @item @uref{ftp://ftp.jaist.ac.jp/pub/GNU/elisp/mime/} (Japan). |
4254 @comment @item @uref{ftp://ftp.nis.co.jp/pub/gnu/emacs-lisp/tm/} (Japan). | 4466 @item @uref{ftp://ftp.nis.co.jp/pub/gnu/emacs-lisp/tm/} (Japan). |
4255 @comment @c The host above is unknown. | 4467 @c The host above is unknown. |
4256 @comment @item @uref{ftp://ftp.nisiq.net/pub/gnu/emacs-lisp/tm/} (US). | 4468 |
4257 @comment @item @uref{ftp://ftp.miranova.com/pub/gnus/jaist.ac.jp/} (US). | 4469 @item @uref{ftp://ftp.nisiq.net/pub/gnu/emacs-lisp/tm/} (US). |
4470 @item @uref{ftp://ftp.miranova.com/pub/gnus/jaist.ac.jp/} (US). | |
4258 @item @uref{ftp://ftp.unicamp.br/pub/mail/mime/tm/} (Brasil). | 4471 @item @uref{ftp://ftp.unicamp.br/pub/mail/mime/tm/} (Brasil). |
4259 @item @uref{ftp://ftp.th-darmstadt.de/pub/editors/GNU-Emacs/lisp/mime/} (Germany). | 4472 @item @uref{ftp://ftp.th-darmstadt.de/pub/editors/GNU-Emacs/lisp/mime/} (Germany). |
4260 @item @uref{ftp://ftp.tnt.uni-hannover.de/pub/editors/xemacs/contrib/} (Germany). | 4473 @item @uref{ftp://ftp.tnt.uni-hannover.de/pub/editors/xemacs/contrib/} (Germany). |
4261 @end itemize | 4474 @end itemize |
4262 | 4475 |
4265 trivial to use. | 4478 trivial to use. |
4266 | 4479 |
4267 @node Q4.3.3, Q4.3.4, Q4.3.2, Subsystems | 4480 @node Q4.3.3, Q4.3.4, Q4.3.2, Subsystems |
4268 @unnumberedsubsec Q4.3.3: Why isn't this @code{movemail} program working? | 4481 @unnumberedsubsec Q4.3.3: Why isn't this @code{movemail} program working? |
4269 | 4482 |
4270 Ben Wing @email{ben@@xemacs.org} writes: | 4483 Ben Wing @email{ben@@666.com} writes: |
4271 | 4484 |
4272 @quotation | 4485 @quotation |
4273 It wasn't chown'ed/chmod'd correctly. | 4486 It wasn't chown'ed/chmod'd correctly. |
4274 @end quotation | 4487 @end quotation |
4275 | 4488 |
4276 @node Q4.3.4, Q4.3.5, Q4.3.3, Subsystems | 4489 @node Q4.3.4, Q4.3.5, Q4.3.3, Subsystems |
4277 @unnumberedsubsec Q4.3.4: Movemail is also distributed by Netscape? Can that cause problems? | 4490 @unnumberedsubsec Q4.3.4: Movemail is also distributed by Netscape? Can that cause problems? |
4278 | 4491 |
4279 @email{steve@@xemacs.org, Steve Baur} writes: | 4492 @email{steve@@altair.xemacs.org, Steve Baur} writes: |
4280 | 4493 |
4281 @quotation | 4494 @quotation |
4282 Yes. Always use the movemail installed with your XEmacs. Failure to do | 4495 Yes. Always use the movemail installed with your XEmacs. Failure to do |
4283 so can result in lost mail. | 4496 so can result in lost mail. |
4284 @end quotation | 4497 @end quotation |
4285 | 4498 |
4286 Please refer to @email{jwz@@jwz.org, Jamie Zawinski's} notes at | 4499 Please refer to @email{jwz@@netscape.com, Jamie Zawinski's} notes at |
4287 @iftex | 4500 @iftex |
4288 @* | 4501 @* |
4289 @end iftex | 4502 @end iftex |
4290 @uref{http://home.netscape.com/eng/mozilla/2.0/relnotes/demo/movemail.html}. | 4503 @uref{http://home.netscape.com/eng/mozilla/2.0/relnotes/demo/movemail.html}. |
4291 In particular, this document will show you how to make Netscape use the | 4504 In particular, this document will show you how to make Netscape use the |
4317 @iftex | 4530 @iftex |
4318 @* | 4531 @* |
4319 @end iftex | 4532 @end iftex |
4320 @uref{ftp://ftp.cdrom.com/pub/tex/ctan/support/latex2html/}. | 4533 @uref{ftp://ftp.cdrom.com/pub/tex/ctan/support/latex2html/}. |
4321 | 4534 |
4322 @node Q4.4.1, Q4.4.2, Q4.3.5, Subsystems | 4535 @node Q4.4.1, Q4.5.1, Q4.3.5, Subsystems |
4323 @unnumberedsec 4.4: Sparcworks, EOS, and WorkShop | 4536 @unnumberedsec 4.4: Sparcworks, EOS, and WorkShop |
4324 @unnumberedsubsec Q4.4.1: What is SPARCworks, EOS, and WorkShop? | 4537 @unnumberedsubsec Q4.4.1: What is SPARCworks, EOS, and WorkShop? |
4325 | 4538 |
4326 @email{turner@@lanl.gov, John Turner} writes: | 4539 @email{turner@@lanl.gov, John Turner} writes: |
4327 | 4540 |
4358 called Sun WorkShop, which is currently (07/96) in Alpha Test. For more | 4571 called Sun WorkShop, which is currently (07/96) in Alpha Test. For more |
4359 details, check out | 4572 details, check out |
4360 @iftex | 4573 @iftex |
4361 @* | 4574 @* |
4362 @end iftex | 4575 @end iftex |
4363 @uref{http://www.sun.com/software/Products/Developer-products}. | 4576 @uref{http://www.sun.com/software/Products/Developer-products/programs.html}. |
4364 @end quotation | 4577 @end quotation |
4365 | 4578 |
4366 @node Q4.4.2, Q4.5.1, Q4.4.1, Subsystems | 4579 @node Q4.5.1, Q4.6.1, Q4.4.1, Subsystems |
4367 @unnumberedsubsec Q4.4.2: How do I start the Sun Workshop support in XEmacs 21? | |
4368 | |
4369 Add the switch ---with-workshop to the configure command when building | |
4370 XEmacs and put the following in one of your startup files | |
4371 (e.g. site-start.el or .emacs): | |
4372 | |
4373 @lisp | |
4374 (when (featurep 'tooltalk) | |
4375 (load "tooltalk-macros") | |
4376 (load "tooltalk-util") | |
4377 (load "tooltalk-init")) | |
4378 (when (featurep 'sparcworks) | |
4379 (load "sunpro-init") | |
4380 (load "ring") | |
4381 (load "comint") | |
4382 (load "annotations") | |
4383 (sunpro-startup)) | |
4384 @end lisp | |
4385 | |
4386 If you are not using the latest Workshop (5.0) you have to apply the | |
4387 following patch: | |
4388 | |
4389 @format | |
4390 --- /opt/SUNWspro/lib/eserve.el.ORIG Fri May 14 15:23:26 1999 | |
4391 +++ /opt/SUNWspro/lib/eserve.el Fri May 14 15:24:54 1999 | |
4392 @@@@ -42,7 +42,7 @@@@ | |
4393 (defvar running-xemacs nil "t if we're running XEmacs") | |
4394 (defvar running-emacs nil "t if we're running GNU Emacs 19") | |
4395 | |
4396 -(if (string-match "^\\(19\\|20\\)\..*\\(XEmacs\\|Lucid\\)" emacs-version) | |
4397 +(if (string-match "\\(XEmacs\\|Lucid\\)" emacs-version) | |
4398 (setq running-xemacs t) | |
4399 (setq running-emacs t)) | |
4400 @end format | |
4401 | |
4402 | |
4403 | |
4404 @node Q4.5.1, Q4.6.1, Q4.4.2, Subsystems | |
4405 @unnumberedsec 4.5: Energize | 4580 @unnumberedsec 4.5: Energize |
4406 @unnumberedsubsec Q4.5.1: What is/was Energize? | 4581 @unnumberedsubsec Q4.5.1: What is/was Energize? |
4407 | 4582 |
4408 @email{gray@@meteor.harlequin.com, David N Gray} writes: | 4583 @email{gray@@meteor.harlequin.com, David N Gray} writes: |
4409 @quotation | 4584 @quotation |
4612 @* | 4787 @* |
4613 @end iftex | 4788 @end iftex |
4614 @uref{ftp://cs.nyu.edu/pub/local/fox/dismal/}. | 4789 @uref{ftp://cs.nyu.edu/pub/local/fox/dismal/}. |
4615 | 4790 |
4616 @node Q4.7.3, Q4.7.4, Q4.7.2, Subsystems | 4791 @node Q4.7.3, Q4.7.4, Q4.7.2, Subsystems |
4617 @unnumberedsubsec Q4.7.3: [This question intentionally left blank] | 4792 @unnumberedsubsec Q4.7.3: Byte compiling AUC TeX on XEmacs 19.14. |
4793 | |
4794 @email{bruncott@@dormeur.inria.fr, Georges Brun-Cottan} writes: | |
4795 | |
4796 @quotation | |
4797 When byte compiling auctex-9.4g, you must use the command: | |
4798 | |
4799 @example | |
4800 xemacs -batch -l lpath.el | |
4801 @end example | |
4802 @end quotation | |
4618 | 4803 |
4619 @node Q4.7.4, Q4.7.5, Q4.7.3, Subsystems | 4804 @node Q4.7.4, Q4.7.5, Q4.7.3, Subsystems |
4620 @unnumberedsubsec Q4.7.4: Problems installing AUC TeX. | 4805 @unnumberedsubsec Q4.7.4: Problems installing AUC TeX. |
4621 | 4806 |
4622 @email{vroonhof@@math.ethz.ch, Jan Vroonhof} writes: | 4807 @email{vroonhof@@math.ethz.ch, Jan Vroonhof} writes: |
4668 additional package. | 4853 additional package. |
4669 | 4854 |
4670 Each package bundled with XEmacs means more work for the maintainers, | 4855 Each package bundled with XEmacs means more work for the maintainers, |
4671 whether they want it or not. If you are ready to take over the | 4856 whether they want it or not. If you are ready to take over the |
4672 maintenance responsibilities for the package you port, be sure to say | 4857 maintenance responsibilities for the package you port, be sure to say |
4673 so---we will more likely include it. | 4858 so -- we will more likely include it. |
4674 | 4859 |
4675 @item | 4860 @item |
4676 The package simply hasn't been noted by the XEmacs development. If | 4861 The package simply hasn't been noted by the XEmacs development. If |
4677 that's the case, the messages like yours are very useful for attracting | 4862 that's the case, the messages like yours are very useful for attracting |
4678 our attention. | 4863 our attention. |
4684 appreciated. | 4869 appreciated. |
4685 @end enumerate | 4870 @end enumerate |
4686 | 4871 |
4687 @node Q4.7.6, , Q4.7.5, Subsystems | 4872 @node Q4.7.6, , Q4.7.5, Subsystems |
4688 @unnumberedsubsec Q4.7.5: Is there a MatLab mode? | 4873 @unnumberedsubsec Q4.7.5: Is there a MatLab mode? |
4689 | 4874 @c New |
4690 Yes, a matlab mode and other items are available at the | 4875 Is there any way I can get syntax highlighting for MatLab .m files? |
4691 @uref{ftp://ftp.mathworks.com/pub/contrib/emacs_add_ons, | 4876 Can I "teach" emacs what words are MatLab commands, comments, etc. ? |
4692 MathWorks' emacs_add_ons ftp directory}. | 4877 |
4693 | 4878 @email{elsner@@mathematik.tu-chemnitz.de, Ulrich Elsner} writes: |
4694 @node Miscellaneous, MS Windows, Subsystems, Top | 4879 @quotation |
4880 One way to do this (and much more) is by using the | |
4881 @iftex | |
4882 @* | |
4883 @end iftex | |
4884 @uref{ftp://ftp.mathworks.com/pub/contrib/v5/tools/matlab.el, matlab mode}. | |
4885 | |
4886 Instructions on how to install this mode are included in this file. | |
4887 @end quotation | |
4888 | |
4889 | |
4890 @node Miscellaneous, Current Events, Subsystems, Top | |
4695 @unnumbered 5 The Miscellaneous Stuff | 4891 @unnumbered 5 The Miscellaneous Stuff |
4696 | 4892 |
4697 This is part 5 of the XEmacs Frequently Asked Questions list. This | 4893 This is part 5 of the XEmacs Frequently Asked Questions list. This |
4698 section is devoted to anything that doesn't fit neatly into the other | 4894 section is devoted to anything that doesn't fit neatly into the other |
4699 sections. | 4895 sections. |
4708 * Q5.0.6:: How do I start up a second shell buffer? | 4904 * Q5.0.6:: How do I start up a second shell buffer? |
4709 * Q5.0.7:: Telnet from shell filters too much. | 4905 * Q5.0.7:: Telnet from shell filters too much. |
4710 * Q5.0.8:: Why does edt emulation not work? | 4906 * Q5.0.8:: Why does edt emulation not work? |
4711 * Q5.0.9:: How can I emulate VI and use it as my default mode? | 4907 * Q5.0.9:: How can I emulate VI and use it as my default mode? |
4712 * Q5.0.10:: [This question intentionally left blank] | 4908 * Q5.0.10:: [This question intentionally left blank] |
4713 * Q5.0.11:: How do I turn on filladapt for all buffers? | 4909 * Q5.0.11:: Filladapt doesn't work in 19.15? |
4714 * Q5.0.12:: How do I disable gnuserv from opening a new frame? | 4910 * Q5.0.12:: How do I disable gnuserv from opening a new frame? |
4715 * Q5.0.13:: How do I start gnuserv so that each subsequent XEmacs is a client? | 4911 * Q5.0.13:: How do I start gnuserv so that each subsequent XEmacs is a client? |
4716 * Q5.0.14:: Strange things are happening in Shell Mode. | 4912 * Q5.0.14:: Strange things are happening in Shell Mode. |
4717 * Q5.0.15:: Where do I get the latest CC Mode? | 4913 * Q5.0.15:: Where do I get the latest CC Mode? |
4718 * Q5.0.16:: I find auto-show-mode disconcerting. How do I turn it off? | 4914 * Q5.0.16:: I find auto-show-mode disconcerting. How do I turn it off? |
4719 * Q5.0.17:: How can I get two instances of info? | 4915 * Q5.0.17:: How can I get two instances of info? |
4720 * Q5.0.18:: [This question intentionally left blank] | 4916 * Q5.0.18:: I upgraded to XEmacs 19.14 and gnuserv stopped working |
4721 * Q5.0.19:: Is there something better than LaTeX mode? | 4917 * Q5.0.19:: Is there something better than LaTeX mode? |
4722 * Q5.0.20:: Is there a way to start a new XEmacs if there's no gnuserv running, and otherwise use gnuclient? | 4918 * Q5.0.20:: Is there a way to start a new XEmacs if there's no gnuserv running, and otherwise use gnuclient? |
4723 | 4919 |
4724 Emacs Lisp Programming Techniques: | 4920 Emacs Lisp Programming Techniques: |
4725 * Q5.1.1:: The difference in key sequences between XEmacs and GNU Emacs? | 4921 * Q5.1.1:: The difference in key sequences between XEmacs and GNU Emacs? |
4726 * Q5.1.2:: Can I generate "fake" keyboard events? | 4922 * Q5.1.2:: Can I generate "fake" keyboard events? |
4727 * Q5.1.3:: Could you explain @code{read-kbd-macro} in more detail? | 4923 * Q5.1.3:: Could you explain @code{read-kbd-macro} in more detail? |
4728 * Q5.1.4:: What is the performance hit of @code{let}? | 4924 * Q5.1.4:: What is the performance hit of @code{let}? |
4729 * Q5.1.5:: What is the recommended use of @code{setq}? | 4925 * Q5.1.5:: What is the recommended use of @code{setq}? |
4730 * Q5.1.6:: What is the typical misuse of @code{setq}? | 4926 * Q5.1.6:: What is the typical misuse of @code{setq}? |
4731 * Q5.1.7:: I like the @code{do} form of cl, does it slow things down? | 4927 * Q5.1.7:: I like the the @code{do} form of cl, does it slow things down? |
4732 * Q5.1.8:: I like recursion, does it slow things down? | 4928 * Q5.1.8:: I like recursion, does it slow things down? |
4733 * Q5.1.9:: How do I put a glyph as annotation in a buffer? | 4929 * Q5.1.9:: How do I put a glyph as annotation in a buffer? |
4734 * Q5.1.10:: @code{map-extents} won't traverse all of my extents! | 4930 * Q5.1.10:: @code{map-extents} won't traverse all of my extents! |
4735 * Q5.1.11:: My elisp program is horribly slow. Is there an easy way to find out where it spends time? | 4931 * Q5.1.11:: My elisp program is horribly slow. Is there an easy way to find out where it spends time? |
4736 | 4932 |
4762 For most modes, font-lock is already set up and just needs to be turned | 4958 For most modes, font-lock is already set up and just needs to be turned |
4763 on. This can be done by @kbd{M-x font-lock-mode}, or by having XEmacs | 4959 on. This can be done by @kbd{M-x font-lock-mode}, or by having XEmacs |
4764 automatically start it by adding lines like: | 4960 automatically start it by adding lines like: |
4765 | 4961 |
4766 @lisp | 4962 @lisp |
4767 (add-hook 'emacs-lisp-mode-hook 'turn-on-font-lock) | 4963 (add-hook 'emacs-lisp-mode-hook 'turn-on-font-lock) |
4768 (add-hook 'dired-mode-hook 'turn-on-font-lock) | 4964 (add-hook 'dired-mode-hook 'turn-on-font-lock) |
4769 @end lisp | 4965 @end lisp |
4770 | 4966 |
4771 to your @file{.emacs}. See the file @file{etc/sample.emacs} for more | 4967 to your @file{.emacs}. See the file @file{etc/sample.emacs} for more |
4772 examples. | 4968 examples. |
4773 | 4969 |
4907 This will then start a second shell. The key is that no buffer named | 5103 This will then start a second shell. The key is that no buffer named |
4908 @samp{*shell*} can exist. It might be preferable to use @kbd{M-x | 5104 @samp{*shell*} can exist. It might be preferable to use @kbd{M-x |
4909 rename-uniquely} to rename the @code{*shell*} buffer instead of @kbd{M-x | 5105 rename-uniquely} to rename the @code{*shell*} buffer instead of @kbd{M-x |
4910 rename-buffer}. | 5106 rename-buffer}. |
4911 | 5107 |
4912 Alternately, you can set the variable @code{shell-multiple-shells}. | |
4913 If the value of this variable is non-nil, each time shell mode is invoked, | |
4914 a new shell is made | |
4915 | |
4916 @node Q5.0.7, Q5.0.8, Q5.0.6, Miscellaneous | 5108 @node Q5.0.7, Q5.0.8, Q5.0.6, Miscellaneous |
4917 @unnumberedsubsec Q5.0.7: Telnet from shell filters too much | 5109 @unnumberedsubsec Q5.0.7: Telnet from shell filters too much |
4918 | 5110 |
4919 I'm using the Emacs @kbd{M-x shell} function, and I would like to invoke | 5111 I'm using the Emacs @kbd{M-x shell} function, and I would like to invoke |
4920 and use a telnet session within it. Everything works fine except that | 5112 and use a telnet session within it. Everything works fine except that |
4964 @unnumberedsubsec Q5.0.10: [This question intentionally left blank] | 5156 @unnumberedsubsec Q5.0.10: [This question intentionally left blank] |
4965 | 5157 |
4966 Obsolete question, left blank to avoid renumbering | 5158 Obsolete question, left blank to avoid renumbering |
4967 | 5159 |
4968 @node Q5.0.11, Q5.0.12, Q5.0.10, Miscellaneous | 5160 @node Q5.0.11, Q5.0.12, Q5.0.10, Miscellaneous |
4969 @unnumberedsubsec Q5.0.11: How do I turn on filladapt for all buffers? | 5161 @unnumberedsubsec Q5.0.11: Filladapt doesn't work in 19.15 |
4970 | 5162 |
4971 Filladapt is a minor mode and minor modes are traditionally off by | 5163 Filladapt 2.x is included in 19.15. In it filladapt is now a minor |
4972 default. The following added to your @file{.emacs} will turn it on for | 5164 mode and minor modes are traditionally off by default. The following |
4973 all buffers: | 5165 added to your @file{.emacs} will turn it on for all buffers: |
4974 | 5166 |
4975 @lisp | 5167 @lisp |
4976 (setq-default filladapt-mode t) | 5168 (setq-default filladapt-mode t) |
4977 @end lisp | 5169 @end lisp |
4978 | 5170 |
5054 @unnumberedsubsec Q5.0.15: Where do I get the latest CC Mode? | 5246 @unnumberedsubsec Q5.0.15: Where do I get the latest CC Mode? |
5055 | 5247 |
5056 @email{bwarsaw@@cnri.reston.va.us, Barry A. Warsaw} writes: | 5248 @email{bwarsaw@@cnri.reston.va.us, Barry A. Warsaw} writes: |
5057 | 5249 |
5058 @quotation | 5250 @quotation |
5059 This can be had from @uref{http://www.python.org/emacs/}. | 5251 This can be had from @uref{http://www.python.org/ftp/emacs/}. |
5060 @end quotation | 5252 @end quotation |
5061 | 5253 |
5062 @node Q5.0.16, Q5.0.17, Q5.0.15, Miscellaneous | 5254 @node Q5.0.16, Q5.0.17, Q5.0.15, Miscellaneous |
5063 @unnumberedsubsec Q5.0.16: I find auto-show-mode disconcerting. How do I turn it off? | 5255 @unnumberedsubsec Q5.0.16: I find auto-show-mode disconcerting. How do I turn it off? |
5064 | 5256 |
5076 @unnumberedsubsec Q5.0.17: How can I get two instances of info? | 5268 @unnumberedsubsec Q5.0.17: How can I get two instances of info? |
5077 | 5269 |
5078 You can't. The @code{info} package does not provide for multiple info buffers. | 5270 You can't. The @code{info} package does not provide for multiple info buffers. |
5079 | 5271 |
5080 @node Q5.0.18, Q5.0.19, Q5.0.17, Miscellaneous | 5272 @node Q5.0.18, Q5.0.19, Q5.0.17, Miscellaneous |
5081 @unnumberedsubsec Q5.0.18: [This question intentionally left blank] | 5273 @unnumberedsubsec Q5.0.18: I upgraded to XEmacs 19.14 and gnuserv stopped working. |
5274 | |
5275 @email{daku@@nortel.ca, Mark Daku} writes: | |
5276 | |
5277 @quotation | |
5278 It turns out I was using an older version of gnuserv. The installation | |
5279 didn't put the binary into the public bin directory. It put it in | |
5280 @iftex | |
5281 @* | |
5282 @end iftex | |
5283 @file{lib/xemacs-19.14/hppa1.1-hp-hpux9.05/gnuserv}. Shouldn't it have | |
5284 been put in @file{bin/hppa1.1-hp-hpux9.0}? | |
5285 @end quotation | |
5082 | 5286 |
5083 @node Q5.0.19, Q5.0.20, Q5.0.18, Miscellaneous | 5287 @node Q5.0.19, Q5.0.20, Q5.0.18, Miscellaneous |
5084 @unnumberedsubsec Q5.0.19: Is there something better than LaTeX mode? | 5288 @unnumberedsubsec Q5.0.19: Is there something better than LaTeX mode? |
5085 | 5289 |
5086 @email{dak@@fsnif.neuroinformatik.ruhr-uni-bochum.de, David Kastrup} writes: | 5290 @email{dak@@fsnif.neuroinformatik.ruhr-uni-bochum.de, David Kastrup} writes: |
5087 | 5291 |
5088 @quotation | 5292 @quotation |
5089 The standard TeX modes leave much to be desired, and are somewhat | 5293 The standard TeX modes leave much to be desired, and are somewhat |
5090 leniently maintained. Serious TeX users use AUC TeX (@pxref{Q4.7.1}). | 5294 leniently maintained. Serious TeX users use AUC TeX (@xref{Q4.7.1}). |
5091 @end quotation | 5295 @end quotation |
5092 | 5296 |
5093 @node Q5.0.20, Q5.1.1, Q5.0.19, Miscellaneous | 5297 @node Q5.0.20, Q5.1.1, Q5.0.19, Miscellaneous |
5094 @unnumberedsubsec Q5.0.20: Is there a way to start a new XEmacs if there's no gnuserv running, and otherwise use gnuclient? | 5298 @unnumberedsubsec Q5.0.20: Is there a way to start a new XEmacs if there's no gnuserv running, and otherwise use gnuclient? |
5095 | 5299 |
5287 variable if it was bound previously. If you wish to change a | 5491 variable if it was bound previously. If you wish to change a |
5288 user-variable temporarily, use @code{let}: | 5492 user-variable temporarily, use @code{let}: |
5289 | 5493 |
5290 @lisp | 5494 @lisp |
5291 (let ((case-fold-search nil)) | 5495 (let ((case-fold-search nil)) |
5292 ... ; code with searches that must be case-sensitive | 5496 ... ; code with searches that must be case-sensitive |
5293 ...) | 5497 ...) |
5294 @end lisp | 5498 @end lisp |
5295 | 5499 |
5296 You will notice the user-variables by their docstrings beginning with an | 5500 You will notice the user-variables by their docstrings beginning with an |
5297 asterisk (a convention). | 5501 asterisk (a convention). |
5352 does a bad thing, as @code{a} will keep consuming memory, never to be | 5556 does a bad thing, as @code{a} will keep consuming memory, never to be |
5353 unbound. The correct thing is to do it like this: | 5557 unbound. The correct thing is to do it like this: |
5354 | 5558 |
5355 @lisp | 5559 @lisp |
5356 (defun my-function (whatever) | 5560 (defun my-function (whatever) |
5357 (let (a) ; default initialization is to nil | 5561 (let (a) ; default initialization is to nil |
5358 ... build a large list ... | 5562 ... build a large list ... |
5359 ... and exit, unbinding `a' in the process ...) | 5563 ... and exit, unbinding `a' in the process ...) |
5360 @end lisp | 5564 @end lisp |
5361 | 5565 |
5362 Not only is this prettier syntactically, but it makes it possible for | 5566 Not only is this prettier syntactically, but it makes it possible for |
5365 Note that even global variables should not be @code{setq}ed without | 5569 Note that even global variables should not be @code{setq}ed without |
5366 @code{defvar}ing them first, because the byte-compiler issues warnings. | 5570 @code{defvar}ing them first, because the byte-compiler issues warnings. |
5367 The reason for the warning is the following: | 5571 The reason for the warning is the following: |
5368 | 5572 |
5369 @lisp | 5573 @lisp |
5370 (defun flurgoze nil) ; ok, global internal variable | 5574 (defun flurgoze nil) ; ok, global internal variable |
5371 ... | 5575 ... |
5372 | 5576 |
5373 (setq flurghoze t) ; ops! a typo, but semantically correct. | 5577 (setq flurghoze t) ; ops! a typo, but semantically correct. |
5374 ; however, the byte-compiler warns. | 5578 ; however, the byte-compiler warns. |
5375 | 5579 |
5376 While compiling toplevel forms: | 5580 While compiling toplevel forms: |
5377 ** assignment to free variable flurghoze | 5581 ** assignment to free variable flurghoze |
5378 @end lisp | 5582 @end lisp |
5379 | 5583 |
5380 @node Q5.1.7, Q5.1.8, Q5.1.6, Miscellaneous | 5584 @node Q5.1.7, Q5.1.8, Q5.1.6, Miscellaneous |
5381 @unnumberedsubsec Q5.1.7: I like the @code{do} form of cl, does it slow things down? | 5585 @unnumberedsubsec Q5.1.7: I like the the @code{do} form of cl, does it slow things down? |
5382 | 5586 |
5383 It shouldn't. Here is what Dave Gillespie has to say about cl.el | 5587 It shouldn't. Here is what Dave Gillespie has to say about cl.el |
5384 performance: | 5588 performance: |
5385 | 5589 |
5386 @quotation | 5590 @quotation |
5491 @node Q5.1.11, Q5.2.1, Q5.1.10, Miscellaneous | 5695 @node Q5.1.11, Q5.2.1, Q5.1.10, Miscellaneous |
5492 @unnumberedsubsec Q5.1.11: My elisp program is horribly slow. Is there | 5696 @unnumberedsubsec Q5.1.11: My elisp program is horribly slow. Is there |
5493 an easy way to find out where it spends time? | 5697 an easy way to find out where it spends time? |
5494 @c New | 5698 @c New |
5495 | 5699 |
5496 z@email{hniksic@@xemacs.org, Hrvoje Niksic} writes: | 5700 z@email{hniksic@@srce.hr, Hrvoje Niksic} writes: |
5497 @quotation | 5701 @quotation |
5498 Under XEmacs 20.4 and later you can use @kbd{M-x profile-key-sequence}, press a key | 5702 Under XEmacs 20.4 and later you can use @kbd{M-x profile-key-sequence}, press a key |
5499 (say @key{RET} in the Gnus Group buffer), and get the results using | 5703 (say @key{RET} in the Gnus Group buffer), and get the results using |
5500 @kbd{M-x profile-results}. It should give you an idea of where the time | 5704 @kbd{M-x profile-results}. It should give you an idea of where the time |
5501 is being spent. | 5705 is being spent. |
5509 @lisp | 5713 @lisp |
5510 (setq bell-volume 0) | 5714 (setq bell-volume 0) |
5511 (setq sound-alist nil) | 5715 (setq sound-alist nil) |
5512 @end lisp | 5716 @end lisp |
5513 | 5717 |
5514 That will make your XEmacs totally silent---even the default ding sound | 5718 That will make your XEmacs totally silent -- even the default ding sound |
5515 (TTY beep on TTY-s) will be gone. | 5719 (TTY beep on TTY-s) will be gone. |
5516 | 5720 |
5517 Starting with XEmacs-20.2 you can also change these with Customize. | 5721 Starting with XEmacs-20.2 you can also change these with Customize. |
5518 Select from the @code{Options} menu | 5722 Select from the @code{Options} menu |
5519 @code{Customize->Emacs->Environment->Sound->Sound...} or type | 5723 @code{Customize->Emacs->Environment->Sound->Sound...} or type |
5534 versions. | 5738 versions. |
5535 | 5739 |
5536 @node Q5.2.3, Q5.2.4, Q5.2.2, Miscellaneous | 5740 @node Q5.2.3, Q5.2.4, Q5.2.2, Miscellaneous |
5537 @unnumberedsubsec Q5.2.3: What's NAS, how do I get it? | 5741 @unnumberedsubsec Q5.2.3: What's NAS, how do I get it? |
5538 | 5742 |
5539 @xref{Q2.0.3}, for an explanation of the @dfn{Network Audio System}. | 5743 @xref{Q2.0.3} for an explanation of the @dfn{Network Audio System}. |
5540 | 5744 |
5541 @node Q5.2.4, Q5.3.1, Q5.2.3, Miscellaneous | 5745 @node Q5.2.4, Q5.3.1, Q5.2.3, Miscellaneous |
5542 @unnumberedsubsec Q5.2.4: Sunsite sounds don't play. | 5746 @unnumberedsubsec Q5.2.4: Sunsite sounds don't play. |
5543 | 5747 |
5544 I'm having some trouble with sounds I've downloaded from sunsite. They | 5748 I'm having some trouble with sounds I've downloaded from sunsite. They |
5606 expressions. It was fixed in 19.13. For earlier versions of XEmacs, | 5810 expressions. It was fixed in 19.13. For earlier versions of XEmacs, |
5607 have a look at your @file{.emacs} file. You will probably have a line | 5811 have a look at your @file{.emacs} file. You will probably have a line |
5608 like: | 5812 like: |
5609 | 5813 |
5610 @lisp | 5814 @lisp |
5611 (add-hook 'postscript-mode-hook 'turn-on-font-lock) | 5815 (add-hook 'postscript-mode-hook 'turn-on-font-lock) |
5612 @end lisp | 5816 @end lisp |
5613 | 5817 |
5614 Take it out, restart XEmacs, and it won't try to fontify your postscript | 5818 Take it out, restart XEmacs, and it won't try to fontify your postscript |
5615 files anymore. | 5819 files anymore. |
5616 | 5820 |
5823 Some people have also found that if one uses the @code{(insert-file)} | 6027 Some people have also found that if one uses the @code{(insert-file)} |
5824 method, one should NOT quote the face string using the sed script . | 6028 method, one should NOT quote the face string using the sed script . |
5825 | 6029 |
5826 It might also be helpful to use @email{stig@@hackvan.com, Stig's} script | 6030 It might also be helpful to use @email{stig@@hackvan.com, Stig's} script |
5827 (included in the compface distribution at XEmacs.org) to do the | 6031 (included in the compface distribution at XEmacs.org) to do the |
5828 conversion. | 6032 conversion. For convenience xbm2xface is available for anonymous FTP at |
5829 @comment For convenience xbm2xface is available for anonymous FTP at | 6033 @uref{ftp://ftp.miranova.com/pub/xemacs/xbm2xface.pl}. |
5830 @comment @uref{ftp://ftp.miranova.com/pub/xemacs/xbm2xface.pl}. | |
5831 | 6034 |
5832 Contributors for this item: | 6035 Contributors for this item: |
5833 | 6036 |
5834 Paul Emsley, | 6037 Paul Emsley, |
5835 Ricardo Marek, | 6038 Ricardo Marek, |
5845 | 6048 |
5846 You use something like: | 6049 You use something like: |
5847 | 6050 |
5848 @lisp | 6051 @lisp |
5849 (setq Info-directory-list (cons | 6052 (setq Info-directory-list (cons |
5850 (expand-file-name "~/info") | 6053 (expand-file-name "~/info") |
5851 Info-default-directory-list)) | 6054 Info-default-directory-list)) |
5852 @end lisp | 6055 @end lisp |
5853 | 6056 |
5854 @email{davidm@@prism.kla.com, David Masterson} writes: | 6057 @email{davidm@@prism.kla.com, David Masterson} writes: |
5855 | 6058 |
5856 @quotation | 6059 @quotation |
5926 | 6129 |
5927 NOTE: It is an undocumented limitation in XEmacs that postscript | 6130 NOTE: It is an undocumented limitation in XEmacs that postscript |
5928 printing (the @code{Pretty Print Buffer} menu item) @strong{requires} a | 6131 printing (the @code{Pretty Print Buffer} menu item) @strong{requires} a |
5929 window system environment. It cannot be used outside of X11. | 6132 window system environment. It cannot be used outside of X11. |
5930 | 6133 |
5931 @node MS Windows, Current Events, Miscellaneous, Top | 6134 @node Current Events, , Miscellaneous, Top |
5932 @unnumbered 6 XEmacs on MS Windows | 6135 @unnumbered 6 What the Future Holds |
5933 | 6136 |
5934 This is part 6 of the XEmacs Frequently Asked Questions list, written by | 6137 This is part 6 of the XEmacs Frequently Asked Questions list. This |
5935 Hrvoje Niksic and others. This section is devoted to the MS Windows | |
5936 port of XEmacs. | |
5937 | |
5938 @menu | |
5939 | |
5940 General Info | |
5941 * Q6.0.1:: What is the status of the XEmacs port to Windows? | |
5942 * Q6.0.2:: What flavors of MS Windows are supported? | |
5943 * Q6.0.3:: Where are the XEmacs on MS Windows binaries? | |
5944 * Q6.0.4:: Does XEmacs on MS Windows require an X server to run? | |
5945 | |
5946 Building XEmacs on MS Windows | |
5947 * Q6.1.1:: I decided to run with X. Where do I get an X server? | |
5948 * Q6.1.2:: What compiler do I need to compile XEmacs? | |
5949 * Q6.1.3:: How do I compile for the native port? | |
5950 * Q6.1.4:: How do I compile for the X port? | |
5951 * Q6.1.5:: How do I compile for Cygnus' Cygwin? | |
5952 * Q6.1.6:: What do I need for Cygwin? | |
5953 | |
5954 Customization and User Interface | |
5955 * Q6.2.1:: How will the port cope with differences in the Windows user interface? | |
5956 * Q6.2.2:: How do I change fonts in XEmacs on MS Windows? | |
5957 * Q6.2.3:: Where do I put my @file{.emacs} file? | |
5958 | |
5959 Miscellaneous | |
5960 * Q6.3.1:: Will XEmacs rename all the win32-* symbols to w32-*? | |
5961 * Q6.3.2:: What are the differences between the various MS Windows emacsen? | |
5962 * Q6.3.3:: What is the porting team doing at the moment? | |
5963 | |
5964 Troubleshooting: | |
5965 * Q6.4.1:: XEmacs won't start on Windows. (NEW) | |
5966 | |
5967 @end menu | |
5968 | |
5969 @node Q6.0.1, Q6.0.2, MS Windows, MS Windows | |
5970 @unnumberedsec 6.0: General Info | |
5971 @unnumberedsubsec Q6.0.1: What is the status of the XEmacs port to Windows? | |
5972 | |
5973 Is XEmacs really getting ported to MS Windows? What is the status of the port? | |
5974 | |
5975 Yes, a group of volunteers actively works on making XEmacs code base | |
5976 cleanly compile and run on MS Windows operating systems. The mailing | |
5977 list at @email{xemacs-nt@@xemacs.org} is dedicated to that effort (please use | |
5978 the -request address to subscribe). | |
5979 | |
5980 At this time, XEmacs on MS Windows is usable, but lacks some of the | |
5981 features of XEmacs on UNIX and UNIX-like systems. Notably, | |
5982 internationalization does not work. | |
5983 | |
5984 @node Q6.0.2, Q6.0.3, Q6.0.1, MS Windows | |
5985 @unnumberedsubsec Q6.0.2: What flavors of MS Windows are supported? The list name implies NT only. | |
5986 | |
5987 The list name is misleading, as XEmacs will support both Windows 95, | |
5988 Windows 98 and Windows NT. The MS Windows-specific code is based on | |
5989 Microsoft Win32 API, and will not work on MS Windows 3.x or on MS-DOS. | |
5990 | |
5991 | |
5992 @node Q6.0.3, Q6.0.4, Q6.0.2, MS Windows | |
5993 @unnumberedsubsec Q6.0.3: Are binary kits available? | |
5994 | |
5995 Binary kits are available at | |
5996 @uref{ftp://ftp.xemacs.org/pub/xemacs/binary-kits/win32/} for the | |
5997 "plain" MS Windows version. | |
5998 | |
5999 @node Q6.0.4, Q6.1.1, Q6.0.3, MS Windows | |
6000 @unnumberedsubsec Q6.0.4: Does XEmacs on MS Windows require an X server to run? | |
6001 | |
6002 Short answer: No. | |
6003 | |
6004 Long answer: XEmacs can be built in several ways in the MS Windows | |
6005 environment, some of them requiring an X server and some not. | |
6006 | |
6007 One is what we call the "X" port---it requires X libraries to build | |
6008 and an X server to run. Internally it uses the Xt event loop and | |
6009 makes use of X toolkits. Its look is quite un-Windowsy, but it works | |
6010 reliably and supports all of the graphical features of Unix XEmacs. | |
6011 | |
6012 The other is what we call the "native" port. It uses the Win32 API | |
6013 and does not require X libraries to build, nor does it require an X to | |
6014 run. In fact, it has no connection with X whatsoever. At this time, | |
6015 the native port obsoletes the X port, providing almost all of its | |
6016 features, including support for menus, scrollbars, toolbars, embedded | |
6017 images and background pixmaps, frame pointers, etc. Most of the | |
6018 future work will be based on the native port. | |
6019 | |
6020 There is also a third special case, the Cygwin port. It takes | |
6021 advantage of Cygnus emulation library under Win32, which enables it to | |
6022 reuse much of the Unix XEmacs code base, such as processes and network | |
6023 support, or internal select() mechanisms. | |
6024 | |
6025 Cygwin port supports all display types---TTY, X & MS gui, and can be | |
6026 built with support for all three. If you build with ms gui support | |
6027 then the Cygwin version uses the majority of the msw code, which is | |
6028 mostly related to display. If you want to build with X support you | |
6029 need X libraries. If you want to build with tty support you need | |
6030 ncurses. MS gui requires no additional libraries. | |
6031 | |
6032 Some of the advantages of the Cygwin version are that it: | |
6033 | |
6034 @itemize @bullet | |
6035 | |
6036 @item integrates well with Cygwin environment for existing Cygwin users; | |
6037 @item uses configure so building with different features is very easy; | |
6038 @item has process support in X & tty. | |
6039 | |
6040 @end itemize | |
6041 | |
6042 The disadvantage is that it requires several Unix utilities and the | |
6043 whole Cygwin environment, whereas the native port requires only a | |
6044 suitable MS Windows compiler. Also, it follows the Unix filesystem and | |
6045 process model very closely (some will undoubtedly view this as an | |
6046 advantage). | |
6047 | |
6048 @node Q6.1.1, Q6.1.2, Q6.0.4, MS Windows | |
6049 @unnumberedsec 6.1: Building XEmacs on MS Windows | |
6050 @unnumberedsubsec Q6.1.1: I decided to run with X. Where do I get an X server? | |
6051 | |
6052 Pointers to X servers can be found at | |
6053 @iftex | |
6054 @* | |
6055 @end iftex | |
6056 @uref{http://dao.gsfc.nasa.gov/software/grads/win32/X11R6.3/}; | |
6057 | |
6058 look for "Where to get an X server". Also note that, although the above | |
6059 page talks about Cygnus gnu-win32 (Cygwin), the information on X servers | |
6060 is Cygwin-independent. You don't have to be running/using Cygwin to use | |
6061 these X servers, and you don't have to compile XEmacs under Cygwin to | |
6062 use XEmacs with these X servers. An "X port" XEmacs compiled under | |
6063 Visual C++ will work with these X servers (as will XEmacs running on a | |
6064 Unix box, redirected to the server running on your PC). | |
6065 | |
6066 | |
6067 @node Q6.1.2, Q6.1.3, Q6.1.1, MS Windows | |
6068 @unnumberedsubsec Q6.1.2: What compiler do I need to compile XEmacs? | |
6069 | |
6070 You need Visual C++ 4.2, 5.0, or 6.0, with the exception of the Cygwin | |
6071 port, which uses Gcc. There is also a MINGW32 port of XEmacs (using | |
6072 Gcc, but using native libraries rather than the Cygwin libraries). #### | |
6073 More information about this should be provided. | |
6074 | |
6075 | |
6076 @node Q6.1.3, Q6.1.4, Q6.1.2, MS Windows | |
6077 @unnumberedsubsec Q6.1.3: How do I compile for the native port? | |
6078 | |
6079 Please read the file @file{nt/README} in the XEmacs distribution, which | |
6080 contains the full description. | |
6081 | |
6082 | |
6083 @node Q6.1.4, Q6.1.5, Q6.1.3, MS Windows | |
6084 @unnumberedsubsec Q6.1.4: How do I compile for the X port? | |
6085 | |
6086 Again, it is described in @file{nt/README} in some detail. Basically, you | |
6087 need to get X11 libraries from ftp.x.org, and compile them. If the | |
6088 precompiled versions are available somewhere, I don't know of it. | |
6089 | |
6090 | |
6091 @node Q6.1.5, Q6.1.6, Q6.1.4, MS Windows | |
6092 @unnumberedsubsec Q6.1.5: How do I compile for Cygnus' Cygwin? | |
6093 | |
6094 Similar as on Unix; use the usual `configure' and `make' process. | |
6095 Some problems to watch out for: | |
6096 | |
6097 @itemize @bullet | |
6098 @item | |
6099 make sure HOME is set. This controls where you @file{.emacs} file comes | |
6100 from; | |
6101 | |
6102 @item | |
6103 CYGWIN needs to be set to tty for process support work. e.g. CYGWIN=tty; | |
6104 (use CYGWIN32=tty under b19 and older.) | |
6105 | |
6106 @item | |
6107 picking up some other grep or other unix like tools can kill configure; | |
6108 | |
6109 @item | |
6110 static heap too small, adjust src/sheap-adjust.h to a more positive | |
6111 number; | |
6112 | |
6113 @item | |
6114 The Cygwin version doesn't understand @file{//machine/path} type paths so you | |
6115 will need to manually mount a directory of this form under a unix style | |
6116 directory for a build to work on the directory. | |
6117 | |
6118 @end itemize | |
6119 | |
6120 @node Q6.1.6, Q6.2.1, Q6.1.5, MS Windows | |
6121 @unnumberedsubsec Q6.1.6: What do I need for Cygwin? | |
6122 | |
6123 You can find the Cygwin tools and compiler at: | |
6124 | |
6125 @uref{http://sourceware.cygnus.com/cygwin/} | |
6126 | |
6127 You will need version b19 or later. | |
6128 The latest current version is 1.1.1. | |
6129 Other common versions you will see are b20.1. | |
6130 | |
6131 Another location, one of the mirror sites of the site just mentioned, | |
6132 is usually a last faster: | |
6133 | |
6134 @uref{ftp://ftp.freesoftware.com/pub/sourceware/cygwin/} | |
6135 | |
6136 You can obtain the latest version (currently 1.1.1) from the | |
6137 @samp{latest/} subdirectory of either of the above two just-mentioned | |
6138 URL's. | |
6139 | |
6140 @strong{WARNING: The version of GCC supplied under @samp{latest/}, as of | |
6141 June 6th, 2000, does not appear to work. It generates loads of spurious | |
6142 preprocessor warnings and errors, which makes it impossible to compile | |
6143 XEmacs with it.} | |
6144 | |
6145 You will also need the X libraries. You can get them on the XEmacs FTP | |
6146 site at | |
6147 | |
6148 @uref{ftp://ftp.xemacs.org/pub/xemacs/aux/cygwin/} | |
6149 | |
6150 You will find b19 and b20 versions of the X libraries, plus b19 and b20 | |
6151 versions of stuff that should go into @samp{/usr/local/}, donated by | |
6152 Andy Piper. This includes pre-built versions of various graphics libraries, | |
6153 such as PNG, JPEG, TIFF, and XPM. (Remember, GIF support is built-in to | |
6154 XEmacs.) | |
6155 | |
6156 (X libraries for v1 and beyond of Cygwin can be found on the Cygwin site | |
6157 itself -- look in the @samp{xfree/} subdirectory.) | |
6158 | |
6159 @emph{NOTE:} There are two versions of the XPM library provided in | |
6160 Andy's packets. Once is for building with X support, and the other for | |
6161 building without. The X version should work if you're building with | |
6162 both X and Windows support. The two files are called @file{libXpm-X.a} | |
6163 and @file{libXpm-noX.a} respectively, and you must symlink the | |
6164 appropriate one to @file{libXpm.a}. @strong{CAREFUL:} By default, the | |
6165 non-X version is symlinked in. If you then configure XEmacs with X, | |
6166 you won't run into problems until you start compiling @file{events.c}, | |
6167 at which point you'll get strange and decidedly non-obvious errors. | |
6168 | |
6169 Please see @uref{http://www.xemacs.freeserve.co.uk/} (Andy Piper's home | |
6170 page) for more information. | |
6171 | |
6172 BTW There are also libraries at | |
6173 @iftex | |
6174 @* | |
6175 @end iftex | |
6176 @uref{http://dao.gsfc.nasa.gov/software/grads/win32/X11R6.3/}, but | |
6177 these are not b19 compatible, and may in fact be native-compiled. | |
6178 | |
6179 | |
6180 @node Q6.2.1, Q6.2.2, Q6.1.6, MS Windows | |
6181 @unnumberedsec 6.2: Customization and User Interface | |
6182 @unnumberedsubsec Q6.2.1: How will the port cope with differences in the Windows user interface? | |
6183 | |
6184 XEmacs (and Emacs in general) UI is pretty | |
6185 different from what is expected of a typical MS Windows program. How will | |
6186 the MS Windows port cope with it? | |
6187 | |
6188 Fortunately, Emacs is also one of the most configurable editor beasts | |
6189 in the world. The MS Windows "look and feel" (mark via shift-arrow, | |
6190 self-inserting deletes region, etc.) can be easily configured via | |
6191 various packages distributed with XEmacs. The `pending-delete' | |
6192 package is an example of such a utility. | |
6193 | |
6194 In future versions, some of these packages might be turned on by | |
6195 default in the MS Windows environment. | |
6196 | |
6197 | |
6198 @node Q6.2.2, Q6.2.3, Q6.2.1, MS Windows | |
6199 @unnumberedsubsec Q6.2.2: How do I change fonts in XEmacs on MS Windows? | |
6200 | |
6201 In 21.2.*, use the font menu. In 21.1.*, you can change font | |
6202 manually. For example: | |
6203 | |
6204 @display | |
6205 (set-face-font 'default "Lucida Console:Regular:10") | |
6206 (set-face-font 'modeline "MS Sans Serif:Regular:10") | |
6207 @end display | |
6208 | |
6209 | |
6210 @node Q6.2.3, Q6.3.1, Q6.2.2, MS Windows | |
6211 @unnumberedsubsec Q6.2.3: Where do I put my @file{.emacs} file? | |
6212 | |
6213 If the HOME environment variable is set, @file{.emacs} will be looked for | |
6214 there. Else the directory defaults to `c:\'. | |
6215 | |
6216 @node Q6.3.1, Q6.3.2, Q6.2.3, MS Windows | |
6217 @unnumberedsec 6.3: Miscellaneous | |
6218 @unnumberedsubsec Q6.3.1: Will XEmacs rename all the win32-* symbols to w32-*? | |
6219 | |
6220 In his flavor of Emacs 20, Richard Stallman has renamed all the win32-* | |
6221 symbols to w32-*. Will XEmacs do the same? | |
6222 | |
6223 We consider such a move counter-productive, thus we will not use the | |
6224 `w32' prefix. However, we do recognize that Win32 name is little more | |
6225 than a marketing buzzword (will it be Win64 in the next release?), so | |
6226 we decided not to use it. Using `windows-' would be wrong because the | |
6227 term is too generic, which is why we settled on a compromise | |
6228 `mswindows' term. | |
6229 | |
6230 Thus all the XEmacs variables and functions directly related to Win32 | |
6231 are prefixed `mswindows-'. The user-variables shared with NT Emacs | |
6232 will be provided as compatibility aliases. | |
6233 | |
6234 Architectural note: We believe that there should be a very small | |
6235 number of window-systems-specific variables, and will try to provide | |
6236 generic interfaces whenever possible. | |
6237 | |
6238 | |
6239 @node Q6.3.2, Q6.3.3, Q6.3.1, MS Windows | |
6240 @unnumberedsubsec Q6.3.2: What are the differences between the various MS Windows emacsen? | |
6241 | |
6242 XEmacs, Win-Emacs, DOS Emacs, NT Emacs, this is all very confusing. | |
6243 Could you briefly explain the differences between them? | |
6244 | |
6245 Here is a recount of various Emacs versions running on MS Windows: | |
6246 | |
6247 @itemize @bullet | |
6248 | |
6249 @item | |
6250 Win-Emacs | |
6251 | |
6252 @itemize @minus | |
6253 | |
6254 @item | |
6255 Win-Emacs is a port of Lucid Emacs 19.6 to MS Windows using X | |
6256 compatibility libraries. Win-Emacs has been written by Ben Wing. The | |
6257 MS Windows code has not made it back to Lucid Emacs, which left Win-Emacs | |
6258 pretty much dead for our purposes. Win-Emacs used to be available at | |
6259 Pearlsoft, but not anymore, since Pearlsoft went out of business. | |
6260 @end itemize | |
6261 | |
6262 @item | |
6263 GNU Emacs for DOS | |
6264 | |
6265 @itemize @minus | |
6266 | |
6267 @item | |
6268 GNU Emacs features support for MS-DOS and DJGPP (D.J. Delorie's DOS | |
6269 port of Gcc). Such an Emacs is heavily underfeatured, because it does | |
6270 not supports long file names, lacks proper subprocesses support, and | |
6271 is far too big compared to typical DOS editors. | |
6272 @end itemize | |
6273 | |
6274 @item | |
6275 GNU Emacs compiled with Win32 | |
6276 | |
6277 @itemize @minus | |
6278 | |
6279 @item | |
6280 Starting with version 19.30, it has been possible to compile GNU Emacs | |
6281 under MS Windows using the DJGPP compiler and X libraries. The result | |
6282 is is very similar to GNU Emacs compiled under MS DOS, only it | |
6283 supports longer file names, etc. This "port" is similar to the "X" | |
6284 flavor of XEmacs on MS Windows. | |
6285 @end itemize | |
6286 | |
6287 @item | |
6288 NT Emacs | |
6289 | |
6290 @itemize @minus | |
6291 | |
6292 @item | |
6293 NT Emacs is a version of GNU Emacs modified to compile and run under | |
6294 MS MS Windows 95 and NT using the native Win32 API. As such, it is close | |
6295 in spirit to the XEmacs "native" port. | |
6296 | |
6297 @item | |
6298 NT Emacs has been written by Geoff Voelker, and more information can be | |
6299 found at | |
6300 @iftex | |
6301 @* | |
6302 @end iftex | |
6303 @uref{http://www.cs.washington.edu/homes/voelker/ntemacs.html}. | |
6304 | |
6305 @end itemize | |
6306 | |
6307 @item | |
6308 XEmacs | |
6309 | |
6310 @itemize @minus | |
6311 | |
6312 @item | |
6313 Beginning with XEmacs 19.12, XEmacs' architecture has been redesigned | |
6314 in such a way to allow clean support of multiple window systems. At | |
6315 this time the TTY support was added, making X and TTY the first two | |
6316 "window systems" XEmacs supported. The 19.12 design is the basis for | |
6317 the current native MS Windows code. | |
6318 | |
6319 @item | |
6320 Some time during 1997, David Hobley (soon joined by Marc Paquette) | |
6321 imported some of the NT-specific portions of GNU Emacs, making XEmacs | |
6322 with X support compile under Windows NT, and creating the "X" port. | |
6323 | |
6324 @item | |
6325 Several months later, Jonathan Harris sent out initial patches to use | |
6326 the Win32 API, thus creating the native port. Since then, various | |
6327 people have contributed, including Kirill M. Katsnelson (contributed | |
6328 support for menubars, subprocesses and network, as well as loads of | |
6329 other code), Andy Piper (ported XEmacs to Cygwin environment, | |
6330 contributed Windows unexec, Windows-specific glyphs and toolbars code, | |
6331 and more), Jeff Sparkes (contributed scrollbars support) and many | |
6332 others. | |
6333 | |
6334 @end itemize | |
6335 | |
6336 @end itemize | |
6337 | |
6338 | |
6339 @node Q6.3.3, Q6.4.1, Q6.3.2, MS Windows | |
6340 @unnumberedsubsec Q6.3.3: What is the porting team doing at the moment? | |
6341 | |
6342 The porting team is continuing work on the MS Windows-specific code. | |
6343 | |
6344 @node Q6.4.1, ,Q6.3.3, MS Windows | |
6345 @unnumberedsec 6.3: Troubleshooting | |
6346 @unnumberedsubsec Q6.4.1 XEmacs won't start on Windows. (NEW) | |
6347 | |
6348 XEmacs relies on a process called "dumping" to generate a working | |
6349 executable. Under MS-Windows this process effectively fixes the memory | |
6350 addresses of information in the executable. When XEmacs starts up it tries | |
6351 to reserve these memory addresses so that the dumping process can be | |
6352 reversed - putting the information back at the correct addresses. | |
6353 Unfortunately some .dlls (For instance the soundblaster driver) occupy | |
6354 memory addresses that can conflict with those needed by the dumped XEmacs | |
6355 executable. In this instance XEmacs will fail to start without any | |
6356 explanation. Note that this is extremely machine specific. | |
6357 | |
6358 21.1.10 includes a fix for this that makes more intelligent guesses | |
6359 about which memory addresses will be free, and this should cure the | |
6360 problem for most people. Unfortunately, no binary is yet available for | |
6361 this version. Check back periodically at | |
6362 | |
6363 @uref{ftp://ftp.xemacs.org/pub/xemacs/binaries/}. | |
6364 | |
6365 21.2 implements "portable dumping" which will eliminate the problem | |
6366 altogether. You might have better luck with the 21.2 beta binary, | |
6367 available at | |
6368 | |
6369 @uref{ftp://ftp.xemacs.org/pub/xemacs/beta/binaries/}. | |
6370 | |
6371 | |
6372 @node Current Events, , MS Windows, Top | |
6373 @unnumbered 7 What the Future Holds | |
6374 | |
6375 This is part 7 of the XEmacs Frequently Asked Questions list. This | |
6376 section will change monthly, and contains any interesting items that have | 6138 section will change monthly, and contains any interesting items that have |
6377 transpired over the previous month. If you are reading this from the | 6139 transpired over the previous month. If you are reading this from the |
6378 XEmacs distribution, please see the version on the Web or archived at the | 6140 XEmacs distribution, please see the version on the Web or archived at the |
6379 various FAQ FTP sites, as this file is surely out of date. | 6141 various FAQ FTP sites, as this file is surely out of date. |
6380 | 6142 |
6381 @menu | 6143 @menu |
6382 * Q7.0.1:: What is new in 20.2? | 6144 * Q6.0.1:: What is new in 20.2? |
6383 * Q7.0.2:: What is new in 20.3? | 6145 * Q6.0.2:: What is new in 20.3? |
6384 * Q7.0.3:: What is new in 20.4? | 6146 * Q6.0.3:: What is new in 20.4? |
6385 * Q7.0.4:: Procedural changes in XEmacs development. | 6147 * Q6.0.4:: Procedural changes in XEmacs development. |
6386 @end menu | 6148 @end menu |
6387 | 6149 |
6388 @node Q7.0.1, Q7.0.2, Current Events, Current Events | 6150 @node Q6.0.1, Q6.0.2, Current Events, Current Events |
6389 @unnumberedsec 7.0: Changes | 6151 @unnumberedsec 6.0: Changes |
6390 @unnumberedsubsec Q7.0.1: What is new in 20.2? | 6152 @unnumberedsubsec Q6.0.1: What is new in 20.2? |
6391 | 6153 |
6392 The biggest changes in 20.2 include integration of EFS (the next | 6154 The biggest changes in 20.2 include integration of EFS (the next |
6393 generation of ange-ftp) and AUC Tex (the Emacs subsystem that includes a | 6155 generation of ange-ftp) and AUC Tex (the Emacs subsystem that includes a |
6394 major mode for editing Tex and LaTeX, and a lot of other stuff). Many | 6156 major mode for editing Tex and LaTeX, and a lot of other stuff). Many |
6395 bugs from 20.0 have been fixed for this release. 20.2 also contains a | 6157 bugs from 20.0 have been fixed for this release. 20.2 also contains a |
6397 customize}. | 6159 customize}. |
6398 | 6160 |
6399 XEmacs 20.2 is the development release (20.0 was beta), and is no longer | 6161 XEmacs 20.2 is the development release (20.0 was beta), and is no longer |
6400 considered unstable. | 6162 considered unstable. |
6401 | 6163 |
6402 @node Q7.0.2, Q7.0.3, Q7.0.1, Current Events | 6164 @node Q6.0.2, Q6.0.3, Q6.0.1, Current Events |
6403 @unnumberedsubsec Q7.0.2: What is new in 20.3? | 6165 @unnumberedsubsec Q6.0.2: What is new in 20.3? |
6404 | 6166 |
6405 XEmacs 20.3 was released in November 1997. It contains many bugfixes, | 6167 XEmacs 20.3 was released in November 1997. It contains many bugfixes, |
6406 and a number of new features, including Autoconf 2 based configuration, | 6168 and a number of new features, including Autoconf 2 based configuration, |
6407 additional support for Mule (Multi-language extensions to Emacs), many | 6169 additional support for Mule (Multi-language extensions to Emacs), many |
6408 more customizations, multiple frames on TTY-s, support for multiple info | 6170 more customizations, multiple frames on TTY-s, support for multiple info |
6410 increased MIME support, and many, many synches with GNU Emacs 20. | 6172 increased MIME support, and many, many synches with GNU Emacs 20. |
6411 | 6173 |
6412 The XEmacs/Mule support has been only seriously tested in a Japanese | 6174 The XEmacs/Mule support has been only seriously tested in a Japanese |
6413 locale, and no doubt many problems still remain. The support for | 6175 locale, and no doubt many problems still remain. The support for |
6414 ISO-Latin-1 and Japanese is fairly strong. MULE support comes at a | 6176 ISO-Latin-1 and Japanese is fairly strong. MULE support comes at a |
6415 price---about a 30% slowdown from 19.16. We're making progress on | 6177 price -- about a 30% slowdown from 19.16. We're making progress on |
6416 improving performance and XEmacs 20.3 compiled without Mule (which is | 6178 improving performance and XEmacs 20.3 compiled without Mule (which is |
6417 the default) is definitely faster than XEmacs 19.16. | 6179 the default) is definitely faster than XEmacs 19.16. |
6418 | 6180 |
6419 XEmacs 20.3 is the first non-beta v20 release, and will be the | 6181 XEmacs 20.3 is the first non-beta v20 release, and will be the |
6420 basis for all further development. | 6182 basis for all further development. |
6421 | 6183 |
6422 @node Q7.0.3, Q7.0.4, Q7.0.2, Current Events | 6184 @node Q6.0.3, Q6.0.4, Q6.0.2, Current Events |
6423 @unnumberedsubsec Q7.0.3: What's new in XEmacs 20.4? | 6185 @unnumberedsubsec Q6.0.3: What's new in XEmacs 20.4? |
6424 | 6186 |
6425 XEmacs 20.4 is a bugfix release with no user-visible changes. | 6187 XEmacs 20.4 is a bugfix release with no user-visible changes. |
6426 @c Filled in from NEWS file of 20.5-b33 | 6188 @c Filled in from NEWS file of 20.5-b33 |
6427 | 6189 |
6428 | 6190 |
6429 @node Q7.0.4, , Q7.0.3, Current Events | 6191 @node Q6.0.4, , Q6.0.3, Current Events |
6430 @unnumberedsubsec Q7.0.4: Procedural changes in XEmacs development. | 6192 @unnumberedsubsec Q6.0.4: Procedural changes in XEmacs development. |
6431 | 6193 |
6432 @enumerate | 6194 @enumerate |
6433 @item | 6195 @item |
6434 Discussion about the development of XEmacs occurs on the xemacs-beta | 6196 Discussion about the development of XEmacs occurs on the xemacs-beta |
6435 mailing list. Subscriptions to this list will now be fully automated | 6197 mailing list. Subscriptions to this list will now be fully automated |
6454 | 6216 |
6455 XEmacs 19.16 was the last 19 release, basically consisting of 19.15 plus | 6217 XEmacs 19.16 was the last 19 release, basically consisting of 19.15 plus |
6456 the collected bugfixes. | 6218 the collected bugfixes. |
6457 | 6219 |
6458 @item | 6220 @item |
6459 As of December 1996, @email{steve@@xemacs.org, Steve Baur} has become | 6221 As of December 1996, @email{steve@@altair.xemacs.org, Steve Baur} has become |
6460 the lead maintainer of XEmacs. | 6222 the lead maintainer of XEmacs. |
6461 @end enumerate | 6223 @end enumerate |
6462 | 6224 |
6463 @bye | 6225 @bye |