comparison man/xemacs-faq.texi @ 398:74fd4e045ea6 r21-2-29

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