comparison man/xemacs-faq.texi @ 412:697ef44129c6 r21-2-14

Import from CVS: tag r21-2-14
author cvs
date Mon, 13 Aug 2007 11:20:41 +0200
parents de805c49cfc1
children 11054d720c21
comparison
equal deleted inserted replaced
411:12e008d41344 412:697ef44129c6
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: 2000/07/08 09:14:11 $ 10 @subtitle Frequently asked questions about XEmacs @* Last Modified: $Date: 1999/05/13 12:26:40 $
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 20
22 @ifinfo 21 @ifinfo
23 @dircategory XEmacs Editor 22 @dircategory XEmacs Editor
24 @direntry 23 @direntry
25 * FAQ: (xemacs-faq). XEmacs FAQ. 24 * FAQ: (xemacs-faq). XEmacs FAQ.
26 @end direntry 25 @end direntry
27 @end ifinfo 26 @end ifinfo
28 27
29 @node Top, Introduction, (dir), (dir) 28 @node Top, Introduction, (dir), (dir)
30 @top XEmacs FAQ 29 @top XEmacs FAQ
87 * Introduction:: Introduction, Policy, Credits. 86 * Introduction:: Introduction, Policy, Credits.
88 * Installation:: Installation and Trouble Shooting. 87 * Installation:: Installation and Trouble Shooting.
89 * Customization:: Customization and Options. 88 * Customization:: Customization and Options.
90 * Subsystems:: Major Subsystems. 89 * Subsystems:: Major Subsystems.
91 * Miscellaneous:: The Miscellaneous Stuff. 90 * Miscellaneous:: The Miscellaneous Stuff.
92 * MS Windows:: XEmacs on Microsoft Windows.
93 * Current Events:: What the Future Holds. 91 * Current Events:: What the Future Holds.
94 92
95 @detailmenu 93 @detailmenu
96 94
97 --- The Detailed Node Listing --- 95 --- The Detailed Node Listing ---
137 * Q1.4.2:: Can I use the same @file{.emacs} with the other Emacs? 135 * Q1.4.2:: Can I use the same @file{.emacs} with the other Emacs?
138 * Q1.4.3:: Any good XEmacs tutorials around? 136 * Q1.4.3:: Any good XEmacs tutorials around?
139 * Q1.4.4:: May I see an example of a useful XEmacs Lisp function? 137 * Q1.4.4:: May I see an example of a useful XEmacs Lisp function?
140 * Q1.4.5:: And how do I bind it to a key? 138 * Q1.4.5:: And how do I bind it to a key?
141 * Q1.4.6:: What's the difference between a macro and a function? 139 * Q1.4.6:: What's the difference between a macro and a function?
140 * Q1.4.7:: Why options saved with 19.13 don't work with 19.14 or later?
142 141
143 Installation and Trouble Shooting 142 Installation and Trouble Shooting
144 143
145 * Q2.0.1:: Running XEmacs without installing. 144 * Q2.0.1:: Running XEmacs without installing.
146 * Q2.0.2:: XEmacs is too big. 145 * Q2.0.2:: XEmacs is too big.
152 * Q2.0.8:: can't resolve symbol _h_errno 151 * Q2.0.8:: can't resolve symbol _h_errno
153 * Q2.0.9:: Where do I find external libraries? 152 * Q2.0.9:: Where do I find external libraries?
154 * Q2.0.10:: After I run configure I find a coredump, is something wrong? 153 * Q2.0.10:: After I run configure I find a coredump, is something wrong?
155 * Q2.0.11:: XEmacs can't resolve host names. 154 * Q2.0.11:: XEmacs can't resolve host names.
156 * Q2.0.12:: Why can't I strip XEmacs? 155 * Q2.0.12:: Why can't I strip XEmacs?
156 * Q2.0.13:: Can't link XEmacs on Solaris with Gcc.
157 * Q2.0.14:: Make on HP/UX 9 fails after linking temacs
157 158
158 Trouble Shooting: 159 Trouble Shooting:
159 * Q2.1.1:: XEmacs just crashed on me! 160 * Q2.1.1:: XEmacs just crashed on me!
160 * Q2.1.2:: Cryptic Minibuffer messages. 161 * Q2.1.2:: Cryptic Minibuffer messages.
161 * Q2.1.3:: Translation Table Syntax messages at Startup. 162 * Q2.1.3:: Translation Table Syntax messages at Startup.
171 * Q2.1.13:: HP/UX 10.10 and @code{create_process} failure 172 * Q2.1.13:: HP/UX 10.10 and @code{create_process} failure
172 * Q2.1.14:: @kbd{C-g} doesn't work for me. Is it broken? 173 * Q2.1.14:: @kbd{C-g} doesn't work for me. Is it broken?
173 * Q2.1.15:: How to debug an XEmacs problem with a debugger. 174 * Q2.1.15:: How to debug an XEmacs problem with a debugger.
174 * Q2.1.16:: XEmacs crashes in @code{strcat} on HP/UX 10. 175 * Q2.1.16:: XEmacs crashes in @code{strcat} on HP/UX 10.
175 * Q2.1.17:: @samp{Marker does not point anywhere}. 176 * Q2.1.17:: @samp{Marker does not point anywhere}.
176 * Q2.1.18:: [This question intentionally left blank] 177 * Q2.1.18:: 19.14 hangs on HP/UX 10.10.
177 * Q2.1.19:: XEmacs does not follow the local timezone. 178 * Q2.1.19:: XEmacs does not follow the local timezone.
178 * Q2.1.20:: @samp{Symbol's function definition is void: hkey-help-show.} 179 * Q2.1.20:: @samp{Symbol's function definition is void: hkey-help-show.}
179 * Q2.1.21:: [This question intentionally left blank] 180 * Q2.1.21:: Every so often the XEmacs frame freezes.
180 * Q2.1.22:: XEmacs seems to take a really long time to do some things. 181 * Q2.1.22:: XEmacs seems to take a really long time to do some things.
181 * Q2.1.23:: Movemail on Linux does not work for XEmacs 19.15 and later. 182 * Q2.1.23:: Movemail on Linux does not work for XEmacs 19.15 and later.
182 * Q2.1.24:: XEmacs won't start without network. (NEW)
183 183
184 Customization and Options 184 Customization and Options
185 185
186 * Q3.0.1:: What version of Emacs am I running? 186 * Q3.0.1:: What version of Emacs am I running?
187 * Q3.0.2:: How do I evaluate Elisp expressions? 187 * Q3.0.2:: How do I evaluate Elisp expressions?
194 * Q3.0.9:: What is @code{Customize}? 194 * Q3.0.9:: What is @code{Customize}?
195 195
196 X Window System & Resources: 196 X Window System & Resources:
197 * Q3.1.1:: Where is a list of X resources? 197 * Q3.1.1:: Where is a list of X resources?
198 * Q3.1.2:: How can I detect a color display? 198 * Q3.1.2:: How can I detect a color display?
199 * Q3.1.3:: [This question intentionally left blank] 199 * Q3.1.3:: @code{(set-screen-width)} worked in 19.6, but not in 19.13?
200 * Q3.1.4:: [This question intentionally left blank] 200 * Q3.1.4:: Specifying @code{Emacs*EmacsScreen.geometry} in @file{.emacs} does not work in 19.15?
201 * Q3.1.5:: How can I get the icon to just say @samp{XEmacs}? 201 * Q3.1.5:: How can I get the icon to just say @samp{XEmacs}?
202 * Q3.1.6:: How can I have the window title area display the full path? 202 * Q3.1.6:: How can I have the window title area display the full path?
203 * Q3.1.7:: @samp{xemacs -name junk} doesn't work? 203 * Q3.1.7:: @samp{xemacs -name junk} doesn't work?
204 * Q3.1.8:: @samp{-iconic} doesn't work. 204 * Q3.1.8:: @samp{-iconic} doesn't work.
205 205
303 * Q4.3.4:: Movemail is also distributed by Netscape? Can that cause problems? 303 * Q4.3.4:: Movemail is also distributed by Netscape? Can that cause problems?
304 * Q4.3.5:: Where do I find pstogif (required by tm)? 304 * Q4.3.5:: Where do I find pstogif (required by tm)?
305 305
306 Sparcworks, EOS, and WorkShop: 306 Sparcworks, EOS, and WorkShop:
307 * Q4.4.1:: What is SPARCworks, EOS, and WorkShop 307 * Q4.4.1:: What is SPARCworks, EOS, and WorkShop
308 * Q4.4.2:: How do I start the Sun Workshop support in XEmacs 21?
309 308
310 Energize: 309 Energize:
311 * Q4.5.1:: What is/was Energize? 310 * Q4.5.1:: What is/was Energize?
312 311
313 Infodock: 312 Infodock:
314 * Q4.6.1:: What is Infodock? 313 * Q4.6.1:: What is Infodock?
315 314
316 Other Unbundled Packages: 315 Other Unbundled Packages:
317 * Q4.7.1:: What is AUC TeX? Where do you get it? 316 * Q4.7.1:: What is AUC TeX? Where do you get it?
318 * Q4.7.2:: Are there any Emacs Lisp Spreadsheets? 317 * Q4.7.2:: Are there any Emacs Lisp Spreadsheets?
319 * Q4.7.3:: [This question intentionally left blank] 318 * Q4.7.3:: Byte compiling AUC TeX on XEmacs 19.14
320 * Q4.7.4:: Problems installing AUC TeX 319 * Q4.7.4:: Problems installing AUC TeX
321 * Q4.7.5:: Is there a reason for an Emacs package not to be included in XEmacs? 320 * Q4.7.5:: Is there a reason for an Emacs package not to be included in XEmacs?
322 * Q4.7.6:: Is there a MatLab mode? 321 * Q4.7.6:: Is there a MatLab mode?
323 322
324 The Miscellaneous Stuff 323 The Miscellaneous Stuff
331 * Q5.0.6:: How do I start up a second shell buffer? 330 * Q5.0.6:: How do I start up a second shell buffer?
332 * Q5.0.7:: Telnet from shell filters too much. 331 * Q5.0.7:: Telnet from shell filters too much.
333 * Q5.0.8:: Why does edt emulation not work? 332 * Q5.0.8:: Why does edt emulation not work?
334 * Q5.0.9:: How can I emulate VI and use it as my default mode? 333 * Q5.0.9:: How can I emulate VI and use it as my default mode?
335 * Q5.0.10:: [This question intentionally left blank] 334 * Q5.0.10:: [This question intentionally left blank]
336 * Q5.0.11:: How do I turn on filladapt for all buffers? 335 * Q5.0.11:: Filladapt doesn't work in 19.15?
337 * Q5.0.12:: How do I disable gnuserv from opening a new frame? 336 * Q5.0.12:: How do I disable gnuserv from opening a new frame?
338 * Q5.0.13:: How do I start gnuserv so that each subsequent XEmacs is a client? 337 * Q5.0.13:: How do I start gnuserv so that each subsequent XEmacs is a client?
339 * Q5.0.14:: Strange things are happening in Shell Mode. 338 * Q5.0.14:: Strange things are happening in Shell Mode.
340 * Q5.0.15:: Where do I get the latest CC Mode? 339 * Q5.0.15:: Where do I get the latest CC Mode?
341 * Q5.0.16:: I find auto-show-mode disconcerting. How do I turn it off? 340 * Q5.0.16:: I find auto-show-mode disconcerting. How do I turn it off?
342 * Q5.0.17:: How can I get two instances of info? 341 * Q5.0.17:: How can I get two instances of info?
343 * Q5.0.18:: [This question intentionally left blank] 342 * Q5.0.18:: I upgraded to XEmacs 19.14 and gnuserv stopped working
344 * Q5.0.19:: Is there something better than LaTeX mode? 343 * Q5.0.19:: Is there something better than LaTeX mode?
345 * Q5.0.20:: Is there a way to start a new XEmacs if there's no gnuserv running, and otherwise use gnuclient? 344 * Q5.0.20:: Is there a way to start a new XEmacs if there's no gnuserv running, and otherwise use gnuclient?
346 345
347 Emacs Lisp Programming Techniques: 346 Emacs Lisp Programming Techniques:
348 * Q5.1.1:: The difference in key sequences between XEmacs and GNU Emacs? 347 * Q5.1.1:: The difference in key sequences between XEmacs and GNU Emacs?
375 * Q5.3.9:: Are only certain syntactic character classes available for abbrevs? 374 * Q5.3.9:: Are only certain syntactic character classes available for abbrevs?
376 * Q5.3.10:: How can I get those oh-so-neat X-Face lines? 375 * Q5.3.10:: How can I get those oh-so-neat X-Face lines?
377 * Q5.3.11:: How do I add new Info directories? 376 * Q5.3.11:: How do I add new Info directories?
378 * Q5.3.12:: What do I need to change to make printing work? 377 * Q5.3.12:: What do I need to change to make printing work?
379 378
380 XEmacs on MS Windows 379 What the Future Holds
381 380
382 General Info: 381 * Q6.0.1:: What is new in 20.2?
383 * Q6.0.1:: What is the status of the XEmacs port to Windows? 382 * Q6.0.2:: What is new in 20.3?
384 * Q6.0.2:: What flavors of MS Windows are supported? 383 * Q6.0.3:: What is new in 20.4?
385 * Q6.0.3:: Are binary kits available? 384 * Q6.0.4:: Procedural changes in XEmacs development.
386 * Q6.0.4:: Does XEmacs on MS Windows require an X server to run?
387
388 Building XEmacs on MS Windows:
389 * Q6.1.1:: I decided to run with X. Where do I get an X server?
390 * Q6.1.2:: What compiler do I need to compile XEmacs?
391 * Q6.1.3:: How do I compile for the native port?
392 * Q6.1.4:: How do I compile for the X port?
393 * Q6.1.5:: How do I compile for Cygnus' Cygwin?
394 * Q6.1.6:: What do I need for Cygwin?
395
396 Customization and User Interface:
397 * Q6.2.1:: How will the port cope with differences in the Windows user interface?
398 * Q6.2.2:: How do I change fonts in XEmacs on MS Windows?
399 * Q6.2.3:: Where do I put my @file{.emacs} file?
400
401 Miscellaneous:
402 * Q6.3.1:: Will XEmacs rename all the win32-* symbols to w32-*?
403 * Q6.3.2:: What are the differences between the various MS Windows emacsen?
404 * Q6.3.3:: What is the porting team doing at the moment?
405
406 Troubleshooting:
407 * Q6.4.1:: XEmacs won't start on Windows. (NEW)
408
409 Current Events:
410
411 * Q7.0.1:: What is new in 20.2?
412 * Q7.0.2:: What is new in 20.3?
413 * Q7.0.3:: What is new in 20.4?
414 * Q7.0.4:: Procedural changes in XEmacs development.
415 @end detailmenu 385 @end detailmenu
416 @end menu 386 @end menu
417 387
418 @node Introduction, Installation, Top, Top 388 @node Introduction, Installation, Top, Top
419 @unnumbered 1 Introduction, Policy, Credits 389 @unnumbered 1 Introduction, Policy, Credits
423 be complete. Instead it is aimed at the person who is either 393 be complete. Instead it is aimed at the person who is either
424 considering XEmacs for their own use, or has just obtained it and is 394 considering XEmacs for their own use, or has just obtained it and is
425 wondering what to do next. It is also useful as a reference to 395 wondering what to do next. It is also useful as a reference to
426 available resources. 396 available resources.
427 397
428 The previous maintainer of the FAQ was @email{rossini@@biostat.washington.edu, 398 The previous maintainer of the FAQ was @email{rossini@@stat.sc.edu,
429 Anthony Rossini}, who started it, after getting tired of hearing JWZ 399 Anthony Rossini}, who started it, after getting tired of hearing JWZ
430 complain about repeatedly having to answer questions. 400 complain about repeatedly having to answer questions.
431 @email{ben@@xemacs.org, Ben Wing} and @email{cthomp@@xemacs.org, Chuck 401 @email{ben@@666.com, Ben Wing} and @email{cthomp@@xemacs.org, Chuck
432 Thompson}, the principal authors of XEmacs, then took over and Ben did 402 Thompson}, the principal authors of XEmacs, then took over and Ben did
433 a massive update reorganizing the whole thing. At which point Anthony 403 a massive update reorganizing the whole thing. At which point Anthony
434 took back over, but then had to give it up again. Some of the other 404 took back over, but then had to give it up again. Some of the other
435 contributors to this FAQ are listed later in this document. 405 contributors to this FAQ are listed later in this document.
436 406
437 The previous version was converted to hypertext format, and edited by 407 The previous version was converted to hypertext format, and edited by
438 @email{steve@@xemacs.org, Steven L. Baur}. It was converted back to 408 @email{steve@@altair.xemacs.org, Steven L. Baur}. It was converted back to
439 texinfo by @email{hniksic@@xemacs.org, Hrvoje Niksic}. The FAQ was then 409 texinfo by @email{hniksic@@srce.hr, Hrvoje Niksic}.
440 maintained by @email{andreas@@sccon.com, Andreas Kaempf}, who passed it 410
441 on to ChristianNyb@o{}. 411 The FAQ was then maintained by @email{andreas@@sccon.com, Andreas
412 Kaempf}, who passed it on to @email{faq@@xemacs.org, Christian
413 Nyb@o{}}, the current FAQ maintainer.
442 414
443 If you notice any errors or items which should be added or amended to 415 If you notice any errors or items which should be added or amended to
444 this FAQ please send email to @email{faq@@xemacs.org, Sandra 416 this FAQ please send email to @email{faq@@xemacs.org, Christian
445 Wambold}. Include @samp{XEmacs FAQ} on the Subject: line. 417 Nyb@o{}}. Include @samp{XEmacs FAQ} on the Subject: line.
446 418
447 @menu 419 @menu
448 Introduction: 420 Introduction:
449 * Q1.0.1:: What is XEmacs? 421 * Q1.0.1:: What is XEmacs?
450 * Q1.0.2:: What is the current version of XEmacs? 422 * Q1.0.2:: What is the current version of XEmacs?
485 * Q1.4.2:: Can I use the same @file{.emacs} with the other Emacs? 457 * Q1.4.2:: Can I use the same @file{.emacs} with the other Emacs?
486 * Q1.4.3:: Any good XEmacs tutorials around? 458 * Q1.4.3:: Any good XEmacs tutorials around?
487 * Q1.4.4:: May I see an example of a useful XEmacs Lisp function? 459 * Q1.4.4:: May I see an example of a useful XEmacs Lisp function?
488 * Q1.4.5:: And how do I bind it to a key? 460 * Q1.4.5:: And how do I bind it to a key?
489 * Q1.4.6:: What's the difference between a macro and a function? 461 * Q1.4.6:: What's the difference between a macro and a function?
462 * Q1.4.7:: Why options saved with 19.13 don't work with 19.14 or later?
490 @end menu 463 @end menu
491 464
492 @node Q1.0.1, Q1.0.2, Introduction, Introduction 465 @node Q1.0.1, Q1.0.2, Introduction, Introduction
493 @unnumberedsec 1.0: Introduction 466 @unnumberedsec 1.0: Introduction
494 @unnumberedsubsec Q1.0.1: What is XEmacs? 467 @unnumberedsubsec Q1.0.1: What is XEmacs?
501 track changes to GNU Emacs while also working to add new features. 474 track changes to GNU Emacs while also working to add new features.
502 475
503 @node Q1.0.2, Q1.0.3, Q1.0.1, Introduction 476 @node Q1.0.2, Q1.0.3, Q1.0.1, Introduction
504 @unnumberedsubsec Q1.0.2: What is the current version of XEmacs? 477 @unnumberedsubsec Q1.0.2: What is the current version of XEmacs?
505 478
506 XEmacs 21.1.8 is the current stable version of XEmacs.
507
508 XEmacs 20.4 is a minor upgrade from 20.3, containing many bugfixes. It 479 XEmacs 20.4 is a minor upgrade from 20.3, containing many bugfixes. It
509 was released in February 1998. 480 was released in February 1998.
510 481
511 XEmacs 19.16 was the last release of v19, released in November, 1997, 482 XEmacs 19.16 was the last release of v19, released in November, 1997,
512 which was also the last version without international language support. 483 which was also the last version without international language support.
513 484
514 @node Q1.0.3, Q1.0.4, Q1.0.2, Introduction 485 @node Q1.0.3, Q1.0.4, Q1.0.2, Introduction
515 @unnumberedsubsec Q1.0.3: Where can I find it? 486 @unnumberedsubsec Q1.0.3: Where can I find it?
516 487
517 The canonical source and binaries can be found via anonymous FTP at: 488 The canonical source and binaries is found via anonymous FTP at:
518 489
519 @example 490 @example
520 @uref{ftp://ftp.xemacs.org/pub/xemacs/} 491 @uref{ftp://ftp.xemacs.org/pub/xemacs/}
521 @end example 492 @end example
522 493
524 @unnumberedsubsec Q1.0.4: Why Another Version of Emacs? 495 @unnumberedsubsec Q1.0.4: Why Another Version of Emacs?
525 496
526 For a detailed description of the differences between GNU Emacs and 497 For a detailed description of the differences between GNU Emacs and
527 XEmacs and a detailed history of XEmacs, check out the 498 XEmacs and a detailed history of XEmacs, check out the
528 @example 499 @example
529 @uref{http://www.xemacs.org/About/XEmacsVsGNUemacs.html, NEWS file} 500 @uref{http://www.xemacs.org/NEWS.html, NEWS file}
530 @end example 501 @end example
531 502
532 However, here is a list of some of the reasons why we think you might 503 However, here is a list of some of the reasons why we think you might
533 consider using it: 504 consider using it:
534 505
606 @email{bug-gnu-emacs@@prep.ai.mit.edu}. 577 @email{bug-gnu-emacs@@prep.ai.mit.edu}.
607 578
608 @node Q1.0.6, Q1.0.7, Q1.0.5, Introduction 579 @node Q1.0.6, Q1.0.7, Q1.0.5, Introduction
609 @unnumberedsubsec Q1.0.6: Where can I get help? 580 @unnumberedsubsec Q1.0.6: Where can I get help?
610 581
611 Probably the easiest way, if everything is installed, is to use Info, by 582 Probably the easiest way, if everything is installed, is to use info, by
612 pressing @kbd{C-h i}, or selecting @code{Manuals->Info} from the 583 pressing @kbd{C-h i}, or selecting @code{Emacs Info} from the Help Menu.
613 Help Menu. @kbd{M-x apropos} can be used to look for particular commands. 584
614 585 Also, @kbd{M-x apropos} will look for commands for you.
615 For items not found in the manual, try reading this FAQ 586
616 @comment , examining the regular GNU Emacs FAQ (which can be 587 Try reading this FAQ, examining the regular GNU Emacs FAQ (which can be
617 @comment found with the Emacs 19 distribution) as well as at 588 found with the Emacs 19 distribution) as well as at
618 @comment @uref{http://www.eecs.nwu.edu/emacs/faq/} 589 @uref{http://www.eecs.nwu.edu/emacs/faq/} and reading the Usenet group
619 and reading the Usenet group comp.emacs.xemacs. 590 comp.emacs.xemacs.
620 591
621 If you choose to post to a newsgroup, @strong{please use 592 If that does not help, try posting your question to comp.emacs.xemacs.
622 comp.emacs.xemacs}. Please do not post XEmacs related questions to 593 Please @strong{do not} post XEmacs related questions to gnu.emacs.help.
623 gnu.emacs.help.
624 594
625 If you cannot post or read Usenet news, there is a corresponding mailing 595 If you cannot post or read Usenet news, there is a corresponding mailing
626 list which is available. It can be subscribed to by sending a message 596 list which is available. It can be subscribed to by sending a message
627 to @email{xemacs-request@@xemacs.org} with @samp{subscribe} in the 597 with a subject of @samp{subscribe} to @email{xemacs-request@@xemacs.org}
628 body of the message. Send to the list at @email{xemacs@@xemacs.org}. 598 for subscription information and @email{xemacs@@xemacs.org} to send messages
629 list. To cancel a subscription, you @strong{must} use the 599 to the list.
630 xemacs-request address. Send a message with a subject of 600
631 @samp{unsubscribe} to be removed. 601 To cancel a subscription, you @strong{must} use the xemacs-request
602 address. Send a message with a subject of @samp{unsubscribe} to be
603 removed.
632 604
633 @node Q1.0.7, Q1.0.8, Q1.0.6, Introduction 605 @node Q1.0.7, Q1.0.8, Q1.0.6, Introduction
634 @unnumberedsubsec Q1.0.7: Where is the mailing list archived? 606 @unnumberedsubsec Q1.0.7: Where is the mailing list archived?
635 607
636 The archives can be found at @uref{http://www.xemacs.org/Lists/Archive} 608 The mailing list was archived in the directory
609 @example
610 @uref{ftp://ftp.xemacs.org/pub/mlists/}.
611 @end example
612
613 However, this archive is out of date. The current mailing list server
614 supports an @code{archive} feature, which may be utilized.
637 615
638 @node Q1.0.8, Q1.0.9, Q1.0.7, Introduction 616 @node Q1.0.8, Q1.0.9, Q1.0.7, Introduction
639 @unnumberedsubsec Q1.0.8: How do you pronounce XEmacs? 617 @unnumberedsubsec Q1.0.8: How do you pronounce XEmacs?
640 618
641 The most common pronounciation is @samp{Eks eemax}. 619 I pronounce it @samp{Eks eemax}.
642 620
643 @node Q1.0.9, Q1.0.10, Q1.0.8, Introduction 621 @node Q1.0.9, Q1.0.10, Q1.0.8, Introduction
644 @unnumberedsubsec Q1.0.9: What does XEmacs look like? 622 @unnumberedsubsec Q1.0.9: What does XEmacs look like?
645 623
646 Screen snapshots are available in the WWW version of the FAQ. 624 Screen snapshots are available in the WWW version of the FAQ.
649 @end example 627 @end example
650 628
651 @node Q1.0.10, Q1.0.11, Q1.0.9, Introduction 629 @node Q1.0.10, Q1.0.11, Q1.0.9, Introduction
652 @unnumberedsubsec Q1.0.10: Is there a port of XEmacs to Microsoft ('95 or NT)? 630 @unnumberedsubsec Q1.0.10: Is there a port of XEmacs to Microsoft ('95 or NT)?
653 631
654 Yes, @xref{MS Windows}. 632 Thanks to efforts of many people, coordinated by
655 633 @email{davidh@@wr.com.au, David Hobley} and @email{marcpa@@cam.org, Marc
656 @comment Thanks to efforts of many people, coordinated by 634 Paquette}, beta versions of XEmacs now run on 32-bit Windows platforms
657 @comment @email{davidh@@wr.com.au, David Hobley} and @email{marcpa@@cam.org, Marc 635 (NT and 95). The current betas require having an X server to run
658 @comment Paquette}, beta versions of XEmacs now run on 32-bit Windows platforms 636 XEmacs; however, a native NT/95 port is in alpha, thanks to
659 @comment (NT and 95). The current betas require having an X server to run 637 @email{jhar@@tardis.ed.ac.uk, Jonathan Harris}.
660 @comment XEmacs; however, a native NT/95 port is in alpha, thanks to 638
661 @comment @email{jhar@@tardis.ed.ac.uk, Jonathan Harris}. 639 Although some features are still unimplemented, XEmacs 21.0 will support
662 @comment 640 MS-Windows.
663 @comment Although some features are still unimplemented, XEmacs 21.0 will support 641
664 @comment MS-Windows. 642 The NT development is now coordinated by a mailing list at
665 @comment 643 @email{xemacs-nt@@xemacs.org}.
666 @comment The NT development is now coordinated by a mailing list at 644
667 @comment @email{xemacs-nt@@xemacs.org}. 645 If you are willing to contribute or want to follow the progress, mail to
668 @comment 646 @iftex
669 @comment If you are willing to contribute or want to follow the progress, mail to 647 @*
670 @comment @iftex 648 @end iftex
671 @comment @* 649 @email{xemacs-nt-request@@xemacs.org} to subscribe.
672 @comment @end iftex 650
673 @comment @email{xemacs-nt-request@@xemacs.org} to subscribe. 651 Furthermore, Altrasoft is seeking corporate and government sponsors to
674 @comment 652 help fund a fully native port of XEmacs to Windows 95 and NT using
675 @comment Furthermore, Altrasoft is seeking corporate and government sponsors to 653 full-time, senior-level staff working under a professionally managed
676 @comment help fund a fully native port of XEmacs to Windows 95 and NT using 654 project structure. See @uref{http://www.altrasoft.com/, the Altrasoft
677 @comment full-time, senior-level staff working under a professionally managed 655 web site} for more details
678 @comment project structure. See @uref{http://www.altrasoft.com/, the Altrasoft 656 or contact Altrasoft directly at 1-888-ALTSOFT.
679 @comment web site} for more details 657
680 @comment or contact Altrasoft directly at 1-888-ALTSOFT. 658
681 @comment 659 The closest existing port is @dfn{Win-Emacs}, which is based on Lucid
682 @comment 660 Emacs 19.6. Available from @uref{http://www.pearlsoft.com/}.
683 @comment The closest existing port is @dfn{Win-Emacs}, which is based on Lucid 661
684 @comment Emacs 19.6. Available from @uref{http://www.pearlsoft.com/}. 662 There's a port of GNU Emacs (not XEmacs) at
685 @comment 663 @example
686 @comment There's a port of GNU Emacs (not XEmacs) at 664 @uref{http://www.cs.washington.edu/homes/voelker/ntemacs.html}.
687 @comment @example 665 @end example
688 @comment @uref{http://www.cs.washington.edu/homes/voelker/ntemacs.html}.
689 @comment @end example
690 666
691 @node Q1.0.11, Q1.0.12, Q1.0.10, Introduction 667 @node Q1.0.11, Q1.0.12, Q1.0.10, Introduction
692 @unnumberedsubsec Q1.0.11: Is there a port of XEmacs to the Macintosh? 668 @unnumberedsubsec Q1.0.11: Is there a port of XEmacs to the Macintosh?
693 @c changed 669 @c changed
694 670
695 @c There has been a port to the MachTen environment of XEmacs 19.13, but no 671 There has been a port to the MachTen environment of XEmacs 19.13, but no
696 @c patches have been submitted to the maintainers to get this in the 672 patches have been submitted to the maintainers to get this in the
697 @c mainstream distribution. 673 mainstream distribution.
698 @c 674
699 @c For the MacOS, there is a port of 675 For the MacOS, there is a port of
700 @c @uref{ftp://ftp.cs.cornell.edu/pub/parmet/, Emacs 18.59}. 676 @uref{ftp://ftp.cs.cornell.edu/pub/parmet/, Emacs 18.59}.
701
702 Yes, there is a port of XEmacs 19.14, tested on MacOS 7.6.1 and MacOS
703 8.5.1 by @email{pjarvis@@ispchannel.com, Pitts Jarvis}. It's available
704 at @uref{http://my.ispchannel.com/~pjarvis/xemacs.html}.
705 677
706 @node Q1.0.12, Q1.0.13, Q1.0.11, Introduction 678 @node Q1.0.12, Q1.0.13, Q1.0.11, Introduction
707 @unnumberedsubsec Q1.0.12: Is there a port of XEmacs to NextStep? 679 @unnumberedsubsec Q1.0.12: Is there a port of XEmacs to NextStep?
708 680
709 Carl Edman, apparently no longer at @email{cedman@@princeton.edu}, did 681 Carl Edman, apparently no longer at @email{cedman@@princeton.edu}, did
711 XEmacs port, but never went any farther. 683 XEmacs port, but never went any farther.
712 684
713 @node Q1.0.13, Q1.0.14, Q1.0.12, Introduction 685 @node Q1.0.13, Q1.0.14, Q1.0.12, Introduction
714 @unnumberedsubsec Q1.0.13: Is there a port of XEmacs to OS/2? 686 @unnumberedsubsec Q1.0.13: Is there a port of XEmacs to OS/2?
715 687
716 No, but Alexander Nikolaev <avn_1251@@mail.ru> is working on it. 688 No, and there is no news of anyone working on it.
717 689
718 @node Q1.0.14, Q1.1.1, Q1.0.13, Introduction 690 @node Q1.0.14, Q1.1.1, Q1.0.13, Introduction
719 @unnumberedsubsec Q1.0.14: Where can I obtain a printed copy of the XEmacs users manual? 691 @unnumberedsubsec Q1.0.14: Where can I obtain a printed copy of the XEmacs users manual?
720 692
721 Pre-printed manuals are not available. If you are familiar with 693 Altrasoft Associates, a firm specializing in Emacs-related support and
722 TeX, you can generate your own manual from the XEmacs sources. 694 development, will be maintaining the XEmacs user manual. The firm plans
723 695 to begin publishing printed copies of the manual soon.
724 HTML and Postscript versions of XEmacs manuals may be available from the 696 @c This used to say `March 1997'!
725 XEmacs web site in the future. 697
726 698 @example
699 Web: @uref{http://www.xemacs.com}
700 E-mail: @email{info@@xemacs.com}
701 Tel: +1 408 243 3300
702 @end example
727 703
728 @node Q1.1.1, Q1.1.2, Q1.0.14, Introduction 704 @node Q1.1.1, Q1.1.2, Q1.0.14, Introduction
729 @unnumberedsec 1.1: Policies 705 @unnumberedsec 1.1: Policies
730 @unnumberedsubsec Q1.1.1: What is the FAQ editorial policy? 706 @unnumberedsubsec Q1.1.1: What is the FAQ editorial policy?
731 707
732 The FAQ is actively maintained and modified regularly. All links should 708 The FAQ is actively maintained and modified regularly. All links should
733 be up to date. Unfortunately, some of the information is out of date -- 709 be up to date.
734 a situation which the FAQ maintainer is working on. All submissions are 710
735 welcome, please e-mail submissions to @email{faq@@xemacs.org, XEmacs FAQ 711 Changes are displayed on a monthly basis. @dfn{Months}, for this
736 maintainers}. 712 purpose are defined as the 5th of the month through the 5th of the
713 month. Preexisting questions that have been changed are marked as such.
714 Brand new questions are tagged.
715
716 All submissions are welcome. E-mail submissions
717 to
718 @iftex
719 @*
720 @end iftex
721 @email{faq@@xemacs.org, Christian Nyb@o{}}.
737 722
738 Please make sure that @samp{XEmacs FAQ} appears on the Subject: line. 723 Please make sure that @samp{XEmacs FAQ} appears on the Subject: line.
739 If you think you have a better way of answering a question, or think a 724 If you think you have a better way of answering a question, or think a
740 question should be included, we'd like to hear about it. Questions and 725 question should be included, I'd like to hear about it. Questions and
741 answers included into the FAQ will be edited for spelling and grammar, 726 answers included into the FAQ will be edited for spelling and grammar,
742 and will be attributed. Answers appearing without attribution are 727 and will be attributed. Answers appearing without attribution are
743 either from versions of the FAQ dated before May 1996, or are from one 728 either from versions of the FAQ dated before May 1996, or are from one
744 of the four people listed at the top of this document. Answers quoted 729 of the four people listed at the top of this document. Answers quoted
745 from Usenet news articles will always be attributed, regardless of the 730 from Usenet news articles will always be attributed, regardless of the
746 author. 731 author.
747 732
748 @node Q1.1.2, Q1.1.3, Q1.1.1, Introduction 733 @node Q1.1.2, Q1.1.3, Q1.1.1, Introduction
749 @unnumberedsubsec Q1.1.2: How do I become a Beta Tester? 734 @unnumberedsubsec Q1.1.2: How do I become a Beta Tester?
750 735
751 Send an email message to @email{xemacs-beta-request@@xemacs.org} with 736 Send an email message to @email{xemacs-beta-request@@xemacs.org} with a
752 the line @samp{subscribe} in the body of the message. 737 subject line of @samp{subscribe}.
753 738
754 Be prepared to get your hands dirty, as beta testers are expected to 739 Be prepared to get your hands dirty, as beta testers are expected to
755 identify problems as best they can. 740 identify problems as best they can.
756 741
757 @node Q1.1.3, Q1.2.1, Q1.1.2, Introduction 742 @node Q1.1.3, Q1.2.1, Q1.1.2, Introduction
758 @unnumberedsubsec Q1.1.3: How do I contribute to XEmacs itself? 743 @unnumberedsubsec Q1.1.3: How do I contribute to XEmacs itself?
759 744
760 Ben Wing @email{ben@@xemacs.org} writes: 745 Ben Wing @email{ben@@666.com} writes:
761 746
762 @quotation 747 @quotation
763 BTW if you have a wish list of things that you want added, you have to 748 BTW if you have a wish list of things that you want added, you have to
764 speak up about it! More specifically, you can do the following if you 749 speak up about it! More specifically, you can do the following if you
765 want a feature added (in increasing order of usefulness): 750 want a feature added (in increasing order of usefulness):
798 @ifhtml 783 @ifhtml
799 <br><img src="mrb.jpeg" alt="Portrait of Martin Buchholz"><br> 784 <br><img src="mrb.jpeg" alt="Portrait of Martin Buchholz"><br>
800 @end ifhtml 785 @end ifhtml
801 786
802 787
803 @item @email{steve@@xemacs.org, Steve Baur} 788 @item @email{steve@@altair.xemacs.org, Steve Baur}
804 789
805 @ifhtml 790 @ifhtml
806 <br><img src="steve.gif" alt="Portrait of Steve Baur"><br> 791 <br><img src="steve.gif" alt="Portrait of Steve Baur"><br>
807 @end ifhtml 792 @end ifhtml
808 793
809 794
810 @item @email{hniksic@@xemacs.org, Hrvoje Niksic} 795 @item @email{hniksic@@srce.hr, Hrvoje Niksic}
811 796
812 @ifhtml 797 @ifhtml
813 <br><img src="hniksic.jpeg" alt="Portrait of Hrvoje Niksic"><br> 798 <br><img src="hniksic.jpeg" alt="Portrait of Hrvoje Niksic"><br>
814 @end ifhtml 799 @end ifhtml
815 800
824 @end ifhtml 809 @end ifhtml
825 810
826 Chuck was Mr. XEmacs from 19.11 through 19.14, and is responsible 811 Chuck was Mr. XEmacs from 19.11 through 19.14, and is responsible
827 for XEmacs becoming a widely distributed program over the Internet. 812 for XEmacs becoming a widely distributed program over the Internet.
828 813
829 @item @email{ben@@xemacs.org, Ben Wing} 814 @item @email{ben@@666.com, Ben Wing}
830 @ifhtml 815 @ifhtml
831 <br><img src="wing.gif" alt="Portrait of Ben Wing"><br> 816 <br><img src="wing.gif" alt="Portrait of Ben Wing"><br>
832 @end ifhtml 817 @end ifhtml
833 818
834 @end itemize 819 @end itemize
835 820
836 821
837 @itemize @bullet 822 @itemize @bullet
838 @item @email{jwz@@jwz.org, Jamie Zawinski} 823 @item @email{jwz@@netscape.com, Jamie Zawinski}
839 @ifhtml 824 @ifhtml
840 <br><img src="jwz.gif" alt="Portrait of Jamie Zawinski"><br> 825 <br><img src="jwz.gif" alt="Portrait of Jamie Zawinski"><br>
841 @end ifhtml 826 @end ifhtml
842 827
843 Jamie Zawinski was Mr. Lucid Emacs from 19.0 through 19.10, the last 828 Jamie Zawinski was Mr. Lucid Emacs from 19.0 through 19.10, the last
857 version of the FAQ (listed in alphabetical order): 842 version of the FAQ (listed in alphabetical order):
858 843
859 @itemize @bullet 844 @itemize @bullet
860 @item @email{steve@@xemacs.org, SL Baur} 845 @item @email{steve@@xemacs.org, SL Baur}
861 846
862 @item @email{hniksic@@xemacs.org, Hrvoje Niksic} 847 @item @email{hniksic@@srce.hr, Hrvoje Niksic}
863 848
864 @item @email{Aki.Vehtari@@hut.fi, Aki Vehtari} 849 @item @email{Aki.Vehtari@@hut.fi, Aki Vehtari}
865 850
866 @end itemize 851 @end itemize
867 852
872 crash some time ago. 857 crash some time ago.
873 858
874 @itemize @bullet 859 @itemize @bullet
875 @item @email{binge@@aloft.att.com, Curtis.N.Bingham} 860 @item @email{binge@@aloft.att.com, Curtis.N.Bingham}
876 861
877 @item @email{bruncott@@dormeur.inria.fr, Georges Brun-Cottan}
878
879 @item @email{rjc@@cogsci.ed.ac.uk, Richard Caley} 862 @item @email{rjc@@cogsci.ed.ac.uk, Richard Caley}
880 863
881 @item @email{cognot@@ensg.u-nancy.fr, Richard Cognot} 864 @item @email{cognot@@ensg.u-nancy.fr, Richard Cognot}
882 865
883 @item @email{daku@@nortel.ca, Mark Daku}
884
885 @item @email{wgd@@martigny.ai.mit.edu, William G. Dubuque} 866 @item @email{wgd@@martigny.ai.mit.edu, William G. Dubuque}
886 867
887 @item @email{eeide@@cs.utah.edu, Eric Eide} 868 @item @email{eeide@@cs.utah.edu, Eric Eide}
888
889 @item @email{af@@biomath.jussieu.fr, Alain Fauconnet}
890 869
891 @item @email{cflatter@@nrao.edu, Chris Flatters} 870 @item @email{cflatter@@nrao.edu, Chris Flatters}
892 871
893 @item @email{ginsparg@@adra.com, Evelyn Ginsparg} 872 @item @email{ginsparg@@adra.com, Evelyn Ginsparg}
894 873
942 @dfn{character} in XEmacs Lisp is nothing more than an integer. 921 @dfn{character} in XEmacs Lisp is nothing more than an integer.
943 This is yet another holdover from XEmacs Lisp's derivation from 922 This is yet another holdover from XEmacs Lisp's derivation from
944 vintage-1980 Lisps; modern versions of Lisp consider this equivalence 923 vintage-1980 Lisps; modern versions of Lisp consider this equivalence
945 a bad idea, and have separate character types. In XEmacs version 20, 924 a bad idea, and have separate character types. In XEmacs version 20,
946 the modern convention is followed, and characters are their own 925 the modern convention is followed, and characters are their own
947 primitive types. (This change was necessary in order for @sc{mule}, 926 primitive types. (This change was necessary in order for @sc{MULE},
948 i.e. Asian-language, support to be correctly implemented.) 927 i.e. Asian-language, support to be correctly implemented.)
949 928
950 Even in XEmacs version 20, remnants of the equivalence between 929 Even in XEmacs version 20, remnants of the equivalence between
951 characters and integers still exist; this is termed the @dfn{char-int 930 characters and integers still exist; this is termed the @dfn{char-int
952 confoundance disease}. In particular, many functions such as @code{eq}, 931 confoundance disease}. In particular, many functions such as @code{eq},
953 @code{equal}, and @code{memq} have equivalent functions (@code{old-eq}, 932 @code{equal}, and @code{memq} have equivalent functions (@code{old-eq},
954 @code{old-equal}, @code{old-memq}, etc.) that pretend like characters 933 @code{old-equal}, @code{old-memq}, etc.) that pretend like characters
955 are integers are the same. Byte code compiled under any version 19 934 are integers are the same. Byte code compiled under any version 19
956 Emacs will have all such functions mapped to their @code{old-} equivalents 935 Emacs will have all such functions mapped to their @code{old-} equivalents
957 when the byte code is read into XEmacs 20. This is to preserve 936 when the byte code is read into XEmacs 20. This is to preserve
958 compatibility---Emacs 19 converts all constant characters to the equivalent 937 compatibility -- Emacs 19 converts all constant characters to the equivalent
959 integer during byte-compilation, and thus there is no other way to preserve 938 integer during byte-compilation, and thus there is no other way to preserve
960 byte-code compatibility even if the code has specifically been written 939 byte-code compatibility even if the code has specifically been written
961 with the distinction between characters and integers in mind. 940 with the distinction between characters and integers in mind.
962 941
963 Every character has an equivalent integer, called the @dfn{character 942 Every character has an equivalent integer, called the @dfn{character
964 code}. For example, the character @kbd{A} is represented as the 943 code}. For example, the character @kbd{A} is represented as the
965 @w{integer 65}, following the standard @sc{ascii} representation of 944 @w{integer 65}, following the standard @sc{ASCII} representation of
966 characters. If XEmacs was not compiled with @sc{mule} support, the 945 characters. If XEmacs was not compiled with @sc{MULE} support, the
967 range of this integer will always be 0 to 255---eight bits, or one 946 range of this integer will always be 0 to 255 -- eight bits, or one
968 byte. (Integers outside this range are accepted but silently truncated; 947 byte. (Integers outside this range are accepted but silently truncated;
969 however, you should most decidedly @emph{not} rely on this, because it 948 however, you should most decidedly @emph{not} rely on this, because it
970 will not work under XEmacs with @sc{mule} support.) When @sc{mule} 949 will not work under XEmacs with @sc{MULE} support.) When @sc{MULE}
971 support is present, the range of character codes is much 950 support is present, the range of character codes is much
972 larger. (Currently, 19 bits are used.) 951 larger. (Currently, 19 bits are used.)
973 952
974 FSF GNU Emacs uses kludgy character codes above 255 to represent 953 FSF GNU Emacs uses kludgy character codes above 255 to represent
975 keyboard input of @sc{ascii} characters in combination with certain 954 keyboard input of @sc{ASCII} characters in combination with certain
976 modifiers. XEmacs does not use this (a more general mechanism is 955 modifiers. XEmacs does not use this (a more general mechanism is
977 used that does not distinguish between @sc{ascii} keys and other 956 used that does not distinguish between @sc{ASCII} keys and other
978 keys), so you will never find character codes above 255 in a 957 keys), so you will never find character codes above 255 in a
979 non-@sc{mule} XEmacs. 958 non-@sc{MULE} XEmacs.
980 959
981 Individual characters are not often used in programs. It is far more 960 Individual characters are not often used in programs. It is far more
982 common to work with @emph{strings}, which are sequences composed of 961 common to work with @emph{strings}, which are sequences composed of
983 characters. 962 characters.
984 @end quotation 963 @end quotation
985 964
986 @node Q1.3.2, Q1.3.3, Q1.3.1, Introduction 965 @node Q1.3.2, Q1.3.3, Q1.3.1, Introduction
987 @unnumberedsubsec Q1.3.2: What is the status of Asian-language support, aka MULE? 966 @unnumberedsubsec Q1.3.2: What is the status of Asian-language support, aka MULE?
988 967
989 MULE support is now available for UNIX versions of XEmacs. 968 The MULE support works OK but still needs a fair amount of work before
990 969 it's really solid. We could definitely use some help here, esp. people
991 If you would like to help, you may want to join the 970 who speak Japanese and will use XEmacs/MULE to work with Japanese and
992 @email{xemacs-mule@@xemacs.org} mailing list. Especially needed are 971 have some experience with E-Lisp.
993 people who speak/write languages other than English, who are willing to 972
994 use XEmacs/MULE regularly, and have some experience with Elisp. 973 As the fundings on Mule have stopped, the Mule part of XEmacs is currently
974 looking for a full-time maintainer. If you can provide help here, or
975 are willing to fund the work, please mail to @email{xemacs-beta@@xemacs.org}.
995 976
996 @xref{Q1.1.2}. 977 @xref{Q1.1.2}.
997 978
998 @node Q1.3.3, Q1.3.4, Q1.3.2, Introduction 979 @node Q1.3.3, Q1.3.4, Q1.3.2, Introduction
999 @unnumberedsubsec Q1.3.3: How do I type non-ASCII characters? 980 @unnumberedsubsec Q1.3.3: How do I type non-ASCII characters?
1007 currently work. The first release of XEmacs 20 will @emph{not} support 988 currently work. The first release of XEmacs 20 will @emph{not} support
1008 it. However, menubar localization @emph{does} work, even in 19.14. To 989 it. However, menubar localization @emph{does} work, even in 19.14. To
1009 enable it, add to your @file{Emacs} file entries like this: 990 enable it, add to your @file{Emacs} file entries like this:
1010 991
1011 @example 992 @example
1012 Emacs*XlwMenu.resourceLabels: True 993 Emacs*XlwMenu.resourceLabels: True
1013 Emacs*XlwMenu.file.labelString: Fichier 994 Emacs*XlwMenu.file.labelString: Fichier
1014 Emacs*XlwMenu.openInOtherWindow.labelString: In anderem Fenster oeffnen 995 Emacs*XlwMenu.openInOtherWindow.labelString: In anderem Fenster offnen
1015 @end example 996 @end example
1016 997
1017 The name of the resource is derived from the non-localized entry by 998 The name of the resource is derived from the non-localized entry by
1018 removing punctuation and capitalizing as above. 999 removing punctuation and capitalizing as above.
1019 1000
1104 @lisp 1085 @lisp
1105 (if (featurep 'mule) 1086 (if (featurep 'mule)
1106 (cond ((boundp 'MULE) 1087 (cond ((boundp 'MULE)
1107 ;; for original Mule 1088 ;; for original Mule
1108 ) 1089 )
1109 ((string-match "XEmacs" emacs-version) 1090 ((string-match "XEmacs" emacs-version)
1110 ;; for XEmacs with Mule 1091 ;; for XEmacs with Mule
1111 ) 1092 )
1112 (t 1093 (t
1113 ;; for next version of Emacs 1094 ;; for next version of Emacs
1114 )) 1095 ))
1115 ;; for old emacs variants 1096 ;; for old emacs variants
1116 ) 1097 )
1117 @end lisp 1098 @end lisp
1118 @end quotation 1099 @end quotation
1119 1100
1178 show you how to handle different versions and flavors of Emacs. 1159 show you how to handle different versions and flavors of Emacs.
1179 1160
1180 @node Q1.4.3, Q1.4.4, Q1.4.2, Introduction 1161 @node Q1.4.3, Q1.4.4, Q1.4.2, Introduction
1181 @unnumberedsubsec Q1.4.3: Any good tutorials around? 1162 @unnumberedsubsec Q1.4.3: Any good tutorials around?
1182 1163
1183 There's the XEmacs tutorial available from the Help Menu under 1164 There's the XEmacs tutorial available from the Help Menu, or by typing
1184 @samp{Basics->Tutorials}, or by typing @kbd{C-h t}. To check whether 1165 @kbd{C-h t}. To check whether it's available in a non-english language,
1185 it's available in a non-english language, type @kbd{C-u C-h t TAB}, type 1166 type @kbd{C-u C-h t TAB}, type the first letters of your preferred
1186 the first letters of your preferred language, then type @key{RET}. 1167 language, then type @key{RET}.
1187 1168
1188 @comment There's an Emacs Lisp tutorial at 1169 There's an Emacs Lisp tutorial at
1189 @comment 1170
1190 @comment @example 1171 @example
1191 @comment @uref{ftp://prep.ai.mit.edu/pub/gnu/emacs-lisp-intro-1.04.tar.gz}. 1172 @uref{ftp://prep.ai.mit.edu/pub/gnu/emacs-lisp-intro-1.04.tar.gz}.
1192 @comment @end example 1173 @end example
1193 @comment 1174
1194 @comment @email{erik@@petaxp.rug.ac.be, Erik Sundermann} has made a tutorial web 1175 @email{erik@@petaxp.rug.ac.be, Erik Sundermann} has made a tutorial web
1195 @comment page at 1176 page at
1196 @comment @iftex 1177 @iftex
1197 @comment @* 1178 @*
1198 @comment @end iftex 1179 @end iftex
1199 @comment @uref{http://petaxp.rug.ac.be/~erik/xemacs/}. 1180 @uref{http://petaxp.rug.ac.be/~erik/xemacs/}.
1200 1181
1201 @node Q1.4.4, Q1.4.5, Q1.4.3, Introduction 1182 @node Q1.4.4, Q1.4.5, Q1.4.3, Introduction
1202 @unnumberedsubsec Q1.4.4: May I see an example of a useful XEmacs Lisp function? 1183 @unnumberedsubsec Q1.4.4: May I see an example of a useful XEmacs Lisp function?
1203 1184
1204 The following function does a little bit of everything useful. It does 1185 The following function does a little bit of everything useful. It does
1242 (global-set-key "\C-cd" 'double-word) 1223 (global-set-key "\C-cd" 'double-word)
1243 @end lisp 1224 @end lisp
1244 1225
1245 Or interactively, @kbd{M-x global-set-key} and follow the prompts. 1226 Or interactively, @kbd{M-x global-set-key} and follow the prompts.
1246 1227
1247 @node Q1.4.6, , Q1.4.5, Introduction 1228 @node Q1.4.6, Q1.4.7, Q1.4.5, Introduction
1248 @unnumberedsubsec Q1.4.6: What's the difference between a macro and a function? 1229 @unnumberedsubsec Q1.4.6: What's the difference between a macro and a function?
1249 1230
1250 Quoting from the Lisp Reference (a.k.a @dfn{Lispref}) Manual: 1231 Quoting from the Lisp Reference (a.k.a @dfn{Lispref}) Manual:
1251 1232
1252 @dfn{Macros} enable you to define new control constructs and other 1233 @dfn{Macros} enable you to define new control constructs and other
1261 or parts of them. 1242 or parts of them.
1262 1243
1263 Do not confuse the two terms with @dfn{keyboard macros}, which are 1244 Do not confuse the two terms with @dfn{keyboard macros}, which are
1264 another matter, entirely. A keyboard macro is a key bound to several 1245 another matter, entirely. A keyboard macro is a key bound to several
1265 other keys. Refer to manual for details. 1246 other keys. Refer to manual for details.
1247
1248 @node Q1.4.7, , Q1.4.6, Introduction
1249 @unnumberedsubsec Q1.4.7: How come options saved with 19.13 don't work with 19.14 or later?
1250
1251 There's a problem with options of the form:
1252
1253 @lisp
1254 (add-spec-list-to-specifier (face-property 'searchm-field 'font)
1255 '((global (nil))))
1256 @end lisp
1257
1258 saved by a 19.13 XEmacs that causes a 19.14 XEmacs grief. You must
1259 delete these options. XEmacs 19.14 and later no longer write the
1260 options directly to @file{.emacs} which should allow us to deal with
1261 version incompatibilities better in the future.
1262
1263 Options saved under XEmacs 19.13 are protected by code that specifically
1264 requires a version 19 XEmacs. This won't be a problem unless you're
1265 using XEmacs v20. You should consider changing the code to read:
1266
1267 @lisp
1268 (cond
1269 ((and (string-match "XEmacs" emacs-version)
1270 (boundp 'emacs-major-version)
1271 (or (and (= emacs-major-version 19)
1272 (>= emacs-minor-version 12))
1273 (>= emacs-major-version 20)))
1274 ...
1275 ))
1276 @end lisp
1266 1277
1267 @node Installation, Customization, Introduction, Top 1278 @node Installation, Customization, Introduction, Top
1268 @unnumbered 2 Installation and Trouble Shooting 1279 @unnumbered 2 Installation and Trouble Shooting
1269 1280
1270 This is part 2 of the XEmacs Frequently Asked Questions list. This 1281 This is part 2 of the XEmacs Frequently Asked Questions list. This
1282 * Q2.0.8:: can't resolve symbol _h_errno 1293 * Q2.0.8:: can't resolve symbol _h_errno
1283 * Q2.0.9:: Where do I find external libraries? 1294 * Q2.0.9:: Where do I find external libraries?
1284 * Q2.0.10:: After I run configure I find a coredump, is something wrong? 1295 * Q2.0.10:: After I run configure I find a coredump, is something wrong?
1285 * Q2.0.11:: XEmacs can't resolve host names. 1296 * Q2.0.11:: XEmacs can't resolve host names.
1286 * Q2.0.12:: Why can't I strip XEmacs? 1297 * Q2.0.12:: Why can't I strip XEmacs?
1298 * Q2.0.13:: Can't link XEmacs on Solaris with Gcc.
1299 * Q2.0.14:: Make on HP/UX 9 fails after linking temacs
1287 1300
1288 Trouble Shooting: 1301 Trouble Shooting:
1289 * Q2.1.1:: XEmacs just crashed on me! 1302 * Q2.1.1:: XEmacs just crashed on me!
1290 * Q2.1.2:: Cryptic Minibuffer messages. 1303 * Q2.1.2:: Cryptic Minibuffer messages.
1291 * Q2.1.3:: Translation Table Syntax messages at Startup. 1304 * Q2.1.3:: Translation Table Syntax messages at Startup.
1301 * Q2.1.13:: HP/UX 10.10 and @code{create_process} failure 1314 * Q2.1.13:: HP/UX 10.10 and @code{create_process} failure
1302 * Q2.1.14:: @kbd{C-g} doesn't work for me. Is it broken? 1315 * Q2.1.14:: @kbd{C-g} doesn't work for me. Is it broken?
1303 * Q2.1.15:: How to debug an XEmacs problem with a debugger. 1316 * Q2.1.15:: How to debug an XEmacs problem with a debugger.
1304 * Q2.1.16:: XEmacs crashes in @code{strcat} on HP/UX 10. 1317 * Q2.1.16:: XEmacs crashes in @code{strcat} on HP/UX 10.
1305 * Q2.1.17:: @samp{Marker does not point anywhere}. 1318 * Q2.1.17:: @samp{Marker does not point anywhere}.
1306 * Q2.1.18:: [This question intentionally left blank] 1319 * Q2.1.18:: 19.14 hangs on HP/UX 10.10.
1307 * Q2.1.19:: XEmacs does not follow the local timezone. 1320 * Q2.1.19:: XEmacs does not follow the local timezone.
1308 * Q2.1.20:: @samp{Symbol's function definition is void: hkey-help-show.} 1321 * Q2.1.20:: @samp{Symbol's function definition is void: hkey-help-show.}
1309 * Q2.1.21:: [This question intentionally left blank] 1322 * Q2.1.21:: Every so often the XEmacs frame freezes.
1310 * Q2.1.22:: XEmacs seems to take a really long time to do some things. 1323 * Q2.1.22:: XEmacs seems to take a really long time to do some things.
1311 * Q2.1.23:: Movemail on Linux does not work for XEmacs 19.15 and later. 1324 * Q2.1.23:: Movemail on Linux does not work for XEmacs 19.15 and later.
1312 * Q2.1.24:: XEmacs won't start without network. (NEW)
1313 @end menu 1325 @end menu
1314 1326
1315 @node Q2.0.1, Q2.0.2, Installation, Installation 1327 @node Q2.0.1, Q2.0.2, Installation, Installation
1316 @unnumberedsec 2.0: Installation 1328 @unnumberedsec 2.0: Installation
1317 @unnumberedsubsec Q2.0.1: Running XEmacs without installing 1329 @unnumberedsubsec Q2.0.1: Running XEmacs without installing
1338 @unnumberedsubsec Q2.0.2: XEmacs is too big 1350 @unnumberedsubsec Q2.0.2: XEmacs is too big
1339 1351
1340 Although this entry has been written for XEmacs 19.13, most of it still 1352 Although this entry has been written for XEmacs 19.13, most of it still
1341 stands true. 1353 stands true.
1342 1354
1343 @email{steve@@xemacs.org, Steve Baur} writes: 1355 @email{steve@@altair.xemacs.org, Steve Baur} writes:
1344 1356
1345 @quotation 1357 @quotation
1346 The 45MB of space required by the installation directories can be 1358 The 45MB of space required by the installation directories can be
1347 reduced dramatically if desired. Gzip all the .el files. Remove all 1359 reduced dramatically if desired. Gzip all the .el files. Remove all
1348 the packages you'll never want to use (or even ones you do like the two 1360 the packages you'll never want to use (or even ones you do like the two
1354 out ways to reduce the disk requirements if desired. 1366 out ways to reduce the disk requirements if desired.
1355 1367
1356 Now examine the space used by directory: 1368 Now examine the space used by directory:
1357 1369
1358 @format 1370 @format
1359 0 /usr/local/bin/xemacs 1371 0 /usr/local/bin/xemacs
1360 2048 /usr/local/bin/xemacs-19.13 1372 2048 /usr/local/bin/xemacs-19.13
1361 1373
1362 1546 /usr/local/lib/xemacs-19.13/i486-miranova-sco3.2v4.2 1374 1546 /usr/local/lib/xemacs-19.13/i486-miranova-sco3.2v4.2
1363 1158 /usr/local/lib/xemacs-19.13/i486-unknown-linux1.2.13 1375 1158 /usr/local/lib/xemacs-19.13/i486-unknown-linux1.2.13
1364 @end format 1376 @end format
1365 1377
1366 You need to keep these. XEmacs isn't stripped by default in 1378 You need to keep these. XEmacs isn't stripped by default in
1367 installation, you should consider stripping. That will save you about 1379 installation, you should consider stripping. That will save you about
1368 5MB right there. 1380 5MB right there.
1369 1381
1370 @format 1382 @format
1371 207 /usr/local/lib/xemacs-19.13/etc/w3 1383 207 /usr/local/lib/xemacs-19.13/etc/w3
1372 122 /usr/local/lib/xemacs-19.13/etc/sounds 1384 122 /usr/local/lib/xemacs-19.13/etc/sounds
1373 18 /usr/local/lib/xemacs-19.13/etc/sparcworks 1385 18 /usr/local/lib/xemacs-19.13/etc/sparcworks
1374 159 /usr/local/lib/xemacs-19.13/etc/vm 1386 159 /usr/local/lib/xemacs-19.13/etc/vm
1375 6 /usr/local/lib/xemacs-19.13/etc/e 1387 6 /usr/local/lib/xemacs-19.13/etc/e
1376 21 /usr/local/lib/xemacs-19.13/etc/eos 1388 21 /usr/local/lib/xemacs-19.13/etc/eos
1377 172 /usr/local/lib/xemacs-19.13/etc/toolbar 1389 172 /usr/local/lib/xemacs-19.13/etc/toolbar
1378 61 /usr/local/lib/xemacs-19.13/etc/ns 1390 61 /usr/local/lib/xemacs-19.13/etc/ns
1379 43 /usr/local/lib/xemacs-19.13/etc/gnus 1391 43 /usr/local/lib/xemacs-19.13/etc/gnus
1380 @end format 1392 @end format
1381 1393
1382 These are support directories for various packages. In general they 1394 These are support directories for various packages. In general they
1383 match a directory under ./xemacs-19.13/lib/xemacs-19.13/lisp/. If you 1395 match a directory under ./xemacs-19.13/lib/xemacs-19.13/lisp/. If you
1384 do not require the package, you may delete or gzip the support too. 1396 do not require the package, you may delete or gzip the support too.
1385 1397
1386 @format 1398 @format
1387 1959 /usr/local/lib/xemacs-19.13/etc 1399 1959 /usr/local/lib/xemacs-19.13/etc
1388 175 /usr/local/lib/xemacs-19.13/lisp/bytecomp 1400 175 /usr/local/lib/xemacs-19.13/lisp/bytecomp
1389 340 /usr/local/lib/xemacs-19.13/lisp/calendar 1401 340 /usr/local/lib/xemacs-19.13/lisp/calendar
1390 342 /usr/local/lib/xemacs-19.13/lisp/comint 1402 342 /usr/local/lib/xemacs-19.13/lisp/comint
1391 517 /usr/local/lib/xemacs-19.13/lisp/dired 1403 517 /usr/local/lib/xemacs-19.13/lisp/dired
1392 42 /usr/local/lib/xemacs-19.13/lisp/electric 1404 42 /usr/local/lib/xemacs-19.13/lisp/electric
1393 212 /usr/local/lib/xemacs-19.13/lisp/emulators 1405 212 /usr/local/lib/xemacs-19.13/lisp/emulators
1394 238 /usr/local/lib/xemacs-19.13/lisp/energize 1406 238 /usr/local/lib/xemacs-19.13/lisp/energize
1395 289 /usr/local/lib/xemacs-19.13/lisp/gnus 1407 289 /usr/local/lib/xemacs-19.13/lisp/gnus
1396 457 /usr/local/lib/xemacs-19.13/lisp/ilisp 1408 457 /usr/local/lib/xemacs-19.13/lisp/ilisp
1397 1439 /usr/local/lib/xemacs-19.13/lisp/modes 1409 1439 /usr/local/lib/xemacs-19.13/lisp/modes
1398 2276 /usr/local/lib/xemacs-19.13/lisp/packages 1410 2276 /usr/local/lib/xemacs-19.13/lisp/packages
1399 1040 /usr/local/lib/xemacs-19.13/lisp/prim 1411 1040 /usr/local/lib/xemacs-19.13/lisp/prim
1400 176 /usr/local/lib/xemacs-19.13/lisp/pcl-cvs 1412 176 /usr/local/lib/xemacs-19.13/lisp/pcl-cvs
1401 154 /usr/local/lib/xemacs-19.13/lisp/rmail 1413 154 /usr/local/lib/xemacs-19.13/lisp/rmail
1402 3 /usr/local/lib/xemacs-19.13/lisp/epoch 1414 3 /usr/local/lib/xemacs-19.13/lisp/epoch
1403 45 /usr/local/lib/xemacs-19.13/lisp/term 1415 45 /usr/local/lib/xemacs-19.13/lisp/term
1404 860 /usr/local/lib/xemacs-19.13/lisp/utils 1416 860 /usr/local/lib/xemacs-19.13/lisp/utils
1405 851 /usr/local/lib/xemacs-19.13/lisp/vm 1417 851 /usr/local/lib/xemacs-19.13/lisp/vm
1406 13 /usr/local/lib/xemacs-19.13/lisp/vms 1418 13 /usr/local/lib/xemacs-19.13/lisp/vms
1407 157 /usr/local/lib/xemacs-19.13/lisp/x11 1419 157 /usr/local/lib/xemacs-19.13/lisp/x11
1408 19 /usr/local/lib/xemacs-19.13/lisp/tooltalk 1420 19 /usr/local/lib/xemacs-19.13/lisp/tooltalk
1409 14 /usr/local/lib/xemacs-19.13/lisp/sunpro 1421 14 /usr/local/lib/xemacs-19.13/lisp/sunpro
1410 291 /usr/local/lib/xemacs-19.13/lisp/games 1422 291 /usr/local/lib/xemacs-19.13/lisp/games
1411 198 /usr/local/lib/xemacs-19.13/lisp/edebug 1423 198 /usr/local/lib/xemacs-19.13/lisp/edebug
1412 619 /usr/local/lib/xemacs-19.13/lisp/w3 1424 619 /usr/local/lib/xemacs-19.13/lisp/w3
1413 229 /usr/local/lib/xemacs-19.13/lisp/eos 1425 229 /usr/local/lib/xemacs-19.13/lisp/eos
1414 55 /usr/local/lib/xemacs-19.13/lisp/iso 1426 55 /usr/local/lib/xemacs-19.13/lisp/iso
1415 59 /usr/local/lib/xemacs-19.13/lisp/mailcrypt 1427 59 /usr/local/lib/xemacs-19.13/lisp/mailcrypt
1416 187 /usr/local/lib/xemacs-19.13/lisp/eterm 1428 187 /usr/local/lib/xemacs-19.13/lisp/eterm
1417 356 /usr/local/lib/xemacs-19.13/lisp/ediff 1429 356 /usr/local/lib/xemacs-19.13/lisp/ediff
1418 408 /usr/local/lib/xemacs-19.13/lisp/hyperbole/kotl 1430 408 /usr/local/lib/xemacs-19.13/lisp/hyperbole/kotl
1419 1262 /usr/local/lib/xemacs-19.13/lisp/hyperbole 1431 1262 /usr/local/lib/xemacs-19.13/lisp/hyperbole
1420 247 /usr/local/lib/xemacs-19.13/lisp/hm--html-menus 1432 247 /usr/local/lib/xemacs-19.13/lisp/hm--html-menus
1421 161 /usr/local/lib/xemacs-19.13/lisp/mh-e 1433 161 /usr/local/lib/xemacs-19.13/lisp/mh-e
1422 299 /usr/local/lib/xemacs-19.13/lisp/viper 1434 299 /usr/local/lib/xemacs-19.13/lisp/viper
1423 53 /usr/local/lib/xemacs-19.13/lisp/oobr/tree-x 1435 53 /usr/local/lib/xemacs-19.13/lisp/oobr/tree-x
1424 4 /usr/local/lib/xemacs-19.13/lisp/oobr/tree-nx/English.lproj/DocWindow.nib 1436 4 /usr/local/lib/xemacs-19.13/lisp/oobr/tree-nx/English.lproj/DocWindow.nib
1425 3 /usr/local/lib/xemacs-19.13/lisp/oobr/tree-nx/English.lproj/InfoPanel.nib 1437 3 /usr/local/lib/xemacs-19.13/lisp/oobr/tree-nx/English.lproj/InfoPanel.nib
1426 3 /usr/local/lib/xemacs-19.13/lisp/oobr/tree-nx/English.lproj/TreeView.nib 1438 3 /usr/local/lib/xemacs-19.13/lisp/oobr/tree-nx/English.lproj/TreeView.nib
1427 11 /usr/local/lib/xemacs-19.13/lisp/oobr/tree-nx/English.lproj 1439 11 /usr/local/lib/xemacs-19.13/lisp/oobr/tree-nx/English.lproj
1428 53 /usr/local/lib/xemacs-19.13/lisp/oobr/tree-nx 1440 53 /usr/local/lib/xemacs-19.13/lisp/oobr/tree-nx
1429 466 /usr/local/lib/xemacs-19.13/lisp/oobr 1441 466 /usr/local/lib/xemacs-19.13/lisp/oobr
1430 14142 /usr/local/lib/xemacs-19.13/lisp 1442 14142 /usr/local/lib/xemacs-19.13/lisp
1431 @end format 1443 @end format
1432 1444
1433 These are all Emacs Lisp source code and bytecompiled object code. You 1445 These are all Emacs Lisp source code and bytecompiled object code. You
1434 may safely gzip everything named *.el here. You may remove any package 1446 may safely gzip everything named *.el here. You may remove any package
1435 you don't use. @emph{Nothing bad will happen if you delete a package 1447 you don't use. @emph{Nothing bad will happen if you delete a package
1451 @file{prim}, @file{modes}, @file{packages}, and @file{utils} are four 1463 @file{prim}, @file{modes}, @file{packages}, and @file{utils} are four
1452 directories you definitely do @strong{not} want to delete, although 1464 directories you definitely do @strong{not} want to delete, although
1453 certain packages can be removed from them if you do not use them. 1465 certain packages can be removed from them if you do not use them.
1454 1466
1455 @example 1467 @example
1456 1972 /usr/local/lib/xemacs-19.13/info 1468 1972 /usr/local/lib/xemacs-19.13/info
1457 @end example 1469 @end example
1458 1470
1459 These are online texinfo sources. You may either gzip them or remove 1471 These are online texinfo sources. You may either gzip them or remove
1460 them. In either case, @kbd{C-h i} (info mode) will no longer work. 1472 them. In either case, @kbd{C-h i} (info mode) will no longer work.
1461 1473
1462 @example 1474 @example
1463 20778 /usr/local/lib/xemacs-19.13 1475 20778 /usr/local/lib/xemacs-19.13
1464 @end example 1476 @end example
1465 1477
1466 The 20MB achieved is less than half of what the full distribution takes up, 1478 The 20MB achieved is less than half of what the full distribution takes up,
1467 @strong{and} can be achieved without deleting a single file. 1479 @strong{and} can be achieved without deleting a single file.
1468 @end quotation 1480 @end quotation
1554 @* 1566 @*
1555 @end iftex 1567 @end iftex
1556 Terminal type `xterm' undefined (or can't access database?) 1568 Terminal type `xterm' undefined (or can't access database?)
1557 @end example 1569 @end example
1558 1570
1559 @email{ben@@xemacs.org, Ben Wing} writes: 1571 @email{ben@@666.com, Ben Wing} writes:
1560 1572
1561 @quotation 1573 @quotation
1562 Your ncurses configuration is messed up. Your /usr/lib/terminfo is a 1574 Your ncurses configuration is messed up. Your /usr/lib/terminfo is a
1563 bad pointer, perhaps to a CD-ROM that is not inserted. 1575 bad pointer, perhaps to a CD-ROM that is not inserted.
1564 @end quotation 1576 @end quotation
1566 @node Q2.0.5, Q2.0.6, Q2.0.4, Installation 1578 @node Q2.0.5, Q2.0.6, Q2.0.4, Installation
1567 @unnumberedsubsec Q2.0.5: Do I need X11 to run XEmacs? 1579 @unnumberedsubsec Q2.0.5: Do I need X11 to run XEmacs?
1568 1580
1569 No. The name @dfn{XEmacs} is unfortunate in the sense that it is 1581 No. The name @dfn{XEmacs} is unfortunate in the sense that it is
1570 @strong{not} an X Window System-only version of Emacs. Starting with 1582 @strong{not} an X Window System-only version of Emacs. Starting with
1571 19.14 XEmacs has full color support on a color-capable character 1583 19.14 XEmacs has full color support on a color capable character
1572 terminal. 1584 terminal.
1573 1585
1574 @node Q2.0.6, Q2.0.7, Q2.0.5, Installation 1586 @node Q2.0.6, Q2.0.7, Q2.0.5, Installation
1575 @unnumberedsubsec Q2.0.6: I'm having strange crashes. What do I do? 1587 @unnumberedsubsec Q2.0.6: I'm having strange crashes. What do I do?
1576 1588
1608 @end iftex 1620 @end iftex
1609 @samp{h_errno^@@^@@}. Any version of Emacs will 1621 @samp{h_errno^@@^@@}. Any version of Emacs will
1610 suffice. If you don't understand how to do this, don't do it. 1622 suffice. If you don't understand how to do this, don't do it.
1611 1623
1612 @item 1624 @item
1613 Rebuild XEmacs yourself---any working ELF version of libc should be 1625 Rebuild XEmacs yourself -- any working ELF version of libc should be
1614 O.K. 1626 O.K.
1615 @end enumerate 1627 @end enumerate
1616 1628
1617 @email{hniksic@@xemacs.org, Hrvoje Niksic} writes: 1629 @email{hniksic@@srce.hr, Hrvoje Niksic} writes:
1618 1630
1619 @quotation 1631 @quotation
1620 Why not use a Perl one-liner for No. 2? 1632 Why not use a Perl one-liner for No. 2?
1621 1633
1622 @example 1634 @example
1733 The best solution is to compile it yourself; the configure script will 1745 The best solution is to compile it yourself; the configure script will
1734 check to see if you've put DNS in the shared libc and will then proceed 1746 check to see if you've put DNS in the shared libc and will then proceed
1735 to link against the DNS resolver library code. 1747 to link against the DNS resolver library code.
1736 @end quotation 1748 @end quotation
1737 1749
1738 @node Q2.0.12, Q2.1.1, Q2.0.11, Installation 1750 @node Q2.0.12, Q2.0.13, Q2.0.11, Installation
1739 @unnumberedsubsec Q2.0.12: Why can't I strip XEmacs? 1751 @unnumberedsubsec Q2.0.12: Why can't I strip XEmacs?
1740 1752
1741 @email{cognot@@fronsac.ensg.u-nancy.fr, Richard Cognot} writes: 1753 @email{cognot@@fronsac.ensg.u-nancy.fr, Richard Cognot} writes:
1742 1754
1743 @quotation 1755 @quotation
1788 @end iftex 1800 @end iftex
1789 /usr/local/lib/xemacs-19.16/i586-unknown-linuxaout 1801 /usr/local/lib/xemacs-19.16/i586-unknown-linuxaout
1790 @end enumerate 1802 @end enumerate
1791 @end quotation 1803 @end quotation
1792 1804
1793 @node Q2.1.1, Q2.1.2, Q2.0.12, Installation 1805 @node Q2.0.13, Q2.0.14, Q2.0.12, Installation
1806 @unnumberedsubsec Q2.0.13: Problems linking with Gcc on Solaris
1807
1808 There are known difficulties linking with Gnu ld on Solaris. A typical
1809 error message might look like:
1810
1811 @example
1812 unexec(): dlopen(../dynodump/dynodump.so): ld.so.1: ./temacs:
1813 fatal: relocation error:
1814 symbol not found: main: referenced in ../dynodump/dynodump.so
1815 @end example
1816
1817 @email{martin@@xemacs.org, Martin Buchholz} writes:
1818
1819 @quotation
1820 You need to specify @samp{-fno-gnu-linker} as part of your flags to pass
1821 to ld. Future releases of XEmacs will try to do this automatically.
1822 @end quotation
1823
1824 @node Q2.0.14, Q2.1.1, Q2.0.13, Installation
1825 @unnumberedsubsec Q2.0.14: Make on HP/UX 9 fails after linking temacs
1826
1827 Problem when building xemacs-19.16 on hpux 9:
1828
1829 @email{cognot@@ensg.u-nancy.fr, Richard Cognot} writes:
1830
1831 @quotation
1832 make on hpux fails after linking temacs with a message:
1833
1834 @example
1835 "make: don't know how to make .y."
1836 @end example
1837
1838 Solution: This is a problem with HP make revision 70.X. Either use GNU
1839 make, or install PHCO_6552, which will bring make to revision
1840 72.24.1.17.
1841 @end quotation
1842
1843
1844 @node Q2.1.1, Q2.1.2, Q2.0.14, Installation
1794 @unnumberedsec 2.1: Trouble Shooting 1845 @unnumberedsec 2.1: Trouble Shooting
1795 @unnumberedsubsec Q2.1.1: Help! XEmacs just crashed on me! 1846 @unnumberedsubsec Q2.1.1: Help! XEmacs just crashed on me!
1796 1847
1797 First of all, don't panic. Whenever XEmacs crashes, it tries extremely 1848 First of all, don't panic. Whenever XEmacs crashes, it tries extremely
1798 hard to auto-save all of your files before dying. (The main time that 1849 hard to auto-save all of your files before dying. (The main time that
2005 I think this is due to undefined resources; You need to define color 2056 I think this is due to undefined resources; You need to define color
2006 backgrounds and foregrounds into your @file{.../app-defaults/Emacs} 2057 backgrounds and foregrounds into your @file{.../app-defaults/Emacs}
2007 like: 2058 like:
2008 2059
2009 @example 2060 @example
2010 *Foreground: Black ;everything will be of black on grey95, 2061 *Foreground: Black ;everything will be of black on grey95,
2011 *Background: Grey95 ;unless otherwise specified. 2062 *Background: Grey95 ;unless otherwise specified.
2012 *cursorColor: Red3 ;red3 cursor with grey95 border. 2063 *cursorColor: Red3 ;red3 cursor with grey95 border.
2013 *pointerColor: Red3 ;red3 pointer with grey95 border. 2064 *pointerColor: Red3 ;red3 pointer with grey95 border.
2014 @end example 2065 @end example
2015 @end quotation 2066 @end quotation
2016 2067
2017 Natalie Kershaw adds: 2068 Natalie Kershaw adds:
2018 2069
2157 @end quotation 2208 @end quotation
2158 2209
2159 @node Q2.1.14, Q2.1.15, Q2.1.13, Installation 2210 @node Q2.1.14, Q2.1.15, Q2.1.13, Installation
2160 @unnumberedsubsec Q2.1.14: @kbd{C-g} doesn't work for me. Is it broken? 2211 @unnumberedsubsec Q2.1.14: @kbd{C-g} doesn't work for me. Is it broken?
2161 2212
2162 @email{ben@@xemacs.org, Ben Wing} writes: 2213 @email{ben@@666.com, Ben Wing} writes:
2163 2214
2164 @quotation 2215 @quotation
2165 @kbd{C-g} does work for most people in most circumstances. If it 2216 @kbd{C-g} does work for most people in most circumstances. If it
2166 doesn't, there are only two explanations: 2217 doesn't, there are only two explanations:
2167 2218
2252 disadvantages - it can only be used with a running xemacs process, and 2303 disadvantages - it can only be used with a running xemacs process, and
2253 it cannot display the internal C structure of a Lisp Object. Even if 2304 it cannot display the internal C structure of a Lisp Object. Even if
2254 all you've got is a core dump, all is not lost. 2305 all you've got is a core dump, all is not lost.
2255 2306
2256 If you're using GDB, there are some macros in the file 2307 If you're using GDB, there are some macros in the file
2257 @file{src/.gdbinit} in the XEmacs source distribution that should make 2308 @file{src/gdbinit} in the XEmacs source distribution that should make it
2258 it easier for you to decode Lisp objects. This file is automatically 2309 easier for you to decode Lisp objects. Copy this file to
2259 read by gdb if gdb is run in the directory where xemacs was built, and 2310 @file{~/.gdbinit}, or @code{source} it from @file{~/.gdbinit}, and use
2260 contains these useful macros to inspect the state of xemacs: 2311 the macros defined therein. In particular, use the @code{pobj} macro to
2261 2312 print the internal C representation of a lisp object. This will work
2262 @table @code 2313 with a core file or not-yet-run executable. The aliases @code{ldp} and
2263 @item pobj 2314 @code{lbt} are provided for conveniently calling @code{debug_print} and
2264 Usage: pobj lisp_object @* 2315 @code{debug_backtrace}.
2265 Print the internal C representation of a lisp object.
2266
2267 @item xtype
2268 Usage: xtype lisp_object @*
2269 Print the Lisp type of a lisp object.
2270
2271 @item lbt
2272 Usage: lbt @*
2273 Print the current Lisp stack trace.
2274 Requires a running xemacs process.
2275
2276 @item ldp
2277 Usage: ldp lisp_object @*
2278 Print a Lisp Object value using the Lisp printer.
2279 Requires a running xemacs process.
2280
2281 @item run-temacs
2282 Usage: run-temacs @*
2283 Run temacs interactively, like xemacs.
2284 Use this with debugging tools (like purify) that cannot deal with dumping,
2285 or when temacs builds successfully, but xemacs does not.
2286
2287 @item dump-temacs
2288 Usage: dump-temacs @*
2289 Run the dumping part of the build procedure.
2290 Use when debugging temacs, not xemacs!
2291 Use this when temacs builds successfully, but xemacs does not.
2292
2293 @item check-xemacs
2294 Usage: check-xemacs @*
2295 Run the test suite. Equivalent to 'make check'.
2296
2297 @item check-temacs
2298 Usage: check-temacs @*
2299 Run the test suite on temacs. Equivalent to 'make check-temacs'.
2300 Use this with debugging tools (like purify) that cannot deal with dumping,
2301 or when temacs builds successfully, but xemacs does not.
2302 @end table
2303 2316
2304 If you are using Sun's @file{dbx} debugger, there is an equivalent file 2317 If you are using Sun's @file{dbx} debugger, there is an equivalent file
2305 @file{src/.dbxrc}, which defines the same commands for dbx. 2318 @file{src/dbxrc} to copy to or source from @file{~/.dbxrc}.
2306 2319
2307 @item 2320 @item
2308 If you're using a debugger to get a C stack backtrace and you're seeing 2321 If you're using a debugger to get a C stack backtrace and you're seeing
2309 stack traces with some of the innermost frames mangled, it may be due to 2322 stack traces with some of the innermost frames mangled, it may be due to
2310 dynamic linking. (This happens especially under Linux.) Consider 2323 dynamic linking. (This happens especially under Linux.) Consider
2351 2364
2352 @end enumerate 2365 @end enumerate
2353 2366
2354 @item 2367 @item
2355 If you compile with the newer gcc variants gcc-2.8 or egcs, you will 2368 If you compile with the newer gcc variants gcc-2.8 or egcs, you will
2356 also need gdb 4.17 or above. Earlier releases of gdb can't handle the 2369 also need gdb 4.17. Earlier releases of gdb can't handle the debug
2357 debug information generated by the newer compilers. 2370 information generated by the newer compilers.
2358 2371
2359 @item 2372 @item
2360 In versions of XEmacs before 21.2.27, @file{src/.gdbinit} was named 2373 The above information on using @file{src/gdbinit} works for XEmacs-21.0
2361 @file{src/gdbinit}. This had the disadvantage of not being sourced 2374 and above. For older versions of XEmacs, there are different
2362 automatically by gdb, so you had to set that up yourself. 2375 @file{gdbinit} files provided in the @file{src} directory. Use the one
2376 corresponding to the configure options used when building XEmacs.
2363 2377
2364 @end itemize 2378 @end itemize
2365 2379
2366 @node Q2.1.16, Q2.1.17, Q2.1.15, Installation 2380 @node Q2.1.16, Q2.1.17, Q2.1.15, Installation
2367 @unnumberedsubsec Q2.1.16: XEmacs crashes in @code{strcat} on HP/UX 10 2381 @unnumberedsubsec Q2.1.16: XEmacs crashes in @code{strcat} on HP/UX 10
2368 2382
2369 From the problems database (through 2383 >From the problems database (through
2370 the former address http://support.mayfield.hp.com/): 2384 @uref{http://support.mayfield.hp.com/}):
2371 2385
2372 @example 2386 @example
2373 Problem Report: 5003302299 2387 Problem Report: 5003302299
2374 Status: Open 2388 Status: Open
2375 2389
2403 A problem with some early versions of Gnus 5.4 caused this error. 2417 A problem with some early versions of Gnus 5.4 caused this error.
2404 Upgrade your Gnus. 2418 Upgrade your Gnus.
2405 @end enumerate 2419 @end enumerate
2406 2420
2407 @node Q2.1.18, Q2.1.19, Q2.1.17, Installation 2421 @node Q2.1.18, Q2.1.19, Q2.1.17, Installation
2408 @unnumberedsubsec Q2.1.18: removed 2422 @unnumberedsubsec Q2.1.18: 19.14 hangs on HP/UX 10.10.
2423
2424 @email{cognot@@ensg.u-nancy.fr, Richard Cognot} writes:
2425
2426 @quotation
2427 For the record, compiling on hpux 10.10 leads to a hang in Gnus when
2428 compiled with optimization on.
2429
2430 I've just discovered that my hpux 10.01 binary was working less well
2431 than expected. In fact, on a 10.10 system, @code{(while t)} was not
2432 interrupted by @kbd{C-g}. I defined @code{BROKEN_SIGIO} and recompiled on
2433 10.10, and... the hang is now gone.
2434
2435 As far as configure goes, this will be a bit tricky: @code{BROKEN_SIGIO}
2436 is needed on 10.10, but @strong{not} on 10.01: if I run my 10.01 binary
2437 on a 10.01 machine, without @code{BROKEN_SIGIO} being defined, @kbd{C-g}
2438 works as expected.
2439 @end quotation
2440
2441 @email{cognot@@ensg.u-nancy.fr, Richard Cognot} adds:
2442
2443 @quotation
2444 Apparently somebody has found the reason why there is this
2445 @iftex
2446 @*
2447 @end iftex
2448 @samp{poll:
2449 interrupted...} message for each event. For some reason, libcurses
2450 reimplements a @code{select()} system call, in a highly broken fashion.
2451 The fix is to add a -lc to the link line @emph{before} the
2452 -lxcurses. XEmacs will then use the right version of @code{select()}.
2453 @end quotation
2454
2455
2456 @email{af@@biomath.jussieu.fr, Alain Fauconnet} writes:
2457
2458 @quotation
2459 The @emph{real} solution is to @emph{not} link -lcurses in! I just
2460 changed -lcurses to -ltermcap in the Makefile and it fixed:
2461
2462 @enumerate
2463 @item
2464 The @samp{poll: interrupted system call} message.
2465
2466 @item
2467 A more serious problem I had discovered in the meantime, that is the
2468 fact that subprocess handling was seriously broken: subprocesses
2469 e.g. started by AUC TeX for TeX compilation of a buffer would
2470 @emph{hang}. Actually they would wait forever for emacs to read the
2471 socket which connects stdout...
2472 @end enumerate
2473 @end quotation
2409 2474
2410 @node Q2.1.19, Q2.1.20, Q2.1.18, Installation 2475 @node Q2.1.19, Q2.1.20, Q2.1.18, Installation
2411 @unnumberedsubsec Q2.1.19: XEmacs does not follow the local timezone. 2476 @unnumberedsubsec Q2.1.19: XEmacs does not follow the local timezone.
2412 2477
2413 When using one of the prebuilt binaries many users have observed that 2478 When using one of the prebuilt binaries many users have observed that
2431 @end lisp 2496 @end lisp
2432 2497
2433 where you load hyperbole and the problem should go away. 2498 where you load hyperbole and the problem should go away.
2434 2499
2435 @node Q2.1.21, Q2.1.22, Q2.1.20, Installation 2500 @node Q2.1.21, Q2.1.22, Q2.1.20, Installation
2436 @unnumberedsubsec Q2.1.21: [This question intentionally left blank] 2501 @unnumberedsubsec Q2.1.21: Every so often the XEmacs frame freezes
2502
2503 This problem has been fixed in 19.15, and was due to a not easily
2504 reproducible race condition.
2437 2505
2438 @node Q2.1.22, Q2.1.23, Q2.1.21, Installation 2506 @node Q2.1.22, Q2.1.23, Q2.1.21, Installation
2439 @unnumberedsubsec Q2.1.22: XEmacs seems to take a really long time to do some things 2507 @unnumberedsubsec Q2.1.22: XEmacs seems to take a really long time to do some things
2440 2508
2441 @email{dmoore@@ucsd.edu, David Moore} writes: 2509 @email{dmoore@@ucsd.edu, David Moore} writes:
2468 2536
2469 debug-on-quit doesn't work if something's turned on inhibit-quit or in 2537 debug-on-quit doesn't work if something's turned on inhibit-quit or in
2470 some other strange cases. 2538 some other strange cases.
2471 @end quotation 2539 @end quotation
2472 2540
2473 @node Q2.1.23, Q2.1.24, Q2.1.22, Installation 2541 @node Q2.1.23, , Q2.1.22, Installation
2474 @unnumberedsubsec Q2.1.23: Movemail on Linux does not work for XEmacs 19.15 and later. 2542 @unnumberedsubsec Q2.1.23: Movemail on Linux does not work for XEmacs 19.15 and later.
2475 2543
2476 Movemail used to work fine in 19.14 but has stopped working in 19.15 2544 Movemail used to work fine in 19.14 but has stopped working in 19.15
2477 and 20.x. I am using Linux. 2545 and 20.x. I am using Linux.
2478 2546
2486 2554
2487 @example 2555 @example
2488 #define MAIL_USE_FLOCK 2556 #define MAIL_USE_FLOCK
2489 @end example 2557 @end example
2490 @end quotation 2558 @end quotation
2491
2492 @node Q2.1.24, , Q2.1.23, Installation
2493 @unnumberedsubsec Q2.1.24: XEmacs won't start without network. (NEW)
2494
2495 If XEmacs starts when you're on the network, but fails when you're not
2496 on the network, you may be missing a "localhost" entry in your
2497 @file{/etc/hosts} file. The file should contain an entry like:
2498
2499 @example
2500 127.0.0.1 localhost
2501 @end example
2502
2503 Add that line, and XEmacs will be happy.
2504 2559
2505 @node Customization, Subsystems, Installation, Top 2560 @node Customization, Subsystems, Installation, Top
2506 @unnumbered 3 Customization and Options 2561 @unnumbered 3 Customization and Options
2507 2562
2508 This is part 3 of the XEmacs Frequently Asked Questions list. This 2563 This is part 3 of the XEmacs Frequently Asked Questions list. This
2521 * Q3.0.9:: What is @code{Customize}? 2576 * Q3.0.9:: What is @code{Customize}?
2522 2577
2523 X Window System & Resources: 2578 X Window System & Resources:
2524 * Q3.1.1:: Where is a list of X resources? 2579 * Q3.1.1:: Where is a list of X resources?
2525 * Q3.1.2:: How can I detect a color display? 2580 * Q3.1.2:: How can I detect a color display?
2526 * Q3.1.3:: [This question intentionally left blank] 2581 * Q3.1.3:: @code{(set-screen-width)} worked in 19.6, but not in 19.13?
2527 * Q3.1.4:: [This question intentionally left blank] 2582 * Q3.1.4:: Specifying @code{Emacs*EmacsScreen.geometry} in @file{.emacs} does not work in 19.15?
2528 * Q3.1.5:: How can I get the icon to just say @samp{XEmacs}? 2583 * Q3.1.5:: How can I get the icon to just say @samp{XEmacs}?
2529 * Q3.1.6:: How can I have the window title area display the full path? 2584 * Q3.1.6:: How can I have the window title area display the full path?
2530 * Q3.1.7:: @samp{xemacs -name junk} doesn't work? 2585 * Q3.1.7:: @samp{xemacs -name junk} doesn't work?
2531 * Q3.1.8:: @samp{-iconic} doesn't work. 2586 * Q3.1.8:: @samp{-iconic} doesn't work.
2532 2587
2735 (setq initial-frame-plist '(minibuffer nil)) 2790 (setq initial-frame-plist '(minibuffer nil))
2736 (setq default-frame-plist '(minibuffer nil)) 2791 (setq default-frame-plist '(minibuffer nil))
2737 (setq default-minibuffer-frame 2792 (setq default-minibuffer-frame
2738 (make-frame 2793 (make-frame
2739 '(minibuffer only 2794 '(minibuffer only
2740 width 86 2795 width 86
2741 height 1 2796 height 1
2742 menubar-visible-p nil 2797 menubar-visible-p nil
2743 default-toolbar-visible-p nil 2798 default-toolbar-visible-p nil
2744 name "minibuffer" 2799 name "minibuffer"
2745 top -2 2800 top -2
2746 left -2 2801 left -2
2747 has-modeline-p nil))) 2802 has-modeline-p nil)))
2748 (frame-notice-user-settings) 2803 (frame-notice-user-settings)
2749 @end lisp 2804 @end lisp
2750 2805
2751 @strong{Please note:} The single minibuffer frame may not be to everyone's 2806 @strong{Please note:} The single minibuffer frame may not be to everyone's
2752 taste, and there any number of other XEmacs options settings that may 2807 taste, and there any number of other XEmacs options settings that may
2794 .... 2849 ....
2795 ) 2850 )
2796 @end lisp 2851 @end lisp
2797 2852
2798 @node Q3.1.3, Q3.1.4, Q3.1.2, Customization 2853 @node Q3.1.3, Q3.1.4, Q3.1.2, Customization
2799 @unnumberedsubsec Q3.1.3: [This question intentionally left blank] 2854 @unnumberedsubsec Q3.1.3: @code{(set-screen-width)} worked in 19.6, but not in 19.13?
2855
2856 In Lucid Emacs 19.6 I did @code{(set-screen-width @var{characters})} and
2857 @code{(set-screen-height @var{lines})} in my @file{.emacs} instead of
2858 specifying @code{Emacs*EmacsScreen.geometry} in my
2859 @iftex
2860 @*
2861 @end iftex
2862 @file{.Xdefaults} but
2863 this does not work in XEmacs 19.13.
2864
2865 These two functions now take frame arguments:
2866
2867 @lisp
2868 (set-frame-width (selected-frame) @var{characters})
2869 (set-frame-height (selected-frame) @var{lines})
2870 @end lisp
2800 2871
2801 @node Q3.1.4, Q3.1.5, Q3.1.3, Customization 2872 @node Q3.1.4, Q3.1.5, Q3.1.3, Customization
2802 @unnumberedsubsec Q3.1.4: [This question intentionally left blank] 2873 @unnumberedsubsec Q3.1.4: Specifying @code{Emacs*EmacsScreen.geometry} in @file{.emacs} does not work in 19.15?
2874
2875 In XEmacs 19.11 I specified @code{Emacs*EmacsScreen.geometry} in
2876 my @file{.emacs} but this does not work in XEmacs 19.15.
2877
2878 We have switched from using the term @dfn{screen} to using the term
2879 @dfn{frame}.
2880
2881 The correct entry for your @file{.Xdefaults} is now:
2882
2883 @example
2884 Emacs*EmacsFrame.geometry
2885 @end example
2803 2886
2804 @node Q3.1.5, Q3.1.6, Q3.1.4, Customization 2887 @node Q3.1.5, Q3.1.6, Q3.1.4, Customization
2805 @unnumberedsubsec Q3.1.5: How can I get the icon to just say @samp{XEmacs}? 2888 @unnumberedsubsec Q3.1.5: How can I get the icon to just say @samp{XEmacs}?
2806 2889
2807 I'd like the icon to just say @samp{XEmacs}, and not include the name of 2890 I'd like the icon to just say @samp{XEmacs}, and not include the name of
2828 A more sophisticated title might be: 2911 A more sophisticated title might be:
2829 2912
2830 @lisp 2913 @lisp
2831 (setq frame-title-format 2914 (setq frame-title-format
2832 '("%S: " (buffer-file-name "%f" 2915 '("%S: " (buffer-file-name "%f"
2833 (dired-directory dired-directory "%b")))) 2916 (dired-directory dired-directory "%b"))))
2834 @end lisp 2917 @end lisp
2835 2918
2836 That is, use the file name, or the dired-directory, or the buffer name. 2919 That is, use the file name, or the dired-directory, or the buffer name.
2837 2920
2838 @node Q3.1.7, Q3.1.8, Q3.1.6, Customization 2921 @node Q3.1.7, Q3.1.8, Q3.1.6, Customization
2891 2974
2892 When I start up XEmacs using @samp{-iconic} it doesn't work right. 2975 When I start up XEmacs using @samp{-iconic} it doesn't work right.
2893 Using @samp{-unmapped} on the command line, and setting the 2976 Using @samp{-unmapped} on the command line, and setting the
2894 @code{initiallyUnmapped} X Resource don't seem to help much either... 2977 @code{initiallyUnmapped} X Resource don't seem to help much either...
2895 2978
2896 @email{ben@@xemacs.org, Ben Wing} writes: 2979 @email{ben@@666.com, Ben Wing} writes:
2897 2980
2898 @quotation 2981 @quotation
2899 Ugh, this stuff is such an incredible mess that I've about given up 2982 Ugh, this stuff is such an incredible mess that I've about given up
2900 getting it to work. The principal problem is numerous window-manager 2983 getting it to work. The principal problem is numerous window-manager
2901 bugs... 2984 bugs...
2912 2995
2913 @lisp 2996 @lisp
2914 (set-face-background 'default "bisque") ; frame background 2997 (set-face-background 'default "bisque") ; frame background
2915 (set-face-foreground 'default "black") ; normal text 2998 (set-face-foreground 'default "black") ; normal text
2916 (set-face-background 'zmacs-region "red") ; When selecting w/ 2999 (set-face-background 'zmacs-region "red") ; When selecting w/
2917 ; mouse 3000 ; mouse
2918 (set-face-foreground 'zmacs-region "yellow") 3001 (set-face-foreground 'zmacs-region "yellow")
2919 (set-face-font 'default "*courier-bold-r*120-100-100*") 3002 (set-face-font 'default "*courier-bold-r*120-100-100*")
2920 (set-face-background 'highlight "blue") ; Ie when selecting 3003 (set-face-background 'highlight "blue") ; Ie when selecting
2921 ; buffers 3004 ; buffers
2922 (set-face-foreground 'highlight "yellow") 3005 (set-face-foreground 'highlight "yellow")
2923 (set-face-background 'modeline "blue") ; Line at bottom 3006 (set-face-background 'modeline "blue") ; Line at bottom
2924 ; of buffer 3007 ; of buffer
2925 (set-face-foreground 'modeline "white") 3008 (set-face-foreground 'modeline "white")
2926 (set-face-font 'modeline "*bold-r-normal*140-100-100*") 3009 (set-face-font 'modeline "*bold-r-normal*140-100-100*")
2927 (set-face-background 'isearch "yellow") ; When highlighting 3010 (set-face-background 'isearch "yellow") ; When highlighting
2928 ; while searching 3011 ; while searching
2929 (set-face-foreground 'isearch "red") 3012 (set-face-foreground 'isearch "red")
2930 (setq x-pointer-foreground-color "black") ; Adds to bg color, 3013 (setq x-pointer-foreground-color "black") ; Adds to bg color,
2931 ; so keep black 3014 ; so keep black
2932 (setq x-pointer-background-color "blue") ; This is color 3015 (setq x-pointer-background-color "blue") ; This is color
2933 ; you really 3016 ; you really
2934 ; want ptr/crsr 3017 ; want ptr/crsr
2935 @end lisp 3018 @end lisp
2936 3019
2937 @node Q3.2.2, Q3.2.3, Q3.2.1, Customization 3020 @node Q3.2.2, Q3.2.3, Q3.2.1, Customization
2938 @unnumberedsubsec Q3.2.2: How do I set the text, menu and modeline fonts? 3021 @unnumberedsubsec Q3.2.2: How do I set the text, menu and modeline fonts?
2939 3022
3034 3117
3035 and so on. You can also do this interactively via @kbd{M-x edit-faces}. 3118 and so on. You can also do this interactively via @kbd{M-x edit-faces}.
3036 3119
3037 @end quotation 3120 @end quotation
3038 3121
3122 @unnumberedsec 3.3: The Modeline
3039 @node Q3.3.1, Q3.3.2, Q3.2.6, Customization 3123 @node Q3.3.1, Q3.3.2, Q3.2.6, Customization
3040 @unnumberedsec 3.3: The Modeline
3041 @unnumberedsubsec Q3.3.1: How can I make the modeline go away? 3124 @unnumberedsubsec Q3.3.1: How can I make the modeline go away?
3042 3125
3043 @lisp 3126 @lisp
3044 (set-specifier has-modeline-p nil) 3127 (set-specifier has-modeline-p nil)
3045 @end lisp 3128 @end lisp
3105 Or just add a hook to @code{TeX-mode-hook} to turn it off only for TeX 3188 Or just add a hook to @code{TeX-mode-hook} to turn it off only for TeX
3106 mode: 3189 mode:
3107 3190
3108 @lisp 3191 @lisp
3109 (add-hook 'TeX-mode-hook 3192 (add-hook 'TeX-mode-hook
3110 '(lambda () (setq fume-display-in-modeline-p nil))) 3193 '(lambda () (setq fume-display-in-modeline-p nil)))
3111 @end lisp 3194 @end lisp
3112 3195
3113 @email{dhughes@@origin-at.co.uk, David Hughes} writes: 3196 @email{dhughes@@origin-at.co.uk, David Hughes} writes:
3114 3197
3115 @quotation 3198 @quotation
3220 For the FAQ example you could use: 3303 For the FAQ example you could use:
3221 3304
3222 @lisp 3305 @lisp
3223 (global-set-key [(control ?.)] 3306 (global-set-key [(control ?.)]
3224 (lambda () (interactive) (scroll-up 1))) 3307 (lambda () (interactive) (scroll-up 1)))
3225 (global-set-key [(control ?;)] 3308 (global-set-key [(control ? ;)]
3226 (lambda () (interactive) (scroll-up -1))) 3309 (lambda () (interactive) (scroll-up -1)))
3227 @end lisp 3310 @end lisp
3228 3311
3229 This is fine if you only need a few functions within the lambda body. 3312 This is fine if you only need a few functions within the lambda body.
3230 If you're doing more it's cleaner to define a separate function as in 3313 If you're doing more it's cleaner to define a separate function as in
3231 question 3.5.3 (@pxref{Q3.5.3}). 3314 question 3.5.3 (@pxref{Q3.5.3}).
3255 (defun scroll-down-one-line () 3338 (defun scroll-down-one-line ()
3256 (interactive) 3339 (interactive)
3257 (scroll-down 1)) 3340 (scroll-down 1))
3258 3341
3259 (global-set-key [(control ?.)] 'scroll-up-one-line) ; C-. 3342 (global-set-key [(control ?.)] 'scroll-up-one-line) ; C-.
3260 (global-set-key [(control ?;)] 'scroll-down-one-line) ; C-; 3343 (global-set-key [(control ? ;)] 'scroll-down-one-line) ; C-;
3261 @end lisp 3344 @end lisp
3262 3345
3263 The key point is that you can only bind simple functions to keys; you 3346 The key point is that you can only bind simple functions to keys; you
3264 can not bind a key to a function that you're also passing arguments to. 3347 can not bind a key to a function that you're also passing arguments to.
3265 (@pxref{Q3.5.1} for a better answer). 3348 (@pxref{Q3.5.1} for a better answer).
3372 Generally, the simplest way is to define a key as Multi_key with 3455 Generally, the simplest way is to define a key as Multi_key with
3373 xmodmap, e.g. 3456 xmodmap, e.g.
3374 @c hey, show some respect, willya -- there's xkeycaps, isn't there? -- 3457 @c hey, show some respect, willya -- there's xkeycaps, isn't there? --
3375 @c chr ;) 3458 @c chr ;)
3376 @example 3459 @example
3377 xmodmap -e 'keycode 0xff20 = Multi_key' 3460 xmodmap -e 'keycode 0xff20 = Multi_key'
3378 @end example 3461 @end example
3379 3462
3380 You will need to pick an appropriate keycode. Use xev to find out the 3463 You will need to pick an appropriate keycode. Use xev to find out the
3381 keycodes for each key. 3464 keycodes for each key.
3382 3465
3383 [NB: On a `Windows' keyboard, recent versions of XFree86 automatically 3466 [NB: On a `Windows' keyboard, recent versions of XFree86 automatically
3384 define the right `Windows' key as Multi_key'.] 3467 define the right `Windows' key as Multi_key'.]
3385 3468
3386 Once you have Multi_key defined, you can use e.g. 3469 Once you have Multi_key defined, you can use e.g.
3387 @example 3470 @example
3388 Multi a ' => á 3471 Multi a ' => á
3389 Multi e " => ë 3472 Multi e " => ë
3390 Multi c , => ç 3473 Multi c , => ç
3391 @end example 3474 @end example
3392 3475
3393 etc. 3476 etc.
3394 3477
3395 Also, recent versions of XFree86 define various AltGr-<key> 3478 Also, recent versions of XFree86 define various AltGr-<key>
3396 combinations as dead keys, i.e. 3479 combinations as dead keys, i.e.
3397 @example 3480 @example
3398 AltGr [ => dead_diaeresis 3481 AltGr [ => dead_diaeresis
3399 AltGr ] => dead_tilde 3482 AltGr ] => dead_tilde
3400 AltGr ; => dead_acute 3483 AltGr ; => dead_acute
3401 @end example 3484 @end example
3402 etc. 3485 etc.
3403 3486
3404 Running @samp{xmodmap -pk} will list all of the defined keysyms. 3487 Running @samp{xmodmap -pk} will list all of the defined keysyms.
3405 @end quotation 3488 @end quotation
3455 Yes, with @code{(setq modifier-keys-are-sticky t)}. This will give the 3538 Yes, with @code{(setq modifier-keys-are-sticky t)}. This will give the
3456 effect of being able to press and release Shift and have the next 3539 effect of being able to press and release Shift and have the next
3457 character typed come out in upper case. This will affect all the other 3540 character typed come out in upper case. This will affect all the other
3458 modifier keys like Control and Meta as well. 3541 modifier keys like Control and Meta as well.
3459 3542
3460 @email{ben@@xemacs.org, Ben Wing} writes: 3543 @email{ben@@666.com, Ben Wing} writes:
3461 3544
3462 @quotation 3545 @quotation
3463 One thing about the sticky modifiers is that if you move the mouse out 3546 One thing about the sticky modifiers is that if you move the mouse out
3464 of the frame and back in, it cancels all currently ``stuck'' modifiers. 3547 of the frame and back in, it cancels all currently ``stuck'' modifiers.
3465 @end quotation 3548 @end quotation
3515 @kbd{M-x customize @key{RET} display @key{RET}}. 3598 @kbd{M-x customize @key{RET} display @key{RET}}.
3516 3599
3517 You can use a color to make it stand out better: 3600 You can use a color to make it stand out better:
3518 3601
3519 @example 3602 @example
3520 Emacs*cursorColor: Red 3603 Emacs*cursorColor: Red
3521 @end example 3604 @end example
3522 3605
3523 @node Q3.6.2, Q3.6.3, Q3.6.1, Customization 3606 @node Q3.6.2, Q3.6.3, Q3.6.1, Customization
3524 @unnumberedsubsec Q3.6.2: Is there a way to get back the block cursor? 3607 @unnumberedsubsec Q3.6.2: Is there a way to get back the block cursor?
3525 3608
3889 You want to use something called @dfn{pending delete}. Pending delete 3972 You want to use something called @dfn{pending delete}. Pending delete
3890 is what happens when you select a region (with the mouse or keyboard) 3973 is what happens when you select a region (with the mouse or keyboard)
3891 and you press a key to replace the selected region by the key you typed. 3974 and you press a key to replace the selected region by the key you typed.
3892 Usually backspace kills the selected region. 3975 Usually backspace kills the selected region.
3893 3976
3894 To get this behavior, add the following lines to your @file{.emacs}: 3977 To get this behavior, add the following line to your @file{.emacs}:
3895 3978
3896 @lisp 3979 @lisp
3897 (cond 3980 (turn-on-pending-delete)
3898 ((fboundp 'turn-on-pending-delete) 3981 @end lisp
3899 (turn-on-pending-delete)) 3982
3900 ((fboundp 'pending-delete-on) 3983 Note that this will work with both Backspace and Delete.
3901 (pending-delete-on t)))
3902 @end lisp
3903
3904 Note that this will work with both Backspace and Delete. This code is a
3905 tad more complicated than it has to be for XEmacs in order to make it
3906 more portable.
3907 3984
3908 @node Q3.10.3, Q3.10.4, Q3.10.2, Customization 3985 @node Q3.10.3, Q3.10.4, Q3.10.2, Customization
3909 @unnumberedsubsec Q3.10.3: Can I turn off the highlight during isearch? 3986 @unnumberedsubsec Q3.10.3: Can I turn off the highlight during isearch?
3910 3987
3911 I do not like my text highlighted while I am doing isearch as I am not 3988 I do not like my text highlighted while I am doing isearch as I am not
3948 @lisp 4025 @lisp
3949 (defadvice scroll-up (around scroll-up freeze) 4026 (defadvice scroll-up (around scroll-up freeze)
3950 (interactive "_P") 4027 (interactive "_P")
3951 (let ((zmacs-region-stays t)) 4028 (let ((zmacs-region-stays t))
3952 (if (interactive-p) 4029 (if (interactive-p)
3953 (condition-case nil 4030 (condition-case nil
3954 ad-do-it 4031 ad-do-it
3955 (end-of-buffer (goto-char (point-max)))) 4032 (end-of-buffer (goto-char (point-max))))
3956 ad-do-it))) 4033 ad-do-it)))
3957 4034
3958 (defadvice scroll-down (around scroll-down freeze) 4035 (defadvice scroll-down (around scroll-down freeze)
3959 (interactive "_P") 4036 (interactive "_P")
3960 (let ((zmacs-region-stays t)) 4037 (let ((zmacs-region-stays t))
3961 (if (interactive-p) 4038 (if (interactive-p)
3962 (condition-case nil 4039 (condition-case nil
3963 ad-do-it 4040 ad-do-it
3964 (beginning-of-buffer (goto-char (point-min)))) 4041 (beginning-of-buffer (goto-char (point-min))))
3965 ad-do-it))) 4042 ad-do-it)))
3966 @end lisp 4043 @end lisp
3967 4044
3968 Thanks to @email{raman@@adobe.com, T. V. Raman} for assistance in deriving this 4045 Thanks to @email{raman@@adobe.com, T. V. Raman} for assistance in deriving this
3969 answer. 4046 answer.
4007 * Q4.3.4:: Movemail is also distributed by Netscape? Can that cause problems? 4084 * Q4.3.4:: Movemail is also distributed by Netscape? Can that cause problems?
4008 * Q4.3.5:: Where do I find pstogif (required by tm)? 4085 * Q4.3.5:: Where do I find pstogif (required by tm)?
4009 4086
4010 Sparcworks, EOS, and WorkShop: 4087 Sparcworks, EOS, and WorkShop:
4011 * Q4.4.1:: What is SPARCworks, EOS, and WorkShop 4088 * Q4.4.1:: What is SPARCworks, EOS, and WorkShop
4012 * Q4.4.2:: How do I start the Sun Workshop support in XEmacs 21?
4013 4089
4014 Energize: 4090 Energize:
4015 * Q4.5.1:: What is/was Energize? 4091 * Q4.5.1:: What is/was Energize?
4016 4092
4017 Infodock: 4093 Infodock:
4018 * Q4.6.1:: What is Infodock? 4094 * Q4.6.1:: What is Infodock?
4019 4095
4020 Other Unbundled Packages: 4096 Other Unbundled Packages:
4021 * Q4.7.1:: What is AUC TeX? Where do you get it? 4097 * Q4.7.1:: What is AUC TeX? Where do you get it?
4022 * Q4.7.2:: Are there any Emacs Lisp Spreadsheets? 4098 * Q4.7.2:: Are there any Emacs Lisp Spreadsheets?
4023 * Q4.7.3:: [This question intentionally left blank] 4099 * Q4.7.3:: Byte compiling AUC TeX on XEmacs 19.14
4024 * Q4.7.4:: Problems installing AUC TeX 4100 * Q4.7.4:: Problems installing AUC TeX
4025 * Q4.7.5:: Is there a reason for an Emacs package not to be included in XEmacs? 4101 * Q4.7.5:: Is there a reason for an Emacs package not to be included in XEmacs?
4026 * Q4.7.6:: Is there a MatLab mode? 4102 * Q4.7.6:: Is there a MatLab mode?
4027 @end menu 4103 @end menu
4028 4104
4087 Set @code{vm-reply-ignored-addresses} to a list, like 4163 Set @code{vm-reply-ignored-addresses} to a list, like
4088 4164
4089 @lisp 4165 @lisp
4090 (setq vm-reply-ignored-addresses 4166 (setq vm-reply-ignored-addresses
4091 '("wing@@nuspl@@nvwls.cc.purdue.edu,netcom[0-9]*.netcom.com" 4167 '("wing@@nuspl@@nvwls.cc.purdue.edu,netcom[0-9]*.netcom.com"
4092 "wing@@netcom.com" "wing@@xemacs.org")) 4168 "wing@@netcom.com" "wing@@666.com"))
4093 @end lisp 4169 @end lisp
4094 4170
4095 Note that each string is a regular expression. 4171 Note that each string is a regular expression.
4096 4172
4097 @node Q4.0.7, Q4.0.8, Q4.0.6, Subsystems 4173 @node Q4.0.7, Q4.0.8, Q4.0.6, Subsystems
4194 4270
4195 John.@email{Cooper@@Eng.Sun.COM, John S Cooper} writes: 4271 John.@email{Cooper@@Eng.Sun.COM, John S Cooper} writes:
4196 4272
4197 @quotation 4273 @quotation
4198 @lisp 4274 @lisp
4199 ; Don't use multiple frames 4275 ; Don't use multiple frames
4200 (setq vm-frame-per-composition nil) 4276 (setq vm-frame-per-composition nil)
4201 (setq vm-frame-per-folder nil) 4277 (setq vm-frame-per-folder nil)
4202 (setq vm-frame-per-edit nil) 4278 (setq vm-frame-per-edit nil)
4203 (setq vm-frame-per-summary nil) 4279 (setq vm-frame-per-summary nil)
4204 @end lisp 4280 @end lisp
4209 @c Changed June 4285 @c Changed June
4210 For mh-e use the following: 4286 For mh-e use the following:
4211 4287
4212 @lisp 4288 @lisp
4213 (add-hook 'mh-show-mode-hook '(lambda () 4289 (add-hook 'mh-show-mode-hook '(lambda ()
4214 (smiley-region (point-min) 4290 (smiley-region (point-min)
4215 (point-max)))) 4291 (point-max))))
4216 @end lisp 4292 @end lisp
4217 4293
4218 @email{bill@@carpenter.ORG, WJCarpenter} writes: 4294 @email{bill@@carpenter.ORG, WJCarpenter} writes:
4219 For VM use the following: 4295 For VM use the following:
4391 @item MIME extenders for mh-e, GNUS, RMAIL and VM. 4467 @item MIME extenders for mh-e, GNUS, RMAIL and VM.
4392 @end itemize 4468 @end itemize
4393 4469
4394 tm is available from following anonymous ftp sites: 4470 tm is available from following anonymous ftp sites:
4395 @itemize @bullet 4471 @itemize @bullet
4396 @comment @item @uref{ftp://ftp.jaist.ac.jp/pub/GNU/elisp/mime/} (Japan). 4472 @item @uref{ftp://ftp.jaist.ac.jp/pub/GNU/elisp/mime/} (Japan).
4397 @comment @item @uref{ftp://ftp.nis.co.jp/pub/gnu/emacs-lisp/tm/} (Japan). 4473 @item @uref{ftp://ftp.nis.co.jp/pub/gnu/emacs-lisp/tm/} (Japan).
4398 @comment @c The host above is unknown. 4474 @c The host above is unknown.
4399 @comment @item @uref{ftp://ftp.nisiq.net/pub/gnu/emacs-lisp/tm/} (US). 4475
4400 @comment @item @uref{ftp://ftp.miranova.com/pub/gnus/jaist.ac.jp/} (US). 4476 @item @uref{ftp://ftp.nisiq.net/pub/gnu/emacs-lisp/tm/} (US).
4477 @item @uref{ftp://ftp.miranova.com/pub/gnus/jaist.ac.jp/} (US).
4401 @item @uref{ftp://ftp.unicamp.br/pub/mail/mime/tm/} (Brasil). 4478 @item @uref{ftp://ftp.unicamp.br/pub/mail/mime/tm/} (Brasil).
4402 @item @uref{ftp://ftp.th-darmstadt.de/pub/editors/GNU-Emacs/lisp/mime/} (Germany). 4479 @item @uref{ftp://ftp.th-darmstadt.de/pub/editors/GNU-Emacs/lisp/mime/} (Germany).
4403 @item @uref{ftp://ftp.tnt.uni-hannover.de/pub/editors/xemacs/contrib/} (Germany). 4480 @item @uref{ftp://ftp.tnt.uni-hannover.de/pub/editors/xemacs/contrib/} (Germany).
4404 @end itemize 4481 @end itemize
4405 4482
4408 trivial to use. 4485 trivial to use.
4409 4486
4410 @node Q4.3.3, Q4.3.4, Q4.3.2, Subsystems 4487 @node Q4.3.3, Q4.3.4, Q4.3.2, Subsystems
4411 @unnumberedsubsec Q4.3.3: Why isn't this @code{movemail} program working? 4488 @unnumberedsubsec Q4.3.3: Why isn't this @code{movemail} program working?
4412 4489
4413 Ben Wing @email{ben@@xemacs.org} writes: 4490 Ben Wing @email{ben@@666.com} writes:
4414 4491
4415 @quotation 4492 @quotation
4416 It wasn't chown'ed/chmod'd correctly. 4493 It wasn't chown'ed/chmod'd correctly.
4417 @end quotation 4494 @end quotation
4418 4495
4419 @node Q4.3.4, Q4.3.5, Q4.3.3, Subsystems 4496 @node Q4.3.4, Q4.3.5, Q4.3.3, Subsystems
4420 @unnumberedsubsec Q4.3.4: Movemail is also distributed by Netscape? Can that cause problems? 4497 @unnumberedsubsec Q4.3.4: Movemail is also distributed by Netscape? Can that cause problems?
4421 4498
4422 @email{steve@@xemacs.org, Steve Baur} writes: 4499 @email{steve@@altair.xemacs.org, Steve Baur} writes:
4423 4500
4424 @quotation 4501 @quotation
4425 Yes. Always use the movemail installed with your XEmacs. Failure to do 4502 Yes. Always use the movemail installed with your XEmacs. Failure to do
4426 so can result in lost mail. 4503 so can result in lost mail.
4427 @end quotation 4504 @end quotation
4428 4505
4429 Please refer to @email{jwz@@jwz.org, Jamie Zawinski's} notes at 4506 Please refer to @email{jwz@@netscape.com, Jamie Zawinski's} notes at
4430 @iftex 4507 @iftex
4431 @* 4508 @*
4432 @end iftex 4509 @end iftex
4433 @uref{http://home.netscape.com/eng/mozilla/2.0/relnotes/demo/movemail.html}. 4510 @uref{http://home.netscape.com/eng/mozilla/2.0/relnotes/demo/movemail.html}.
4434 In particular, this document will show you how to make Netscape use the 4511 In particular, this document will show you how to make Netscape use the
4460 @iftex 4537 @iftex
4461 @* 4538 @*
4462 @end iftex 4539 @end iftex
4463 @uref{ftp://ftp.cdrom.com/pub/tex/ctan/support/latex2html/}. 4540 @uref{ftp://ftp.cdrom.com/pub/tex/ctan/support/latex2html/}.
4464 4541
4465 @node Q4.4.1, Q4.4.2, Q4.3.5, Subsystems 4542 @node Q4.4.1, Q4.5.1, Q4.3.5, Subsystems
4466 @unnumberedsec 4.4: Sparcworks, EOS, and WorkShop 4543 @unnumberedsec 4.4: Sparcworks, EOS, and WorkShop
4467 @unnumberedsubsec Q4.4.1: What is SPARCworks, EOS, and WorkShop? 4544 @unnumberedsubsec Q4.4.1: What is SPARCworks, EOS, and WorkShop?
4468 4545
4469 @email{turner@@lanl.gov, John Turner} writes: 4546 @email{turner@@lanl.gov, John Turner} writes:
4470 4547
4501 called Sun WorkShop, which is currently (07/96) in Alpha Test. For more 4578 called Sun WorkShop, which is currently (07/96) in Alpha Test. For more
4502 details, check out 4579 details, check out
4503 @iftex 4580 @iftex
4504 @* 4581 @*
4505 @end iftex 4582 @end iftex
4506 @uref{http://www.sun.com/software/Products/Developer-products}. 4583 @uref{http://www.sun.com/software/Products/Developer-products/programs.html}.
4507 @end quotation 4584 @end quotation
4508 4585
4509 @node Q4.4.2, Q4.5.1, Q4.4.1, Subsystems 4586 @node Q4.5.1, Q4.6.1, Q4.4.1, Subsystems
4510 @unnumberedsubsec Q4.4.2: How do I start the Sun Workshop support in XEmacs 21?
4511
4512 Add the switch ---with-workshop to the configure command when building
4513 XEmacs and put the following in one of your startup files
4514 (e.g. site-start.el or .emacs):
4515
4516 @lisp
4517 (when (featurep 'tooltalk)
4518 (load "tooltalk-macros")
4519 (load "tooltalk-util")
4520 (load "tooltalk-init"))
4521 (when (featurep 'sparcworks)
4522 (load "sunpro-init")
4523 (load "ring")
4524 (load "comint")
4525 (load "annotations")
4526 (sunpro-startup))
4527 @end lisp
4528
4529 If you are not using the latest Workshop (5.0) you have to apply the
4530 following patch:
4531
4532 @format
4533 --- /opt/SUNWspro/lib/eserve.el.ORIG Fri May 14 15:23:26 1999
4534 +++ /opt/SUNWspro/lib/eserve.el Fri May 14 15:24:54 1999
4535 @@@@ -42,7 +42,7 @@@@
4536 (defvar running-xemacs nil "t if we're running XEmacs")
4537 (defvar running-emacs nil "t if we're running GNU Emacs 19")
4538
4539 -(if (string-match "^\\(19\\|20\\)\..*\\(XEmacs\\|Lucid\\)" emacs-version)
4540 +(if (string-match "\\(XEmacs\\|Lucid\\)" emacs-version)
4541 (setq running-xemacs t)
4542 (setq running-emacs t))
4543 @end format
4544
4545
4546
4547 @node Q4.5.1, Q4.6.1, Q4.4.2, Subsystems
4548 @unnumberedsec 4.5: Energize 4587 @unnumberedsec 4.5: Energize
4549 @unnumberedsubsec Q4.5.1: What is/was Energize? 4588 @unnumberedsubsec Q4.5.1: What is/was Energize?
4550 4589
4551 @email{gray@@meteor.harlequin.com, David N Gray} writes: 4590 @email{gray@@meteor.harlequin.com, David N Gray} writes:
4552 @quotation 4591 @quotation
4755 @* 4794 @*
4756 @end iftex 4795 @end iftex
4757 @uref{ftp://cs.nyu.edu/pub/local/fox/dismal/}. 4796 @uref{ftp://cs.nyu.edu/pub/local/fox/dismal/}.
4758 4797
4759 @node Q4.7.3, Q4.7.4, Q4.7.2, Subsystems 4798 @node Q4.7.3, Q4.7.4, Q4.7.2, Subsystems
4760 @unnumberedsubsec Q4.7.3: [This question intentionally left blank] 4799 @unnumberedsubsec Q4.7.3: Byte compiling AUC TeX on XEmacs 19.14.
4800
4801 @email{bruncott@@dormeur.inria.fr, Georges Brun-Cottan} writes:
4802
4803 @quotation
4804 When byte compiling auctex-9.4g, you must use the command:
4805
4806 @example
4807 xemacs -batch -l lpath.el
4808 @end example
4809 @end quotation
4761 4810
4762 @node Q4.7.4, Q4.7.5, Q4.7.3, Subsystems 4811 @node Q4.7.4, Q4.7.5, Q4.7.3, Subsystems
4763 @unnumberedsubsec Q4.7.4: Problems installing AUC TeX. 4812 @unnumberedsubsec Q4.7.4: Problems installing AUC TeX.
4764 4813
4765 @email{vroonhof@@math.ethz.ch, Jan Vroonhof} writes: 4814 @email{vroonhof@@math.ethz.ch, Jan Vroonhof} writes:
4811 additional package. 4860 additional package.
4812 4861
4813 Each package bundled with XEmacs means more work for the maintainers, 4862 Each package bundled with XEmacs means more work for the maintainers,
4814 whether they want it or not. If you are ready to take over the 4863 whether they want it or not. If you are ready to take over the
4815 maintenance responsibilities for the package you port, be sure to say 4864 maintenance responsibilities for the package you port, be sure to say
4816 so---we will more likely include it. 4865 so -- we will more likely include it.
4817 4866
4818 @item 4867 @item
4819 The package simply hasn't been noted by the XEmacs development. If 4868 The package simply hasn't been noted by the XEmacs development. If
4820 that's the case, the messages like yours are very useful for attracting 4869 that's the case, the messages like yours are very useful for attracting
4821 our attention. 4870 our attention.
4827 appreciated. 4876 appreciated.
4828 @end enumerate 4877 @end enumerate
4829 4878
4830 @node Q4.7.6, , Q4.7.5, Subsystems 4879 @node Q4.7.6, , Q4.7.5, Subsystems
4831 @unnumberedsubsec Q4.7.5: Is there a MatLab mode? 4880 @unnumberedsubsec Q4.7.5: Is there a MatLab mode?
4832 4881 @c New
4833 Yes, a matlab mode and other items are available at the 4882 Is there any way I can get syntax highlighting for MatLab .m files?
4834 @uref{ftp://ftp.mathworks.com/pub/contrib/emacs_add_ons, 4883 Can I "teach" emacs what words are MatLab commands, comments, etc. ?
4835 MathWorks' emacs_add_ons ftp directory}. 4884
4836 4885 @email{elsner@@mathematik.tu-chemnitz.de, Ulrich Elsner} writes:
4837 @node Miscellaneous, MS Windows, Subsystems, Top 4886 @quotation
4887 One way to do this (and much more) is by using the
4888 @iftex
4889 @*
4890 @end iftex
4891 @uref{ftp://ftp.mathworks.com/pub/contrib/v5/tools/matlab.el, matlab mode}.
4892
4893 Instructions on how to install this mode are included in this file.
4894 @end quotation
4895
4896
4897 @node Miscellaneous, Current Events, Subsystems, Top
4838 @unnumbered 5 The Miscellaneous Stuff 4898 @unnumbered 5 The Miscellaneous Stuff
4839 4899
4840 This is part 5 of the XEmacs Frequently Asked Questions list. This 4900 This is part 5 of the XEmacs Frequently Asked Questions list. This
4841 section is devoted to anything that doesn't fit neatly into the other 4901 section is devoted to anything that doesn't fit neatly into the other
4842 sections. 4902 sections.
4851 * Q5.0.6:: How do I start up a second shell buffer? 4911 * Q5.0.6:: How do I start up a second shell buffer?
4852 * Q5.0.7:: Telnet from shell filters too much. 4912 * Q5.0.7:: Telnet from shell filters too much.
4853 * Q5.0.8:: Why does edt emulation not work? 4913 * Q5.0.8:: Why does edt emulation not work?
4854 * Q5.0.9:: How can I emulate VI and use it as my default mode? 4914 * Q5.0.9:: How can I emulate VI and use it as my default mode?
4855 * Q5.0.10:: [This question intentionally left blank] 4915 * Q5.0.10:: [This question intentionally left blank]
4856 * Q5.0.11:: How do I turn on filladapt for all buffers? 4916 * Q5.0.11:: Filladapt doesn't work in 19.15?
4857 * Q5.0.12:: How do I disable gnuserv from opening a new frame? 4917 * Q5.0.12:: How do I disable gnuserv from opening a new frame?
4858 * Q5.0.13:: How do I start gnuserv so that each subsequent XEmacs is a client? 4918 * Q5.0.13:: How do I start gnuserv so that each subsequent XEmacs is a client?
4859 * Q5.0.14:: Strange things are happening in Shell Mode. 4919 * Q5.0.14:: Strange things are happening in Shell Mode.
4860 * Q5.0.15:: Where do I get the latest CC Mode? 4920 * Q5.0.15:: Where do I get the latest CC Mode?
4861 * Q5.0.16:: I find auto-show-mode disconcerting. How do I turn it off? 4921 * Q5.0.16:: I find auto-show-mode disconcerting. How do I turn it off?
4862 * Q5.0.17:: How can I get two instances of info? 4922 * Q5.0.17:: How can I get two instances of info?
4863 * Q5.0.18:: [This question intentionally left blank] 4923 * Q5.0.18:: I upgraded to XEmacs 19.14 and gnuserv stopped working
4864 * Q5.0.19:: Is there something better than LaTeX mode? 4924 * Q5.0.19:: Is there something better than LaTeX mode?
4865 * Q5.0.20:: Is there a way to start a new XEmacs if there's no gnuserv running, and otherwise use gnuclient? 4925 * Q5.0.20:: Is there a way to start a new XEmacs if there's no gnuserv running, and otherwise use gnuclient?
4866 4926
4867 Emacs Lisp Programming Techniques: 4927 Emacs Lisp Programming Techniques:
4868 * Q5.1.1:: The difference in key sequences between XEmacs and GNU Emacs? 4928 * Q5.1.1:: The difference in key sequences between XEmacs and GNU Emacs?
4905 For most modes, font-lock is already set up and just needs to be turned 4965 For most modes, font-lock is already set up and just needs to be turned
4906 on. This can be done by @kbd{M-x font-lock-mode}, or by having XEmacs 4966 on. This can be done by @kbd{M-x font-lock-mode}, or by having XEmacs
4907 automatically start it by adding lines like: 4967 automatically start it by adding lines like:
4908 4968
4909 @lisp 4969 @lisp
4910 (add-hook 'emacs-lisp-mode-hook 'turn-on-font-lock) 4970 (add-hook 'emacs-lisp-mode-hook 'turn-on-font-lock)
4911 (add-hook 'dired-mode-hook 'turn-on-font-lock) 4971 (add-hook 'dired-mode-hook 'turn-on-font-lock)
4912 @end lisp 4972 @end lisp
4913 4973
4914 to your @file{.emacs}. See the file @file{etc/sample.emacs} for more 4974 to your @file{.emacs}. See the file @file{etc/sample.emacs} for more
4915 examples. 4975 examples.
4916 4976
5050 This will then start a second shell. The key is that no buffer named 5110 This will then start a second shell. The key is that no buffer named
5051 @samp{*shell*} can exist. It might be preferable to use @kbd{M-x 5111 @samp{*shell*} can exist. It might be preferable to use @kbd{M-x
5052 rename-uniquely} to rename the @code{*shell*} buffer instead of @kbd{M-x 5112 rename-uniquely} to rename the @code{*shell*} buffer instead of @kbd{M-x
5053 rename-buffer}. 5113 rename-buffer}.
5054 5114
5055 Alternately, you can set the variable @code{shell-multiple-shells}.
5056 If the value of this variable is non-nil, each time shell mode is invoked,
5057 a new shell is made
5058
5059 @node Q5.0.7, Q5.0.8, Q5.0.6, Miscellaneous 5115 @node Q5.0.7, Q5.0.8, Q5.0.6, Miscellaneous
5060 @unnumberedsubsec Q5.0.7: Telnet from shell filters too much 5116 @unnumberedsubsec Q5.0.7: Telnet from shell filters too much
5061 5117
5062 I'm using the Emacs @kbd{M-x shell} function, and I would like to invoke 5118 I'm using the Emacs @kbd{M-x shell} function, and I would like to invoke
5063 and use a telnet session within it. Everything works fine except that 5119 and use a telnet session within it. Everything works fine except that
5107 @unnumberedsubsec Q5.0.10: [This question intentionally left blank] 5163 @unnumberedsubsec Q5.0.10: [This question intentionally left blank]
5108 5164
5109 Obsolete question, left blank to avoid renumbering 5165 Obsolete question, left blank to avoid renumbering
5110 5166
5111 @node Q5.0.11, Q5.0.12, Q5.0.10, Miscellaneous 5167 @node Q5.0.11, Q5.0.12, Q5.0.10, Miscellaneous
5112 @unnumberedsubsec Q5.0.11: How do I turn on filladapt for all buffers? 5168 @unnumberedsubsec Q5.0.11: Filladapt doesn't work in 19.15
5113 5169
5114 Filladapt is a minor mode and minor modes are traditionally off by 5170 Filladapt 2.x is included in 19.15. In it filladapt is now a minor
5115 default. The following added to your @file{.emacs} will turn it on for 5171 mode and minor modes are traditionally off by default. The following
5116 all buffers: 5172 added to your @file{.emacs} will turn it on for all buffers:
5117 5173
5118 @lisp 5174 @lisp
5119 (setq-default filladapt-mode t) 5175 (setq-default filladapt-mode t)
5120 @end lisp 5176 @end lisp
5121 5177
5197 @unnumberedsubsec Q5.0.15: Where do I get the latest CC Mode? 5253 @unnumberedsubsec Q5.0.15: Where do I get the latest CC Mode?
5198 5254
5199 @email{bwarsaw@@cnri.reston.va.us, Barry A. Warsaw} writes: 5255 @email{bwarsaw@@cnri.reston.va.us, Barry A. Warsaw} writes:
5200 5256
5201 @quotation 5257 @quotation
5202 This can be had from @uref{http://www.python.org/emacs/}. 5258 This can be had from @uref{http://www.python.org/ftp/emacs/}.
5203 @end quotation 5259 @end quotation
5204 5260
5205 @node Q5.0.16, Q5.0.17, Q5.0.15, Miscellaneous 5261 @node Q5.0.16, Q5.0.17, Q5.0.15, Miscellaneous
5206 @unnumberedsubsec Q5.0.16: I find auto-show-mode disconcerting. How do I turn it off? 5262 @unnumberedsubsec Q5.0.16: I find auto-show-mode disconcerting. How do I turn it off?
5207 5263
5219 @unnumberedsubsec Q5.0.17: How can I get two instances of info? 5275 @unnumberedsubsec Q5.0.17: How can I get two instances of info?
5220 5276
5221 You can't. The @code{info} package does not provide for multiple info buffers. 5277 You can't. The @code{info} package does not provide for multiple info buffers.
5222 5278
5223 @node Q5.0.18, Q5.0.19, Q5.0.17, Miscellaneous 5279 @node Q5.0.18, Q5.0.19, Q5.0.17, Miscellaneous
5224 @unnumberedsubsec Q5.0.18: [This question intentionally left blank] 5280 @unnumberedsubsec Q5.0.18: I upgraded to XEmacs 19.14 and gnuserv stopped working.
5281
5282 @email{daku@@nortel.ca, Mark Daku} writes:
5283
5284 @quotation
5285 It turns out I was using an older version of gnuserv. The installation
5286 didn't put the binary into the public bin directory. It put it in
5287 @iftex
5288 @*
5289 @end iftex
5290 @file{lib/xemacs-19.14/hppa1.1-hp-hpux9.05/gnuserv}. Shouldn't it have
5291 been put in @file{bin/hppa1.1-hp-hpux9.0}?
5292 @end quotation
5225 5293
5226 @node Q5.0.19, Q5.0.20, Q5.0.18, Miscellaneous 5294 @node Q5.0.19, Q5.0.20, Q5.0.18, Miscellaneous
5227 @unnumberedsubsec Q5.0.19: Is there something better than LaTeX mode? 5295 @unnumberedsubsec Q5.0.19: Is there something better than LaTeX mode?
5228 5296
5229 @email{dak@@fsnif.neuroinformatik.ruhr-uni-bochum.de, David Kastrup} writes: 5297 @email{dak@@fsnif.neuroinformatik.ruhr-uni-bochum.de, David Kastrup} writes:
5430 variable if it was bound previously. If you wish to change a 5498 variable if it was bound previously. If you wish to change a
5431 user-variable temporarily, use @code{let}: 5499 user-variable temporarily, use @code{let}:
5432 5500
5433 @lisp 5501 @lisp
5434 (let ((case-fold-search nil)) 5502 (let ((case-fold-search nil))
5435 ... ; code with searches that must be case-sensitive 5503 ... ; code with searches that must be case-sensitive
5436 ...) 5504 ...)
5437 @end lisp 5505 @end lisp
5438 5506
5439 You will notice the user-variables by their docstrings beginning with an 5507 You will notice the user-variables by their docstrings beginning with an
5440 asterisk (a convention). 5508 asterisk (a convention).
5495 does a bad thing, as @code{a} will keep consuming memory, never to be 5563 does a bad thing, as @code{a} will keep consuming memory, never to be
5496 unbound. The correct thing is to do it like this: 5564 unbound. The correct thing is to do it like this:
5497 5565
5498 @lisp 5566 @lisp
5499 (defun my-function (whatever) 5567 (defun my-function (whatever)
5500 (let (a) ; default initialization is to nil 5568 (let (a) ; default initialization is to nil
5501 ... build a large list ... 5569 ... build a large list ...
5502 ... and exit, unbinding `a' in the process ...) 5570 ... and exit, unbinding `a' in the process ...)
5503 @end lisp 5571 @end lisp
5504 5572
5505 Not only is this prettier syntactically, but it makes it possible for 5573 Not only is this prettier syntactically, but it makes it possible for
5508 Note that even global variables should not be @code{setq}ed without 5576 Note that even global variables should not be @code{setq}ed without
5509 @code{defvar}ing them first, because the byte-compiler issues warnings. 5577 @code{defvar}ing them first, because the byte-compiler issues warnings.
5510 The reason for the warning is the following: 5578 The reason for the warning is the following:
5511 5579
5512 @lisp 5580 @lisp
5513 (defun flurgoze nil) ; ok, global internal variable 5581 (defun flurgoze nil) ; ok, global internal variable
5514 ... 5582 ...
5515 5583
5516 (setq flurghoze t) ; ops! a typo, but semantically correct. 5584 (setq flurghoze t) ; ops! a typo, but semantically correct.
5517 ; however, the byte-compiler warns. 5585 ; however, the byte-compiler warns.
5518 5586
5519 While compiling toplevel forms: 5587 While compiling toplevel forms:
5520 ** assignment to free variable flurghoze 5588 ** assignment to free variable flurghoze
5521 @end lisp 5589 @end lisp
5522 5590
5634 @node Q5.1.11, Q5.2.1, Q5.1.10, Miscellaneous 5702 @node Q5.1.11, Q5.2.1, Q5.1.10, Miscellaneous
5635 @unnumberedsubsec Q5.1.11: My elisp program is horribly slow. Is there 5703 @unnumberedsubsec Q5.1.11: My elisp program is horribly slow. Is there
5636 an easy way to find out where it spends time? 5704 an easy way to find out where it spends time?
5637 @c New 5705 @c New
5638 5706
5639 z@email{hniksic@@xemacs.org, Hrvoje Niksic} writes: 5707 z@email{hniksic@@srce.hr, Hrvoje Niksic} writes:
5640 @quotation 5708 @quotation
5641 Under XEmacs 20.4 and later you can use @kbd{M-x profile-key-sequence}, press a key 5709 Under XEmacs 20.4 and later you can use @kbd{M-x profile-key-sequence}, press a key
5642 (say @key{RET} in the Gnus Group buffer), and get the results using 5710 (say @key{RET} in the Gnus Group buffer), and get the results using
5643 @kbd{M-x profile-results}. It should give you an idea of where the time 5711 @kbd{M-x profile-results}. It should give you an idea of where the time
5644 is being spent. 5712 is being spent.
5652 @lisp 5720 @lisp
5653 (setq bell-volume 0) 5721 (setq bell-volume 0)
5654 (setq sound-alist nil) 5722 (setq sound-alist nil)
5655 @end lisp 5723 @end lisp
5656 5724
5657 That will make your XEmacs totally silent---even the default ding sound 5725 That will make your XEmacs totally silent -- even the default ding sound
5658 (TTY beep on TTY-s) will be gone. 5726 (TTY beep on TTY-s) will be gone.
5659 5727
5660 Starting with XEmacs-20.2 you can also change these with Customize. 5728 Starting with XEmacs-20.2 you can also change these with Customize.
5661 Select from the @code{Options} menu 5729 Select from the @code{Options} menu
5662 @code{Customize->Emacs->Environment->Sound->Sound...} or type 5730 @code{Customize->Emacs->Environment->Sound->Sound...} or type
5749 expressions. It was fixed in 19.13. For earlier versions of XEmacs, 5817 expressions. It was fixed in 19.13. For earlier versions of XEmacs,
5750 have a look at your @file{.emacs} file. You will probably have a line 5818 have a look at your @file{.emacs} file. You will probably have a line
5751 like: 5819 like:
5752 5820
5753 @lisp 5821 @lisp
5754 (add-hook 'postscript-mode-hook 'turn-on-font-lock) 5822 (add-hook 'postscript-mode-hook 'turn-on-font-lock)
5755 @end lisp 5823 @end lisp
5756 5824
5757 Take it out, restart XEmacs, and it won't try to fontify your postscript 5825 Take it out, restart XEmacs, and it won't try to fontify your postscript
5758 files anymore. 5826 files anymore.
5759 5827
5966 Some people have also found that if one uses the @code{(insert-file)} 6034 Some people have also found that if one uses the @code{(insert-file)}
5967 method, one should NOT quote the face string using the sed script . 6035 method, one should NOT quote the face string using the sed script .
5968 6036
5969 It might also be helpful to use @email{stig@@hackvan.com, Stig's} script 6037 It might also be helpful to use @email{stig@@hackvan.com, Stig's} script
5970 (included in the compface distribution at XEmacs.org) to do the 6038 (included in the compface distribution at XEmacs.org) to do the
5971 conversion. 6039 conversion. For convenience xbm2xface is available for anonymous FTP at
5972 @comment For convenience xbm2xface is available for anonymous FTP at 6040 @uref{ftp://ftp.miranova.com/pub/xemacs/xbm2xface.pl}.
5973 @comment @uref{ftp://ftp.miranova.com/pub/xemacs/xbm2xface.pl}.
5974 6041
5975 Contributors for this item: 6042 Contributors for this item:
5976 6043
5977 Paul Emsley, 6044 Paul Emsley,
5978 Ricardo Marek, 6045 Ricardo Marek,
5988 6055
5989 You use something like: 6056 You use something like:
5990 6057
5991 @lisp 6058 @lisp
5992 (setq Info-directory-list (cons 6059 (setq Info-directory-list (cons
5993 (expand-file-name "~/info") 6060 (expand-file-name "~/info")
5994 Info-default-directory-list)) 6061 Info-default-directory-list))
5995 @end lisp 6062 @end lisp
5996 6063
5997 @email{davidm@@prism.kla.com, David Masterson} writes: 6064 @email{davidm@@prism.kla.com, David Masterson} writes:
5998 6065
5999 @quotation 6066 @quotation
6069 6136
6070 NOTE: It is an undocumented limitation in XEmacs that postscript 6137 NOTE: It is an undocumented limitation in XEmacs that postscript
6071 printing (the @code{Pretty Print Buffer} menu item) @strong{requires} a 6138 printing (the @code{Pretty Print Buffer} menu item) @strong{requires} a
6072 window system environment. It cannot be used outside of X11. 6139 window system environment. It cannot be used outside of X11.
6073 6140
6074 @node MS Windows, Current Events, Miscellaneous, Top 6141 @node Current Events, , Miscellaneous, Top
6075 @unnumbered 6 XEmacs on MS Windows 6142 @unnumbered 6 What the Future Holds
6076 6143
6077 This is part 6 of the XEmacs Frequently Asked Questions list, written by 6144 This is part 6 of the XEmacs Frequently Asked Questions list. This
6078 Hrvoje Niksic and others. This section is devoted to the MS Windows
6079 port of XEmacs.
6080
6081 @menu
6082
6083 General Info
6084 * Q6.0.1:: What is the status of the XEmacs port to Windows?
6085 * Q6.0.2:: What flavors of MS Windows are supported?
6086 * Q6.0.3:: Where are the XEmacs on MS Windows binaries?
6087 * Q6.0.4:: Does XEmacs on MS Windows require an X server to run?
6088
6089 Building XEmacs on MS Windows
6090 * Q6.1.1:: I decided to run with X. Where do I get an X server?
6091 * Q6.1.2:: What compiler do I need to compile XEmacs?
6092 * Q6.1.3:: How do I compile for the native port?
6093 * Q6.1.4:: How do I compile for the X port?
6094 * Q6.1.5:: How do I compile for Cygnus' Cygwin?
6095 * Q6.1.6:: What do I need for Cygwin?
6096
6097 Customization and User Interface
6098 * Q6.2.1:: How will the port cope with differences in the Windows user interface?
6099 * Q6.2.2:: How do I change fonts in XEmacs on MS Windows?
6100 * Q6.2.3:: Where do I put my @file{.emacs} file?
6101
6102 Miscellaneous
6103 * Q6.3.1:: Will XEmacs rename all the win32-* symbols to w32-*?
6104 * Q6.3.2:: What are the differences between the various MS Windows emacsen?
6105 * Q6.3.3:: What is the porting team doing at the moment?
6106
6107 Troubleshooting:
6108 * Q6.4.1:: XEmacs won't start on Windows. (NEW)
6109
6110 @end menu
6111
6112 @node Q6.0.1, Q6.0.2, MS Windows, MS Windows
6113 @unnumberedsec 6.0: General Info
6114 @unnumberedsubsec Q6.0.1: What is the status of the XEmacs port to Windows?
6115
6116 Is XEmacs really getting ported to MS Windows? What is the status of the port?
6117
6118 Yes, a group of volunteers actively works on making XEmacs code base
6119 cleanly compile and run on MS Windows operating systems. The mailing
6120 list at @email{xemacs-nt@@xemacs.org} is dedicated to that effort (please use
6121 the -request address to subscribe).
6122
6123 At this time, XEmacs on MS Windows is usable, but lacks some of the
6124 features of XEmacs on UNIX and UNIX-like systems. Notably,
6125 internationalization does not work.
6126
6127 @node Q6.0.2, Q6.0.3, Q6.0.1, MS Windows
6128 @unnumberedsubsec Q6.0.2: What flavors of MS Windows are supported? The list name implies NT only.
6129
6130 The list name is misleading, as XEmacs will support both Windows 95,
6131 Windows 98 and Windows NT. The MS Windows-specific code is based on
6132 Microsoft Win32 API, and will not work on MS Windows 3.x or on MS-DOS.
6133
6134
6135 @node Q6.0.3, Q6.0.4, Q6.0.2, MS Windows
6136 @unnumberedsubsec Q6.0.3: Are binary kits available?
6137
6138 Binary kits are available at
6139 @uref{ftp://ftp.xemacs.org/pub/xemacs/binary-kits/win32/} for the
6140 "plain" MS Windows version.
6141
6142 @node Q6.0.4, Q6.1.1, Q6.0.3, MS Windows
6143 @unnumberedsubsec Q6.0.4: Does XEmacs on MS Windows require an X server to run?
6144
6145 Short answer: No.
6146
6147 Long answer: XEmacs can be built in several ways in the MS Windows
6148 environment, some of them requiring an X server and some not.
6149
6150 One is what we call the "X" port---it requires X libraries to build
6151 and an X server to run. Internally it uses the Xt event loop and
6152 makes use of X toolkits. Its look is quite un-Windowsy, but it works
6153 reliably and supports all of the graphical features of Unix XEmacs.
6154
6155 The other is what we call the "native" port. It uses the Win32 API
6156 and does not require X libraries to build, nor does it require an X to
6157 run. In fact, it has no connection with X whatsoever. At this time,
6158 the native port obsoletes the X port, providing almost all of its
6159 features, including support for menus, scrollbars, toolbars, embedded
6160 images and background pixmaps, frame pointers, etc. Most of the
6161 future work will be based on the native port.
6162
6163 There is also a third special case, the Cygwin port. It takes
6164 advantage of Cygnus emulation library under Win32, which enables it to
6165 reuse much of the Unix XEmacs code base, such as processes and network
6166 support, or internal select() mechanisms.
6167
6168 Cygwin port supports all display types---TTY, X & MS gui, and can be
6169 built with support for all three. If you build with ms gui support
6170 then the Cygwin version uses the majority of the msw code, which is
6171 mostly related to display. If you want to build with X support you
6172 need X libraries. If you want to build with tty support you need
6173 ncurses. MS gui requires no additional libraries.
6174
6175 Some of the advantages of the Cygwin version are that it:
6176
6177 @itemize @bullet
6178
6179 @item integrates well with Cygwin environment for existing Cygwin users;
6180 @item uses configure so building with different features is very easy;
6181 @item has process support in X & tty.
6182
6183 @end itemize
6184
6185 The disadvantage is that it requires several Unix utilities and the
6186 whole Cygwin environment, whereas the native port requires only a
6187 suitable MS Windows compiler. Also, it follows the Unix filesystem and
6188 process model very closely (some will undoubtedly view this as an
6189 advantage).
6190
6191 @node Q6.1.1, Q6.1.2, Q6.0.4, MS Windows
6192 @unnumberedsec 6.1: Building XEmacs on MS Windows
6193 @unnumberedsubsec Q6.1.1: I decided to run with X. Where do I get an X server?
6194
6195 Pointers to X servers can be found at
6196 @iftex
6197 @*
6198 @end iftex
6199 @uref{http://dao.gsfc.nasa.gov/software/grads/win32/X11R6.3/};
6200
6201 look for "Where to get an X server". Also note that, although the above
6202 page talks about Cygnus gnu-win32 (Cygwin), the information on X servers
6203 is Cygwin-independent. You don't have to be running/using Cygwin to use
6204 these X servers, and you don't have to compile XEmacs under Cygwin to
6205 use XEmacs with these X servers. An "X port" XEmacs compiled under
6206 Visual C++ will work with these X servers (as will XEmacs running on a
6207 Unix box, redirected to the server running on your PC).
6208
6209
6210 @node Q6.1.2, Q6.1.3, Q6.1.1, MS Windows
6211 @unnumberedsubsec Q6.1.2: What compiler do I need to compile XEmacs?
6212
6213 You need Visual C++ 4.2, 5.0, or 6.0, with the exception of the Cygwin
6214 port, which uses Gcc. There is also a MINGW32 port of XEmacs (using
6215 Gcc, but using native libraries rather than the Cygwin libraries). ####
6216 More information about this should be provided.
6217
6218
6219 @node Q6.1.3, Q6.1.4, Q6.1.2, MS Windows
6220 @unnumberedsubsec Q6.1.3: How do I compile for the native port?
6221
6222 Please read the file @file{nt/README} in the XEmacs distribution, which
6223 contains the full description.
6224
6225
6226 @node Q6.1.4, Q6.1.5, Q6.1.3, MS Windows
6227 @unnumberedsubsec Q6.1.4: How do I compile for the X port?
6228
6229 Again, it is described in @file{nt/README} in some detail. Basically, you
6230 need to get X11 libraries from ftp.x.org, and compile them. If the
6231 precompiled versions are available somewhere, I don't know of it.
6232
6233
6234 @node Q6.1.5, Q6.1.6, Q6.1.4, MS Windows
6235 @unnumberedsubsec Q6.1.5: How do I compile for Cygnus' Cygwin?
6236
6237 Similar as on Unix; use the usual `configure' and `make' process.
6238 Some problems to watch out for:
6239
6240 @itemize @bullet
6241 @item
6242 make sure HOME is set. This controls where you @file{.emacs} file comes
6243 from;
6244
6245 @item
6246 CYGWIN needs to be set to tty for process support work. e.g. CYGWIN=tty;
6247 (use CYGWIN32=tty under b19 and older.)
6248
6249 @item
6250 picking up some other grep or other unix like tools can kill configure;
6251
6252 @item
6253 static heap too small, adjust src/sheap-adjust.h to a more positive
6254 number;
6255
6256 @item
6257 The Cygwin version doesn't understand @file{//machine/path} type paths so you
6258 will need to manually mount a directory of this form under a unix style
6259 directory for a build to work on the directory.
6260
6261 @end itemize
6262
6263 @node Q6.1.6, Q6.2.1, Q6.1.5, MS Windows
6264 @unnumberedsubsec Q6.1.6: What do I need for Cygwin?
6265
6266 You can find the Cygwin tools and compiler at:
6267
6268 @uref{http://sourceware.cygnus.com/cygwin/}
6269
6270 You will need version b19 or later.
6271 The latest current version is 1.1.1.
6272 Other common versions you will see are b20.1.
6273
6274 Another location, one of the mirror sites of the site just mentioned,
6275 is usually a last faster:
6276
6277 @uref{ftp://ftp.freesoftware.com/pub/sourceware/cygwin/}
6278
6279 You can obtain the latest version (currently 1.1.1) from the
6280 @samp{latest/} subdirectory of either of the above two just-mentioned
6281 URL's.
6282
6283 @strong{WARNING: The version of GCC supplied under @samp{latest/}, as of
6284 June 6th, 2000, does not appear to work. It generates loads of spurious
6285 preprocessor warnings and errors, which makes it impossible to compile
6286 XEmacs with it.}
6287
6288 You will also need the X libraries. You can get them on the XEmacs FTP
6289 site at
6290
6291 @uref{ftp://ftp.xemacs.org/pub/xemacs/aux/cygwin/}
6292
6293 You will find b19 and b20 versions of the X libraries, plus b19 and b20
6294 versions of stuff that should go into @samp{/usr/local/}, donated by
6295 Andy Piper. This includes pre-built versions of various graphics libraries,
6296 such as PNG, JPEG, TIFF, and XPM. (Remember, GIF support is built-in to
6297 XEmacs.)
6298
6299 (X libraries for v1 and beyond of Cygwin can be found on the Cygwin site
6300 itself -- look in the @samp{xfree/} subdirectory.)
6301
6302 @emph{NOTE:} There are two versions of the XPM library provided in
6303 Andy's packets. Once is for building with X support, and the other for
6304 building without. The X version should work if you're building with
6305 both X and Windows support. The two files are called @file{libXpm-X.a}
6306 and @file{libXpm-noX.a} respectively, and you must symlink the
6307 appropriate one to @file{libXpm.a}. @strong{CAREFUL:} By default, the
6308 non-X version is symlinked in. If you then configure XEmacs with X,
6309 you won't run into problems until you start compiling @file{events.c},
6310 at which point you'll get strange and decidedly non-obvious errors.
6311
6312 Please see @uref{http://www.xemacs.freeserve.co.uk/} (Andy Piper's home
6313 page) for more information.
6314
6315 BTW There are also libraries at
6316 @iftex
6317 @*
6318 @end iftex
6319 @uref{http://dao.gsfc.nasa.gov/software/grads/win32/X11R6.3/}, but
6320 these are not b19 compatible, and may in fact be native-compiled.
6321
6322
6323 @node Q6.2.1, Q6.2.2, Q6.1.6, MS Windows
6324 @unnumberedsec 6.2: Customization and User Interface
6325 @unnumberedsubsec Q6.2.1: How will the port cope with differences in the Windows user interface?
6326
6327 XEmacs (and Emacs in general) UI is pretty
6328 different from what is expected of a typical MS Windows program. How will
6329 the MS Windows port cope with it?
6330
6331 Fortunately, Emacs is also one of the most configurable editor beasts
6332 in the world. The MS Windows "look and feel" (mark via shift-arrow,
6333 self-inserting deletes region, etc.) can be easily configured via
6334 various packages distributed with XEmacs. The `pending-delete'
6335 package is an example of such a utility.
6336
6337 In future versions, some of these packages might be turned on by
6338 default in the MS Windows environment.
6339
6340
6341 @node Q6.2.2, Q6.2.3, Q6.2.1, MS Windows
6342 @unnumberedsubsec Q6.2.2: How do I change fonts in XEmacs on MS Windows?
6343
6344 In 21.2.*, use the font menu. In 21.1.*, you can change font
6345 manually. For example:
6346
6347 @display
6348 (set-face-font 'default "Lucida Console:Regular:10")
6349 (set-face-font 'modeline "MS Sans Serif:Regular:10")
6350 @end display
6351
6352
6353 @node Q6.2.3, Q6.3.1, Q6.2.2, MS Windows
6354 @unnumberedsubsec Q6.2.3: Where do I put my @file{.emacs} file?
6355
6356 If the HOME environment variable is set, @file{.emacs} will be looked for
6357 there. Else the directory defaults to `c:\'.
6358
6359 @node Q6.3.1, Q6.3.2, Q6.2.3, MS Windows
6360 @unnumberedsec 6.3: Miscellaneous
6361 @unnumberedsubsec Q6.3.1: Will XEmacs rename all the win32-* symbols to w32-*?
6362
6363 In his flavor of Emacs 20, Richard Stallman has renamed all the win32-*
6364 symbols to w32-*. Will XEmacs do the same?
6365
6366 We consider such a move counter-productive, thus we will not use the
6367 `w32' prefix. However, we do recognize that Win32 name is little more
6368 than a marketing buzzword (will it be Win64 in the next release?), so
6369 we decided not to use it. Using `windows-' would be wrong because the
6370 term is too generic, which is why we settled on a compromise
6371 `mswindows' term.
6372
6373 Thus all the XEmacs variables and functions directly related to Win32
6374 are prefixed `mswindows-'. The user-variables shared with NT Emacs
6375 will be provided as compatibility aliases.
6376
6377 Architectural note: We believe that there should be a very small
6378 number of window-systems-specific variables, and will try to provide
6379 generic interfaces whenever possible.
6380
6381
6382 @node Q6.3.2, Q6.3.3, Q6.3.1, MS Windows
6383 @unnumberedsubsec Q6.3.2: What are the differences between the various MS Windows emacsen?
6384
6385 XEmacs, Win-Emacs, DOS Emacs, NT Emacs, this is all very confusing.
6386 Could you briefly explain the differences between them?
6387
6388 Here is a recount of various Emacs versions running on MS Windows:
6389
6390 @itemize @bullet
6391
6392 @item
6393 Win-Emacs
6394
6395 @itemize @minus
6396
6397 @item
6398 Win-Emacs is a port of Lucid Emacs 19.6 to MS Windows using X
6399 compatibility libraries. Win-Emacs has been written by Ben Wing. The
6400 MS Windows code has not made it back to Lucid Emacs, which left Win-Emacs
6401 pretty much dead for our purposes. Win-Emacs used to be available at
6402 Pearlsoft, but not anymore, since Pearlsoft went out of business.
6403 @end itemize
6404
6405 @item
6406 GNU Emacs for DOS
6407
6408 @itemize @minus
6409
6410 @item
6411 GNU Emacs features support for MS-DOS and DJGPP (D.J. Delorie's DOS
6412 port of Gcc). Such an Emacs is heavily underfeatured, because it does
6413 not supports long file names, lacks proper subprocesses support, and
6414 is far too big compared to typical DOS editors.
6415 @end itemize
6416
6417 @item
6418 GNU Emacs compiled with Win32
6419
6420 @itemize @minus
6421
6422 @item
6423 Starting with version 19.30, it has been possible to compile GNU Emacs
6424 under MS Windows using the DJGPP compiler and X libraries. The result
6425 is is very similar to GNU Emacs compiled under MS DOS, only it
6426 supports longer file names, etc. This "port" is similar to the "X"
6427 flavor of XEmacs on MS Windows.
6428 @end itemize
6429
6430 @item
6431 NT Emacs
6432
6433 @itemize @minus
6434
6435 @item
6436 NT Emacs is a version of GNU Emacs modified to compile and run under
6437 MS MS Windows 95 and NT using the native Win32 API. As such, it is close
6438 in spirit to the XEmacs "native" port.
6439
6440 @item
6441 NT Emacs has been written by Geoff Voelker, and more information can be
6442 found at
6443 @iftex
6444 @*
6445 @end iftex
6446 @uref{http://www.cs.washington.edu/homes/voelker/ntemacs.html}.
6447
6448 @end itemize
6449
6450 @item
6451 XEmacs
6452
6453 @itemize @minus
6454
6455 @item
6456 Beginning with XEmacs 19.12, XEmacs' architecture has been redesigned
6457 in such a way to allow clean support of multiple window systems. At
6458 this time the TTY support was added, making X and TTY the first two
6459 "window systems" XEmacs supported. The 19.12 design is the basis for
6460 the current native MS Windows code.
6461
6462 @item
6463 Some time during 1997, David Hobley (soon joined by Marc Paquette)
6464 imported some of the NT-specific portions of GNU Emacs, making XEmacs
6465 with X support compile under Windows NT, and creating the "X" port.
6466
6467 @item
6468 Several months later, Jonathan Harris sent out initial patches to use
6469 the Win32 API, thus creating the native port. Since then, various
6470 people have contributed, including Kirill M. Katsnelson (contributed
6471 support for menubars, subprocesses and network, as well as loads of
6472 other code), Andy Piper (ported XEmacs to Cygwin environment,
6473 contributed Windows unexec, Windows-specific glyphs and toolbars code,
6474 and more), Jeff Sparkes (contributed scrollbars support) and many
6475 others.
6476
6477 @end itemize
6478
6479 @end itemize
6480
6481
6482 @node Q6.3.3, Q6.4.1, Q6.3.2, MS Windows
6483 @unnumberedsubsec Q6.3.3: What is the porting team doing at the moment?
6484
6485 The porting team is continuing work on the MS Windows-specific code.
6486
6487 @node Q6.4.1, ,Q6.3.3, MS Windows
6488 @unnumberedsec 6.3: Troubleshooting
6489 @unnumberedsubsec Q6.4.1 XEmacs won't start on Windows. (NEW)
6490
6491 XEmacs relies on a process called "dumping" to generate a working
6492 executable. Under MS-Windows this process effectively fixes the memory
6493 addresses of information in the executable. When XEmacs starts up it tries
6494 to reserve these memory addresses so that the dumping process can be
6495 reversed - putting the information back at the correct addresses.
6496 Unfortunately some .dlls (For instance the soundblaster driver) occupy
6497 memory addresses that can conflict with those needed by the dumped XEmacs
6498 executable. In this instance XEmacs will fail to start without any
6499 explanation. Note that this is extremely machine specific.
6500
6501 21.1.10 includes a fix for this that makes more intelligent guesses
6502 about which memory addresses will be free, and this should cure the
6503 problem for most people. Unfortunately, no binary is yet available for
6504 this version. Check back periodically at
6505
6506 @uref{ftp://ftp.xemacs.org/pub/xemacs/binaries/}.
6507
6508 21.2 implements "portable dumping" which will eliminate the problem
6509 altogether. You might have better luck with the 21.2 beta binary,
6510 available at
6511
6512 @uref{ftp://ftp.xemacs.org/pub/xemacs/beta/binaries/}.
6513
6514
6515 @node Current Events, , MS Windows, Top
6516 @unnumbered 7 What the Future Holds
6517
6518 This is part 7 of the XEmacs Frequently Asked Questions list. This
6519 section will change monthly, and contains any interesting items that have 6145 section will change monthly, and contains any interesting items that have
6520 transpired over the previous month. If you are reading this from the 6146 transpired over the previous month. If you are reading this from the
6521 XEmacs distribution, please see the version on the Web or archived at the 6147 XEmacs distribution, please see the version on the Web or archived at the
6522 various FAQ FTP sites, as this file is surely out of date. 6148 various FAQ FTP sites, as this file is surely out of date.
6523 6149
6524 @menu 6150 @menu
6525 * Q7.0.1:: What is new in 20.2? 6151 * Q6.0.1:: What is new in 20.2?
6526 * Q7.0.2:: What is new in 20.3? 6152 * Q6.0.2:: What is new in 20.3?
6527 * Q7.0.3:: What is new in 20.4? 6153 * Q6.0.3:: What is new in 20.4?
6528 * Q7.0.4:: Procedural changes in XEmacs development. 6154 * Q6.0.4:: Procedural changes in XEmacs development.
6529 @end menu 6155 @end menu
6530 6156
6531 @node Q7.0.1, Q7.0.2, Current Events, Current Events 6157 @node Q6.0.1, Q6.0.2, Current Events, Current Events
6532 @unnumberedsec 7.0: Changes 6158 @unnumberedsec 6.0: Changes
6533 @unnumberedsubsec Q7.0.1: What is new in 20.2? 6159 @unnumberedsubsec Q6.0.1: What is new in 20.2?
6534 6160
6535 The biggest changes in 20.2 include integration of EFS (the next 6161 The biggest changes in 20.2 include integration of EFS (the next
6536 generation of ange-ftp) and AUC Tex (the Emacs subsystem that includes a 6162 generation of ange-ftp) and AUC Tex (the Emacs subsystem that includes a
6537 major mode for editing Tex and LaTeX, and a lot of other stuff). Many 6163 major mode for editing Tex and LaTeX, and a lot of other stuff). Many
6538 bugs from 20.0 have been fixed for this release. 20.2 also contains a 6164 bugs from 20.0 have been fixed for this release. 20.2 also contains a
6540 customize}. 6166 customize}.
6541 6167
6542 XEmacs 20.2 is the development release (20.0 was beta), and is no longer 6168 XEmacs 20.2 is the development release (20.0 was beta), and is no longer
6543 considered unstable. 6169 considered unstable.
6544 6170
6545 @node Q7.0.2, Q7.0.3, Q7.0.1, Current Events 6171 @node Q6.0.2, Q6.0.3, Q6.0.1, Current Events
6546 @unnumberedsubsec Q7.0.2: What is new in 20.3? 6172 @unnumberedsubsec Q6.0.2: What is new in 20.3?
6547 6173
6548 XEmacs 20.3 was released in November 1997. It contains many bugfixes, 6174 XEmacs 20.3 was released in November 1997. It contains many bugfixes,
6549 and a number of new features, including Autoconf 2 based configuration, 6175 and a number of new features, including Autoconf 2 based configuration,
6550 additional support for Mule (Multi-language extensions to Emacs), many 6176 additional support for Mule (Multi-language extensions to Emacs), many
6551 more customizations, multiple frames on TTY-s, support for multiple info 6177 more customizations, multiple frames on TTY-s, support for multiple info
6553 increased MIME support, and many, many synches with GNU Emacs 20. 6179 increased MIME support, and many, many synches with GNU Emacs 20.
6554 6180
6555 The XEmacs/Mule support has been only seriously tested in a Japanese 6181 The XEmacs/Mule support has been only seriously tested in a Japanese
6556 locale, and no doubt many problems still remain. The support for 6182 locale, and no doubt many problems still remain. The support for
6557 ISO-Latin-1 and Japanese is fairly strong. MULE support comes at a 6183 ISO-Latin-1 and Japanese is fairly strong. MULE support comes at a
6558 price---about a 30% slowdown from 19.16. We're making progress on 6184 price -- about a 30% slowdown from 19.16. We're making progress on
6559 improving performance and XEmacs 20.3 compiled without Mule (which is 6185 improving performance and XEmacs 20.3 compiled without Mule (which is
6560 the default) is definitely faster than XEmacs 19.16. 6186 the default) is definitely faster than XEmacs 19.16.
6561 6187
6562 XEmacs 20.3 is the first non-beta v20 release, and will be the 6188 XEmacs 20.3 is the first non-beta v20 release, and will be the
6563 basis for all further development. 6189 basis for all further development.
6564 6190
6565 @node Q7.0.3, Q7.0.4, Q7.0.2, Current Events 6191 @node Q6.0.3, Q6.0.4, Q6.0.2, Current Events
6566 @unnumberedsubsec Q7.0.3: What's new in XEmacs 20.4? 6192 @unnumberedsubsec Q6.0.3: What's new in XEmacs 20.4?
6567 6193
6568 XEmacs 20.4 is a bugfix release with no user-visible changes. 6194 XEmacs 20.4 is a bugfix release with no user-visible changes.
6569 @c Filled in from NEWS file of 20.5-b33 6195 @c Filled in from NEWS file of 20.5-b33
6570 6196
6571 6197
6572 @node Q7.0.4, , Q7.0.3, Current Events 6198 @node Q6.0.4, , Q6.0.3, Current Events
6573 @unnumberedsubsec Q7.0.4: Procedural changes in XEmacs development. 6199 @unnumberedsubsec Q6.0.4: Procedural changes in XEmacs development.
6574 6200
6575 @enumerate 6201 @enumerate
6576 @item 6202 @item
6577 Discussion about the development of XEmacs occurs on the xemacs-beta 6203 Discussion about the development of XEmacs occurs on the xemacs-beta
6578 mailing list. Subscriptions to this list will now be fully automated 6204 mailing list. Subscriptions to this list will now be fully automated
6597 6223
6598 XEmacs 19.16 was the last 19 release, basically consisting of 19.15 plus 6224 XEmacs 19.16 was the last 19 release, basically consisting of 19.15 plus
6599 the collected bugfixes. 6225 the collected bugfixes.
6600 6226
6601 @item 6227 @item
6602 As of December 1996, @email{steve@@xemacs.org, Steve Baur} has become 6228 As of December 1996, @email{steve@@altair.xemacs.org, Steve Baur} has become
6603 the lead maintainer of XEmacs. 6229 the lead maintainer of XEmacs.
6604 @end enumerate 6230 @end enumerate
6605 6231
6606 @bye 6232 @bye