changeset 2417:8b907450718f

[xemacs-hg @ 2004-12-05 08:48:12 by ben] The section on Troubleshooting (now 2.3) has been completely written and includes a lot of stuff that is not properly documented anywhere else. A fair amount of obsolete info has been deleted and I've incorporated the comments that people (mostly Stephen T) made. Former chapter 3 has been split up in two, one pertaining to basic I/O and the other to external I/O. What were formerly chapters 5 and 6 no longer exist as such; the info in them has been distributed across various other chapters. Old chapter 4 got split up, part going to the new chapter 4 on external I/O and part going to the new chapter 5 on the Internet. In this new chapter, stuff not pertaining to a specific package (e.g. VM or GNUS) was taken out of package-specific sections and a general mail section was constituted. Part of old chapter 5 remains in a new chapter 6 devoted to Emacs Lisp and other advanced stuff, and a section from old chapter 3 on basic init-file Lisp and some stuff from old chapter 5 on Info. The rest of chapter 5 was just misc and has gotten scattered to the winds (mostly in chapters 3 and 4). Old chapter 6 has also gotten quite scattered; there is no longer any section specifically devoted to Windows except one of the Installation sections (along with a section specfically devoted to Unix), and the rest has moved to join the appropriate non-Windows-specific section elsewhere. A lot of chapters had their sections rearranged and likewise for sections having entries rearranged, with the intention that the new arrangement should be more natural. In general I hope that stuff should be much easier to locate. I also rewrote the entries on the relation between XEmacs and GNU Emacs on the authors of XEmacs, including lots of info on who wrote specific subsections. However, this history is certainly not complete; I hope people will look over this and fix it up as necessary.
author ben
date Sun, 05 Dec 2004 08:48:12 +0000
parents 515786aa760a
children e19aeba465d6
files man/xemacs-faq.texi
diffstat 1 files changed, 4912 insertions(+), 4776 deletions(-) [+]
line wrap: on
line diff
--- a/man/xemacs-faq.texi	Sun Dec 05 08:06:42 2004 +0000
+++ b/man/xemacs-faq.texi	Sun Dec 05 08:48:12 2004 +0000
@@ -7,10 +7,10 @@
 @finalout
 @titlepage
 @title XEmacs FAQ
-@subtitle Frequently asked questions about XEmacs @* Last Modified: $Date: 2004/07/05 10:42:30 $
+@subtitle Frequently asked questions about XEmacs @* Last Modified: $Date: 2004/12/05 08:48:12 $
 @sp 1
+@author Ben Wing <ben@@xemacs.org>
 @author Tony Rossini <rossini@@u.washington.edu>
-@author Ben Wing <ben@@xemacs.org>
 @author Chuck Thompson <cthomp@@xemacs.org>
 @author Steve Baur <steve@@xemacs.org>
 @author Andreas Kaempf <andreas@@sccon.com>
@@ -26,6 +26,107 @@
 @end direntry
 @end ifinfo
 
+@ignore
+ *****************************************
+ ***** To update the menus and nodes *****
+ *****************************************
+
+First, the first argument to @node (the name itself) needs to be correct.
+Use a macro if necessary to update the @node names from the
+@unnumberedsubsec commands.  Also note that the command we're about to
+run will not correctly fix up the part of the menu to the right of a ::.
+It will leave existing text in place but not change anything.  If you
+make a lot of changes and want to update this semi-automatically, use
+M-x occur to pick out all @unnumberedsubsec lines then do some editing
+magic to coerce them into the right format and cut and paste as necessary:
+
+1. M-x occur @unnumberedsubsec
+2. <select a rectangle including all text before the Q#.#.#>
+3. C-x r t *<space>
+4. go to the top and use the following macro to get the indentation right.
+ 
+(setq last-kbd-macro (read-kbd-macro
+"C-s : RET : <right> M-x indent- to- column RET 14 RET <home> <down>"))
+
+5. Cut and paste the menus into the detailmenu at the top and
+   individual menus at the top of the appropriate chapters. (#### I
+   wonder, does texinfo-master-menu generate the detailmenu from the
+   individual menus or vice-versa or neither?)
+
+Then,
+
+1. Use the Lisp line below to get the spacing correct for the Q#.#.#
+   menu entries.
+
+(set (make-local-variable 'texinfo-column-for-description) 14)
+
+2. C-u C-c C-u m (C-u M-x texinfo-master-menu) will update the menus
+   and nodes.  However, it appears that even though it tries to
+   preserve the existing menu structure as much as possible, it
+   doesn't do a perfect job.  It messes up in at least two ways: The
+   indentation in the part of the main menu above the detailmenu will
+   be screwed up, and the #.0 titles will be removed from both the
+   detailmenu and the individual chapter menus.  In addition,
+   sometimes random things get screwed up in individual parts of the
+   menus.  Therefore:
+
+   1. Copy the whole detailmenu beforehand.
+   2. Run C-u C-C C-u m to fix up the nodes.
+   3. Run `fix-main-menu' and `fix-omitted-menu-lines'.
+   4. Check the new detailmenu carefully to see if anything is screwed up
+      compared to the old detailmenu you copied.
+   5. If so, paste back the appropriate sections and fix up the corresponding
+      part of the chapter-specific menu.
+
+(defun fix-main-menu ()
+  (interactive)
+  (save-restriction
+    (let (p q)
+      (search-forward "@menu")
+      (setq p (match-beginning 0))
+      (re-search-forward "^$")
+      (setq q (match-end 0))
+      (narrow-to-region p q)
+      (goto-char p)
+      (while (search-forward "::  " nil t)
+        (indent-to-column 26)))))
+
+(defun fix-omitted-menu-lines ()
+  (interactive)
+  (save-excursion
+    (loop for x from 1 to 7 do
+      (goto-char (point-min))
+      (re-search-forward (format "@unnumberedsec \\(%d.0: .*\\)" x))
+      (let ((line (match-string 1)))
+	(search-backward "@menu")
+	(forward-line 1)
+	(unless (looking-at "[0-9].0:")
+	  (insert line)
+	  (insert "\n"))
+	(goto-char (point-min))
+	(search-forward "@menu")
+	(search-forward (format "Q%d.0.1:" x))
+	(forward-line -1)
+	(unless (looking-at "[0-9].0:")
+	  (insert line)
+	  (insert "\n"))))))
+
+ *****************************************
+ *****            Other work         *****
+ *****************************************
+
+When you've rearranged and renumbered a bunch of nodes, you can get
+the numbers agreeing again.  The macro below assumes that the
+unnumberedsubsec number is correct, and fixes up the node to agree.
+Only the first part of the node is fixed and the other parts may still
+be wrong; but they will be fixed as part of
+@code{texinfo-master-menu}.
+
+(setq last-kbd-macro (read-kbd-macro
+"<f1> unnumberedsubsec SPC RET C-s : RET <left> C-x C-x <f3> <home> <up> <C-right> <right> C-s , RET <left> C-x C-x <f4> <home> 2*<down>"))
+@end ignore
+
+
 @node Top, Introduction, (dir), (dir)
 @top XEmacs FAQ
 
@@ -77,366 +178,349 @@
 @c end ifset points to CANONICAL
 
 @menu
-* Introduction::        Introduction, Policy, Credits.
-* Installation::        Installation and Trouble Shooting.
-* Customization::       Customization and Options.
-* Subsystems::          Major Subsystems.
-* Miscellaneous::       The Miscellaneous Stuff.
-* MS Windows::          XEmacs on Microsoft Windows.
-* Current Events::      What the Future Holds.
-* Legacy Versions::     New information about old XEmacsen.
+* Introduction::          Introduction, Policy, Credits.
+* Installation::          Installation and Troubleshooting.
+* Display Subsystems::    Basic Display-Related Subsystems.
+* External Subsystems::   Interfacing with the OS and External Devices.
+* Internet::              Connecting to the Internet.
+* Advanced::              Advanced Customization Using XEmacs Lisp.
+* Current Events::        What the Future Holds.
+* Legacy Versions::       New information about old XEmacsen.
 
 @detailmenu
-
  --- The Detailed Node Listing ---
 
-Introduction, Policy, Credits
-
-* Q1.0.1::      What is XEmacs?
-* Q1.0.2::      What is the current version of XEmacs?
-* Q1.0.3::      Where can I find it?
-* Q1.0.4::      Why Another Version of Emacs?
-* Q1.0.5::      Why Haven't XEmacs and GNU Emacs Merged?
-* Q1.0.6::      Where can I get help?
-* Q1.0.7::      Where are the mailing lists archived?
-* Q1.0.8::      How do you pronounce XEmacs?
-* Q1.0.9::      What does XEmacs look like?
-* Q1.0.10::     Is there a port of XEmacs to Microsoft ('95 or NT)?
-* Q1.0.11::     Is there a port of XEmacs to the Macintosh?
-* Q1.0.12::     Is there a port of XEmacs to NextStep?
-* Q1.0.13::     Is there a port of XEmacs to OS/2?
-* Q1.0.14::     Where can I get a printed copy of the XEmacs users manual?
-
-Policies:
-* Q1.1.1::      What is the FAQ editorial policy?
-* Q1.1.2::      How do I become a Beta Tester?
-* Q1.1.3::      How do I contribute to XEmacs itself?
-
-Credits:
-* Q1.2.1::      Who wrote XEmacs?
-* Q1.2.2::      Who contributed to this version of the FAQ?
-* Q1.2.3::      Who contributed to the FAQ in the past?
-
-Internationalization:
-* Q1.3.1::      What is the status of internationalization support aka MULE (including Asian language support?
-* Q1.3.2::      How can I help with internationalization?
-* Q1.3.3::      How do I type non-ASCII characters?
-* Q1.3.4::      Can XEmacs messages come out in a different language?
-* Q1.3.5::      Please explain the various input methods in MULE/XEmacs
-* Q1.3.6::      How do I portably code for MULE/XEmacs?
-* Q1.3.7::      How about Cyrillic Modes?
-* Q1.3.8::      Does XEmacs support Unicode?
-* Q1.3.9::      How does XEmacs display Unicode?
-
-Getting Started:
-* Q1.4.1::      What is an @file{init.el} or @file{.emacs} and is there a sample one?
-* Q1.4.2::      Can I use the same @file{init.el}/@file{.emacs} with the other Emacs?
-* Q1.4.3::      Any good XEmacs tutorials around?
-* Q1.4.4::      May I see an example of a useful XEmacs Lisp function?
-* Q1.4.5::      And how do I bind it to a key?
-* Q1.4.6::      What's the difference between a macro and a function?
-
-Installation and Trouble Shooting
-
-* Q2.0.1::      Running XEmacs without installing.
-* Q2.0.2::      XEmacs is too big.
-* Q2.0.3::      Compiling XEmacs with Netaudio.
-* Q2.0.4::      Problems with Linux and ncurses.
-* Q2.0.5::      Do I need X11 to run XEmacs?
-* Q2.0.6::      I'm having strange crashes.  What do I do?
-* Q2.0.7::      Libraries in non-standard locations.
-* Q2.0.8::      can't resolve symbol _h_errno
-* Q2.0.9::      Where do I find external libraries?
-* Q2.0.10::     After I run configure I find a coredump, is something wrong?
-* Q2.0.11::     XEmacs can't resolve host names.
-* Q2.0.12::     Why can't I strip XEmacs?
-* Q2.0.13::     I don't need no steenkin' packages.  Do I?
-* Q2.0.14::     How do I figure out which packages to install?
-* Q2.0.15::     EFS fails with "500 AUTH not understood" (NEW)
-* Q2.0.16::     Cygwin XEmacs won't start: cygXpm-noX4.dll was not found (NEW)
-
-Trouble Shooting:
-* Q2.1.1::      XEmacs just crashed on me!
-* Q2.1.2::      Cryptic Minibuffer messages.
-* Q2.1.3::      Translation Table Syntax messages at Startup.
-* Q2.1.4::      Startup warnings about deducing proper fonts?
-* Q2.1.5::      XEmacs cannot connect to my X Terminal.
-* Q2.1.6::      XEmacs just locked up my Linux X server.
-* Q2.1.7::      HP Alt key as Meta.
-* Q2.1.8::      got (wrong-type-argument color-instance-p nil)!
-* Q2.1.9::      XEmacs causes my OpenWindows 3.0 server to crash.
-* Q2.1.10::     Warnings from incorrect key modifiers.
-* Q2.1.11::     Can't instantiate image error... in toolbar
-* Q2.1.12::     Regular Expression Problems on DEC OSF1.
-* Q2.1.13::     HP/UX 10.10 and @code{create_process} failure
-* Q2.1.14::     @kbd{C-g} doesn't work for me.  Is it broken?
-* Q2.1.15::     How to debug an XEmacs problem with a debugger.
-* Q2.1.16::     XEmacs crashes in @code{strcat} on HP/UX 10.
-* Q2.1.17::     @samp{Marker does not point anywhere}.
-* Q2.1.18::     XEmacs is outputting lots of X errors.
-* Q2.1.19::     XEmacs does not follow the local timezone.
-* Q2.1.20::     @samp{Symbol's function definition is void: hkey-help-show.}
-* Q2.1.21::     [This question intentionally left blank]
-* Q2.1.22::     XEmacs seems to take a really long time to do some things.
-* Q2.1.23::     Movemail on Linux does not work for XEmacs 19.15 and later.
-* Q2.1.24::     XEmacs won't start without network.
-* Q2.1.25::     After upgrading, XEmacs won't do `foo' any more!
-
-Customization and Options
-
-* Q3.0.1::      What version of Emacs am I running?
-* Q3.0.2::      How do I evaluate Elisp expressions?
-* Q3.0.3::      @code{(setq tab-width 6)} behaves oddly.
-* Q3.0.4::      How can I add directories to the @code{load-path}?
-* Q3.0.5::      How to check if a lisp function is defined?
-* Q3.0.6::      Can I force the output of @code{(face-list)} to a buffer?
-* Q3.0.7::      Font selections don't get saved after @code{Save Options}.
-* Q3.0.8::      How do I make a single minibuffer frame?
-* Q3.0.9::      What is @code{Customize}?
-
-X Window System & Resources:
-* Q3.1.1::      Where is a list of X resources?
-* Q3.1.2::      How can I detect a color display?
-* Q3.1.3::      [This question intentionally left blank]
-* Q3.1.4::      [This question intentionally left blank]
-* Q3.1.5::      How can I get the icon to just say @samp{XEmacs}?
-* Q3.1.6::      How can I have the window title area display the full path?
-* Q3.1.7::      @samp{xemacs -name junk} doesn't work?
-* Q3.1.8::      @samp{-iconic} doesn't work.
-
-Textual Fonts & Colors:
-* Q3.2.1::      How can I set color options from @file{init.el}/@file{.emacs}?
-* Q3.2.2::      How do I set the text, menu and modeline fonts?
-* Q3.2.3::      How can I set the colors when highlighting a region?
-* Q3.2.4::      How can I limit color map usage?
-* Q3.2.5::      My tty supports color, but XEmacs doesn't use them.
-* Q3.2.6::      Can I have pixmap backgrounds in XEmacs?
-
-The Modeline:
-* Q3.3.1::      How can I make the modeline go away?
-* Q3.3.2::      How do you have XEmacs display the line number in the modeline?
-* Q3.3.3::      How do I get XEmacs to put the time of day on the modeline?
-* Q3.3.4::      How do I turn off current chapter from AUC TeX modeline?
-* Q3.3.5::      How can one change the modeline color based on the mode used?
-
-Multiple Device Support:
-* Q3.4.1::      How do I open a frame on another screen of my multi-headed display?
-* Q3.4.2::      Can I really connect to a running XEmacs after calling up over a modem?  How?
-
-The Keyboard:
-* Q3.5.1::      How can I bind complex functions (or macros) to keys?
-* Q3.5.2::      How can I stop down-arrow from adding empty lines to the bottom of my buffers?
-* Q3.5.3::      How do I bind C-. and C-; to scroll one line up and down?
-* Q3.5.4::      Globally binding @kbd{Delete}?
-* Q3.5.5::      Scrolling one line at a time.
-* Q3.5.6::      How to map @kbd{Help} key alone on Sun type4 keyboard?
-* Q3.5.7::      How can you type in special characters in XEmacs?
-* Q3.5.8::      [This question intentionally left blank]
-* Q3.5.9::      How do I make the Delete key delete forward?
-* Q3.5.10::     Can I turn on @dfn{sticky} modifier keys?
-* Q3.5.11::     How do I map the arrow keys?
-
-The Cursor:
-* Q3.6.1::      Is there a way to make the bar cursor thicker?
-* Q3.6.2::      Is there a way to get back the old block cursor where the cursor covers the character in front of the point?
-* Q3.6.3::      Can I make the cursor blink?
-
-The Mouse and Highlighting:
-* Q3.7.1::      How can I turn off Mouse pasting?
-* Q3.7.2::      How do I set control/meta/etc modifiers on mouse buttons?
-* Q3.7.3::      Clicking the left button does not do anything in buffer list.
-* Q3.7.4::      How can I get a list of buffers when I hit mouse button 3?
-* Q3.7.5::      Why does cut-and-paste not work between XEmacs and a cmdtool?
-* Q3.7.6::      How I can set XEmacs up so that it pastes where the text cursor is?
-* Q3.7.7::      How do I select a rectangular region?
-* Q3.7.8::      Why does @kbd{M-w} take so long?
-
-The Menubar and Toolbar:
-* Q3.8.1::      How do I get rid of the menu (or menubar)?
-* Q3.8.2::      Can I customize the basic menubar?
-* Q3.8.3::      How do I control how many buffers are listed in the menu @code{Buffers} list?
-* Q3.8.4::      Resources like @code{Emacs*menubar*font} are not working?
-* Q3.8.5::      How can I bind a key to a function to toggle the toolbar?
-
-Scrollbars:
-* Q3.9.1::      How can I disable the scrollbar?
-* Q3.9.2::      How can one use resources to change scrollbar colors?
-* Q3.9.3::      Moving the scrollbar can move the point; can I disable this?
-* Q3.9.4::      How can I turn off automatic horizontal scrolling in specific modes?
-
-Text Selections:
-* Q3.10.1::     How can I turn off or change highlighted selections?
-* Q3.10.2::     How do I get that typing on an active region removes it?
-* Q3.10.3::     Can I turn off the highlight during isearch?
-* Q3.10.4::     How do I turn off highlighting after @kbd{C-x C-p} (mark-page)?
-* Q3.10.5::     The region disappears when I hit the end of buffer while scrolling.
-* Q3.10.6::     Why is killing so slow?
-
-Major Subsystems
-
-* Q4.0.1::      How do I set up VM to retrieve remote mail using POP?
-* Q4.0.2::      How do I get VM to filter mail for me?
-* Q4.0.3::      How can I get VM to automatically check for new mail?
-* Q4.0.4::      [This question intentionally left blank]
-* Q4.0.5::      How do I get my outgoing mail archived?
-* Q4.0.6::      I have various addresses at which I receive mail.  How can I tell VM to ignore them when doing a "reply-all"?
-* Q4.0.7::      Is there a mailing list or FAQ for VM?
-* Q4.0.8::      Remote mail reading with VM.
-* Q4.0.9::      rmail or VM gets an error incorporating new mail.
-* Q4.0.10::     How do I make VM stay in a single frame?
-* Q4.0.11::     How do I make VM or mh-e display graphical smilies?
-* Q4.0.12::     Customization of VM not covered in the manual or here.
-
-Web browsing with W3:
-* Q4.1.1::      What is W3?
-* Q4.1.2::      How do I run W3 from behind a firewall?
-* Q4.1.3::      Is it true that W3 supports style sheets and tables?
-
-Reading Netnews and Mail with Gnus:
-* Q4.2.1::      GNUS, (ding) Gnus, Gnus 5, September Gnus, Red Gnus, Quassia Gnus, argh!
-* Q4.2.2::      [This question intentionally left blank]
-* Q4.2.3::      How do I make Gnus stay within a single frame?
-* Q4.2.4::      How do I customize the From: line?
-
-Other Mail & News:
-* Q4.3.1::      How can I read and/or compose MIME messages?
-* Q4.3.2::      What is TM and where do I get it?
-* Q4.3.3::      Why isn't this @code{movemail} program working?
-* Q4.3.4::      Movemail is also distributed by Netscape?  Can that cause problems?
-* Q4.3.5::      Where do I find pstogif (required by tm)?
-
-Sparcworks, EOS, and WorkShop:
-* Q4.4.1::      What is SPARCworks, EOS, and WorkShop
-* Q4.4.2::      How do I start the Sun Workshop support in XEmacs 21?
-
-Energize:
-* Q4.5.1::      What is/was Energize?
-
-Infodock:
-* Q4.6.1::      What is Infodock?
-
-Other Unbundled Packages:
-* Q4.7.1::      What is AUC TeX?  Where do you get it?
-* Q4.7.2::      Are there any Emacs Lisp Spreadsheets?
-* Q4.7.3::      [This question intentionally left blank]
-* Q4.7.4::      Problems installing AUC TeX
-* Q4.7.5::      Is there a reason for an Emacs package not to be included in XEmacs?
-* Q4.7.6::      Is there a MatLab mode?
-* Q4.7.7::      Can I edit files on other hosts?
-
-The Miscellaneous Stuff
-
-* Q5.0.1::      How can I do source code highlighting using font-lock?
-* Q5.0.2::      I do not like cc-mode.  How do I use the old c-mode?
-* Q5.0.3::      How do I get @samp{More} Syntax Highlighting on by default?
-* Q5.0.4::      How can I enable auto-indent and/or Filladapt?
-* Q5.0.5::      How can I get XEmacs to come up in text/auto-fill mode by default?
-* Q5.0.6::      How do I start up a second shell buffer?
-* Q5.0.7::      Telnet from shell filters too much.
-* Q5.0.8::      Why does edt emulation not work?
-* Q5.0.9::      How can I emulate VI and use it as my default mode?
-* Q5.0.10::     [This question intentionally left blank]
-* Q5.0.11::     [This question intentionally left blank]
-* Q5.0.12::     How do I disable gnuserv from opening a new frame?
-* Q5.0.13::     How do I start gnuserv so that each subsequent XEmacs is a client?
-* Q5.0.14::     Strange things are happening in Shell Mode.
-* Q5.0.15::     Where do I get the latest CC Mode?
-* Q5.0.16::     I find auto-show-mode disconcerting.  How do I turn it off?
-* Q5.0.17::     How can I get two instances of info?
-* Q5.0.18::     [This question intentionally left blank]
-* Q5.0.19::     Is there something better than LaTeX mode?
-* Q5.0.20::     Is there a way to start a new XEmacs if there's no gnuserv running, and otherwise use gnuclient?
-
-Emacs Lisp Programming Techniques:
-* Q5.1.1::      The difference in key sequences between XEmacs and GNU Emacs?
-* Q5.1.2::      Can I generate "fake" keyboard events?
-* Q5.1.3::      Could you explain @code{read-kbd-macro} in more detail?
-* Q5.1.4::      What is the performance hit of @code{let}?
-* Q5.1.5::      What is the recommended use of @code{setq}?
-* Q5.1.6::      What is the typical misuse of @code{setq} ?
-* Q5.1.7::      I like the @code{do} form of cl, does it slow things down?
-* Q5.1.8::      I like recursion, does it slow things down?
-* Q5.1.9::      How do I put a glyph as annotation in a buffer?
-* Q5.1.10::     @code{map-extents} won't traverse all of my extents!
-* Q5.1.11::     My elisp program is horribly slow.  Is there an easy way to find out where it spends time?
-
-Sound:
-* Q5.2.1::      How do I turn off the sound?
-* Q5.2.2::      How do I get funky sounds instead of a boring beep?
-* Q5.2.3::      What's NAS, how do I get it?
-* Q5.2.4::      Sunsite sounds don't play.
-
-Miscellaneous:
-* Q5.3.1::      How do you make XEmacs indent CL if-clauses correctly?
-* Q5.3.2::      [This question intentionally left blank]
-* Q5.3.3::      How can I print WYSIWYG a font-locked buffer?
-* Q5.3.4::      Getting @kbd{M-x lpr} to work with postscript printer.
-* Q5.3.5::      How do I specify the paths that XEmacs uses for finding files?
-* Q5.3.6::      [This question intentionally left blank]
-* Q5.3.7::      Can I have the end of the buffer delimited in some way?
-* Q5.3.8::      How do I insert today's date into a buffer?
-* Q5.3.9::      Are only certain syntactic character classes available for abbrevs?
-* Q5.3.10::     How can I get those oh-so-neat X-Face lines?
-* Q5.3.11::     How do I add new Info directories?
-* Q5.3.12::     What do I need to change to make printing work?
-
-Mathematics:
-* Q5.4.1::      What are bignums, ratios, and bigfloats in Lisp?
-* Q5.4.2::      XEmacs segfaults when I use very big numbers!
-* Q5.4.3::      Bignums are really slow!
-* Q5.4.4::      Equal bignums don't compare as equal!  What's going on?
-
-XEmacs on MS Windows
-
-General Info:
-* Q6.0.1::      What is the status of the XEmacs port to Windows?
-* Q6.0.2::      What flavors of MS Windows are supported?  The list name implies NT only.
-* Q6.0.3::      Are binaries available?
-* Q6.0.4::      Can I build XEmacs on MS Windows with X support?  Do I need to?
-* Q6.0.5::      I'd like to help out.  What do I do?
-* Q6.0.6::      What are Cygwin and MinGW, and do I need them to run XEmacs?
-* Q6.0.7::      What exactly are all the different ways to build XEmacs under Windows?
-
-Building XEmacs on MS Windows:
-* Q6.1.1::      What compiler/libraries do I need to compile XEmacs?
-* Q6.1.2::      How do I compile the native port?
-* Q6.1.3::      What do I need for Cygwin?
-* Q6.1.4::      How do I compile under Cygwin?
-* Q6.1.5::      How do I compile using MinGW (aka @samp{the -mno-cygwin flag to gcc})?
-* Q6.1.6::      I decided to run with X.  Where do I get an X server?
-* Q6.1.7::      How do I compile with X support?
-
-Customization and User Interface:
-* Q6.2.1::      How does the port cope with differences in the Windows user interface?
-* Q6.2.2::      How do I change fonts in XEmacs on MS Windows?
-* Q6.2.3::      Where do I put my @file{init.el}/@file{.emacs} file?
-* Q6.2.4::      How do I get Windows Explorer to associate a file type with XEmacs?
-* Q6.2.5::      Is it possible to print from XEmacs?
-
-Miscellaneous:
-* Q6.3.1::      Does XEmacs rename all the @samp{win32-*} symbols to @samp{w32-*}?
-* Q6.3.2::      What are the differences between the various MS Windows emacsen?
-* Q6.3.3::      XEmacs 21.1 on Windows used to spawn an ugly console window on every startup.  Has that been fixed?
-* Q6.3.4::      What is the porting team doing at the moment?
-
-Troubleshooting:
-* Q6.4.1::      XEmacs won't start on Windows.
-* Q6.4.2::      Why do I get a blank toolbar on Windows 95?
-* Q6.4.3::      XEmacs complains "No such file or directory, diff"
-
-What the Future Holds
-
-* Q7.0.1::      What new features will be in XEmacs soon?
-* Q7.0.2::      What's new in XEmacs 21.4?
-* Q7.0.3::      What's new in XEmacs 21.1?
-* Q7.0.4::      What's new in XEmacs 20.4?
-* Q7.0.5::      What's new in XEmacs 20.3?
-* Q7.0.6::      What's new in XEmacs 20.2?
-
-New information about old XEmacsen.
-
-XEmacs 21.1:
-* Q8.0.1::      Gnus 5.10 won't display smileys in XEmacs 21.1.
+1 Introduction, Policy, Credits
+
+1.0: Introduction
+* Q1.0.1::    What is XEmacs?
+* Q1.0.2::    What is the current version of XEmacs?
+* Q1.0.3::    Where can I find it?
+* Q1.0.4::    Are binaries available?
+* Q1.0.5::    How does XEmacs differ from GNU Emacs?
+* Q1.0.6::    How much does XEmacs differ?
+* Q1.0.7::    Is XEmacs "GNU"?
+* Q1.0.8::    What is the correct way to refer to XEmacs and GNU Emacs?
+* Q1.0.9::    Why haven't XEmacs and GNU Emacs merged?
+* Q1.0.10::   Where can I get help?
+* Q1.0.11::   Where are the mailing lists archived?
+* Q1.0.12::   How do you pronounce XEmacs?
+* Q1.0.13::   What does XEmacs look like?
+* Q1.0.14::   Where can I obtain a printed copy of the XEmacs User's Manual?
+
+1.1: Versions for Different Operating Systems
+* Q1.1.1::    Do I need X11 to run XEmacs?
+* Q1.1.2::    Is there a port of XEmacs to Microsoft Windows?
+* Q1.1.3::    Can I build XEmacs on MS Windows with X support?  Do I need to?
+* Q1.1.4::    What are Cygwin and MinGW, and do I need them to run XEmacs?
+* Q1.1.5::    What are the differences between the various MS Windows emacsen?
+* Q1.1.6::    Is there a port of XEmacs to the Macintosh?
+* Q1.1.7::    Is there a port of XEmacs to NextStep?
+* Q1.1.8::    Is there a port of XEmacs to OS/2?
+* Q1.1.9::    How does the port cope with differences in the Windows user interface?
+
+1.2: Policies
+* Q1.2.1::    What is the FAQ editorial policy?
+* Q1.2.2::    How do I become a beta tester?
+* Q1.2.3::    How do I contribute to XEmacs itself?
+
+1.3: Credits
+* Q1.3.1::    Who wrote XEmacs?
+* Q1.3.2::    Who contributed to this version of the FAQ?
+* Q1.3.3::    Who contributed to the FAQ in the past?
+
+1.4: Internationalization
+* Q1.4.1::    What is the status of internationalization support aka MULE (including Asian language support?
+* Q1.4.2::    How can I help with internationalization?
+* Q1.4.3::    How do I type non-ASCII characters?
+* Q1.4.4::    Can XEmacs messages come out in a different language?
+* Q1.4.5::    Please explain the various input methods in MULE/XEmacs
+* Q1.4.6::    How do I portably code for MULE/XEmacs?
+* Q1.4.7::    How about Cyrillic modes?
+* Q1.4.8::    Does XEmacs support Unicode?
+* Q1.4.9::    How does XEmacs display Unicode?
+
+1.5: Getting Started
+* Q1.5.1::    What is an @file{init.el} or @file{.emacs} and is there a sample one?
+* Q1.5.2::    Where do I put my @file{init.el} file?
+* Q1.5.3::    Can I use the same @file{init.el} with the other Emacs?
+* Q1.5.4::    Any good XEmacs tutorials around?
+* Q1.5.5::    May I see an example of a useful XEmacs Lisp function?
+* Q1.5.6::    And how do I bind it to a key?
+* Q1.5.7::    What's the difference between a macro and a function?
+* Q1.5.8::    What is @code{Custom}?
+
+2 Installation and Troubleshooting
+
+2.0: Installation (General), Packages
+* Q2.0.1::    How do I install the packages?
+* Q2.0.2::    I don't need no steenkin' packages.  Do I?
+* Q2.0.3::    Where do I find external libraries?
+* Q2.0.4::    How do I specify the paths that XEmacs uses for finding files?
+* Q2.0.5::    Running XEmacs without installing
+* Q2.0.6::    XEmacs is too big
+* Q2.0.7::    EFS fails with "500 AUTH not understood" (NEW)
+
+2.1: Unix/Mac OS Installation (Also Relevant to Cygwin, MinGW)
+* Q2.1.1::    Libraries in non-standard locations
+* Q2.1.2::    Why can't I strip XEmacs?
+* Q2.1.3::    Compiling XEmacs with Netaudio.
+* Q2.1.4::    Problems with Linux and ncurses.
+
+2.2: Windows Installation (Windows, Cygwin, MinGW)
+* Q2.2.1::    What exactly are all the different ways to build XEmacs under Windows?
+* Q2.2.2::    What compiler/libraries do I need to compile XEmacs?
+* Q2.2.3::    How do I compile the native port?
+* Q2.2.4::    What do I need for Cygwin?
+* Q2.2.5::    How do I compile under Cygwin?
+* Q2.2.6::    How do I compile using MinGW (aka @samp{the -mno-cygwin flag to gcc})?
+* Q2.2.7::    How do I compile with X support?
+* Q2.2.8::    Cygwin XEmacs won't start -- cygXpm-noX4.dll was not found (NEW)
+
+2.3: General Troubleshooting
+* Q2.3.1::    Help!  XEmacs just crashed on me!
+* Q2.3.2::    XEmacs crashes and I compiled it myself.
+* Q2.3.3::    How to debug an XEmacs problem with a debugger
+* Q2.3.4::    I get a cryptic error message when trying to do something.
+* Q2.3.5::    XEmacs hangs when I try to do something.
+* Q2.3.6::    I get an error message when XEmacs is running in batch mode.
+* Q2.3.7::    The keyboard or mouse is not working properly, or I have some other event-related problem.
+* Q2.3.8::    @kbd{C-g} doesn't work for me.  Is it broken?
+* Q2.3.9::    How do I debug process-related problems?
+* Q2.3.10::   XEmacs is outputting lots of X errors.
+* Q2.3.11::   After upgrading, XEmacs won't do `foo' any more!
+
+2.4: Startup-Related Problems
+* Q2.4.1::    XEmacs cannot connect to my X Terminal!
+* Q2.4.2::    XEmacs won't start on Windows.
+* Q2.4.3::    XEmacs won't start without network.
+* Q2.4.4::    Startup warnings about deducing proper fonts?
+* Q2.4.5::    Warnings from incorrect key modifiers.
+* Q2.4.6::    XEmacs 21.1 on Windows used to spawn an ugly console window on every startup.  Has that been fixed?
+
+3 Basic Display-Related Subsystems
+
+3.0: The Keyboard
+* Q3.0.1::    How can I bind complex functions (or macros) to keys?
+* Q3.0.2::    How do I bind C-. and C-; to scroll one line up and down?
+* Q3.0.3::    Globally binding @kbd{Delete}?
+* Q3.0.4::    How to map @kbd{Help} key alone on Sun type4 keyboard?
+* Q3.0.5::    How can you type in special characters in XEmacs?
+* Q3.0.6::    Can I turn on @dfn{sticky} modifier keys?
+* Q3.0.7::    How do I map the arrow keys?
+* Q3.0.8::    HP Alt key as Meta.
+* Q3.0.9::    Why does edt emulation not work?
+* Q3.0.10::   How can I emulate VI and use it as my default mode?
+
+3.1: The Mouse
+* Q3.1.1::    How can I turn off Mouse pasting?
+* Q3.1.2::    How do I set control/meta/etc modifiers on mouse buttons?
+* Q3.1.3::    Clicking the left button does not do anything in buffer list.
+* Q3.1.4::    How can I get a list of buffers when I hit mouse button 3?
+* Q3.1.5::    How I can set XEmacs up so that it pastes where the text cursor is?
+
+3.2: Textual Fonts and Colors
+* Q3.2.1::    How do I specify a font?
+* Q3.2.2::    How do I set the text, menu and modeline fonts?
+* Q3.2.3::    How can I set color options from @file{init.el}?
+* Q3.2.4::    How can I set the colors when highlighting a region?
+* Q3.2.5::    How can I limit color map usage?
+* Q3.2.6::    My tty supports color, but XEmacs doesn't use them.
+* Q3.2.7::    Can I have pixmap backgrounds in XEmacs?
+* Q3.2.8::    How do I display non-ASCII characters?
+* Q3.2.9::    Font selections in don't get saved after @code{Save Options}.
+
+3.3: The Menubar and Toolbar
+* Q3.3.1::    How do I get rid of the menu (or menubar)?
+* Q3.3.2::    Can I customize the basic menubar?
+* Q3.3.3::    How do I control how many buffers are listed in the menu @code{Buffers List}?
+* Q3.3.4::    Resources like @code{Emacs*menubar*font} are not working?
+* Q3.3.5::    How can I bind a key to a function to toggle the toolbar?
+* Q3.3.6::    @samp{Can't instantiate image error...} in toolbar
+
+3.4: Scrollbars and Scrolling
+* Q3.4.1::    How can I disable the scrollbar?
+* Q3.4.2::    How can one use resources to change scrollbar colors?
+* Q3.4.3::    Moving the scrollbar can move the point; can I disable this?
+* Q3.4.4::    Scrolling one line at a time.
+* Q3.4.5::    How can I turn off automatic horizontal scrolling in specific modes?
+* Q3.4.6::    I find auto-show-mode disconcerting.  How do I turn it off?
+
+3.5: The Modeline
+* Q3.5.1::    How can I make the modeline go away?
+* Q3.5.2::    How do you have XEmacs display the line number in the modeline?
+* Q3.5.3::    How do I get XEmacs to put the time of day on the modeline?
+* Q3.5.4::    How can one change the modeline color based on the mode used?
+
+3.6: The Cursor
+* Q3.6.1::    Is there a way to make the bar cursor thicker?
+* Q3.6.2::    Is there a way to get back the block cursor?
+* Q3.6.3::    Can I make the cursor blink?
+
+3.7: Text Selections
+* Q3.7.1::    How do I select a rectangular region?
+* Q3.7.2::    How can I turn off or change highlighted selections?
+* Q3.7.3::    How do I get that typing on an active region removes it?
+* Q3.7.4::    Can I turn off the highlight during isearch?
+* Q3.7.5::    How do I turn off highlighting after @kbd{C-x C-p} (mark-page)?
+* Q3.7.6::    The region disappears when I hit the end of buffer while scrolling.
+* Q3.7.7::    Why is killing so slow?
+* Q3.7.8::    Why does @kbd{M-w} take so long?
+
+3.8: Buffers, Text Editing
+* Q3.8.1::    Can I have the end of the buffer delimited in some way?
+* Q3.8.2::    How do I insert today's date into a buffer?
+* Q3.8.3::    How do I get a single minibuffer frame?
+* Q3.8.4::    How can I enable auto-indent and/or Filladapt?
+* Q3.8.5::    How can I get XEmacs to come up in text/auto-fill mode by default?
+
+3.9: Editing Source Code
+* Q3.9.1::    How can I do source code highlighting using font-lock?
+* Q3.9.2::    How do I get @samp{More} Syntax Highlighting on by default?
+* Q3.9.3::    Where do I get the latest CC Mode?
+* Q3.9.4::    I do not like cc-mode.  How do I use the old c-mode?
+* Q3.9.5::    How do you make XEmacs indent CL if-clauses correctly?
+
+4 Interfacing with the Operating System and External Devices
+
+4.0: X Window System and Resources
+* Q4.0.1::    Where is a list of X resources?
+* Q4.0.2::    How can I detect a color display?
+* Q4.0.3::    How can I get the icon to just say @samp{XEmacs}?
+* Q4.0.4::    How can I have the window title area display the full path?
+* Q4.0.5::    @samp{xemacs -name junk} doesn't work?
+* Q4.0.6::    @samp{-iconic} doesn't work.
+
+4.1: Microsoft Windows
+* Q4.1.1::    Does XEmacs rename all the @samp{win32-*} symbols to @samp{w32-*}?
+* Q4.1.2::    How do I get Windows Explorer to associate a file type with XEmacs?
+
+4.2: Printing
+* Q4.2.1::    What do I need to change to make printing work?
+* Q4.2.2::    How can I print WYSIWYG a font-locked buffer?
+* Q4.2.3::    Getting @kbd{M-x lpr} to work with postscript printer.
+* Q4.2.4::    Can you print under MS Windows?
+
+4.3: Sound
+* Q4.3.1::    How do I turn off the sound?
+* Q4.3.2::    How do I get funky sounds instead of a boring beep?
+* Q4.3.3::    What's NAS, how do I get it?
+* Q4.3.4::    Sunsite sounds don't play.
+
+4.4: Running an Interior Shell, Invoking Subprocesses
+* Q4.4.1::    What is an interior shell?
+* Q4.4.2::    How do I start up a second shell buffer?
+* Q4.4.3::    Telnet from shell filters too much
+* Q4.4.4::    Strange things are happening in Shell Mode.
+* Q4.4.5::    XEmacs complains "No such file or directory, diff"
+
+4.5: Multiple Device Support
+* Q4.5.1::    How do I open a frame on another screen of my multi-headed display?
+* Q4.5.2::    Can I really connect to a running XEmacs after calling up over a modem?  How?
+* Q4.5.3::    How do I disable gnuserv from opening a new frame?
+* Q4.5.4::    How do I start gnuserv so that each subsequent XEmacs is a client?
+* Q4.5.5::    Is there a way to start a new XEmacs if there's no gnuserv running, and otherwise use gnuclient?
+
+4.6: TeX
+* Q4.6.1::    Is there something better than LaTeX mode?
+* Q4.6.2::    What is AUCTeX?  Where do you get it?
+* Q4.6.3::    Problems installing AUCTeX.
+* Q4.6.4::    How do I turn off current chapter from AUCTeX modeline?
+
+4.7: Other Unbundled Packages
+* Q4.7.1::    Is there a reason for an Emacs package not to be included in XEmacs?
+* Q4.7.2::    Are there any Emacs Lisp Spreadsheets?
+* Q4.7.3::    Is there a MatLab mode?
+
+4.8: Environments Built Around XEmacs
+* Q4.8.1::    What are SPARCworks, EOS, and WorkShop?
+* Q4.8.2::    How do I start the Sun Workshop support in XEmacs 21?
+* Q4.8.3::    What is/was Energize?
+* Q4.8.4::    What is Infodock?
+
+5 Connecting to the Internet
+
+5.0: General Mail and News
+* Q5.0.1::    What are the various packages for reading mail?
+* Q5.0.2::    How can I send mail?
+* Q5.0.3::    How do I get my outgoing mail archived?
+* Q5.0.4::    How can I read and/or compose MIME messages?
+* Q5.0.5::    How do I customize the From line?
+* Q5.0.6::    How do I get my MUA to filter mail for me?
+* Q5.0.7::    Remote mail reading with an MUA.
+* Q5.0.8::    An MUA gets an error incorporating new mail.
+* Q5.0.9::    Why isn't @file{movemail} working?
+* Q5.0.10::   How do I make my MUA display graphical smilies?
+* Q5.0.11::   How can I get those oh-so-neat X-Face lines?
+
+5.1: Reading Mail with VM
+* Q5.1.1::    How do I set up VM to retrieve mail from a remote site using POP?
+* Q5.1.2::    How can I get VM to automatically check for new mail?
+* Q5.1.3::    I have various addresses at which I receive mail.  How can I tell VM to ignore them when doing a "reply-all"?
+* Q5.1.4::    Is there a mailing list or FAQ for VM?
+* Q5.1.5::    How do I make VM stay in a single frame?
+* Q5.1.6::    Customization of VM not covered in the manual, or here.
+
+5.2: Reading Netnews and Mail with Gnus
+* Q5.2.1::    GNUS, (ding) Gnus, Gnus 5, September Gnus, Red Gnus, Quassia Gnus, argh!
+* Q5.2.2::    How do I make Gnus stay within a single frame?
+
+5.3: FTP Access
+* Q5.3.1::    Can I edit files on other hosts?
+* Q5.3.2::    What is EFS?
+
+5.4: Web Browsing with W3
+* Q5.4.1::    What is W3?
+* Q5.4.2::    How do I run W3 from behind a firewall?
+* Q5.4.3::    Is it true that W3 supports style sheets and tables?
+
+6 Advanced Customization Using XEmacs Lisp
+
+6.0: Online Help
+* Q6.0.1::    How can I get two instances of info?
+* Q6.0.2::    How do I add new Info directories?
+
+6.1: Emacs Lisp and @file{init.el}
+* Q6.1.1::    What version of Emacs am I running?
+* Q6.1.2::    How can I evaluate Emacs-Lisp expressions?
+* Q6.1.3::    @code{(setq tab-width 6)} behaves oddly.
+* Q6.1.4::    How can I add directories to the @code{load-path}?
+* Q6.1.5::    How to check if a lisp function is defined?
+* Q6.1.6::    Can I force the output of @code{(face-list)} to a buffer?
+
+6.2: Emacs Lisp Programming Techniques
+* Q6.2.1::    What is the difference in key sequences between XEmacs and GNU Emacs?
+* Q6.2.2::    Can I generate "fake" keyboard events?
+* Q6.2.3::    Could you explain @code{read-kbd-macro} in more detail?
+* Q6.2.4::    What is the performance hit of @code{let}?
+* Q6.2.5::    What is the recommended use of @code{setq}?
+* Q6.2.6::    What is the typical misuse of @code{setq}?
+* Q6.2.7::    I like the @code{do} form of cl, does it slow things down?
+* Q6.2.8::    I like recursion, does it slow things down?
+* Q6.2.9::    How do I put a glyph as annotation in a buffer?
+* Q6.2.10::   @code{map-extents} won't traverse all of my extents!
+* Q6.2.11::   My elisp program is horribly slow.  Is there
+
+6.3: Mathematics
+* Q6.3.1::    What are bignums, ratios, and bigfloats in Lisp?
+* Q6.3.2::    XEmacs segfaults when I use very big numbers!
+* Q6.3.3::    Bignums are really slow!
+* Q6.3.4::    Equal bignums don't compare as equal!  What gives?
+
+7 What the Future Holds
+
+7.0: Changes
+* Q7.0.1::    What new features will be in XEmacs soon?
+* Q7.0.2::    What's new in XEmacs 21.4?
+* Q7.0.3::    What's new in XEmacs 21.1?
+* Q7.0.4::    What's new in XEmacs 20.4?
+* Q7.0.5::    What's new in XEmacs 20.3?
+* Q7.0.6::    What's new in XEmacs 20.2?
+
+8 New information about old XEmacsen
+
+8.0: XEmacs 21.1
+* Q8.0.1::    Gnus 5.10 won't display smileys in XEmacs 21.1.
 
 @end detailmenu
 @end menu
@@ -451,100 +535,120 @@
 wondering what to do next.  It is also useful as a reference to
 available resources.
 
-The previous maintainer of the FAQ was @email{rossini@@biostat.washington.edu,
-Anthony Rossini}, who started it, after getting tired of hearing JWZ
-complain about repeatedly having to answer questions.
-@email{ben@@xemacs.org, Ben Wing} and @email{cthomp@@xemacs.org, Chuck
-Thompson}, the principal authors of XEmacs, then took over and Ben did
-a massive update reorganizing the whole thing.  At which point Anthony
-took back over, but then had to give it up again.  Some of the other
-contributors to this FAQ are listed later in this document.
+The previous maintainer of the FAQ was
+@email{rossini@@biostat.washington.edu, Anthony Rossini}, who started
+it, after getting tired of hearing JWZ complain about repeatedly
+having to answer questions.  @email{ben@@xemacs.org, Ben Wing} then
+took over and did a massive update reorganizing the whole thing.  At
+this point Anthony took back over, but then had to give it up again.
+Some of the other contributors to this FAQ are listed later in this
+document.
 
 The previous version was converted to hypertext format, and edited by
 @email{steve@@xemacs.org, Steven L. Baur}.  It was converted back to
 texinfo by @email{hniksic@@xemacs.org, Hrvoje Niksic}.  The FAQ was then
 maintained by @email{andreas@@sccon.com, Andreas Kaempf}, who passed it
-on to ChristianNyb@o{}.
+on to ChristianNyb@o{}, and then to @email{wambold@@xemacs.org,Sandra Wambold}.
+
+The current version of the FAQ has been heavily redone by
+@email{ben@@xemacs.org, Ben Wing}.
 
 If you notice any errors or items which should be added or amended to
-this FAQ please send email to @email{faq@@xemacs.org, Sandra
-Wambold}.  Include @samp{XEmacs FAQ} on the Subject: line.
+this FAQ please send email to @email{xemacs-beta@@xemacs.org}.
+Include @samp{XEmacs FAQ} on the Subject: line.
 
 @menu
-Introduction:
-* Q1.0.1::      What is XEmacs?
-* Q1.0.2::      What is the current version of XEmacs?
-* Q1.0.3::      Where can I find it?
-* Q1.0.4::      Why Another Version of Emacs?
-* Q1.0.5::      Why Haven't XEmacs and GNU Emacs Merged?
-* Q1.0.6::      Where can I get help?
-* Q1.0.7::      Where are the mailing lists archived?
-* Q1.0.8::      How do you pronounce XEmacs?
-* Q1.0.9::      What does XEmacs look like?
-* Q1.0.10::     Is there a port of XEmacs to Microsoft ('95 or NT)?
-* Q1.0.11::     Is there a port of XEmacs to the Macintosh?
-* Q1.0.12::     Is there a port of XEmacs to NextStep?
-* Q1.0.13::     Is there a port of XEmacs to OS/2?
-* Q1.0.14::     Where can I get a printed copy of the XEmacs users manual?
-
-Policies:
-* Q1.1.1::      What is the FAQ editorial policy?
-* Q1.1.2::      How do I become a Beta Tester?
-* Q1.1.3::      How do I contribute to XEmacs itself?
-
-Credits:
-* Q1.2.1::      Who wrote XEmacs?
-* Q1.2.2::      Who contributed to this version of the FAQ?
-* Q1.2.3::      Who contributed to the FAQ in the past?
-
-Internationalization:
-* Q1.3.1::      What is the status of internationalization support aka MULE (including Asian language support?
-* Q1.3.2::      How can I help with internationalization?
-* Q1.3.3::      How do I type non-ASCII characters?
-* Q1.3.4::      Can XEmacs messages come out in a different language?
-* Q1.3.5::      Please explain the various input methods in MULE/XEmacs
-* Q1.3.6::      How do I portably code for MULE/XEmacs?
-* Q1.3.7::      How about Cyrillic Modes?
-* Q1.3.8::      Does XEmacs support Unicode?
-* Q1.3.9::      How does XEmacs display Unicode?
-
-Getting Started:
-* Q1.4.1::      What is an @file{init.el} or @file{.emacs} and is there a sample one?
-* Q1.4.2::      Can I use the same @file{init.el}/@file{.emacs} with the other Emacs?
-* Q1.4.3::      Any good XEmacs tutorials around?
-* Q1.4.4::      May I see an example of a useful XEmacs Lisp function?
-* Q1.4.5::      And how do I bind it to a key?
-* Q1.4.6::      What's the difference between a macro and a function?
+1.0: Introduction
+* Q1.0.1::    What is XEmacs?
+* Q1.0.2::    What is the current version of XEmacs?
+* Q1.0.3::    Where can I find it?
+* Q1.0.4::    Are binaries available?
+* Q1.0.5::    How does XEmacs differ from GNU Emacs?
+* Q1.0.6::    How much does XEmacs differ?
+* Q1.0.7::    Is XEmacs "GNU"?
+* Q1.0.8::    What is the correct way to refer to XEmacs and GNU Emacs?
+* Q1.0.9::    Why haven't XEmacs and GNU Emacs merged?
+* Q1.0.10::   Where can I get help?
+* Q1.0.11::   Where are the mailing lists archived?
+* Q1.0.12::   How do you pronounce XEmacs?
+* Q1.0.13::   What does XEmacs look like?
+* Q1.0.14::   Where can I obtain a printed copy of the XEmacs User's Manual?
+
+1.1: Versions for Different Operating Systems
+* Q1.1.1::    Do I need X11 to run XEmacs?
+* Q1.1.2::    Is there a port of XEmacs to Microsoft Windows?
+* Q1.1.3::    Can I build XEmacs on MS Windows with X support?  Do I need to?
+* Q1.1.4::    What are Cygwin and MinGW, and do I need them to run XEmacs?
+* Q1.1.5::    What are the differences between the various MS Windows emacsen?
+* Q1.1.6::    Is there a port of XEmacs to the Macintosh?
+* Q1.1.7::    Is there a port of XEmacs to NextStep?
+* Q1.1.8::    Is there a port of XEmacs to OS/2?
+* Q1.1.9::    How does the port cope with differences in the Windows user interface?
+
+1.2: Policies
+* Q1.2.1::    What is the FAQ editorial policy?
+* Q1.2.2::    How do I become a beta tester?
+* Q1.2.3::    How do I contribute to XEmacs itself?
+
+1.3: Credits
+* Q1.3.1::    Who wrote XEmacs?
+* Q1.3.2::    Who contributed to this version of the FAQ?
+* Q1.3.3::    Who contributed to the FAQ in the past?
+
+1.4: Internationalization
+* Q1.4.1::    What is the status of internationalization support aka MULE (including Asian language support?
+* Q1.4.2::    How can I help with internationalization?
+* Q1.4.3::    How do I type non-ASCII characters?
+* Q1.4.4::    Can XEmacs messages come out in a different language?
+* Q1.4.5::    Please explain the various input methods in MULE/XEmacs
+* Q1.4.6::    How do I portably code for MULE/XEmacs?
+* Q1.4.7::    How about Cyrillic modes?
+* Q1.4.8::    Does XEmacs support Unicode?
+* Q1.4.9::    How does XEmacs display Unicode?
+
+1.5: Getting Started
+* Q1.5.1::    What is an @file{init.el} or @file{.emacs} and is there a sample one?
+* Q1.5.2::    Where do I put my @file{init.el} file?
+* Q1.5.3::    Can I use the same @file{init.el} with the other Emacs?
+* Q1.5.4::    Any good XEmacs tutorials around?
+* Q1.5.5::    May I see an example of a useful XEmacs Lisp function?
+* Q1.5.6::    And how do I bind it to a key?
+* Q1.5.7::    What's the difference between a macro and a function?
+* Q1.5.8::    What is @code{Custom}?
 @end menu
 
+@unnumberedsec 1.0: Introduction
+
 @node Q1.0.1, Q1.0.2, Introduction, Introduction
-@unnumberedsec 1.0: Introduction
 @unnumberedsubsec Q1.0.1: What is XEmacs?
 
-
 XEmacs is a powerful, highly customizable open source text editor and
-application development system, with full GUI support.  It is protected
-under the GNU Public License and related to other versions of Emacs, in
-particular GNU Emacs.  Its emphasis is on modern graphical user
-interface support and an open software development model, similar to
-Linux.  XEmacs has an active development community numbering in the
-hundreds (and thousands of active beta testers on top of this), and runs
-on all versions of MS Windows, on Linux, and on nearly every other
-version of Unix in existence.  Support for XEmacs has been supplied by
-Sun Microsystems, University of Illinois, Lucid, ETL/Electrotechnical
-Laboratory, Amdahl Corporation, BeOpen, and others, as well as the
-unpaid time of a great number of individual developers.
+application development system, with full GUI support.  It is
+protected under the GNU Public License and related to other versions
+of Emacs, in particular GNU Emacs.  Its emphasis is on modern
+graphical user interface support and an open software development
+model, similar to Linux.  XEmacs has an active development community
+numbering in the hundreds (and thousands of active beta testers on top
+of this), and runs on all versions of MS Windows, on Mac OS X, on
+Linux, and on nearly every other version of Unix in existence.
+Support for XEmacs has been supplied by Sun Microsystems, University
+of Illinois, Lucid, ETL/Electrotechnical Laboratory, Amdahl
+Corporation, BeOpen, and others, as well as the unpaid time of a great
+number of individual developers.
 
 @node Q1.0.2, Q1.0.3, Q1.0.1, Introduction
 @unnumberedsubsec Q1.0.2: What is the current version of XEmacs?
 
-XEmacs versions 21.1.* are releases made from the current stable
-sources.  XEmacs versions 21.2.* are releases made from the development
-sources.  Check at @uref{http://www.xemacs.org} for the current minor
-version.
-
-XEmacs 19.16 was the last release of v19, released in November, 1997,
-which was also the last version without international language support.
+XEmacs versions 21.4.* are releases made from the current stable
+sources.  XEmacs versions 21.5.* (which will be released as 22.0) are
+releases made from the development sources.  Check at
+@uref{http://www.xemacs.org} for the current minor version.  XEmacs
+versions 21.1.* were the previous stable releases, now retired.
+
+XEmacs 20.4, released in February 1998, was the last release of v20.
+
+XEmacs 19.16, released in November, 1997. was the last release of v19,
+and was also the last version without international language support.
 
 @node Q1.0.3, Q1.0.4, Q1.0.2, Introduction
 @unnumberedsubsec Q1.0.3: Where can I find it?
@@ -556,7 +660,23 @@
 @end example
 
 @node Q1.0.4, Q1.0.5, Q1.0.3, Introduction
-@unnumberedsubsec Q1.0.4: Why Another Version of Emacs?
+@unnumberedsubsec Q1.0.4: Are binaries available?
+
+MS Windows binaries are available at
+@uref{http://www.xemacs.org/Download/win32/} for the native versions
+of 21.4 and 21.1.  Cygwin binaries are now available as part of the
+standard Cygwin installation process.  XEmacs also comes pre-built as
+part of many Linux distributions, such as Red Hat and SuSE.
+
+Otherwise, you will need to build XEmacs yourself or get your system
+administrator to do it.  Generally, this is not a difficult process
+under Unix and Mac OS X, as XEmacs has been tested under all of the
+common Unix versions and under Mac OS X and comes with an extensive
+configure script that is able to automatically detect most aspects of
+the configuration of your particular system.
+
+@node Q1.0.5, Q1.0.6, Q1.0.4, Introduction
+@unnumberedsubsec Q1.0.5: How does XEmacs differ from GNU Emacs?
 
 For a detailed description of the differences between GNU Emacs and
 XEmacs and a detailed history of XEmacs, check out the
@@ -564,82 +684,322 @@
 @uref{http://www.xemacs.org/About/XEmacsVsGNUemacs.html, NEWS file}
 @end example
 
-However, here is a list of some of the reasons why we think you might
-consider using it:
+@table @strong
+@item User-Visible Editing Features
+XEmacs in general tries hard to conform to exist user-interface
+standards, and to work "out-of-the-box" without the need for obscure
+customization changes.  GNU Emacs, particularly version 21, has gotten
+better about this (in many cases by copying the XEmacs behavior!), but
+still has some weirdnesses.  For example, the standard method of
+selecting text using the Shift key works out-of-the-box in XEmacs.
+
+XEmacs has a built-in toolbar. Four toolbars can actually be configured
+simultaneously: top, bottom, left, and right toolbars.
+
+XEmacs has vertical and horizontal scrollbars. Unlike in GNU Emacs 19
+(which provides a primitive form of vertical scrollbar), these are true
+toolkit scrollbars. A look-alike Motif scrollbar is provided for those
+who don't have Motif. (Even for those who do, the look-alike may be
+preferable as it is faster.)
+
+XEmacs has buffer tabs along the top of the frame (although the
+position can be changed) that make it very easy to switch buffers.
+
+The menubar under XEmacs is better-designed, with more thought put into
+it.
+
+XEmacs can ask questions using popup dialog boxes. Any command executed
+from a menu will ask yes/no questions with dialog boxes, while commands
+executed via the keyboard will use the minibuffer.
+
+XEmacs under MS Windows provides uses the standard file-dialog box for
+opening and saving files.  Standard menu-accelerator behavior can easily
+be enabled using the Options menu, and integrates well into the existing
+keymap.
+
+XEmacs has (still experimental) support for widgets of various sorts --
+buttons, text boxes, sliders, progress bars, etc.  A progress bar is
+used in font lock to show the progress.
+
+Experimental support for drag-and-drop protocols is provided from
+XEmacs 21.
+
+@item General Platform Support
+If you're running on a machine with audio hardware, you can specify
+sound files for XEmacs to play instead of the default X beep. See the
+documentation of the function load-sound-file and the variable
+sound-alist. XEmacs also supports the network sound protocols NAS and
+EsounD.
+
+XEmacs 21 supports database protocols with LISP bindings, currently
+including Berkeley DB, LDAP, and PostgreSQL (21.2 only).
+
+XEmacs 20 and 21 support the Canna, Wnn, and SJ3 Japanese input method
+servers directly, as well as through the X Input Method (XIM)
+protocol. GNU Emacs 20 supports only the XIM protocol. Both Emacsen
+support the Quail family of input methods (implemented in LISP) for many
+languages.
+
+XEmacs provides support for ToolTalk on systems that have
+it.
+
+@item Packaged LISP Libraries
+Many more packages are provided standard with XEmacs than with GNU Emacs
+19 or 20.
+
+XEmacs 21 supports an integrated package management system which uses
+EFS to download, then automatically install prebuilt LISP
+libraries. This allows XEmacs users much more straightforward access to
+the "latest and greatest" version of any given library.
+
+We are working on a standard method for enabling, disabling and
+otherwise controlling packages, which should make them very easy to use.
+
+@item LISP Programming
+From XEmacs 20 on, characters are a separate type. Characters can be
+converted to integers (and many integers can be converted to
+characters), but characters are not integers. GNU Emacs 19, XEmacs 19,
+Mule 2.3 (an extensive patch to GNU Emacs 18.55 and 19.x), and GNU Emacs
+20 (incorporating Mule 3 and later Mule 4) represent them as integers.
+
+From XEmacs 20 on, the buffer is treated as an array of characters, and
+the representation of buffer text is not exposed to LISP. The GNU Emacs
+20 functions like buffer-as-multibyte are not supported.
+
+In XEmacs, events are first-class objects. GNU Emacs 19 represents them
+as integers, which obscures the differences between a key gesture and
+the ancient ASCII code used to represent a particular overlapping subset
+of them.
+
+In XEmacs, keymaps are first-class opaque objects. GNU Emacs 19
+represents them as complicated combinations of association lists and
+vectors. If you use the advertised functional interface to manipulation
+of keymaps, the same code will work in XEmacs, GNU Emacs 18, and GNU
+Emacs 19; if your code depends on the underlying implementation of
+keymaps, it will not.
+
+XEmacs uses "extents" to represent all non-textual aspects of buffers;
+GNU Emacs 19 uses two distinct objects, "text properties" and
+"overlays", which divide up the functionality between them. Extents are
+a superset of the union of the functionality of the two GNU Emacs data
+types. The full GNU Emacs 19 interface to text properties and overlays
+is supported in XEmacs (with extents being the underlying
+representation).
+
+Extents can be made to be copied into strings, and then restored, by
+kill and yank. Thus, one can specify this behavior on either "extents"
+or "text properties", whereas in GNU Emacs 19 text properties always
+have this behavior and overlays never do.
+
+@item Window System Programming Interface
+XEmacs uses the MIT "Xt" toolkit instead of raw Xlib calls, which makes
+it be a more well-behaved X citizen (and also improves portability). A
+result of this is that it is possible to include other Xt "Widgets" in
+the XEmacs window. Also, XEmacs understands the standard Xt command-line
+arguments.
+
+XEmacs supports Motif applications, generic Xt (e.g. Athena)
+applications, and raw Xlib applications. An XEmacs variant which
+supports GTK+ is available (integration as an option in the XEmacs
+mainline is planned for XEmacs 22), although code to take advantage of
+the support is as yet scarce.
+
+An XEmacs frame can be placed within an "external client widget" managed
+by another application. This allows an application to use an XEmacs
+frame as its text pane rather than the standard Text widget that is
+provided with Motif or Athena.
+
+@item Community Participation
+Starting with XEmacs 20, joining the XEmacs development team is
+simple. Mail to @email{xemacs-beta@@xemacs.org, XEmacs Developers}, and
+you're in! (If you want to be, of course. You're also welcome to just
+post development-related questions and bug reports.) The GNU Emacs
+development team and internal mailing lists are still by invitation
+only.
+
+The "bleeding edge" of mainline XEmacs development is available by
+anonymous CVS as are some subsidiary branches (check out the xemacs-gtk
+module for the latest in GUI features!)
+
+Development and maintenance of Lisp libraries is separated from the core
+editor development at a fairly low level. This provides better
+modularization and a better division of responsibility between external
+library maintainers and the XEmacs core development team. Even for
+packages the size of Gnus, XEmacs users normally have access to a
+pre-built version within a few weeks of a major release, and minor
+updates often within days.
+
+CVS commit authority is broadly dispersed. Recognized maintainers of
+LISP libraries who are willing to maintain XEmacs packaged versions
+automatically qualify for CVS accounts for their packages.
+@end table
+
+@node Q1.0.6, Q1.0.7, Q1.0.5, Introduction
+@unnumberedsubsec Q1.0.6: How much does XEmacs differ?
+
+RMS has asserted at times that XEmacs is merely a "patch" on top of
+GNU Emacs (@pxref{Q1.0.7}).  In fact, probably not more than 5% of the
+code, if that, remains unchanged, and nearly 14 years of work has gone
+into XEmacs at this point. (GNU Emacs itself is only than 20 years
+old, and thus XEmacs has existed as a separate product for over 2/3 of
+the lifespan of GNU Emacs.) As a point of comparison, XEmacs 21.5 has
+perhaps 65,000 more lines of C code than GNU Emacs 21.2.
+
+However, the XEmacs developers strive to keep their code compatible with
+GNU Emacs, especially on the Lisp level.  Much effort goes into
+"synching" the XEmacs Elisp code with recent GNU Emacs releases so as to
+benefit from GNU Emacs development work. (In contrast, almost no code
+from XEmacs has made it into GNU Emacs, and in fact the GNU Emacs
+developers are instructed by RMS not to even look at XEmacs source code!
+This stems from self-imposed licensing restrictions on the part of GNU
+Emacs -- and almost certainly out of hostility, as well.)
+
+@node Q1.0.7, Q1.0.8, Q1.0.6, Introduction
+@unnumberedsubsec Q1.0.7: Is XEmacs "GNU"?
+
+RMS insists on the term "GNU XEmacs" and maintains that
+
+@quotation
+XEmacs is GNU software because it's a modified version of a
+GNU program. And it is GNU software because the FSF is the copyright
+holder for most of it, and therefore the legal responsibility for
+protecting its free status falls on us whether we want it or not. This
+is why the term "GNU XEmacs" is legitimate.
+@end quotation
+
+In fact, FSF is @emph{not} the copyright holder for most of the code,
+as very little unmodified FSF code remains (@pxref{Q1.0.6}).
+
+Furthermore, RMS's assertion that XEmacs is "GNU" seems rather bizarre
+to the XEmacs developers given RMS's hostility and general lack of
+interest in cooperation.  "GNU" software in general is part of the GNU
+Project, is distributed by it on their FTP site, and receives support
+(or at least cooperation), as well as implicit endorsement, from it.
+The GNU Project, however, has never supported XEmacs and never
+distributed XEmacs, and RMS's hostility is the farthest thing possible
+from an endorsement.  In fact, the GNU Project distributes a number of
+non-GNU software projects on the FSF web site, but again XEmacs is not
+one of them.
+
+@node Q1.0.8, Q1.0.9, Q1.0.7, Introduction
+@unnumberedsubsec Q1.0.8: What is the correct way to refer to XEmacs and GNU Emacs?
+
+Unfortunately even the naming of these two applications has become
+politicized.  Much of this stems from RMS, who has a history of
+politicizing similar issues. (Compare the controversy over "Lignux"
+and "GNU/Linux".) We would prefer that the terms "XEmacs" and "GNU
+Emacs" be used, which are neutral and acceptable to most people.  RMS,
+however, is not willing to accept these terms.  He insists that, if
+his product is called "GNU Emacs", then ours must be called "GNU
+XEmacs". (For our opinion of this term, @xref{Q1.0.7}.) On the other
+hand, if our product is to be called "XEmacs", as we prefer, then his
+product must simply be called "Emacs".  The intent of this seems
+clear: RMS wants to make sure the names reflect his view that his
+version is the "real" Emacs and ours is merely a derivative,
+second-class product (@pxref{Q1.0.6}).
+
+The XEmacs developers hope that you will use the neutral terms
+"XEmacs" and "GNU Emacs" for these two specific products. "Emacs", on
+the other hand, is a generic term for a class of programmable text
+editors with a similar look-and-feel, and usually a Lisp-based
+extension language.  These trace themselves back to early editors such
+as EINE, ZWEI, ZMACS and Multics Emacs. @xref{A History of Emacs,,,
+internals, XEmacs Internals Manual}.
+
+We also call upon RMS, in the spirit of furthering cooperation, to
+stop politicizing this issue and use the neutral terms "XEmacs" and
+"GNU Emacs".  We have already acceded to RMS' wishes in this respect,
+and we expect him to do the same. (In the past, the XEmacs developers
+often used the terms "FSF Emacs" or "FSFmacs" or "RMSmacs" in
+reference to GNU Emacs; these terms were apparently modeled after RMS'
+own usage of "Gosmacs" and "Gosling Emacs" in reference to Unipress
+Emacs, produced by James Gosling.  RMS, however, considers such terms
+to be insulting, so we refrain from using them as much as possible in
+preference to GNU Emacs.)
+
+@node Q1.0.9, Q1.0.10, Q1.0.8, Introduction
+@unnumberedsubsec Q1.0.9: Why haven't XEmacs and GNU Emacs merged?
+
+There are currently irreconcilable differences in the views about
+technical, programming, design, organizational and legal matters
+between Richard Stallman (RMS), the author and leader of the GNU Emacs
+project, and the XEmacs development team which provide little hope for
+a merge to take place in the short-term future.  There have been
+repeated attempts at merging by all of the major XEmacs developers,
+starting from the early days of Lucid Emacs (in 1991), but they have
+all failed.  RMS has very strong views about how GNU Emacs should be
+structured and how his project should be run, and during the repeated
+merge efforts has never demonstrated any realistic interest in
+sufficiently compromising or ceding control to allow a middle ground
+to be found.  The basic problem seems to be the very different goals
+of RMS and the XEmacs project.  The primary goals of the XEmacs
+project are technical and organizational -- we want to create the best
+editor possible, and to make it as easy as possible for people around
+the world to contribute.  The primary goals of RMS, on the other hand,
+are political, and GNU Emacs, and any potential merge efforts with
+XEmacs, are strictly subservient to these goals.  In fact, in many
+ways RMS sees GNU Emacs as the "poster child" of his aims, the one
+program in the GNU project that above all others must set an example
+to the world. (This has to do with the fact that GNU Emacs was the
+first program in the GNU project, and the only one that he is still
+personally involved with on a day-to-day basis.)  Given his goals, his
+position is completely reasonable -- but unfortunately, makes any
+merge impossible.
+
+From the XEmacs perspective, the most intractable issues appear to be
+legal and organizational, specifically:
 
 @itemize @bullet
 @item
-It looks nicer.
-
-@item
-The XEmacs maintainers are generally more receptive to suggestions than
-the GNU Emacs maintainers.
-
-@item
-Many more bundled packages than GNU Emacs.
-
-@item
-Binaries are available for many common operating systems.
-
-@item
-Face support on TTY's.
-
-@item
-A built-in toolbar.
-
-@item
-Better Motif compliance.
-
-@item
-Some internationalization support (including full MULE support, if
-compiled with it).
-
-@item
-Variable-width fonts.
-
-@item
-Variable-height lines.
-
-@item
-Marginal annotations.
-
-@item
-ToolTalk support.
-
-@item
-XEmacs can be used as an Xt widget, and can be embedded within another
-application.
-
-@item
-Horizontal and vertical scrollbars (using real toolkit scrollbars).
-
-@item
-Better APIs (and performance) for attaching fonts, colors, and other
-properties to text.
-
-@item
-The ability to embed arbitrary graphics in a buffer.
-
-@item
-Completely compatible (at the C level) with the Xt-based toolkits.
-
+RMS requires "legal papers" to be signed for all contributions of code
+to GNU Emacs over 10 lines or so, transferring the copyright and all
+legal rights to the code to the Free Software Foundation.  XEmacs does
+not and has never required this, since it has the practical effect of
+discouraging individual and in particular corporate contributions --
+corporations will almost never sign away their legal rights to code
+since it makes it impossible to reuse the code in any product that
+whose license is not compatible with the GNU General Public License.
+Since RMS has shown no inclination to compromise on this issue, a
+merge would require that most of the existing XEmacs code would need
+to be thrown away and rewritten -- something the XEmacs developers are
+understandably reluctant to do.
+
+@item 
+A repeated stumbling block in the merge talks has been the issue of
+organizational control over the resulting product.  RMS has made it
+clear that he intends to have final say over design issues in a merged
+Emacs.  Unfortunately, RMS and the XEmacs developers have repeatedly
+clashed over design decisions, and RMS' insistence on getting his way
+in such disagreements was the very reason for the split in the first
+place.  This same issue has come up again and again in merge talks and
+we have never been able to come to a satisfactory resolution.  To the
+extent that RMS is willing to compromise at all, it appears to be of a
+purely political rather than technical nature -- "If we support this
+feature of yours, we also get to support this other feature of mine."
+The XEmacs developers cannot see how such a process would lead to
+anything but a mess of incompatible things hodgepodged together.
+
+@item
+Because of the years of separate development, distinct and
+incompatible interfaces have developed and merging would be extremely
+difficult even with the above non-technical issues resolved.  The
+problem has been exacerbated by the issue of legal papers -- because
+XEmacs code is not "kosher" from RMS' perspective, he discourages
+developers from even looking at it out of legal concerns.  Although it
+is still possible to read the XEmacs documentation and run the
+program, the practical effect of this prohibition has been to strongly
+discourage code-sharing and cooperative development -- although a
+great deal of GNU Emacs code has been incorporated into XEmacs,
+practically none has gone the other direction.
 @end itemize
 
-@node Q1.0.5, Q1.0.6, Q1.0.4, Introduction
-@unnumberedsubsec Q1.0.5: Why Haven't XEmacs and GNU Emacs Merged?
-
-There are currently irreconcilable differences in the views about
-technical, programming, design and organizational matters between RMS
-and the XEmacs development team which provide little hope for a merge to
-take place in the short-term future.
-
 If you have a comment to add regarding the merge, it is a good idea to
-avoid posting to the newsgroups,  because of the very heated flamewars
-that often result.  Mail your questions to @email{xemacs-beta@@xemacs.org} and
-@email{bug-gnu-emacs@@prep.ai.mit.edu}.
-
-@node Q1.0.6, Q1.0.7, Q1.0.5, Introduction
-@unnumberedsubsec Q1.0.6: Where can I get help?
+avoid posting to the newsgroups, because of the very heated flamewars
+that often result.  Mail your questions to
+@email{xemacs-beta@@xemacs.org} and @email{emacs-devel@@gnu.org}.
+
+@node Q1.0.10, Q1.0.11, Q1.0.9, Introduction
+@unnumberedsubsec Q1.0.10: Where can I get help?
 
 Probably the easiest way, if everything is installed, is to use Info, by
 pressing @kbd{C-h i}, or looking for an Info item on the
@@ -665,39 +1025,227 @@
 address or the Web interface.  Send a message with a subject of
 @samp{unsubscribe} to be removed.
 
-@node Q1.0.7, Q1.0.8, Q1.0.6, Introduction
-@unnumberedsubsec Q1.0.7: Where are the mailing lists archived?
+@node Q1.0.11, Q1.0.12, Q1.0.10, Introduction
+@unnumberedsubsec Q1.0.11: Where are the mailing lists archived?
 
 The archives can be found at @uref{http://list-archive.xemacs.org}
 
-@node Q1.0.8, Q1.0.9, Q1.0.7, Introduction
-@unnumberedsubsec Q1.0.8: How do you pronounce XEmacs?
+@node Q1.0.12, Q1.0.13, Q1.0.11, Introduction
+@unnumberedsubsec Q1.0.12: How do you pronounce XEmacs?
 
 The most common pronounciation is @samp{Eks eemax}.
 
-@node Q1.0.9, Q1.0.10, Q1.0.8, Introduction
-@unnumberedsubsec Q1.0.9: What does XEmacs look like?
+@node Q1.0.13, Q1.0.14, Q1.0.12, Introduction
+@unnumberedsubsec Q1.0.13: What does XEmacs look like?
 
 Screen snapshots are available at
 @uref{http://www.xemacs.org/About/Screenshots/index.html}
 as part of the XEmacs website.
 
-@node Q1.0.10, Q1.0.11, Q1.0.9, Introduction
-@unnumberedsubsec Q1.0.10: Is there a port of XEmacs to Microsoft ('95 or NT)?
-
-Yes.  XEmacs can be built under MS Windows and is fully-featured and
-actively developed.  See @ref{MS Windows}.
-
-@node Q1.0.11, Q1.0.12, Q1.0.10, Introduction
-@unnumberedsubsec Q1.0.11: Is there a port of XEmacs to the Macintosh?
-@c changed
-
-@c There has been a port to the MachTen environment of XEmacs 19.13, but no
-@c patches have been submitted to the maintainers to get this in the
-@c mainstream distribution.
-@c
-@c For the MacOS, there is a port of
-@c @uref{ftp://ftp.cs.cornell.edu/pub/parmet/, Emacs 18.59}.
+@node Q1.0.14, Q1.1.1, Q1.0.13, Introduction
+@unnumberedsubsec Q1.0.14: Where can I obtain a printed copy of the XEmacs User's Manual?
+
+Pre-printed manuals are not available.  If you are familiar with
+TeX, you can generate your own manual from the XEmacs sources.
+
+HTML and Postscript versions of XEmacs manuals are available from the
+XEmacs web site at
+@uref{http://www.xemacs.org/Documentation/index.html}.
+
+@unnumberedsec 1.1: Versions for Different Operating Systems
+
+@node Q1.1.1, Q1.1.2, Q1.0.14, Introduction
+@unnumberedsubsec Q1.1.1: Do I need X11 to run XEmacs?
+
+No.  The name @dfn{XEmacs} is unfortunate in the sense that it is
+@strong{not} an X Window System-only version of Emacs.  XEmacs has
+full color support on a color-capable character terminal.
+
+@node Q1.1.2, Q1.1.3, Q1.1.1, Introduction
+@unnumberedsubsec Q1.1.2: Is there a port of XEmacs to Microsoft Windows?
+
+Yes.  Beginning with release 21.0, XEmacs has worked under MS Windows
+and is fully-featured and actively developed.  A group of dedicated
+developers actively maintains and improves the Windows-specific
+portions of the code.  Some of the core developers, in fact, use
+Windows as their only development environment, and some features, such
+as printing, actually work better on Windows than native Unix and Mac
+OS X.  The mailing list at @email{xemacs-winnt@@xemacs.org} is dedicated
+to that effort (please use the -request address to
+subscribe). (Despite its name, XEmacs actually works on all versions
+of Windows.)
+
+The list name is misleading, as XEmacs supports and has been compiled on
+Windows 95, Windows 98, Windows NT, Windows 2000, Windows ME, Windows
+XP, and all newer versions of Windows.  The MS Windows-specific code is
+based on Microsoft Win32 API, and will not work on MS Windows 3.x or on
+MS-DOS.
+
+XEmacs also supports the Cygwin and MinGW development and runtime
+environments, where it also uses native Windows code for graphical
+features.  In addition, under Cygwin it is possible to compile XEmacs
+to use an X server (and XFree86 is available as part of the standard
+Cygwin installation).
+
+@node Q1.1.3, Q1.1.4, Q1.1.2, Introduction
+@unnumberedsubsec Q1.1.3: Can I build XEmacs on MS Windows with X support?  Do I need to?
+
+Yes, you can, but no you do not need to.  In fact, we recommend that you
+use a native-GUI version unless you have a specific need for an X
+version.
+
+@node Q1.1.4, Q1.1.5, Q1.1.3, Introduction
+@unnumberedsubsec Q1.1.4: What are Cygwin and MinGW, and do I need them to run XEmacs?
+
+To answer the second part of the question: No, you, you don't need
+Cygwin or MinGW to build or to run XEmacs.  But if you have them and
+want to use them, XEmacs supports these environments.
+
+(One important reason to support Cygwin is that it lets the MS Windows
+developers test out their code in a Unix environment without actually
+having to have a Unix machine around.  For this reason alone, Cygwin
+support is likely to remain supported for a long time in XEmacs.  Same
+goes for the X support under Cygwin, for the same reasons.  MinGW
+support, on the other hand, depends on volunteers to keep it up to date;
+but this is generally not hard.)
+
+Cygwin is a set of tools providing Unix-like API on top of Win32.
+It makes it easy to port large Unix programs without significant
+changes to their source code.  It is a development environment as well
+as a runtime environment.
+
+When built with Cygwin, XEmacs supports all display types -- TTY, X &
+Win32 GUI, and can be built with support for all three simultaneously.
+If you build with Win32 GUI support then the Cygwin version uses the
+majority of the Windows-specific code, which is mostly related to
+display.  If you want to build with X support you need X libraries (and
+an X server to display XEmacs on); see @ref{Q2.2.7}.  TTY and Win32 GUI
+require no additional libraries beyond what comes standard with Cygwin.
+
+The advantages of the Cygwin version are that it integrates well with
+the Cygwin environment for existing Cygwin users; uses configure so
+building with different features is very easy; and actively supports X &
+TTY.  Furthermore, the entire Cygwin environment and compiler are free,
+whereas Visual C++ costs money.
+
+The disadvantage is that it requires the whole Cygwin environment,
+whereas the native port requires only a suitable MS Windows compiler.
+Also, it follows the Unix filesystem and process model very closely
+(some will undoubtedly view this as an advantage).
+
+See @uref{http://sources.redhat.com/cygwin/} for more information on
+Cygwin.
+
+MinGW is a collection of header files and import libraries that allow
+one to use GCC under the Cygwin environment to compile and produce
+exactly the same native Win32 programs that you can using Visual C++.
+Programs compiled with MinGW make use of the standard Microsoft runtime
+library @file{MSVCRT.DLL}, present on all Windows systems, and look,
+feel, and act like a standard Visual-C-produced application. (The only
+difference is the compiler.) This means that, unlike a
+standardly-compiled Cygwin application, no extra runtime support
+(e.g. Cygwin's @file{cygwin1.dll}) is required.  This, along with the
+fact that GCC is free (and works in a nice Unix-y way in a nice Unix-y
+environment, for those die-hard Unix hackers out there), is the main
+advantage of MinGW.  It is also potentially faster than Cygwin because
+it has less overhead when calling Windows, but you lose the POSIX
+emulation layer, which makes Unix programs harder to port. (But this is
+irrelevant for XEmacs since it's already ported to Win32.)
+
+See @uref{http://www.mingw.org/} for more information on MinGW.
+
+@node Q1.1.5, Q1.1.6, Q1.1.4, Introduction
+@unnumberedsubsec Q1.1.5: What are the differences between the various MS Windows emacsen?
+
+XEmacs, Win-Emacs, DOS Emacs, NT Emacs, this is all very confusing.
+Could you briefly explain the differences between them?
+
+Here is a recount of various Emacs versions running on MS Windows:
+
+@itemize @bullet
+
+@item
+XEmacs
+
+@itemize @minus
+
+@item
+Beginning with XEmacs 19.12, XEmacs' architecture was redesigned
+in such a way to allow clean support of multiple window systems.  At
+this time the TTY support was added, making X and TTY the first two
+"window systems" supported by XEmacs.  The 19.12 design is the basis for
+the current native MS Windows code.
+
+@item
+Some time during 1997, David Hobley (soon joined by Marc Paquette)
+imported some of the NT-specific portions of GNU Emacs, making XEmacs
+with X support compile under Windows NT, and creating the "X" port.
+
+@item
+Several months later, Jonathan Harris sent out initial patches to use
+the Win32 API, thus creating the native port.  Since then, various
+people have contributed, including Kirill M. Katsnelson (contributed
+support for menubars, subprocesses and network, as well as loads of
+other code), Andy Piper (ported XEmacs to Cygwin environment,
+contributed Windows unexec, Windows-specific glyphs and toolbars code,
+and more), Ben Wing (loads of improvements; primary MS Windows developer
+since 2000), Jeff Sparkes (contributed scrollbars support) and many
+others.
+@end itemize
+
+@item
+NT Emacs
+
+@itemize @minus
+
+@item
+NT Emacs was an early version of GNU Emacs 19 modified to compile and
+run under MS Windows 95 and NT using the native Win32 API.  It was
+written by Geoff Voelker, and has long since been incorporated into
+the mainline GNU Emacs distribution.
+@end itemize
+
+@item
+Win-Emacs
+
+@itemize @minus
+
+@item
+Win-Emacs was a port of Lucid Emacs 19.6 to MS Windows using X
+compatibility libraries.  Win-Emacs was written by Ben Wing.  The MS
+Windows code never made it back to Lucid Emacs, and its creator (Pearl
+Software) has long since gone out of business.
+@end itemize
+
+@item
+GNU Emacs for DOS
+
+@itemize @minus
+
+@item
+GNU Emacs features support for MS-DOS and DJGPP (D.J. Delorie's DOS
+port of GCC).  Such an Emacs is heavily underfeatured, because it does
+not support long file names, lacks proper subprocesses support, and
+is far too big compared with typical DOS editors.
+@end itemize
+
+@item
+GNU Emacs compiled with Win32
+
+@itemize @minus
+
+@item
+Starting with version 19.30, it has been possible to compile GNU Emacs
+under MS Windows using the DJGPP compiler and X libraries.  The result
+is very similar to GNU Emacs compiled under MS DOS, only it works
+somewhat better because it runs in 32-bit mode, makes use of all the
+system memory, supports long file names, etc.
+@end itemize
+
+@end itemize
+
+@node Q1.1.6, Q1.1.7, Q1.1.5, Introduction
+@unnumberedsubsec Q1.1.6: Is there a port of XEmacs to the Macintosh?
 
 Yes.
 
@@ -712,31 +1260,46 @@
 additions.  It's available at
 @uref{http://homepage.mac.com/pjarvis/xemacs.html}.
 
-@node Q1.0.12, Q1.0.13, Q1.0.11, Introduction
-@unnumberedsubsec Q1.0.12: Is there a port of XEmacs to NextStep?
+@node Q1.1.7, Q1.1.8, Q1.1.6, Introduction
+@unnumberedsubsec Q1.1.7: Is there a port of XEmacs to NextStep?
 
 Carl Edman, apparently no longer at @email{cedman@@princeton.edu}, did
 the port of GNU Emacs to NeXTstep and expressed interest in doing the
 XEmacs port, but never went any farther.
 
-@node Q1.0.13, Q1.0.14, Q1.0.12, Introduction
-@unnumberedsubsec Q1.0.13: Is there a port of XEmacs to OS/2?
+@node Q1.1.8, Q1.1.9, Q1.1.7, Introduction
+@unnumberedsubsec Q1.1.8: Is there a port of XEmacs to OS/2?
 
 No, but Alexander Nikolaev <avn_1251@@mail.ru> is working on it.
 
-@node Q1.0.14, Q1.1.1, Q1.0.13, Introduction
-@unnumberedsubsec Q1.0.14: Where can I obtain a printed copy of the XEmacs User's Manual?
-
-Pre-printed manuals are not available.  If you are familiar with
-TeX, you can generate your own manual from the XEmacs sources.
-
-HTML and Postscript versions of XEmacs manuals are available from the
-XEmacs web site at
-@uref{http://www.xemacs.org/Documentation/index.html}.
-
-@node Q1.1.1, Q1.1.2, Q1.0.14, Introduction
-@unnumberedsec 1.1: Policies
-@unnumberedsubsec Q1.1.1: What is the FAQ editorial policy?
+@node Q1.1.9, Q1.2.1, Q1.1.8, Introduction
+@unnumberedsubsec Q1.1.9: How does the port cope with differences in the Windows user interface?
+
+The XEmacs (and Emacs in general) user interface is pretty different
+from what is expected of a typical MS Windows program.  How does the MS
+Windows port cope with it?
+
+As a general rule, we follow native MS Windows conventions as much as
+possible.  21.4 is a fairly complete Windows application, supporting
+native printing, system file dialog boxes, tool tips, etc.  In cases
+where there's a clear UI conflict, we currently use normal Unix XEmacs
+behavior by default, but make sure the MS Windows "look and feel" (mark
+via shift-arrow, self-inserting deletes region, Alt selects menu items,
+etc.) is easily configurable (respectively: using the variable
+@code{shifted-motion-keys-select-region} in 21.4 and above [it's in fact
+the default in these versions], or the @file{pc-select} package; using
+the @file{pending-del} package; and setting the variable
+@code{menu-accelerator-enabled} to @code{menu-force} in 21.4 and above).
+In fact, if you use the sample @file{init.el} file as your init file,
+you will get all these behaviors automatically turned on.
+
+In future versions, some of these features might be turned on by
+default in the MS Windows environment.
+
+@unnumberedsec 1.2: Policies
+
+@node Q1.2.1, Q1.2.2, Q1.1.9, Introduction
+@unnumberedsubsec Q1.2.1: What is the FAQ editorial policy?
 
 The FAQ is actively maintained and modified regularly.  All links should
 be up to date.  Unfortunately, some of the information is out of date --
@@ -753,8 +1316,8 @@
 previous FAQ maintainers.  Answers quoted from Usenet news articles will
 always be attributed, regardless of the author.
 
-@node Q1.1.2, Q1.1.3, Q1.1.1, Introduction
-@unnumberedsubsec Q1.1.2: How do I become a Beta Tester?
+@node Q1.2.2, Q1.2.3, Q1.2.1, Introduction
+@unnumberedsubsec Q1.2.2: How do I become a beta tester?
 
 Send an email message to @email{xemacs-beta-request@@xemacs.org} with
 the line @samp{subscribe} in the body of the message.
@@ -762,8 +1325,20 @@
 Be prepared to get your hands dirty, as beta testers are expected to
 identify problems as best they can.
 
-@node Q1.1.3, Q1.2.1, Q1.1.2, Introduction
-@unnumberedsubsec Q1.1.3: How do I contribute to XEmacs itself?
+@node Q1.2.3, Q1.3.1, Q1.2.2, Introduction
+@unnumberedsubsec Q1.2.3: How do I contribute to XEmacs itself?
+
+It depends on the knowledge and time you possess.  If you are able, by
+all means become a beta tester (@pxref{Q1.2.2}).  If you are a
+programmer, try to build XEmacs and see if you can improve it.
+
+Otherwise, you can still help by using XEmacs as your everyday editor
+(for pre-built binary versions, @pxref{Q1.0.4}) and reporting bugs you
+find to the mailing list.
+
+Another area where we need help is the documentation: We need good
+documentation for building XEmacs and for using it.  This FAQ is a
+small step in that direction.
 
 Ben Wing @email{ben@@xemacs.org} writes:
 
@@ -794,94 +1369,241 @@
 always hope :)
 @end quotation
 
-@node Q1.2.1, Q1.2.2, Q1.1.3, Introduction
-@unnumberedsec 1.2: Credits
-@unnumberedsubsec Q1.2.1: Who wrote XEmacs?
-
-XEmacs is the result of the time and effort of many people.  The
-developers responsible for recent releases are:
+@unnumberedsec 1.3: Credits
+
+@node Q1.3.1, Q1.3.2, Q1.2.3, Introduction
+@unnumberedsubsec Q1.3.1: Who wrote XEmacs?
+
+XEmacs is the result of the time and effort of many people, and the
+active developers have changed over time.  There are two major
+components of the XEmacs effort -- writing the code itself and providing
+all the support work (testing the code, releasing beta and final
+versions, handling patches, reading bug reports, maintaining the web
+site, managing the mailing lists, etc. etc.).  Neither component would
+work without the other.
+
+@subheading CODING
+
+The primary code contributor over the years has been Ben Wing (active
+since late 1992).  Between 1991 and 1995, large amounts of coding was
+contributed by Jamie Zawinski and Chuck Thompson.  Many other people
+have authored major subsystems or otherwise contributed large amounts of
+code, including Andy Piper, Hrvoje Niksic, Jerry James, Jonathan Harris,
+Kyle Jones, Martin Buchholz, Michael Sperber, Olivier Galibert, Richard
+Mlynarik, Stig, William Perry and plenty of others.
+
+Primary XEmacs-specific subsystems and their authors:
+
+@table @asis
+@item Objects
+@itemize @minus
+@item
+Conversion from 26-bit to 28-bit pointers and integers, lrecords, lcrecords: Richard Mlynarik, 1994
+@item
+Conversion to 32-bit pointers and 31-bit integers: Kyle Jones, Martin Buchholz
+@item
+Portable dumper, object descriptions: Olivier Galibert
+@item
+KKCC (new garbage collector), ephemerons, weak boxes: Michael Sperber and students
+@item
+Random object work (object equal and hash methods, weak lists, lcrecord lists, bit vectors, dynarr, blocktype, opaque, string resizing): Ben Wing
+@item
+Profiling: Ben Wing
+@item
+Some byte-compilation and hash-table improvements: Martin Buchholz
+@item
+Bignum: Jerry James
+@end itemize
+
+@item Internationalization/Mule
+@itemize @minus
+@item
+mostly Ben Wing; many ideas for future work, Stephen Turnbull
+@end itemize
+
+@item I/O
+@itemize @minus
+@item
+Basic event/event-stream implementation: Jamie Zawinski
+@item
+Most event work since 1994: Ben Wing
+@item
+Asynchronous stuff (async timeouts, signals, quit-checking): Ben Wing
+@item
+Process method abstraction, Windows process work: Kirill Katsnelson
+@item
+Misc-user events, async timeouts, most quit-checking and signal code, most other work since 1994: Ben Wing
+@item
+Lstreams: Ben Wing
+@end itemize
+
+@item Display
+@itemize @minus
+@item
+Redisplay mechanism: implementation, Chuck Thompson; additional work, lots of people
+@item
+Glyphs: mostly Ben Wing
+@item
+Specifiers: Ben Wing
+@item
+Extents: initial implementation, someone at Lucid; rewrite, 1994, Ben Wing
+@item
+Widgets: Andy Piper
+@item
+JPEG/PNG/TIFF image converters: Ben Wing, William Perry, Jareth Hein, others (see comment in @file{glyphs-eimage.c})
+@item
+Menus: Jamie Zawinski, someone at Lucid (Lucid menus)
+@item
+Scrollbars: Chuck Thompson, ??? (Lucid scrollbar)
+@item
+Multi-device/device-independence work (console/device/etc methods): Ben Wing, prototype by chuck thompson
+@item
+Faces: first implementation, Jamie Zawinski; second, chuck; third, Ben Wing
+@item
+Fonts/colors: first implementation, Jamie Zawinski; further work, Ben Wing
+@item
+Toolbars: implementation, chuck, much interface work, Ben Wing
+@item
+Gutters, tabs: andy piper
+@end itemize
+
+@item Device subsystems
+@itemize @minus
+@item
+X Windows: Jamie Zawinksi, Ben Wing, others
+@item
+GTK: William Perry, Malcolm Purvis
+@item
+MS Windows: initial implementation, Jonathan Harris; some more work, Andy Piper, Ben Wing
+@item
+TTY: Chuck Thompson, Ben Wing
+@item
+Cygwin: Andy Piper
+@end itemize
+
+@item Misc
+@itemize @minus
+@item
+Configure: initial porting from fsf, Chuck Thompson; conversion to autoconf 2, much rewriting, Martin Buchholz
+@item
+Most initialization-related code: Ben Wing
+@item
+Internals manual, much of Lisp manual: Ben Wing
+@item
+FSF synching: initial sync with FSF 19, Richard Mlynarik, further work, Ben Wing
+@end itemize
+@end table
+
+@subheading SUPPORT
+
+Currently, support duties are handled by many different people.
+
+Release managers have been
+
+@itemize @minus
+@item
+Stephen Turnbull (April 2001 - present, 21.x - 21.x?)
+@item
+Vin Shelton?
+@item
+Steve Youngs (July 2002 - present??, 21.x - 21.x?)
+@item
+Martin Buchholz (December 1998 - May 2001, 21.x - 21.x?)
+@item
+Steve Baur (early 1997 - November 1998, 19.15 - 21.0)
+@item
+Chuck Thompson (June 1994 - September 1996, 19.11 - 19.14)
+@item
+Jamie Zawinski (April 1991 - June 1994, 19.0 - 19.10)
+@end itemize
+
+The recent overlapping dates are intentional, since two or three trees
+are maintained simultaneously at any point.
+
+Other major support work:
+
+@itemize @minus
+@item
+Adrian Aichner wrote and maintains the web site.
+@item
+Stephen Turnbull has produced many of the beta and semi-stable releases
+and has attempted to be the "face" of XEmacs on the newsgroups and
+mailing lists.
+@item
+Steve Youngs currently produces the beta releases (???).
+@item
+Steve Youngs, Ville Skytta, and now Norbert Koch have taken turns
+maintaining the packages.
+@item
+Vin Shelton maintains the stable releases.
+@item
+Testing - #### Norbert, Adrian, ???
+@end itemize
+
+Portraits and email of some of the major developers:
 
 @itemize @bullet
-@item @email{martin@@xemacs.org, Martin Buchholz}
+@item @email{andy@@xemacs.org, Andy Piper}
 @html
-<br><img src="mrb.jpeg" alt="Portrait of Martin Buchholz"><br>
+<br><img src="wing.gif" alt="Portrait of Ben Wing"><br>
 @end html
 
-
-@item @email{stephen@@xemacs.org, Stephen Turnbull}
-
-
 @item @email{ben@@xemacs.org, Ben Wing}
 @html
 <br><img src="wing.gif" alt="Portrait of Ben Wing"><br>
 @end html
 
-
-@item @email{hniksic@@xemacs.org, Hrvoje Niksic}
-
-@html
-<br><img src="hniksic.jpeg" alt="Portrait of Hrvoje Niksic"><br>
-@end html
-
-@end itemize
-
-The developers responsible for older releases were:
-
-@itemize @bullet
-@item @email{steve@@xemacs.org, Steve Baur}
-
-@html
-<br><img src="steve.gif" alt="Portrait of Steve Baur"><br>
-@end html
-
 @item @email{cthomp@@xemacs.org, Chuck Thompson}
 @html
 <br><img src="cthomp.jpeg" alt="Portrait of Chuck Thompson"><br>
 @end html
 
+@item @email{hniksic@@xemacs.org, Hrvoje Niksic}
+
+@html
+<br><img src="hniksic.jpeg" alt="Portrait of Hrvoje Niksic"><br>
+@end html
+
 @item @email{jwz@@jwz.org, Jamie Zawinski}
 @html
 <br><img src="jwz.gif" alt="Portrait of Jamie Zawinski"><br>
 @end html
 
+@item @email{martin@@xemacs.org, Martin Buchholz}
+@html
+<br><img src="mrb.jpeg" alt="Portrait of Martin Buchholz"><br>
+@end html
+
 @item @email{mly@@adoc.xerox.com, Richard Mlynarik}
 
-Steve Baur was the primary maintainer for 19.15 through 21.0.
-
-Chuck Thompson and Ben Wing were the maintainers for 19.11 through 19.14
-and heavy code contributors for 19.8 through 19.10.
-
-Jamie Zawinski was the maintainer for 19.0 through 19.10 (the entire
-history of Lucid Emacs).  Richard Mlynarik was a heavy code contributor
-to 19.6 through 19.8.
-
+@item @email{stephen@@xemacs.org, Stephen Turnbull}
+
+@item @email{steve@@xemacs.org, Steve Baur}
+@html
+<br><img src="steve.gif" alt="Portrait of Steve Baur"><br>
+@end html
 @end itemize
 
-Along with many other contributors, partially enumerated in the
-@samp{About XEmacs} option in the Help menu.
-
-@node Q1.2.2, Q1.2.3, Q1.2.1, Introduction
-@unnumberedsubsec Q1.2.2: Who contributed to this version of the FAQ?
-
-The following people contributed valuable suggestions to building this
-version of the FAQ (listed in alphabetical order):
+Many other people have contributed to XEmacs; this is partially
+enumerated in the @samp{About XEmacs} option in the Help menu.
+
+@node Q1.3.2, Q1.3.3, Q1.3.1, Introduction
+@unnumberedsubsec Q1.3.2: Who contributed to this version of the FAQ?
+
+The current version of this FAQ was created by @email{ben@@xemacs.org,
+Ben Wing}.
+
+@node Q1.3.3, Q1.4.1, Q1.3.2, Introduction
+@unnumberedsubsec Q1.3.3: Who contributed to the FAQ in the past?
+
+This is only a partial list, as many names were lost in a hard disk
+crash some time ago.
 
 @itemize @bullet
 @item @email{steve@@xemacs.org, SL Baur}
 
 @item @email{hniksic@@xemacs.org, Hrvoje Niksic}
 
-@item @email{Aki.Vehtari@@hut.fi, Aki Vehtari}
-
-@end itemize
-
-@node Q1.2.3, Q1.3.1, Q1.2.2, Introduction
-@unnumberedsubsec Q1.2.3: Who contributed to the FAQ in the past?
-
-This is only a partial list, as many names were lost in a hard disk
-crash some time ago.
-
-@itemize @bullet
 @item @email{binge@@aloft.att.com, Curtis.N.Bingham}
 
 @item @email{bruncott@@dormeur.inria.fr, Georges Brun-Cottan}
@@ -921,9 +1643,10 @@
 @item @email{Aki.Vehtari@@hut.fi, Aki Vehtari}
 @end itemize
 
-@node Q1.3.1, Q1.3.2, Q1.2.3, Introduction
-@unnumberedsec 1.3: Internationalization
-@unnumberedsubsec Q1.3.1: What is the status of internationalization support aka MULE (including Asian language support?
+@unnumberedsec 1.4: Internationalization
+
+@node Q1.4.1, Q1.4.2, Q1.3.3, Introduction
+@unnumberedsubsec Q1.4.1: What is the status of internationalization support aka MULE (including Asian language support?
 
 Both the stable and development versions of XEmacs include
 internationalization support (aka MULE).  MULE currently (21.4) works on
@@ -933,8 +1656,8 @@
 instability of the development tree.  Binaries compiled without MULE
 support run faster than MULE capable XEmacsen.
 
-@node Q1.3.2, Q1.3.3, Q1.3.1, Introduction
-@unnumberedsubsec Q1.3.2: How can I help with internationalization?
+@node Q1.4.2, Q1.4.3, Q1.4.1, Introduction
+@unnumberedsubsec Q1.4.2: How can I help with internationalization?
 
 If you would like to help, you may want to join the
 @email{xemacs-mule@@xemacs.org} mailing list.  Especially needed are
@@ -944,21 +1667,24 @@
 Translations of the TUTORIAL and man page are welcome, and XEmacs does
 support multilingual menus, but we have few current translations.
 
-@xref{Q1.1.2}.
-
-@node Q1.3.3, Q1.3.4, Q1.3.2, Introduction
-@unnumberedsubsec Q1.3.3: How do I type non-ASCII characters?
-
-See question 3.5.7 (@pxref{Q3.5.7}) in part 3 of this FAQ for some
-simple methods that also work in non-MULE builds of XEmacs (but only for
-one-octet coded character sets, and mostly for ISO 8859/1).  Many of the
-methods available for Cyrillic (@pxref{Q1.3.7}) work without MULE.
-MULE has more general capabilities.  @xref{Q1.3.5}.
-
-@xref{Q3.2.7}, which covers display of non-ASCII characters.
-
-@node Q1.3.4, Q1.3.5, Q1.3.3, Introduction
-@unnumberedsubsec Q1.3.4: Can XEmacs messages come out in a different language?
+@xref{Q1.2.2, How do I become a Beta Tester?}.
+
+@node Q1.4.3, Q1.4.4, Q1.4.2, Introduction
+@unnumberedsubsec Q1.4.3: How do I type non-ASCII characters?
+
+@xref{Q3.0.5, How can you type in special characters in XEmacs?}, in
+part 3 of this FAQ, for some simple methods that also work in non-MULE
+builds of XEmacs (but only for one-octet coded character sets, and
+mostly for ISO 8859/1).  Many of the methods available for Cyrillic
+(@pxref{Q1.4.7, How about Cyrillic modes?}) work without MULE.  MULE
+has more general capabilities.  @xref{Q1.4.5, Please explain the
+various input methods in MULE/XEmacs}.
+
+@xref{Q3.2.8, How do I display non-ASCII characters?}, which covers
+display of non-ASCII characters.
+
+@node Q1.4.4, Q1.4.5, Q1.4.3, Introduction
+@unnumberedsubsec Q1.4.4: Can XEmacs messages come out in a different language?
 
 The message-catalog support was written but is badly bit-rotted.  XEmacs
 20 and 21 did @emph{not} support it, and early releases of XEmacs 22
@@ -976,8 +1702,8 @@
 The name of the resource is derived from the non-localized entry by
 removing punctuation and capitalizing as above.
 
-@node Q1.3.5, Q1.3.6, Q1.3.4, Introduction
-@unnumberedsubsec Q1.3.5: Please explain the various input methods in MULE/XEmacs
+@node Q1.4.5, Q1.4.6, Q1.4.4, Introduction
+@unnumberedsubsec Q1.4.5: Please explain the various input methods in MULE/XEmacs
 
 Mule supports a wide variety of input methods.  There are three basic
 classes: Lisp implementations, generic platform support, and library
@@ -1069,8 +1795,8 @@
 Much of this information was provided by @email{morioka@@jaist.ac.jp,
 MORIOKA Tomohiko}.
 
-@node Q1.3.6, Q1.3.7, Q1.3.5, Introduction
-@unnumberedsubsec Q1.3.6: How do I portably code for MULE/XEmacs?
+@node Q1.4.6, Q1.4.7, Q1.4.5, Introduction
+@unnumberedsubsec Q1.4.6: How do I portably code for MULE/XEmacs?
 
 MULE has evolved rapidly over the last few years, and the original third
 party patch (for GNU Emacs 19), GNU Emacs 20+, and XEmacs 20+ have quite
@@ -1134,8 +1860,8 @@
 @end lisp
 @end quotation
 
-@node Q1.3.7, Q1.3.8, Q1.3.6, Introduction
-@unnumberedsubsec Q1.3.7: How about Cyrillic Modes?
+@node Q1.4.7, Q1.4.8, Q1.4.6, Introduction
+@unnumberedsubsec Q1.4.7: How about Cyrillic modes?
 
 @email{ilya@@math.ohio-state.edu, Ilya Zakharevich} writes:
 
@@ -1172,15 +1898,18 @@
 XEmacs) is @uref{http://www.ibiblio.org/sergei/Software/Software.html}
 @end quotation
 
-@node Q1.3.8, Q1.3.9, Q1.3.7, Introduction
-@unnumberedsubsec Q1.3.8: Does XEmacs support Unicode?
-
-Partially, as an external encoding for files, processes, and terminals.
-It does not yet support Unicode fonts @ref{Q1.3.9, Does XEmacs support
-Unicode Fonts?}
-
-To get Unicode support, you need a Mule-enabled XEmacs.  Install
-Mule-UCS from packages in the usual way.  Put
+@node Q1.4.8, Q1.4.9, Q1.4.7, Introduction
+@unnumberedsubsec Q1.4.8: Does XEmacs support Unicode?
+
+To get Unicode support, you need a Mule-enabled XEmacs.
+
+21.5 has internal support for Unicode and supports it fully, although we
+don't yet use it as the internal encoding.
+
+21.4 supports Unicode partially -- as an external encoding for files,
+processes, and terminals, but without font support.  @xref{Q1.4.9, How
+does XEmacs display Unicode?}.  To get Unicode support in 21.4,
+install Mule-UCS from packages in the usual way, and put
 
 @example
 (require 'un-define)
@@ -1192,14 +1921,14 @@
 view the documentation of @code{set-coding-priority-list} if you find
 that files that are not UTF-8 are being mis-recognized as UTF-8.
 
-Install standard national fonts (not Unicode fonts) for all
-character sets you use.  See @ref{Q1.3.9}.
+Install standard national fonts (not Unicode fonts) for all character
+sets you use.  @xref{Q1.4.9, How does XEmacs display Unicode??}.
 
 Mule-UCS also supports 16-bit forms of Unicode (UTF-16).  It does not
 support 31-bit forms of Unicode (UTF-32 or UCS-4).
 
-@node Q1.3.9, Q1.4.1, Q1.3.8, Introduction
-@unnumberedsubsec Q1.3.9: How does XEmacs display Unicode?
+@node Q1.4.9, Q1.5.1, Q1.4.8, Introduction
+@unnumberedsubsec Q1.4.9: How does XEmacs display Unicode?
 
 Mule doesn't have a Unicode charset internally, so there's nothing to
 bind a Unicode registry to.  It would not be straightforward to create,
@@ -1220,9 +1949,10 @@
 
 Real Unicode support will be introduced in XEmacs 22.0.
 
-@node Q1.4.1, Q1.4.2, Q1.3.9, Introduction
-@unnumberedsec 1.4: Getting Started, Backing up & Recovery
-@unnumberedsubsec Q1.4.1: What is an @file{init.el} or @file{.emacs} and is there a sample one?
+@unnumberedsec 1.5: Getting Started
+
+@node Q1.5.1, Q1.5.2, Q1.4.9, Introduction
+@unnumberedsubsec Q1.5.1: What is an @file{init.el} or @file{.emacs} and is there a sample one?
 
 The @file{init.el} or @file{.emacs} file is used to customize XEmacs to
 your tastes.  Starting in 21.4, the preferred location for the init file
@@ -1250,18 +1980,32 @@
 determine the location of the @file{etc/} directory type the command
 @kbd{C-h v data-directory @key{RET}}.
 
-@node Q1.4.2, Q1.4.3, Q1.4.1, Introduction
-@unnumberedsubsec Q1.4.2: Can I use the same @file{init.el}/@file{.emacs} with the other Emacs?
-
-Yes.  The sample @file{init.el}/@file{.emacs} included in the XEmacs
+@node Q1.5.2, Q1.5.3, Q1.5.1, Introduction
+@unnumberedsubsec Q1.5.2: Where do I put my @file{init.el} file?
+
+@file{init.el} is the name of the init file starting with 21.4, and is
+located in the subdirectory @file{.xemacs/} of your home directory.  In
+prior versions, the init file is called @file{.emacs} and is located in
+your home directory.
+
+Your home directory under Windows is determined by the @samp{HOME}
+environment variable.  If this is not set, it defaults to @samp{C:\}.
+To set this variable, modify @file{AUTOEXEC.BAT} under Windows 95/98, or
+select @samp{Control Panel->System->Advanced->Environment Variables...}
+under Windows NT/2000.
+
+@node Q1.5.3, Q1.5.4, Q1.5.2, Introduction
+@unnumberedsubsec Q1.5.3: Can I use the same @file{init.el} with the other Emacs?
+
+Yes.  The sample @file{init.el} included in the XEmacs
 distribution will show you how to handle different versions and flavors
 of Emacs.
 
-@node Q1.4.3, Q1.4.4, Q1.4.2, Introduction
-@unnumberedsubsec Q1.4.3: Any good tutorials around?
+@node Q1.5.4, Q1.5.5, Q1.5.3, Introduction
+@unnumberedsubsec Q1.5.4: Any good XEmacs tutorials around?
 
 There's the XEmacs tutorial available from the Help Menu under
-@samp{Basics->Tutorials}, or by typing @kbd{C-h t}. To check whether
+@samp{Help->Tutorials}, or by typing @kbd{C-h t}. To check whether
 it's available in a non-english language, type @kbd{C-u C-h t TAB}, type
 the first letters of your preferred language, then type @key{RET}.
 
@@ -1278,8 +2022,8 @@
 @comment @end iftex
 @comment @uref{http://petaxp.rug.ac.be/~erik/xemacs/}.
 
-@node Q1.4.4, Q1.4.5, Q1.4.3, Introduction
-@unnumberedsubsec Q1.4.4: May I see an example of a useful XEmacs Lisp function?
+@node Q1.5.5, Q1.5.6, Q1.5.4, Introduction
+@unnumberedsubsec Q1.5.5: May I see an example of a useful XEmacs Lisp function?
 
 The following function does a little bit of everything useful.  It does
 something with the prefix argument, it examines the text around the
@@ -1313,8 +2057,8 @@
 @code{p} converts the prefix argument to a number, and
 @code{interactive} allows you to execute the command with @kbd{M-x}.
 
-@node Q1.4.5, Q1.4.6, Q1.4.4, Introduction
-@unnumberedsubsec Q1.4.5: And how do I bind it to a key?
+@node Q1.5.6, Q1.5.7, Q1.5.5, Introduction
+@unnumberedsubsec Q1.5.6: And how do I bind it to a key?
 
 To bind to a key do:
 
@@ -1324,8 +2068,8 @@
 
 Or interactively, @kbd{M-x global-set-key} and follow the prompts.
 
-@node Q1.4.6, , Q1.4.5, Introduction
-@unnumberedsubsec Q1.4.6: What's the difference between a macro and a function?
+@node Q1.5.7, Q1.5.8, Q1.5.6, Introduction
+@unnumberedsubsec Q1.5.7: What's the difference between a macro and a function?
 
 Quoting from the Lisp Reference (a.k.a @dfn{Lispref}) Manual:
 
@@ -1344,62 +2088,374 @@
 another matter, entirely.  A keyboard macro is a key bound to several
 other keys.  Refer to manual for details.
 
-@node Installation, Customization, Introduction, Top
-@unnumbered 2 Installation and Trouble Shooting
+@node Q1.5.8,  , Q1.5.7, Introduction
+@unnumberedsubsec Q1.5.8: What is @code{Custom}?
+
+@code{Custom} is a system for customizing XEmacs options.
+
+You can access @code{Advanced (Customize)} from the @code{Options} menu
+or invoking one of customize commands by typing eg.
+@kbd{M-x customize}, @kbd{M-x customize-face},
+@kbd{M-x customize-variable} or @kbd{M-x customize-apropos}.
+
+There is also new @samp{browser} mode for Customize.
+Try it out with @kbd{M-x customize-browse}
+
+@node Installation, Display Subsystems, Introduction, Top
+@unnumbered 2 Installation and Troubleshooting
 
 This is part 2 of the XEmacs Frequently Asked Questions list.  This
-section is devoted to Installation, Maintenance and Trouble Shooting.
+section is devoted to Installation, Maintenance and Troubleshooting.
 
 @menu
-Installation:
-* Q2.0.1::      Running XEmacs without installing.
-* Q2.0.2::      XEmacs is too big.
-* Q2.0.3::      Compiling XEmacs with Netaudio.
-* Q2.0.4::      Problems with Linux and ncurses.
-* Q2.0.5::      Do I need X11 to run XEmacs?
-* Q2.0.6::      I'm having strange crashes.  What do I do?
-* Q2.0.7::      Libraries in non-standard locations.
-* Q2.0.8::      can't resolve symbol _h_errno
-* Q2.0.9::      Where do I find external libraries?
-* Q2.0.10::     After I run configure I find a coredump, is something wrong?
-* Q2.0.11::     XEmacs can't resolve host names.
-* Q2.0.12::     Why can't I strip XEmacs?
-* Q2.0.13::     I don't need no steenkin' packages.  Do I?
-* Q2.0.14::     I don't want to install a million .els one at a time!
-* Q2.0.15::     EFS fails with "500 AUTH not understood" (NEW)
-* Q2.0.16::     Cygwin XEmacs won't start: cygXpm-noX4.dll was not found (NEW)
-
-Trouble Shooting:
-* Q2.1.1::      XEmacs just crashed on me!
-* Q2.1.2::      Cryptic Minibuffer messages.
-* Q2.1.3::      Translation Table Syntax messages at Startup.
-* Q2.1.4::      Startup warnings about deducing proper fonts?
-* Q2.1.5::      XEmacs cannot connect to my X Terminal.
-* Q2.1.6::      XEmacs just locked up my Linux X server.
-* Q2.1.7::      HP Alt key as Meta.
-* Q2.1.8::      got (wrong-type-argument color-instance-p nil)!
-* Q2.1.9::      XEmacs causes my OpenWindows 3.0 server to crash.
-* Q2.1.10::     Warnings from incorrect key modifiers.
-* Q2.1.11::     Can't instantiate image error... in toolbar
-* Q2.1.12::     Regular Expression Problems on DEC OSF1.
-* Q2.1.13::     HP/UX 10.10 and @code{create_process} failure
-* Q2.1.14::     @kbd{C-g} doesn't work for me.  Is it broken?
-* Q2.1.15::     How to debug an XEmacs problem with a debugger.
-* Q2.1.16::     XEmacs crashes in @code{strcat} on HP/UX 10.
-* Q2.1.17::     @samp{Marker does not point anywhere}.
-* Q2.1.18::     XEmacs is outputting lots of X errors.
-* Q2.1.19::     XEmacs does not follow the local timezone.
-* Q2.1.20::     @samp{Symbol's function definition is void: hkey-help-show.}
-* Q2.1.21::     [This question intentionally left blank]
-* Q2.1.22::     XEmacs seems to take a really long time to do some things.
-* Q2.1.23::     Movemail on Linux does not work for XEmacs 19.15 and later.
-* Q2.1.24::     XEmacs won't start without network.
-* Q2.1.25::     After upgrading, XEmacs won't do `foo' any more!
+2.0: Installation (General), Packages
+* Q2.0.1::    How do I install the packages?
+* Q2.0.2::    I don't need no steenkin' packages.  Do I?
+* Q2.0.3::    Where do I find external libraries?
+* Q2.0.4::    How do I specify the paths that XEmacs uses for finding files?
+* Q2.0.5::    Running XEmacs without installing
+* Q2.0.6::    XEmacs is too big
+* Q2.0.7::    EFS fails with "500 AUTH not understood" (NEW)
+
+2.1: Unix/Mac OS X Installation (Also Relevant to Cygwin, MinGW)
+* Q2.1.1::    Libraries in non-standard locations
+* Q2.1.2::    Why can't I strip XEmacs?
+* Q2.1.3::    Compiling XEmacs with Netaudio.
+* Q2.1.4::    Problems with Linux and ncurses.
+
+2.2: Windows Installation (Windows, Cygwin, MinGW)
+* Q2.2.1::    What exactly are all the different ways to build XEmacs under Windows?
+* Q2.2.2::    What compiler/libraries do I need to compile XEmacs?
+* Q2.2.3::    How do I compile the native port?
+* Q2.2.4::    What do I need for Cygwin?
+* Q2.2.5::    How do I compile under Cygwin?
+* Q2.2.6::    How do I compile using MinGW (aka @samp{the -mno-cygwin flag to gcc})?
+* Q2.2.7::    How do I compile with X support?
+* Q2.2.8::    Cygwin XEmacs won't start -- cygXpm-noX4.dll was not found (NEW)
+
+2.3: General Troubleshooting
+* Q2.3.1::    Help!  XEmacs just crashed on me!
+* Q2.3.2::    XEmacs crashes and I compiled it myself.
+* Q2.3.3::    How to debug an XEmacs problem with a debugger
+* Q2.3.4::    I get a cryptic error message when trying to do something.
+* Q2.3.5::    XEmacs hangs when I try to do something.
+* Q2.3.6::    I get an error message when XEmacs is running in batch mode.
+* Q2.3.7::    The keyboard or mouse is not working properly, or I have some other event-related problem.
+* Q2.3.8::    @kbd{C-g} doesn't work for me.  Is it broken?
+* Q2.3.9::    How do I debug process-related problems?
+* Q2.3.10::   XEmacs is outputting lots of X errors.
+* Q2.3.11::   After upgrading, XEmacs won't do `foo' any more!
+
+2.4: Startup-Related Problems
+* Q2.4.1::    XEmacs cannot connect to my X Terminal!
+* Q2.4.2::    XEmacs won't start on Windows.
+* Q2.4.3::    XEmacs won't start without network.
+* Q2.4.4::    Startup warnings about deducing proper fonts?
+* Q2.4.5::    Warnings from incorrect key modifiers.
+* Q2.4.6::    XEmacs 21.1 on Windows used to spawn an ugly console window on every startup.  Has that been fixed?
 @end menu
 
+@unnumberedsec 2.0: Installation (General), Packages
+
 @node Q2.0.1, Q2.0.2, Installation, Installation
-@unnumberedsec 2.0: Installation
-@unnumberedsubsec Q2.0.1: Running XEmacs without installing
+@unnumberedsubsec Q2.0.1: How do I install the packages?
+
+Many people really liked the old way that packages were bundled and do
+not want to mess with packages at all.  You can grab all the packages at
+once like you used to with old XEmacs versions.  Download the file
+
+@file{xemacs-sumo.tar.gz}
+
+For an XEmacs compiled with Mule you also need
+
+@file{xemacs-mule-sumo.tar.gz}
+
+These are in the @file{packages} directory on your XEmacs mirror
+archive.  N.B. They are called 'Sumo Tarballs' for good reason. They
+are currently about 15MB and 2.3MB (gzipped) respectively.
+
+Install them on Unix and Mac OS X using the shell/Terminal command
+
+@code{cd $prefix/lib/xemacs ; gunzip -c <tarballname> | tar xf -}
+
+Where @samp{$prefix} is what you gave to the @samp{--prefix} flag to
+@file{configure}, and defaults to @file{/usr/local}.
+
+If you have the packages somewhere nonstandard and don't want to
+bother with @samp{$prefix} (for example, you're a developer and are
+compiling the packages yourself, and want your own private copy of
+everything), you can also directly specify this using @file{configure}.
+To do this under 21.5 and above use the @samp{--package-prefix} parameter
+to specify the directory under which you untarred the above tarballs.
+Under 21.4 and previous you need to use @samp{--package-path},
+something like this:
+
+@example
+   configure --package-path="~/.xemacs::/src/xemacs/site-packages:/src/xemacs/xemacs-packages:/src/xemacs/mule-packages" ...
+@end example
+
+Under Windows, you need to place the above @samp{tar.gz} files in the
+directory specified using the @samp{PACKAGE_PREFIX} value in
+@file{nt/config.inc} and by default is @file{\Program Files\XEmacs}.
+(To untar a @samp{tar.gz} file you will need to use a utility such as
+WinZip, unless you have Cygwin or a similar environment installed, in
+which case the above Unix shell command should work fine.) If you want
+the packages somewhere else, just change @samp{PACKAGE_PREFIX}.
+
+Note that XEmacs finds the packages automatically anywhere underneath
+the directory tree where it expects to find the packages.  All you
+need to do is put stuff there; you don't need to run any program to
+tell XEmacs to find the packges, or do anything of that sort.
+
+See @file{README.packages} in the top-level source directory for more
+detailed installation instructions.
+
+As the Sumo tarballs are not regenerated as often as the individual
+packages, it is recommended that you use the automatic package tools
+afterwards to pick up any recent updates.
+
+@emph{More detailed info}: If the package path is not explicitly
+specified, XEmacs looks for the package directory
+@file{xemacs-packages} (and @file{mule-packages}, etc.) first under
+@samp{~/.xemacs}, then for a sister directory
+@file{lib/xemacs-VERSION} of the directory in which the XEmacs
+executable is located, then for a sister directory @file{lib/xemacs}.
+The XEmacs executable (under Unix at least) is installed by default in
+@file{/usr/local/bin}; this explains why XEmacs in its default
+installation will find packages that you put under
+@file{/usr/local/lib/xemacs}.
+
+#### I'm not sure what exactly happens when the package path is
+specifically given, as is the case when the @samp{--package-prefix} or
+@samp{--package-path} options are given to @file{configure}, and
+always under Microsoft Windows.
+
+@emph{NOTE}: For detailed information about how the package
+hierarchies work, @xref{Package Overview,,,lispref, the XEmacs Lisp
+Reference Manual}.
+
+@node Q2.0.2, Q2.0.3, Q2.0.1, Installation
+@unnumberedsubsec Q2.0.2: I don't need no steenkin' packages.  Do I?
+
+Strictly speaking, no.  XEmacs will build and install just fine without
+any packages installed.  However, only the most basic editing functions
+will be available with no packages installed, so installing packages is
+an essential part of making your installed XEmacs _useful_.
+
+@node Q2.0.3, Q2.0.4, Q2.0.2, Installation
+@unnumberedsubsec Q2.0.3: Where do I find external libraries?
+
+All external libraries used by XEmacs can be found at the XEmacs FTP
+site
+@iftex
+@*
+@end iftex
+@uref{http://ftp.xemacs.org/pub/aux/}.
+
+The library versions available here are known to work with XEmacs.
+(Newer versions will probably work as well but we can't guarantee it.)
+We try to keep the libraries up-to-date but may not always succeed.
+If you want to make sure of getting the latest version, check the
+canonical locations below.
+
+The canonical locations (at the time of this writing) are as follows:
+
+@subheading Databases:
+
+These DBM implementations are supported by XEmacs:
+native dbm (provided by OS), GDBM, and Berkeley DB version 1, 2 and 3.
+
+@example
+GDBM is the GNU DBM library, compatible with the Unix dbm library.
+gdbm-1.8.3.tar.gz
+ftp://ftp.gnu.org/pub/gnu/gdbm/
+http://www.gnu.org/software/gdbm/gdbm.html
+configure flag: --with-database=gnudbm
+
+Berkeley DB is provided by Sleepycat Software.
+db-4.1.25.tar.gz
+http://www.sleepycat.com/
+configure flag: --with-database=berkdb
+
+OpenLDAP is an implementation of the LDAP X.500 Directory protocol.
+openldap-2.1.12.tgz
+http://www.openldap.org/
+configure flag: --with-ldap
+@end example
+
+@subheading Image Format Libraries:
+
+@example
+`compface' is an old library for viewing X-Faces in messages.
+It is no longer being maintained and has been frozen for 10 years or
+so, but still works.  It should be compiled with the same options that
+X11 was compiled with on your system.  The version of this library at
+xemacs.org includes the `xbm2xface.pl' script, written by
+@email{stig@@hackvan.com, Stig}, which may be useful when generating
+your own xface.
+compface.tar.gz
+ftp://ftp.cs.indiana.edu/pub/faces/compface/
+configure flag: --with-xface
+
+The JPEG image format library
+jpegsrc.v6b.tar.gz
+ftp://ftp.uu.net/graphics/jpeg/
+http://www.ijg.org/
+configure flag: --with-jpeg
+
+The TIFF image format library
+tiff-v3.4-tar.gz
+ftp://ftp.sgi.com/graphics/tiff/
+configure flag: --with-tiff
+
+The XPM image format library
+xpm-3.4k.tar.gz
+ftp://koala.inria.fr/pub/xpm/
+http://www.inria.fr/koala/lehors/xpm.html
+configure flag: --with-xpm
+
+The PNG image format library
+libpng-1.2.15.tar.gz
+http://www.libpng.org/pub/png/
+configure flag: --with-png
+
+The ZLIB compression library is used by the PNG library.
+A GZIP coding system is also available, in XEmacs 21.5 and onward.
+zlib-1.1.4.tar.gz
+http://www.gzip.org/zlib/
+@end example
+
+@subheading Other Multimedia:
+
+@example
+Network Audio System (NAS) is a client-server sound library for X.
+nas-1.6.src.tar.gz
+ftp://ftp.x.org/contrib/audio/nas/
+http://radscan.com/nas.html
+configure flag: --with-nas
+
+Enlightened Sound Daemon (ESD) is yet another sound system.
+esound-0.2.8.tar.gz
+http://www.tux.org/~ricdude/EsounD.html
+
+Netpbm is a collection of programs that XEmacs might use at runtime.
+netpbm-1mar1994.tar.gz
+netpbm-9.2.tar.gz
+ftp://metalab.unc.edu/pub/Linux/apps/graphics/convert/
+
+Xaw3d is designed to be a drop-in replacement for the Athena widget
+library that `looks cooler'.
+Xaw3d-1.5.tar.gz
+ftp://ftp.x.org/contrib/widgets/Xaw3d/
+@end example
+
+@subheading Internationalization:
+
+@example
+Canna is a Japanese language input method.
+Canna has not been updated since 1996.
+Canna35b2.tar.gz
+cfw35f1p.exe (Canna on W95)
+http://www.nec.co.jp/canna/ (in Japanese)
+http://www.nec.co.jp/canna/c-down.html (download site, for those not able
+				        to read Japanese)
+configure flag: --with-canna
+
+Wnn is a multi-language mule input method.
+Wnn4 is the free version, while Wnn6 is the commercial version.
+Wnn4.2.tar.gz
+ftp://ftp.omronsoft.co.jp/pub/Wnn6/ (commercial version)
+
+Wnn4 appears completely orphaned; searches on google turn up XEmacs' own
+site first.  However, here is a (very old) site with some info on WNN:
+http://web.kyoto-inet.or.jp/people/tomoko-y/biwa/root/wnn_e.html
+
+configure flag: --with-wnn
+
+Mew is a multi-lingual mailreader.
+mew-1.94.2.tar.gz
+http://www.mew.org/
+
+kterm is a multi-lingual terminal emulator with special support for
+Asian languages with large character sets.
+kterm-6.2.0.tar.gz
+ftp://ftp.x.org/contrib/applications/
+
+ispell is a spelling checker with support for multiple languages.
+ispell-3.2.06.tar.gz
+http://ficus-www.cs.ucla.edu/ficus-members/geoff/ispell.html
+http://www.kdstevens.com/~stevens/ispell-page.html
+
+SKK (Simple Kana-to-Kanji) is a simple input method for Japanese.
+It has been modified to work with XEmacs.
+skk-8.6x.tar.gz
+
+X11 fonts for numerous languages.
+intlfonts-1.2.tar.gz
+http://www.gnu.org/directory/localization/intlfonts.html
+@end example
+
+@subheading Miscellaneous:
+
+@example
+ncurses is the standard free software curses library.
+ncurses-5.3.tar.gz
+http://dickey.his.com/ncurses/ncurses.html
+ftp://dickey.his.com/ncurses/
+@end example
+
+@subheading Developer Tools:
+
+@example
+CVS is the version control system used by XEmacs to manage the sources.
+cvs-1.11.5.tar.gz
+http:/www.cvshome.org/
+
+bzip2 is a compressor that compresses much better than gzip.
+bzip2-1.0.2.tar.gz
+http://sources.redhat.com/bzip2/
+
+texi2html is a script that converts Texinfo pages to HTML.
+texi2html-1.64.tar.gz
+http://www.mathematik.uni-kl.de/~obachman/Texi2html/
+
+Gnats is a bug tracking system.  Red Hat recommends using GNATS 4.0 for any
+new installations (see the beta below).
+gnats-3.113.tar.gz
+gnats-3.999.2.tar.gz
+cern_wwwgnats_v2.0-beta.tar.gz	(WWW front end to Gnats)
+http://sources.redhat.com/gnats/
+
+Use autoconf to generate `configure' from `configure.in'.
+NOTE: There is a more recent series, 2.5x, that XEmacs doesn't currently
+work with.
+autoconf-2.13.tar.gz
+http://www.gnu.org/software/autoconf/
+
+Use the `applypatch' program from the makepatch package
+to apply patches to upgrade from one beta release to another.
+Use this if you have a slow or expensive connection to the Net.
+makepatch-2.00_09.tar.gz
+http://www.squirrel.nl/people/jvromans/
+@end example
+
+@node Q2.0.4, Q2.0.5, Q2.0.3, Installation
+@unnumberedsubsec Q2.0.4: How do I specify the paths that XEmacs uses for finding files?
+
+You can specify what paths to use by using a number of different flags
+when running configure.  See the section MAKE VARIABLES in the top-level
+file INSTALL in the XEmacs distribution for a listing of those flags.
+
+Most of the time, however, the simplest fix is: @strong{do not} specify
+paths as you might for GNU Emacs.  XEmacs can generally determine the
+necessary paths dynamically at run time.  The only path that generally
+needs to be specified is the root directory to install into.  That can
+be specified by passing the @code{--prefix} flag to configure.  For a
+description of the XEmacs install tree, please consult the @file{NEWS}
+file.
+
+@node Q2.0.5, Q2.0.6, Q2.0.4, Installation
+@unnumberedsubsec Q2.0.5: Running XEmacs without installing
 
 How can I just try XEmacs without installing it?
 
@@ -1419,8 +2475,8 @@
 
 This will let you run XEmacs without massive copying.
 
-@node Q2.0.2, Q2.0.3, Q2.0.1, Installation
-@unnumberedsubsec Q2.0.2: XEmacs is too big
+@node Q2.0.6, Q2.0.7, Q2.0.5, Installation
+@unnumberedsubsec Q2.0.6: XEmacs is too big
 
 The space required by the installation directories can be
 reduced dramatically if desired.  Gzip all the .el files.  Remove all
@@ -1449,78 +2505,25 @@
 
 Another method is to do @code{M-x package-get-delete-package}.
 
-@node Q2.0.3, Q2.0.4, Q2.0.2, Installation
-@unnumberedsubsec Q2.0.3: Compiling XEmacs with Netaudio.
-
-What is the best way to compile XEmacs with the netaudio system, since I
-have got the netaudio system compiled but installed at a weird place, I
-am not root.  Also in the READMEs it does not say anything about
-compiling with the audioserver?
-
-You should only need to add some stuff to the configure command line.
-To tell it to compile in netaudio support: @samp{--with-sound=both}, or
-@samp{--with-sound=nas} if you don't want native sound support for some
-reason.) To tell it where to find the netaudio includes and libraries:
-
-@example
---site-libraries=WHATEVER
---site-includes=WHATEVER
-@end example
-
-Then (fingers crossed) it should compile and it will use netaudio if you
-have a server running corresponding to the X server. The netaudio server
-has to be there when XEmacs starts. If the netaudio server goes away and
-another is run, XEmacs should cope (fingers crossed, error handling in
-netaudio isn't perfect).
-
-BTW, netaudio has been renamed as it has a name clash with something
-else, so if you see references to NAS or Network Audio System, it's the
-same thing.  It also might be found at
-@uref{ftp://ftp.x.org/contrib/audio/nas/}.
-
-@node Q2.0.4, Q2.0.5, Q2.0.3, Installation
-@unnumberedsubsec Q2.0.4: Problems with Linux and ncurses.
-
-On Linux 1.3.98 with termcap 2.0.8 and the ncurses that came with libc
-5.2.18, XEmacs 20.0b20 is unable to open a tty device:
-
-@example
-src/xemacs -nw -q
-Initialization error:
-@iftex
-@*
-@end iftex
-Terminal type `xterm' undefined (or can't access database?)
-@end example
-
-@email{ben@@xemacs.org, Ben Wing} writes:
-
-@quotation
-Your ncurses configuration is messed up.  Your /usr/lib/terminfo is a
-bad pointer, perhaps to a CD-ROM that is not inserted.
-@end quotation
-
-@node Q2.0.5, Q2.0.6, Q2.0.4, Installation
-@unnumberedsubsec Q2.0.5: Do I need X11 to run XEmacs?
-
-No.  The name @dfn{XEmacs} is unfortunate in the sense that it is
-@strong{not} an X Window System-only version of Emacs.  XEmacs has
-full color support on a color-capable character terminal.
-
-@node Q2.0.6, Q2.0.7, Q2.0.5, Installation
-@unnumberedsubsec Q2.0.6: I'm having strange crashes.  What do I do?
-
-There have been a variety of reports of crashes due to compilers with
-buggy optimizers.  Please see the @file{PROBLEMS} file that comes with
-XEmacs to read what it says about your platform.
-
-If you compiled XEmacs using @samp{--use-union-type} (or the option
-@samp{USE_UNION_TYPE} in @file{config.inc} under Windows), try
-recompiling again without it.  The union type has been known to trigger
-compiler errors in a number of cases.
-
-@node Q2.0.7, Q2.0.8, Q2.0.6, Installation
-@unnumberedsubsec Q2.0.7: Libraries in non-standard locations
+@node Q2.0.7, Q2.1.1, Q2.0.6, Installation
+@unnumberedsubsec Q2.0.7: EFS fails with "500 AUTH not understood" (NEW)
+
+A typical error: FTP Error: USER request failed; 500 AUTH not understood.
+
+Thanks to giacomo boffi @email{giacomo.boffi@@polimi.it} who recommends
+on comp.emacs.xemacs:
+
+   tell your ftp client to not attempt AUTH authentication (or do not
+   use FTP servers that don't understand AUTH)
+
+and notes that you need to add an element (often "-u") to
+`efs-ftp-program-args'.  Use M-x customize-variable, and verify the
+needed flag with `man ftp' or other local documentation.
+
+@unnumberedsec 2.1: Unix/Mac OS X Installation (Also Relevant to Cygwin, MinGW)
+
+@node Q2.1.1, Q2.1.2, Q2.0.7, Installation
+@unnumberedsubsec Q2.1.1: Libraries in non-standard locations
 
 I have x-faces, jpeg, xpm etc. all in different places.  I've tried
 space-separated, comma-separated, several --site-libraries, all to no
@@ -1530,157 +2533,8 @@
 --site-libraries='/path/one /path/two /path/etc'
 @end example
 
-@node Q2.0.8, Q2.0.9, Q2.0.7, Installation
-@unnumberedsubsec Q2.0.8: can't resolve symbol _h_errno
-
-You are using the Linux/ELF distribution of XEmacs 19.14, and your ELF
-libraries are out of date.  You have the following options:
-
-@enumerate
-@item
-Upgrade your libc to at least 5.2.16 (better is 5.2.18, 5.3.12, or
-5.4.10).
-
-@item
-Patch the XEmacs binary by replacing all occurrences of
-@samp{_h_errno^@@} with
-@iftex
-@*
-@end iftex
-@samp{h_errno^@@^@@}.  Any version of Emacs will
-suffice.  If you don't understand how to do this, don't do it.
-
-@item
-Rebuild XEmacs yourself---any working ELF version of libc should be
-O.K.
-@end enumerate
-
-@email{hniksic@@xemacs.org, Hrvoje Niksic} writes:
-
-@quotation
-Why not use a Perl one-liner for No. 2?
-
-@example
-perl -pi -e 's/_h_errno\0/h_errno\0\0/g' \
-/usr/local/bin/xemacs-19.14
-@end example
-
-NB: You @emph{must} patch @file{/usr/local/bin/xemacs-19.14}, and not
-@file{xemacs} because @file{xemacs} is a link to @file{xemacs-19.14};
-the Perl @samp{-i} option will cause unwanted side-effects if applied to
-a symbolic link.
-@end quotation
-
-@email{steve@@xemacs.org, SL Baur} writes:
-
-@quotation
-If you build against a recent libc-5.4 (late enough to have caused
-problems earlier in the beta cycle) and then run with an earlier version
-of libc, you get a
-
-@example
-$ xemacs
-xemacs: can't resolve symbol '__malloc_hook'
-zsh: 7942 segmentation fault (core dumped)  xemacs
-@end example
-
-(Example binary compiled against libc-5.4.23 and run with libc-5.4.16).
-
-The solution is to upgrade to at least libc-5.4.23.  Sigh.  Drat.
-@end quotation
-
-@node Q2.0.9, Q2.0.10, Q2.0.8, Installation
-@unnumberedsubsec Q2.0.9: Where do I find external libraries?
-
-All external libraries used by XEmacs can be found at the XEmacs FTP
-site
-@iftex
-@*
-@end iftex
-@uref{ftp://ftp.xemacs.org/pub/xemacs/aux/}.
-[These tarballs and this FAQ are wa-a-ay out of date.  Sorry, I'm not
-currently network-capable, and I will probably forgot to update this
-before submitting the patch. -- Ed.]
-
-@c Changed June Link above, <URL:ftp://ftp.xemacs.org/pub/aux/> was dead.
-@c This list is a pain in the you-know-what to keep in synch with the
-@c world.
-The canonical locations (at the time of this writing) are as follows:
-
-@table @asis
-@item JPEG
-@uref{ftp://ftp.uu.net/graphics/jpeg/}.  Version 6a is current.
-@c Check from host with legal IP address
-@item XPM
-@uref{ftp://ftp.x.org/contrib/libraries/}.  Version 3.4j is current.
-Older versions of this package are known to cause XEmacs crashes.
-
-@item TIFF
-@uref{ftp://ftp.sgi.com/graphics/tiff/}.  v3.4 is current.  The latest
-beta is v3.4b035.  There is a HOWTO here.
-
-@item PNG
-@uref{ftp://ftp.uu.net/graphics/png/}.  0.89c is current.  XEmacs
-requires a fairly recent version to avoid using temporary files.
-@c Check from host with legal IP address
-
-@uref{ftp://swrinde.nde.swri.edu/pub/png/src/}
-
-@item Compface
-@uref{ftp://ftp.cs.indiana.edu/pub/faces/compface/}.  This library has
-been frozen for about 6 years, and is distributed without version
-numbers.  @emph{It should be compiled with the same options that X11 was
-compiled with on your system}.  The version of this library at
-XEmacs.org includes the @file{xbm2xface.pl} script, written by
-@email{stig@@hackvan.com}, which may be useful when generating your own xface.
-
-@item NAS
-@uref{ftp://ftp.x.org/contrib/audio/nas/}.
-Version 1.2p5 is current.  There is a FAQ here.
-@end table
-
-@node Q2.0.10, Q2.0.11, Q2.0.9, Installation
-@unnumberedsubsec Q2.0.10: After I run configure I find a core dump, is something wrong?
-
-Not necessarily.  If you have GNU sed 3.0 you should downgrade it to
-2.05.  From the @file{README} at prep.ai.mit.edu:
-
-@quotation
-sed 3.0 has been withdrawn from distribution.  It has major revisions,
-which mostly seem to be improvements; but it turns out to have bugs too
-which cause trouble in some common cases.
-
-Tom Lord won't be able to work fixing the bugs until May.  So in the
-mean time, we've decided to withdraw sed 3.0 from distribution and make
-version 2.05 once again the recommended version.
-@end quotation
-
-It has also been observed that the vfork test on Solaris will leave a
-core dump.
-
-@node Q2.0.11, Q2.0.12, Q2.0.10, Installation
-@unnumberedsubsec Q2.0.11: XEmacs doesn't resolve hostnames.
-
-This is the result of a long-standing problem with SunOS and the fact
-that stock SunOS systems do not ship with DNS resolver code in libc.
-
-@email{ckd@@loiosh.kei.com, Christopher Davis} writes:
-
-@quotation
-That's correct [The SunOS 4.1.3 precompiled binaries don't do name
-lookup].  Since Sun figured that everyone used NIS to do name lookups
-(that DNS thing was apparently only a passing fad, right?), the stock
-SunOS 4.x systems don't have DNS-based name lookups in libc.
-
-This is also why Netscape ships two binaries for SunOS 4.1.x.
-
-The best solution is to compile it yourself; the configure script will
-check to see if you've put DNS in the shared libc and will then proceed
-to link against the DNS resolver library code.
-@end quotation
-
-@node Q2.0.12, Q2.0.13, Q2.0.11, Installation
-@unnumberedsubsec Q2.0.12: Why can't I strip XEmacs?
+@node Q2.1.2, Q2.1.3, Q2.1.1, Installation
+@unnumberedsubsec Q2.1.2: Why can't I strip XEmacs?
 
 @email{cognot@@fronsac.ensg.u-nancy.fr, Richard Cognot} writes:
 
@@ -1734,58 +2588,215 @@
 @end enumerate
 @end quotation
 
-@node Q2.0.13, Q2.0.14, Q2.0.12, Installation
-@unnumberedsubsec Q2.0.13: I don't need no steenkin' packages.  Do I?
-
-Strictly speaking, no.  XEmacs will build and install just fine without
-any packages installed.  However, only the most basic editing functions
-will be available with no packages installed, so installing packages is
-an essential part of making your installed XEmacs _useful_.
-
-@node Q2.0.14, Q2.0.15, Q2.0.13, Installation
-@unnumberedsubsec Q2.0.14: How do I figure out which packages to install?
-
-Many people really liked the old way that packages were bundled and do
-not want to mess with packages at all.  You can grab all the packages at
-once like you used to with old XEmacs versions.  Download the file
-
-@file{xemacs-sumo.tar.gz}
-
-For an XEmacs compiled with Mule you also need
-
-@file{xemacs-mule-sumo.tar.gz}
-
-from the @file{packages} directory on your XEmacs mirror archive.
-N.B. They are called 'Sumo Tarballs' for good reason. They are
-currently about 15MB and 2.3MB (gzipped) respectively.
-
-Install them by
-
-@code{cd $prefix/lib/xemacs ; gunzip -c <tarballname> | tar xf -}
-
-See README.packages for more detailed installation instructions.
-
-As the Sumo tarballs are not regenerated as often as the individual
-packages, it is recommended that you use the automatic package tools
-afterwards to pick up any recent updates.
-
-@node Q2.0.15, Q2.0.16, Q2.0.14, Installation
-@unnumberedsubsec Q2.0.15: EFS fails with "500 AUTH not understood" (NEW)
-
-A typical error: FTP Error: USER request failed; 500 AUTH not understood.
-
-Thanks to giacomo boffi @email{giacomo.boffi@@polimi.it} who recommends
-on comp.emacs.xemacs:
-
-   tell your ftp client to not attempt AUTH authentication (or do not
-   use FTP servers that don't understand AUTH)
-
-and notes that you need to add an element (often "-u") to
-`efs-ftp-program-args'.  Use M-x customize-variable, and verify the
-needed flag with `man ftp' or other local documentation.
-
-@node Q2.0.16, Q2.1.1, Q2.0.15, Installation
-@unnumberedsubsec Q2.0.16: Cygwin XEmacs won't start: cygXpm-noX4.dll was not found (NEW)
+@node Q2.1.3, Q2.1.4, Q2.1.2, Installation
+@unnumberedsubsec Q2.1.3: Compiling XEmacs with Netaudio.
+
+What is the best way to compile XEmacs with the netaudio system, since I
+have got the netaudio system compiled but installed at a weird place, I
+am not root.  Also in the READMEs it does not say anything about
+compiling with the audioserver?
+
+You should only need to add some stuff to the configure command line.
+To tell it to compile in netaudio support: @samp{--with-sound=both}, or
+@samp{--with-sound=nas} if you don't want native sound support for some
+reason.) To tell it where to find the netaudio includes and libraries:
+
+@example
+--site-libraries=WHATEVER
+--site-includes=WHATEVER
+@end example
+
+Then (fingers crossed) it should compile and it will use netaudio if you
+have a server running corresponding to the X server. The netaudio server
+has to be there when XEmacs starts. If the netaudio server goes away and
+another is run, XEmacs should cope (fingers crossed, error handling in
+netaudio isn't perfect).
+
+BTW, netaudio has been renamed as it has a name clash with something
+else, so if you see references to NAS or Network Audio System, it's the
+same thing.  It also might be found at
+@uref{ftp://ftp.x.org/contrib/audio/nas/}.
+
+@node Q2.1.4, Q2.2.1, Q2.1.3, Installation
+@unnumberedsubsec Q2.1.4: Problems with Linux and ncurses.
+
+On Linux 1.3.98 with termcap 2.0.8 and the ncurses that came with libc
+5.2.18, XEmacs 20.0b20 is unable to open a tty device:
+
+@example
+src/xemacs -nw -q
+Initialization error:
+@iftex
+@*
+@end iftex
+Terminal type `xterm' undefined (or can't access database?)
+@end example
+
+@email{ben@@xemacs.org, Ben Wing} writes:
+
+@quotation
+Your ncurses configuration is messed up.  Your /usr/lib/terminfo is a
+bad pointer, perhaps to a CD-ROM that is not inserted.
+@end quotation
+
+@unnumberedsec 2.2: Windows Installation (Windows, Cygwin, MinGW)
+
+@node Q2.2.1, Q2.2.2, Q2.1.4, Installation
+@unnumberedsubsec Q2.2.1: What exactly are all the different ways to build XEmacs under Windows?
+
+XEmacs can be built in several ways in the MS Windows environment.
+
+The standard way is what we call the "native" port.  It uses the Win32
+API and has no connection with X whatsoever -- it does not require X
+libraries to build, nor does it require an X server to run.  The native
+port is the most reliable version and provides the best graphical
+support.  Almost all development is geared towards this version, and
+there is little reason not to use it.
+
+The second way to build is the Cygwin port.  It takes advantage of
+Cygnus emulation library under Win32.  @xref{Q1.1.4, What are Cygwin
+and MinGW, and do I need them to run XEmacs?}, for more information.
+
+A third way is the MinGW port.  It uses the Cygwin environment to
+build but does not require it at runtime.  @xref{Q1.1.4, What are
+Cygwin and MinGW, and do I need them to run XEmacs?}, for more
+information.
+
+Finally, you might also be able to build the non-Cygwin, non-MinGW "X"
+port.  This was actually the first version of XEmacs that ran under MS
+Windows, and although the code is still in XEmacs, it's essentially
+orphaned and it's unlikely it will compile without a lot of work.  If
+you want an MS Windows versin of XEmacs that supports X, use the Cygwin
+version. (The X support there is actively maintained, so that Windows
+developers can test the X support in XEmacs.)
+
+@node Q2.2.2, Q2.2.3, Q2.2.1, Installation
+@unnumberedsubsec Q2.2.2: What compiler/libraries do I need to compile XEmacs?
+
+You need Visual C++ 4.2, 5.0, or 6.0 for the native version. (We have
+some beta testers currently trying to compile with VC.NET, aka version
+7.0, but we can't yet report complete success.) For the Cygwin and
+MinGW versions, you need the Cygwin environment, which comes with GCC,
+the compiler used for those versions.  @xref{Q1.1.4, What are Cygwin
+and MinGW, and do I need them to run XEmacs?}, for more information on
+Cygwin and MinGW.
+
+@node Q2.2.3, Q2.2.4, Q2.2.2, Installation
+@unnumberedsubsec Q2.2.3: How do I compile the native port?
+
+Please read the file @file{nt/README} in the XEmacs distribution, which
+contains the full description.
+
+@node Q2.2.4, Q2.2.5, Q2.2.3, Installation
+@unnumberedsubsec Q2.2.4: What do I need for Cygwin?
+
+You can find the Cygwin tools and compiler at:
+
+@uref{http://www.cygwin.com/}
+
+Click on the @samp{Install or update now!} link, which will download a
+file @file{setup.exe}, which you can use to download everything
+else. (You will need to pick a mirror site; @samp{mirrors.rcn.net} is
+probably the best.) You should go ahead and install everything --
+you'll get various ancillary libraries that XEmacs needs or likes,
+e.g. XPM, PNG, JPEG, TIFF, etc.  You can also get X Windows here, if you
+want to compile under X.
+
+If you want to compile without X, you will need the @file{xpm-nox}
+library, which must be specifically selected in the Cygwin netinstaller;
+it is not selected by default.  The package has had various names.
+Currently it is called @file{cygXpm-noX4.dll}.
+
+@node Q2.2.5, Q2.2.6, Q2.2.4, Installation
+@unnumberedsubsec Q2.2.5: How do I compile under Cygwin?
+
+Similar as on Unix; use the usual `configure' and `make' process.
+Some problems to watch out for:
+
+@itemize @bullet
+@item
+make sure HOME is set. This controls where you
+@file{init.el} file comes from;
+
+@item
+@samp{CYGWIN} needs to be set to @samp{tty} for process support to work;
+
+@item
+picking up some other grep or other UNIX-like tools can kill configure;
+
+@item
+static heap too small, adjust @file{src/sheap-adjust.h} to a more positive
+number;
+
+@item
+(Unconfirmed) The Cygwin version doesn't understand
+@file{//machine/path} type paths so you will need to manually mount a
+directory of this form under a unix style directory for a build to work
+on the directory;
+
+@item
+If you're building @strong{WITHOUT} X11, don't forget to change symlinks
+@file{/usr/lib/libXpm.a} and @file{/usr/lib/libXpm.dll.a} to point to
+the non-X versions of these libraries.  By default they point to the X
+versions.  So:
+
+@example
+/usr/lib/libXpm.a     -> /usr/lib/libXpm-noX.a
+/usr/lib/libXpm.dll.a -> /usr/lib/libXpm-noX.dll.a
+@end example
+
+(This advice may now be obsolete because of the availability of the
+cygXpm-noX4.dll package from Cygwin.  Send confirmation to
+@email{faq@@xemacs.org}.)
+
+@item
+Other problems are listed in the @file{PROBLEMS} file, in the top-level
+directory of the XEmacs sources.
+
+@end itemize
+
+
+@node Q2.2.6, Q2.2.7, Q2.2.5, Installation
+@unnumberedsubsec Q2.2.6: How do I compile using MinGW (aka @samp{the -mno-cygwin flag to gcc})?
+
+Similar to the method for Unix.  Things to remember:
+
+@itemize @bullet
+@item
+Specify the target host on the command line for @file{./configure}, e.g.
+@samp{./configure i586-pc-mingw32}.
+
+@item
+Be sure that your build directory is mounted such that it has the
+same path either as a cygwin path (@file{/build/xemacs}) or as a Windows
+path (@file{c:\build\xemacs}).
+
+@item
+Build @samp{gcc -mno-cygwin} versions of the extra libs, i.e. @file{libpng},
+@file{compface}, etc.
+
+@item
+Specify the target location of the extra libs on the command line
+to @file{configure}, e.g.
+@samp{./configure --site-prefixes=/build/libs i586-pc-mingw32}.
+@end itemize
+
+@node Q2.2.7, Q2.2.8, Q2.2.6, Installation
+@unnumberedsubsec Q2.2.7: How do I compile with X support?
+
+To compile under Cygwin, all you need to do is install XFree86, which
+is available as part of the standard Cygwin installation.
+@uref{http://www.cygwin.com/}.  Once installed, @file{configure}
+should automatically find the X libraries and compile with X support.
+
+As noted above, the non-Cygwin X support is basically orphaned, and
+probably won't work.  But if it want to try, it's described in
+@file{nt/README} in some detail.  Basically, you need to get X11
+libraries from @uref{ftp://ftp.x.org}, and compile them.  If the
+precompiled versions are available somewhere, we don't know of it.
+
+@node Q2.2.8, Q2.3.1, Q2.2.7, Installation
+@unnumberedsubsec Q2.2.8: Cygwin XEmacs won't start -- cygXpm-noX4.dll was not found (NEW)
 
 The Cygwin binary distributed with the netinstaller uses an external DLL
 to handle XPM images (such as toolbar buttons).  You may get an error like
@@ -1802,9 +2813,10 @@
 Ie, reinstalling XEmacs won't help because it is not part of the XEmacs
 distribution.
 
-@node Q2.1.1, Q2.1.2, Q2.0.16, Installation
-@unnumberedsec 2.1: Trouble Shooting
-@unnumberedsubsec Q2.1.1: Help!  XEmacs just crashed on me!
+@unnumberedsec 2.3: General Troubleshooting
+
+@node Q2.3.1, Q2.3.2, Q2.2.8, Installation
+@unnumberedsubsec Q2.3.1: Help!  XEmacs just crashed on me!
 
 First of all, don't panic.  Whenever XEmacs crashes, it tries extremely
 hard to auto-save all of your files before dying.  (The main time that
@@ -1821,29 +2833,25 @@
 particular sequences of actions, that cause it to crash.  If you can
 come up with a reproducible way of doing this (or even if you have a
 pretty good memory of exactly what you were doing at the time), the
-maintainers would be very interested in knowing about it.  The best way
-to report a bug is using @kbd{M-x report-emacs-bug} (or by selecting
-@samp{Send Bug Report...} from the Help menu).  If that won't work
-(e.g. you can't get XEmacs working at all), send ordinary mail to
-@email{crashes@@xemacs.org}. @emph{MAKE SURE} to include the output from
-the crash, especially including the Lisp backtrace, as well as the
-XEmacs configuration from @kbd{M-x describe-installation} (or
-equivalently, the file @file{Installation} in the top of the build
-tree).  Please note that the @samp{crashes} address is exclusively for
-crash reports.  The best way to report bugs in general is through the
-@kbd{M-x report-emacs-bug} interface just mentioned, or if necessary by
-emailing @email{xemacs-beta@@xemacs.org}.  Note that the developers do
-@emph{not} usually follow @samp{comp.emacs.xemacs} on a regular basis;
-thus, this is better for general questions about XEmacs than bug
-reports.
+maintainers would be very interested in knowing about it.  The best
+way to report a bug is using @kbd{M-x report-emacs-bug} (or by
+selecting @samp{Send Bug Report...} from the Help menu).  If that
+won't work (e.g. you can't get XEmacs working at all), send ordinary
+mail to @email{xemacs-beta@@xemacs.org}. @emph{MAKE SURE} to include
+the output from the crash, especially including the Lisp backtrace, as
+well as the XEmacs configuration from @kbd{M-x describe-installation}
+(or equivalently, the file @file{Installation} in the top of the build
+tree).  Note that the developers do @emph{not} usually follow
+@samp{comp.emacs.xemacs} on a regular basis; thus, this is better for
+general questions about XEmacs than bug reports.
 
 If at all possible, include a C stack backtrace of the core dump that
-was produced.  This shows where exactly things went wrong, and makes it
-much easier to diagnose problems.  To do this under Unix, you need to
-locate the core file (it's called @file{core}, and is usually sitting in
-the directory that you started XEmacs from, or your home directory if
-that other directory was not writable).  Then, go to that directory and
-execute a command like:
+was produced.  This shows where exactly things went wrong, and makes
+it much easier to diagnose problems.  To do this under Unix and Mac OS
+X, you need to locate the core file (it's called @file{core}, and is
+usually sitting in the directory that you started XEmacs from, or your
+home directory if that other directory was not writable).  Then, go to
+that directory and execute a command like:
 
 @example
 gdb `which xemacs` core
@@ -1854,10 +2862,39 @@
 @code{gdb}.  If you don't have any such debugger available, complain to
 your system administrator.
 
-It's possible that a core file didn't get produced, in which case you're
-out of luck.  Go complain to your system administrator and tell him not
-to disable core files by default.  Also see @ref{Q2.1.15}, for tips and
-techniques for dealing with a debugger.
+It's possible that a core file didn't get produced or the stack trace
+from gdb is garbage, in which case you're out of luck unless you can
+reproduce the bug.  A nonexistent core file can happen in some
+circumstances on some operating systems, depending on what exactly
+triggered the crash.  It's also possible, however, that your limits
+are set to turn them off.  You may be able to reenable them using a
+command like @samp{unlimit coredumpsize} or @samp{ulimit -c}. (To find
+out how your limits are set, use the command @samp{limit}.) However, if
+you didn't explicitly set your limits this way, go complain to your
+system administrator and tell him not to disable core files by
+default.
+
+A garbaged stack trace can happen for various reasons.  Some versions
+of gdb are broken on certain operating systems and aren't able to read
+the core file.  It's also possible that the stack got overwritten
+during the crash.  A very simple reason, however, is that your version
+of XEmacs was compiled without debugging information or had the
+debugging information stripped.  A compilation with optimization can
+also result in partly or completely garbaged stack trace.  In such
+cases, you will need to recompile XEmacs with debugging information
+and without optimization; @xref{Q2.3.3, How to debug an XEmacs problem
+with a debugger}.  Note also that core files currently don't work at
+all under Cygwin, and the only way to get a backtrace is to run XEmacs
+from gdb.
+
+If you cannot get a backtrace from the core dump, but can reproduce
+the problem, try running XEmacs under gdb.  The goal is to get clean C
+and Lisp backtraces and submit a bug report including full
+configuration information as described above, as this will greatly
+assist in the process of tracking down the bug.  However, even partial
+information is better than none.  The process of getting backtraces
+from gdb is described in detail in @ref{Q2.3.3, How to debug an XEmacs
+problem with a debugger}.
 
 If you're under Microsoft Windows, you're out of luck unless you happen
 to have a debugging aid installed on your system, for example Visual
@@ -1874,7 +2911,7 @@
 crash.
 
 @item
-You mention what O/S & Hardware you are running XEmacs on.
+You mention what O/S and Hardware you are running XEmacs on.
 
 @item
 What version of XEmacs you are running.
@@ -1883,12 +2920,15 @@
 What build options you are using.
 
 @item
-If the problem is related to graphics and you are running Unix, we will
-also need to know what version of the X Window System you are running,
-and what window manager you are using.
+If the problem is related to graphics and you are running Unix or Mac
+OS X, we will also need to know what version of the X Window System
+you are running, and what window manager you are using.
 
 @item
 If the problem happened on a TTY, please include the terminal type.
+
+@item
+Try very hard to get both C and Lisp backtraces, as described above.
 @end enumerate
 
 Much of the information above is automatically generated by @kbd{M-x
@@ -1897,337 +2937,26 @@
 to a file (@file{beta.err} is the default used by @code{build-report}),
 and executing @kbd{M-x build-report}.
 
-@node Q2.1.2, Q2.1.3, Q2.1.1, Installation
-@unnumberedsubsec Q2.1.2: Cryptic Minibuffer messages.
-
-When I try to use some particular option of some particular package, I
-get a cryptic error in the minibuffer.
-
-If you can't figure out what's going on, select Options/General
-Options/Debug on Error from the Menubar and then try and make the error
-happen again.  This will give you a backtrace that may be enlightening.
-If not, try reading through this FAQ; if that fails, you could try
-posting to comp.emacs.xemacs (making sure to include the backtrace) and
-someone may be able to help.  If you can identify which Emacs lisp
-source file the error is coming from you can get a more detailed stack
-backtrace by doing the following:
-
-@enumerate
-@item
-Visit the .el file in an XEmacs buffer.
-
-@item
-Issue the command @kbd{M-x eval-current-buffer}.
-
-@item
-Reproduce the error.
-@end enumerate
-
-Depending on the version of XEmacs, you may either select View->Show
-Message Log (recent versions), Edit->Show Messages (some earlier
-versions) or Help->Recent Keystrokes/Messages (other earlier versions)
-from the menubar to see the most recent messages.  This command is bound
-to @kbd{C-h l} by default.
-
-@node Q2.1.3, Q2.1.4, Q2.1.2, Installation
-@unnumberedsubsec Q2.1.3: Translation Table Syntax messages at Startup
-
-I get tons of translation table syntax error messages during startup.
-How do I get rid of them?
-
-There are two causes of this problem.  The first usually only strikes
-people using the prebuilt binaries.  The culprit in both cases is the
-file @file{XKeysymDB}.
-
-@itemize @bullet
-@item
-The binary cannot find the @file{XKeysymDB} file.  The location is
-hardcoded at compile time so if the system the binary was built on puts
-it a different place than your system does, you have problems.  To fix,
-set the environment variable @code{XKEYSYMDB} to the location of the
-@file{XKeysymDB} file on your system or to the location of the one
-included with XEmacs which should be at
-@iftex
-@*
-@end iftex
-@file{<xemacs_root_directory>/lib/xemacs-19.16/etc/XKeysymDB}.
-
-@item
-The binary is finding the XKeysymDB but it is out-of-date on your system
-and does not contain the necessary lines.  Either ask your system
-administrator to replace it with the one which comes with XEmacs (which
-is the stock R6 version and is backwards compatible) or set your
-@code{XKEYSYMDB} variable to the location of XEmacs's described above.
-@end itemize
-
-@node Q2.1.4, Q2.1.5, Q2.1.3, Installation
-@unnumberedsubsec Q2.1.4: Startup warnings about deducing proper fonts?
-
-How can I avoid the startup warnings about deducing proper fonts?
-
-This is highly dependent on your installation, but try with the
-following font as your base font for XEmacs and see what it does:
-
-@format
--adobe-courier-medium-r-*-*-*-120-*-*-*-*-iso8859-1
-@end format
-
-More precisely, do the following in your resource file:
-
-@format
-Emacs.default.attributeFont: \
--adobe-courier-medium-r-*-*-*-120-*-*-*-*-iso8859-1
-@end format
-
-If you just don't want to see the @samp{*Warnings*} buffer at startup
-time, you can set this:
-
-@lisp
-(setq display-warning-minimum-level 'error)
-@end lisp
-
-The buffer still exists; it just isn't in your face.
-
-@node Q2.1.5, Q2.1.6, Q2.1.4, Installation
-@unnumberedsubsec Q2.1.5: XEmacs cannot connect to my X Terminal!
-
-Help!  I can not get XEmacs to display on my Envizex X-terminal!
-
-Try setting the @code{DISPLAY} variable using the numeric IP address of
-the host you are running XEmacs from.
-
-@node Q2.1.6, Q2.1.7, Q2.1.5, Installation
-@unnumberedsubsec Q2.1.6: XEmacs just locked up my Linux X server!
-
-There have been several reports of the X server locking up under Linux.
-In all reported cases removing speedo and scaled fonts from the font
-path corrected the problem.  This can be done with the command
-@code{xset}.
-
-It is possible that using a font server may also solve the problem.
-
-@node Q2.1.7, Q2.1.8, Q2.1.6, Installation
-@unnumberedsubsec Q2.1.7: HP Alt key as Meta.
-
-How can I make XEmacs recognize the Alt key of my HP workstation as a
-Meta key?
-
-Put the following line into a file and load it with xmodmap(1) before
-starting XEmacs:
-
-@example
-remove Mod1 = Mode_switch
-@end example
-
-@node Q2.1.8, Q2.1.9, Q2.1.7, Installation
-@unnumberedsubsec Q2.1.8: got (wrong-type-argument color-instance-p nil)
-
-@email{nataliek@@rd.scitec.com.au, Natalie Kershaw} writes:
-
-@quotation
-I am trying to run xemacs 19.13 under X11R4. Whenever I move the mouse I
-get the following error. Has anyone seen anything like this? This
-doesn't occur on X11R5.
-
-@lisp
-Signalling:
-(error "got (wrong-type-argument color-instance-p nil)
-and I don't know why!")
-@end lisp
-@end quotation
-
-@email{map01kd@@gold.ac.uk, dinos} writes:
-
-@quotation
-I think this is due to undefined resources; You need to define color
-backgrounds and foregrounds into your @file{.../app-defaults/Emacs}
-like:
-
-@example
-*Foreground:    Black   ;everything will be of black on grey95,
-*Background:    Grey95  ;unless otherwise specified.
-*cursorColor:   Red3    ;red3 cursor with grey95 border.
-*pointerColor:  Red3    ;red3 pointer with grey95 border.
-@end example
-@end quotation
-
-Natalie Kershaw adds:
-
-@quotation
-What fixed the problem was adding some more colors to the X color
-database (copying the X11R5 colors over), and also defining the
-following resources:
-
-@example
-xemacs*cursorColor:    black
-xemacs*pointerColor:   black
-@end example
-
-With the new colors installed the problem still occurs if the above
-resources are not defined.
-
-If the new colors are not present then an additional error occurs on
-XEmacs startup, which says @samp{Color Red3} not defined.
-@end quotation
-
-@node Q2.1.9, Q2.1.10, Q2.1.8, Installation
-@unnumberedsubsec Q2.1.9: XEmacs causes my OpenWindows 3.0 server to crash.
-
-The OpenWindows 3.0 server is incredibly buggy.  Your best bet is to
-replace it with one from the generic MIT X11 release.  You might also
-try disabling parts of your @file{init.el}/@file{.emacs}, like those
-that enable background pixmaps.
-
-@node Q2.1.10, Q2.1.11, Q2.1.9, Installation
-@unnumberedsubsec Q2.1.10: Warnings from incorrect key modifiers.
-
-The following information comes from the @file{PROBLEMS} file that comes
-with XEmacs.
-
-If you're having troubles with HP/UX it is because HP/UX defines the
-modifiers wrong in X.  Here is a shell script to fix the problem; be
-sure that it is run after VUE configures the X server.
-
-@example
-#! /bin/sh
-xmodmap 2> /dev/null - << EOF
-keysym Alt_L = Meta_L
-keysym Alt_R = Meta_R
-EOF
-
-xmodmap - << EOF
-clear mod1
-keysym Mode_switch = NoSymbol
-add mod1 = Meta_L
-keysym Meta_R = Mode_switch
-add mod2 = Mode_switch
-EOF
-@end example
-
-@node Q2.1.11, Q2.1.12, Q2.1.10, Installation
-@unnumberedsubsec Q2.1.11: @samp{Can't instantiate image error...} in toolbar
-@c New
-
-@email{expt@@alanine.ram.org, Dr. Ram Samudrala} writes:
-
-I just installed the XEmacs (20.4-2) RPMS that I downloaded from
-@uref{http://www.xemacs.org/}.  Everything works fine, except that when
-I place my mouse over the toolbar, it beeps and gives me this message:
-
-@example
- Can't instantiate image (probably cached):
- [xbm :mask-file "/usr/include/X11/bitmaps/leftptrmsk :mask-data
- (16 16 <strange control characters> ...
-@end example
-
-@email{kyle_jones@@wonderworks.com, Kyle Jones} writes:
-@quotation
-This is problem specific to some Chips and Technologies video
-chips, when running XFree86.  Putting
-
-@code{Option "sw_cursor"}
-
-in @file{XF86Config} gets rid of the problem.
-@end quotation
-
-@node Q2.1.12, Q2.1.13, Q2.1.11, Installation
-@unnumberedsubsec Q2.1.12: Problems with Regular Expressions on DEC OSF1.
-
-I have xemacs 19.13 running on an alpha running OSF1 V3.2 148 and ispell
-would not run because it claimed the version number was incorrect
-although it was indeed OK. I traced the problem to the regular
-expression handler.
-
-@email{douglask@@dstc.edu.au, Douglas Kosovic} writes:
-
-@quotation
-Actually it's a DEC cc optimization bug that screws up the regexp
-handling in XEmacs.
-
-Rebuilding using the @samp{-migrate} switch for DEC cc (which uses a
-different sort of optimization) works fine.
-@end quotation
-
-See @file{xemacs-19_13-dunix-3_2c.patch} at the following URL on how to
-build with the @samp{-migrate} flag:
-
-@example
-@uref{http://www-digital.cern.ch/carney/emacs/emacs.html}
-@c Link above, <URL:http://www-digital.cern.ch/carney/emacs/emacs.html> is
-@c dead. And the directory `carney' is empty.
-
-
-
-@end example
-
-NOTE: There have been a variety of other problems reported that are
-fixed in this fashion.
-
-@node Q2.1.13, Q2.1.14, Q2.1.12, Installation
-@unnumberedsubsec Q2.1.13: HP/UX 10.10 and @code{create_process} failure.
-
-@email{Dave.Carrigan@@ipl.ca, Dave Carrigan} writes:
-
-@quotation
-With XEmacs 19.13 and HP/UX 10.10, anything that relies on the
-@code{create_process} function fails. This breaks a lot of things
-(shell-mode, compile, ange-ftp, to name a few).
-@end quotation
-
-@email{johnson@@dtc.hp.com, Phil Johnson} writes:
-
-@quotation
-This is a problem specific to HP-UX 10.10.  It only occurs when XEmacs
-is compiled for shared libraries (the default), so you can work around
-it by compiling a statically-linked binary (run configure with
-@samp{--dynamic=no}).
-
-I'm not sure whether the problem is with a particular shared library or
-if it's a kernel problem which crept into 10.10.
-@end quotation
-
-@email{cognot@@ensg.u-nancy.fr, Richard Cognot} writes:
-
-@quotation
-I had a few problems with 10.10. Apparently, some of them were solved by
-forcing a static link of libc (manually).
-@end quotation
-
-@node Q2.1.14, Q2.1.15, Q2.1.13, Installation
-@unnumberedsubsec Q2.1.14: @kbd{C-g} doesn't work for me.  Is it broken?
-
-@email{ben@@xemacs.org, Ben Wing} writes:
-
-@quotation
-@kbd{C-g} does work for most people in most circumstances.  If it
-doesn't, there are only two explanations:
-
-@enumerate
-@item
-The code is wrapped with a binding of @code{inhibit-quit} to
-@code{t}.  @kbd{Ctrl-Shift-G} should still work, I think.
-
-@item
-SIGIO is broken on your system, but BROKEN_SIGIO isn't defined.
-@end enumerate
-
-To test #2, try executing @code{(while t)} from the @samp{*scratch*}
-buffer.  If @kbd{C-g} doesn't interrupt, then you're seeing #2.
-@end quotation
-
-@email{terra@@diku.dk, Morten Welinder} writes:
-
-@quotation
-On some (but @emph{not} all) machines a hung XEmacs can be revived by
-@code{kill -FPE <pid>}.  This is a hack, of course, not a solution.
-This technique works on a Sun4 running 4.1.3_U1.  To see if it works for
-you, start another XEmacs and test with that first.  If you get a core
-dump the method doesn't work and if you get @samp{Arithmetic error} then
-it does.
-@end quotation
-
-@node Q2.1.15, Q2.1.16, Q2.1.14, Installation
-@unnumberedsubsec Q2.1.15: How to debug an XEmacs problem with a debugger
+
+@node Q2.3.2, Q2.3.3, Q2.3.1, Installation
+@unnumberedsubsec Q2.3.2: XEmacs crashes and I compiled it myself.
+
+There have been a variety of reports of crashes due to compilers with
+buggy optimizers.  If you are compiling with optimization, consider
+turning it off (@pxref{Q2.3.3, How to debug an XEmacs problem with a
+debugger}) and recompiling.
+
+Please see the @file{PROBLEMS} file that comes with XEmacs (it's in
+the top-level source directory) to read what it says about your
+platform.
+
+If you compiled XEmacs using @samp{--use-union-type} (or the option
+@samp{USE_UNION_TYPE} in @file{config.inc} under Windows), try
+recompiling again without it.  The union type has been known to trigger
+compiler errors in a number of cases.
+
+@node Q2.3.3, Q2.3.4, Q2.3.2, Installation
+@unnumberedsubsec Q2.3.3: How to debug an XEmacs problem with a debugger
 
 If XEmacs does crash on you, one of the most productive things you can
 do to help get the bug fixed is to poke around a bit with the debugger.
@@ -2239,19 +2968,45 @@
 strongly recompiling your XEmacs with debugging symbols and with no
 optimization (e.g. with GCC use the compiler flags @samp{-g -O0} --
 that's an "oh" followed by a zero), and with the configure options
-@samp{--debug=yes} and @samp{--error-checking=all}.  This will make your
-XEmacs run somewhat slower, but you are a lot more likely to catch the
-problem earlier (closer to its source).  It makes it a lot easier to
-determine what's going on with a debugger.
+@samp{--debug=yes} and @samp{--error-checking=all}.  This will make
+your XEmacs run somewhat slower, but you are a lot more likely to
+catch the problem earlier (closer to its source).  It makes it a lot
+easier to determine what's going on with a debugger.  The way to
+control the compiler flags is with the configuration option
+@samp{--cflags}.  If you have a recent version of 21.5, you should use
+@samp{--without-optimization} in preference to directly setting
+@samp{--cflags}.
 
 @item
 If it's not a true crash (@emph{i.e.}, XEmacs is hung, or a zombie
 process), or it's inconvenient to run XEmacs again because XEmacs is
 already running or is running in batch mode as part of a bunch of
 scripts, you may be able to attach to the existing process with your
-debugger.  Most debuggers let you do this by substituting the process ID
-for the core file when you invoke the debugger from the command line, or
-by using the @code{attach} command or something similar.
+debugger.  Under Unix and Mac OS X, the typical way to do this is to
+first use some variant of the @samp{ps} command to figure out the
+process ID of XEmacs, for example @samp{ps -auxww | grep xemacs} under
+a BSD variant, @samp{ps -elf | grep xemacs} under Linux or System V,
+or @samp{ps -aW | grep xemacs} under Cygwin.  Then run
+
+@example
+gdb /path/to/xemacs/xemacs ####
+@end example
+
+Where @code{####} is the process id of your XEmacs. (If you're not
+sure, try using @samp{which xemacs}.) When gdb attaches, the xemacs
+will stop and you can type @samp{where} in gdb to get a stack trace as
+usual.  To get things moving again, you can just type @samp{quit} in
+gdb.  It'll tell you the program is running and ask if you want to
+quit anyways.  Say @samp{y} and it'll quit and have your emacs
+continue from where it was at.
+
+If you're running another debugger, a similar method may work, or you
+may have to run the debugger first and then use the @code{attach}
+command or something similar.
+
+Under Microsoft Windows, use the menu item @samp{Build->Start
+Debug->Attach to Process...} and select the XEmacs process from the list
+given.
 
 @item
 If you're able to run XEmacs under a debugger and reproduce the crash,
@@ -2264,11 +3019,20 @@
 @item
 If XEmacs is hitting some weird Lisp error that's causing it to crash
 (e.g. during startup), put a breakpoint on @code{signal_1()}---this is
-declared static in eval.c.
+declared static in @file{eval.c}.
 
 @item
 If XEmacs is outputting lots of X errors, put a breakpoint on
-@code{x_error_handler()}; that will tell you which call is causing them.
+@code{x_error_handler()}; that will tell you which call is causing
+them.  Note that the result may not be very useful by default because
+X Windows normally operates asynchronously: A bunch of commands are
+buffered up and then sent to the server all at once.  This greatly
+improves performance over a network but means that an error may not be
+reported until the server receives the commands, which can be long
+after XEmacs made the erroneous calls.  For best results, you need to
+make the X server synchronous before getting the backtrace.  This can
+be done by starting XEmacs with the @samp{-sync} option or executing
+the Lisp code @code{(x-debug-mode t)}.
 
 @item
 Internally, you will probably see lots of variables that hold objects of
@@ -2277,7 +3041,7 @@
 useful---you'll likely just see a number.  To decode them, do this:
 
 @example
-call dp (OBJECT)
+call debug_print (OBJECT)
 @end example
 
 where @var{OBJECT} is whatever you want to decode (it can be a variable,
@@ -2285,19 +3049,30 @@
 readable representation on the TTY from which the xemacs process was
 invoked.
 
+Under 21.5 and later, @code{dp} is defined as an easier-to-type equivalent
+of @code{debug_print}.  You can also try @code{dpa} if you can't see
+the output from @code{debug_print} (this will return a string containing
+the output), or use @code{debug_p3} if @code{debug_print} itself triggers
+a crash (this is a less comprehensive but super-safe way to print out
+a Lisp object).
+
 @item
 If you want to get a Lisp backtrace showing the Lisp call
 stack, do this:
 
 @example
-call db ()
+call debug_backtrace ()
 @end example
 
-@item
-Using @code{dp} and @code{db} has two disadvantages - they can only be
-used with a running (including hung or zombie) xemacs process, and they
-do not display the internal C structure of a Lisp Object.  Even if all
-you've got is a core dump, all is not lost.
+Under 21.5 and later, @code{db} is defined as an easier-to-type equivalent
+of @code{debug_backtrace}.
+
+@item
+Using @code{debug_print} and @code{debug_backtrace} has two
+disadvantages - they can only be used with a running (including hung
+or zombie) xemacs process, and they do not display the internal C
+structure of a Lisp Object.  Even if all you've got is a core dump,
+all is not lost.
 
 If you're using GDB, there are some macros in the file
 @file{src/.gdbinit} in the XEmacs source distribution that should make
@@ -2418,138 +3193,224 @@
 
 @end itemize
 
-@node Q2.1.16, Q2.1.17, Q2.1.15, Installation
-@unnumberedsubsec Q2.1.16: XEmacs crashes in @code{strcat} on HP/UX 10
-
-From the problems database (through
-the former address http://support.mayfield.hp.com/):
-
-@example
-Problem Report: 5003302299
-Status:         Open
-
-System/Model:   9000/700
-Product Name:   HPUX S800 10.0X
-Product Vers:   9245XB.10.00
-
-Description: strcat(3C) may read beyond
-end of source string, can cause SIGSEGV
-
-
-*** PROBLEM TEXT ***
-strcat(3C) may read beyond the source string onto an unmapped page,
-causing a segmentation violation.
-@end example
-
-@node Q2.1.17, Q2.1.18, Q2.1.16, Installation
-@unnumberedsubsec Q2.1.17: @samp{Marker does not point anywhere}
-
-As with other errors, set @code{debug-on-error} to @code{t} to get the
-backtrace when the error occurs.  Specifically, two problems have been
-reported (and fixed).
+@node Q2.3.4, Q2.3.5, Q2.3.3, Installation
+@unnumberedsubsec Q2.3.4: I get a cryptic error message when trying to do something.
+
+When I try to use some particular option of some particular package, I
+get a cryptic error message in the minibuffer.
+
+If the message went by too quickly, use @samp{Help->Recent Messages}
+from the menubar (or type @kbd{C-h l}) to see recent messages.
+
+If you can't figure out what's going on, select
+@samp{Options->Troubleshooting->Debug on Error} from the menubar (or
+type @kbd{M-:} then @kbd{(setq debug-on-error t)}) then try and make
+the error happen again.  This will put in the debugger (you can get
+out of this and continue what you were doing before by typing @kbd{c})
+and give you a backtrace that may be enlightening.  If not, try
+reading through this FAQ; if that fails, you could try posting to
+@samp{comp.emacs.xemacs} (making sure to include the backtrace) and
+someone may be able to help.  If you can identify which XEmacs Lisp
+source file the error is coming from you can get a more detailed stack
+backtrace by doing the following:
 
 @enumerate
 @item
-A problem with line-number-mode in XEmacs 19.14 affected a large number
-of other packages.  If you see this error message, turn off
-line-number-mode.
-
-@item
-A problem with some early versions of Gnus 5.4 caused this error.
-Upgrade your Gnus.
+Visit the .el file in an XEmacs buffer.
+
+@item
+Issue the command @kbd{M-x eval-current-buffer}.
+
+@item
+Reproduce the error.
 @end enumerate
 
-@node Q2.1.18, Q2.1.19, Q2.1.17, Installation
-@unnumberedsubsec Q2.1.18: XEmacs is outputting lots of X errors.
+For more information on debugging Lisp code, @xref{Debugging,,,
+lispref, XEmacs Lisp Reference Manual}.
+
+@node Q2.3.5, Q2.3.6, Q2.3.4, Installation
+@unnumberedsubsec Q2.3.5: XEmacs hangs when I try to do something.
+
+XEmacs might just be slow; some operations take a long time.  XEmacs
+may also be waiting on a response from the network, for example when
+you are trying to send mail.
+
+You can usually interrupt XEmacs by typing @kbd{C-g}.  If not (for
+example, Lisp code explicitly disabled this by setting
+@code{inhibit-quit}), you can use the "critical quit" mechanism by
+typing @kbd{Control-Shift-G}.  This should also pop you into the
+debugger and give you a backtrace, which can tell you where the
+problem is (@pxref{Q2.3.3, How to debug an XEmacs problem with a
+debugger}). (Note that setting @code{debug-on-quit} or selecting
+@samp{Options->Troubleshooting->Debug on Quit} will also cause regular
+@kbd{C-g} to enter the debugger and give you a backtrace.)
+
+If you can't interrupt XEmacs this way, or for some reason XEmacs is
+not talking to the keyboard, you can try sending the @samp{SIGINT}
+signal using the @samp{kill} command.
+
+If the Lisp backtrace isn't enlightening, or if XEmacs is so hung that
+you can't interrupt it at all, you could try attaching to the process
+and getting a C stack backtrace.  @xref{Q2.3.3, How to debug an XEmacs
+problem with a debugger}.
+
+@node Q2.3.6, Q2.3.7, Q2.3.5, Installation
+@unnumberedsubsec Q2.3.6: I get an error message when XEmacs is running in batch mode.
+
+Typically this happens when you are trying to compile some Elisp code.
+If you are doing this as part of XEmacs or the XEmacs packages, you
+should automatically get a backtrace, which can help you determine the
+source of the problem.  In other cases, you can get equivalent results
+by setting the environment variable @samp{XEMACSDEBUG} to @samp{(setq
+stack-trace-on-error t load-always-display-messages t
+load-ignore-out-of-date-elc-files t load-show-full-path-in-messages
+t)} (this needs to be all on one line; to set an environment variable,
+use @samp{export XEMACSDEBUG='FOO'} under @samp{bash}, @samp{zsh},
+etc. or @samp{setenv XEMACSDEBUG 'FOO'} under @samp{csh} and
+@samp{tcsh}).  @samp{XEMACSDEBUG} specifies Lisp code that will be
+executed at startup time.
+
+If the backtrace is not sufficiently useful in helping you diagnose
+the problem, you should consider using a debugger such as GDB.
+@xref{Q2.3.3, How to debug an XEmacs problem with a debugger}.  You
+probably want to set a breakpoint on @code{signal_1}.  Since such
+errors often occur during compiling, which is often triggered by a
+complex command run from a make suite, it may be easier to attach to
+the process once it's running.
+
+Under Microsoft Windows (and perhaps other operating systems), there
+is another useful trick you can do if you have configured with
+debugging support (configure option @samp{--debug} or setting
+@samp{DEBUG_XEMACS} in @file{nt/config.inc}).  Set the environment
+variable @samp{XEMACSDEBUG} (as described above) to @samp{(setq
+debug-on-error t)}.  Then, when an error occurs noninteractively,
+instead of trying to invoke the Lisp debugger (which obviously won't
+work), XEmacs will break out to a C debugger using
+@code{(force-debugging-signal t)}.  @emph{NOTE}: This runs
+@code{abort()}!!! (As well as and after executing INT 3 under MS
+Windows, which should invoke a debugger if it's active.) This is
+guaranteed to kill XEmacs! (But in this situation, XEmacs is about to
+die anyway, and if no debugger is present, this will usefully dump
+core.)
+
+@node Q2.3.7, Q2.3.8, Q2.3.6, Installation
+@unnumberedsubsec Q2.3.7: The keyboard or mouse is not working properly, or I have some other event-related problem.
+
+XEmacs has various facilities for debugging event handling.
+
+First, try setting the variable @code{debug-emacs-events} to non-zero.
+This will output various information showing which events are being
+received and how they are being translated.  This may show you, for
+example, that a key command is getting intercepted using
+@code{key-translation-map}; this problem can otherwise be very tricky
+to debug.
+
+Under X, you can see exactly which events are being received from the
+window system by setting @code{x-debug-events} to non-zero. (The value
+@samp{1} gives you regular output, and @samp{2} gives you verbose
+output, including all parameters.)
+
+A similar facility exists under MS Windows: Set
+@code{debug-mswindows-events} to non-zero. (The value @samp{1} gives
+you regular output.  The value @samp{2} gives you verbose output,
+including all parameters.  The value @samp{3} gives you
+super-gorily-detailed output.)
+
+@node Q2.3.8, Q2.3.9, Q2.3.7, Installation
+@unnumberedsubsec Q2.3.8: @kbd{C-g} doesn't work for me.  Is it broken?
+
+@kbd{C-g} does work for most people in most circumstances.  If it
+doesn't, there are two possible explanations:
+
+@enumerate
+@item
+XEmacs is hung in a way that prevents @kbd{C-g} from working.  This
+can happen when code is wrapped with a binding of @code{inhibit-quit}
+to @code{t}; you should still be able interrupt XEmacs using "critical
+quit".  On the other hand, XEmacs may be seriously wedged. (If you're
+lucky, sending @samp{SIGINT} to the XEmacs process will interrupt it.) 
+@xref{Q2.3.5, XEmacs hangs when I try to do something.}.
+
+@item
+@kbd{C-g} is indeed broken on your system.  To test, try executing
+@code{(while t)} from the @samp{*scratch*} buffer.  If @kbd{C-g}
+doesn't interrupt, then it's broken.  This used to happen with systems
+where @samp{SIGIO} was broken, but @samp{BROKEN_SIGIO} wasn't defined.
+However, there may not be very many such systems nowadays.
+@end enumerate
+
+@node Q2.3.9, Q2.3.10, Q2.3.8, Installation
+@unnumberedsubsec Q2.3.9: How do I debug process-related problems?
+
+Under MS Windows, you can set the variable
+@code{debug-mswindows-process-command-lines} to non-@samp{nil} to get
+information on exactly what is getting passed to a process.  This can
+be useful in determining problems with quoting. (Under Unix, a process
+receives each argument separately, but under MS Windows a single
+command line is received, and arguments with spaces or other special
+characters in them must be quoted.  Unfortunately this means that each
+process, potentially at least, has its own quoting conventions, and
+the code to process quoting conventions in @file{cmd.exe}, the Visual
+C++ startup code and the like is baroque and poorly documented.
+XEmacs uses the variable
+@code{mswindows-construct-process-command-line-alist} to construct a
+command line from a list of arguments based on the command to be run,
+but it is (and cannot be) a perfect solution.)
+
+@node Q2.3.10, Q2.3.11, Q2.3.9, Installation
+@unnumberedsubsec Q2.3.10: XEmacs is outputting lots of X errors.
 
 If this is happening, we would very much like to know what's causing
-them.  To find this out, see @ref{Q2.1.15}.  Try to get both a C and Lisp
-backtrace, and send them to @email{xemacs-beta@@xemacs.org}.
-
-@node Q2.1.19, Q2.1.20, Q2.1.18, Installation
-@unnumberedsubsec Q2.1.19: XEmacs does not follow the local timezone.
-
-When using one of the prebuilt binaries many users have observed that
-XEmacs uses the timezone under which it was built, but not the timezone
-under which it is running.  The solution is to add:
-
-@lisp
-(set-time-zone-rule "MET")
-@end lisp
-
-to your @file{init.el}/@file{.emacs} or the @file{site-start.el} file if
-you can.  Replace @code{MET} with your local timezone.
-
-@node Q2.1.20, Q2.1.21, Q2.1.19, Installation
-@unnumberedsubsec Q2.1.20: @samp{Symbol's function definition is void: hkey-help-show.}
-
-This is a problem with a partially loaded hyperbole.  Try adding:
-
-@lisp
-(require 'hmouse-drv)
-@end lisp
-
-where you load hyperbole and the problem should go away.
-
-@node Q2.1.21, Q2.1.22, Q2.1.20, Installation
-@unnumberedsubsec Q2.1.21: [This question intentionally left blank]
-
-@node Q2.1.22, Q2.1.23, Q2.1.21, Installation
-@unnumberedsubsec Q2.1.22: XEmacs seems to take a really long time to do some things
-
-@email{dmoore@@ucsd.edu, David Moore} writes:
-
-@quotation
-Two things you can do:
-
-1) C level:
-
-When you see it going mad like this, you might want to use gdb from an
-'xterm' to attach to the running process and get a stack trace.  To do
-this just run:
-
-@example
-gdb /path/to/xemacs/xemacs ####
-@end example
-
-Where @code{####} is the process id of your xemacs, instead of
-specifying the core.  When gdb attaches, the xemacs will stop [1] and
-you can type `where' in gdb to get a stack trace as usual.  To get
-things moving again, you can just type `quit' in gdb.  It'll tell you
-the program is running and ask if you want to quit anyways.  Say 'y' and
-it'll quit and have your emacs continue from where it was at.
-
-2) Lisp level:
-
-Turn on debug-on-quit early on.  When you think things are going slow
-hit C-g and it may pop you in the debugger so you can see what routine
-is running.  Press `c' to get going again.
-
-debug-on-quit doesn't work if something's turned on inhibit-quit or in
-some other strange cases.
-@end quotation
-
-@node Q2.1.23, Q2.1.24, Q2.1.22, Installation
-@unnumberedsubsec Q2.1.23:  Movemail on Linux does not work for XEmacs 19.15 and later.
-
-Movemail used to work fine in 19.14 but has stopped working in 19.15
-and 20.x.  I am using Linux.
-
-@email{steve@@xemacs.org, SL Baur} writes:
-
-@quotation
-Movemail on Linux used to default to using flock file locking.  With
-19.15 and later versions it now defaults to using @code{.lock} file
-locking.  If this is not appropriate for your system, edit src/s/linux.h
-and uncomment the line that reads:
-
-@example
-#define MAIL_USE_FLOCK
-@end example
-@end quotation
-
-@node Q2.1.24, Q2.1.25, Q2.1.23, Installation
-@unnumberedsubsec Q2.1.24:  XEmacs won't start without network.
+them.  To find this out, see @ref{Q2.3.3, How to debug an XEmacs
+problem with a debugger}.  Try to get both a C and Lisp backtrace, and
+send them along with the full error output to
+@email{xemacs-beta@@xemacs.org}.
+
+@node Q2.3.11, Q2.4.1, Q2.3.10, Installation
+@unnumberedsubsec Q2.3.11: After upgrading, XEmacs won't do `foo' any more!
+
+You have been used to doing `foo', but now when you invoke it (or
+click the toolbar button or select the menu item), nothing (or an
+error) happens.  The simplest explanation is that you are missing a
+package that is essential to you.  You can either track it down and
+install it (there is a list of packages and brief descriptions of
+their contents in @file{etc/PACKAGES}), or install the `Sumo Tarball'
+(@pxref{Q2.0.2, How do I figure out which packages to install?}).
+
+@c #### should xref to XEmacs manual here
+
+@unnumberedsec 2.4: Startup-Related Problems
+
+@node Q2.4.1, Q2.4.2, Q2.3.11, Installation
+@unnumberedsubsec Q2.4.1: XEmacs cannot connect to my X Terminal!
+
+Help!  I can not get XEmacs to display on my Envizex X-terminal!
+
+Try setting the @code{DISPLAY} variable using the numeric IP address of
+the host you are running XEmacs from.
+
+@node Q2.4.2, Q2.4.3, Q2.4.1, Installation
+@unnumberedsubsec Q2.4.2: XEmacs won't start on Windows.
+
+XEmacs relies on a process called "dumping" to generate a working
+executable. Under MS-Windows this process effectively fixes the memory
+addresses of information in the executable. When XEmacs starts up it tries
+to reserve these memory addresses so that the dumping process can be
+reversed -- putting the information back at the correct addresses.
+Unfortunately some .DLLs (for instance the soundblaster driver) occupy
+memory addresses that can conflict with those needed by the dumped XEmacs
+executable. In this instance XEmacs will fail to start without any
+explanation. Note that this is extremely machine specific.
+
+21.1.10 includes a fix for this that makes more intelligent guesses
+about which memory addresses will be free, and this should cure the
+problem for most people.  21.4 implements "portable dumping", which
+eliminates the problem altogether.  We recommend you use the 21.4
+binaries, but you can use the 21.1 binaries if you are very paranoid
+about stability.  @xref{Q1.0.4, Are binaries available?}.
+
+@node Q2.4.3, Q2.4.4, Q2.4.2, Installation
+@unnumberedsubsec Q2.4.3: XEmacs won't start without network.
 
 If XEmacs starts when you're on the network, but fails when you're not
 on the network, you may be missing a "localhost" entry in your
@@ -2561,728 +3422,205 @@
 
 Add that line, and XEmacs will be happy.
 
-@node Q2.1.25,  , Q2.1.24, Installation
-@unnumberedsubsec Q2.1.25::  After upgrading, XEmacs won't do `foo' any more!
-
-You have been used to doing `foo', but now when you invoke it (or click
-the toolbar button or select the menu item), nothing (or an error)
-happens.  The simplest explanation is that you are missing a package
-that is essential to you.  You can either track it down and install it
-(there is a list of packages and brief descriptions of their contents in
-@file{etc/PACKAGES}), or install the `Sumo Tarball' (@pxref{Q2.0.14}).
-
-@c #### should xref to XEmacs manual here
-
-@node Customization, Subsystems, Installation, Top
-@unnumbered 3 Customization and Options
-
-This is part 3 of the XEmacs Frequently Asked Questions list.  This
-section is devoted to Customization and screen settings.
-
-@menu
-Customization---Emacs Lisp and @file{init.el}/@file{.emacs}:
-* Q3.0.1::      What version of Emacs am I running?
-* Q3.0.2::      How do I evaluate Elisp expressions?
-* Q3.0.3::      @code{(setq tab-width 6)} behaves oddly.
-* Q3.0.4::      How can I add directories to the @code{load-path}?
-* Q3.0.5::      How to check if a lisp function is defined?
-* Q3.0.6::      Can I force the output of @code{(face-list)} to a buffer?
-* Q3.0.7::      Font selections don't get saved after @code{Save Options}.
-* Q3.0.8::      How do I make a single minibuffer frame?
-* Q3.0.9::      What is @code{Customize}?
-
-X Window System & Resources:
-* Q3.1.1::      Where is a list of X resources?
-* Q3.1.2::      How can I detect a color display?
-* Q3.1.3::      [This question intentionally left blank]
-* Q3.1.4::      [This question intentionally left blank]
-* Q3.1.5::      How can I get the icon to just say @samp{XEmacs}?
-* Q3.1.6::      How can I have the window title area display the full path?
-* Q3.1.7::      @samp{xemacs -name junk} doesn't work?
-* Q3.1.8::      @samp{-iconic} doesn't work.
-
-Textual Fonts & Colors:
-* Q3.2.1::      How can I set color options from @file{init.el}/@file{.emacs}?
-* Q3.2.2::      How do I set the text, menu and modeline fonts?
-* Q3.2.3::      How can I set the colors when highlighting a region?
-* Q3.2.4::      How can I limit color map usage?
-* Q3.2.5::      My tty supports color, but XEmacs doesn't use them.
-* Q3.2.6::      Can I have pixmap backgrounds in XEmacs?
-* Q3.2.7::      How do I display non-ASCII characters?
-
-The Modeline:
-* Q3.3.1::      How can I make the modeline go away?
-* Q3.3.2::      How do you have XEmacs display the line number in the modeline?
-* Q3.3.3::      How do I get XEmacs to put the time of day on the modeline?
-* Q3.3.4::      How do I turn off current chapter from AUC TeX modeline?
-* Q3.3.5::      How can one change the modeline color based on the mode used?
-
-3.4 Multiple Device Support:
-* Q3.4.1::      How do I open a frame on another screen of my multi-headed display?
-* Q3.4.2::      Can I really connect to a running XEmacs after calling up over a modem?  How?
-
-3.5 The Keyboard:
-* Q3.5.1::      How can I bind complex functions (or macros) to keys?
-* Q3.5.2::      How can I stop down-arrow from adding empty lines to the bottom of my buffers?
-* Q3.5.3::      How do I bind C-. and C-; to scroll one line up and down?
-* Q3.5.4::      Globally binding @kbd{Delete}?
-* Q3.5.5::      Scrolling one line at a time.
-* Q3.5.6::      How to map @kbd{Help} key alone on Sun type4 keyboard?
-* Q3.5.7::      How can you type in special characters in XEmacs?
-* Q3.5.8::      [This question intentionally left blank]
-* Q3.5.9::      How do I make the Delete key delete forward?
-* Q3.5.10::     Can I turn on @dfn{sticky} modifier keys?
-* Q3.5.11::     How do I map the arrow keys?
-
-The Cursor:
-* Q3.6.1::      Is there a way to make the bar cursor thicker?
-* Q3.6.2::      Is there a way to get back the old block cursor where the cursor covers the character in front of the point?
-* Q3.6.3::      Can I make the cursor blink?
-
-The Mouse and Highlighting:
-* Q3.7.1::      How can I turn off Mouse pasting?
-* Q3.7.2::      How do I set control/meta/etc modifiers on mouse buttons?
-* Q3.7.3::      Clicking the left button does not do anything in buffer list.
-* Q3.7.4::      How can I get a list of buffers when I hit mouse button 3?
-* Q3.7.5::      Why does cut-and-paste not work between XEmacs and a cmdtool?
-* Q3.7.6::      How I can set XEmacs up so that it pastes where the text cursor is?
-* Q3.7.7::      How do I select a rectangular region?
-* Q3.7.8::      Why does @kbd{M-w} take so long?
-
-The Menubar and Toolbar:
-* Q3.8.1::      How do I get rid of the menu (or menubar)?
-* Q3.8.2::      Can I customize the basic menubar?
-* Q3.8.3::      How do I control how many buffers are listed in the menu @code{Buffers} list?
-* Q3.8.4::      Resources like @code{Emacs*menubar*font} are not working?
-* Q3.8.5::      How can I bind a key to a function to toggle the toolbar?
-
-Scrollbars:
-* Q3.9.1::      How can I disable the scrollbar?
-* Q3.9.2::      How can one use resources to change scrollbar colors?
-* Q3.9.3::      Moving the scrollbar can move the point; can I disable this?
-* Q3.9.4::      How can I turn off automatic horizontal scrolling in specific modes?
-
-Text Selections:
-* Q3.10.1::     How can I turn off or change highlighted selections?
-* Q3.10.2::     How do I get that typing on an active region removes it?
-* Q3.10.3::     Can I turn off the highlight during isearch?
-* Q3.10.4::     How do I turn off highlighting after @kbd{C-x C-p} (mark-page)?
-* Q3.10.5::     The region disappears when I hit the end of buffer while scrolling.
-* Q3.10.6::     Why is killing so slow?
-@end menu
-
-@node Q3.0.1, Q3.0.2, Customization, Customization
-@unnumberedsec 3.0: Customization -- Emacs Lisp and @file{init.el}/@file{.emacs}
-@unnumberedsubsec Q3.0.1: What version of Emacs am I running?
-
-How can @file{init.el}/@file{.emacs} determine which of the family of
-Emacsen I am using?
-
-To determine if you are currently running GNU Emacs 18, GNU Emacs 19,
-XEmacs 19, XEmacs 20, or Epoch, and use appropriate code, check out the
-example given in @file{etc/sample.init.el} (@file{etc/sample.emacs} in
-XEmacs versions prior to 21.4).  There are other nifty things in there
-as well!
-
-For all new code, all you really need to do is:
-
-@lisp
-(defvar running-xemacs (string-match "XEmacs\\|Lucid" emacs-version))
-@end lisp
-
-@node Q3.0.2, Q3.0.3, Q3.0.1, Customization
-@unnumberedsubsec Q3.0.2: How can I evaluate Emacs-Lisp expressions?
-
-I know I can evaluate Elisp expressions from @code{*scratch*} buffer
-with @kbd{C-j} after the expression.  How do I do it from another
-buffer?
-
-Press @kbd{M-:} (the default binding of @code{eval-expression}), and
-enter the expression to the minibuffer.
-
-@node Q3.0.3, Q3.0.4, Q3.0.2, Customization
-@unnumberedsubsec Q3.0.3: @code{(setq tab-width 6)} behaves oddly.
-
-If you put @code{(setq tab-width 6)} in your
-@file{init.el}/@file{.emacs} file it does not work!  Is there a reason
-for this?  If you do it at the EVAL prompt it works fine!! How strange.
-
-Use @code{setq-default} instead, since @code{tab-width} is
-all-buffer-local.
-
-@node Q3.0.4, Q3.0.5, Q3.0.3, Customization
-@unnumberedsubsec Q3.0.4: How can I add directories to the @code{load-path}?
-
-Here are two ways to do that, one that puts your directories at the
-front of the load-path, the other at the end:
-
-@lisp
-;;; Add things at the beginning of the load-path, do not add
-;;; duplicate directories:
-(pushnew "bar" load-path :test 'equal)
-
-(pushnew "foo" load-path :test 'equal)
-
-;;; Add things at the end, unconditionally
-(setq load-path (nconc load-path '("foo" "bar")))
-@end lisp
-
-@email{keithh@@nortel.ca, keith (k.p.) hanlan} writes:
-
-@quotation
-To add directories using Unix shell metacharacters use
-@file{expand-file-name} like this:
-
-@lisp
-(push (expand-file-name "~keithh/.emacsdir") load-path)
-@end lisp
-@end quotation
-
-@node Q3.0.5, Q3.0.6, Q3.0.4, Customization
-@unnumberedsubsec Q3.0.5: How to check if a lisp function is defined?
-
-Use the following elisp:
-
-@lisp
-(fboundp 'foo)
-@end lisp
-
-It's almost always a mistake to test @code{emacs-version} or any similar
-variables.
-
-Instead, use feature-tests, such as @code{featurep}, @code{boundp},
-@code{fboundp}, or even simple behavioral tests, eg.:
-
-@lisp
-(defvar foo-old-losing-code-p
-  (condition-case nil (progn (losing-code t) nil)
-    (wrong-number-of-arguments t)))
-@end lisp
-
-There is an incredible amount of broken code out there which could work
-much better more often in more places if it did the above instead of
-trying to divine its environment from the value of one variable.
-
-@node Q3.0.6, Q3.0.7, Q3.0.5, Customization
-@unnumberedsubsec Q3.0.6: Can I force the output of @code{(face-list)} to a buffer?
-
-It would be good having it in a buffer, as the output of
-@code{(face-list)} is too wide to fit to a minibuffer.
-
-Evaluate the expression in the @samp{*scratch*} buffer with point after
-the rightmost paren and typing @kbd{C-j}.
-
-If the minibuffer smallness is the only problem you encounter, you can
-simply press @kbd{C-h l} to get the former minibuffer contents in a
-buffer.
-
-@node Q3.0.7, Q3.0.8, Q3.0.6, Customization
-@unnumberedsubsec Q3.0.7: Font selections in don't get saved after @code{Save Options}.
-
-@email{mannj@@ll.mit.edu, John Mann} writes:
-
-@quotation
-You have to go to Options->Frame Appearance and unselect
-@samp{Frame-Local Font Menu}.  If this option is selected, font changes
-are only applied to the @emph{current} frame and do @emph{not} get saved
-when you save options.
-@end quotation
-
-Also, set the following in your @file{init.el}/@file{.emacs}:
-
-@lisp
-(setq options-save-faces t)
-@end lisp
-
-@node Q3.0.8, Q3.0.9, Q3.0.7, Customization
-@unnumberedsubsec Q3.0.8: How do I get a single minibuffer frame?
-
-@email{acs@@acm.org, Vin Shelton} writes:
-
-@lisp
-(setq initial-frame-plist '(minibuffer nil))
-(setq default-frame-plist '(minibuffer nil))
-(setq default-minibuffer-frame
-      (make-frame
-       '(minibuffer only
-                    width 86
-                    height 1
-                    menubar-visible-p nil
-                    default-toolbar-visible-p nil
-                    name "minibuffer"
-                    top -2
-                    left -2
-                    has-modeline-p nil)))
-(frame-notice-user-settings)
-@end lisp
-
-@strong{Please note:} The single minibuffer frame may not be to everyone's
-taste, and there any number of other XEmacs options settings that may
-make it difficult or inconvenient to use.
-
-@node Q3.0.9, Q3.1.1, Q3.0.8, Customization
-@unnumberedsubsec Q3.0.9: What is @code{Customize}?
-
-Starting with XEmacs 20.2 there is new system 'Customize' for customizing
-XEmacs options.
-
-You can access @code{Customize} from the @code{Options} menu
-or invoking one of customize commands by typing eg.
-@kbd{M-x customize}, @kbd{M-x customize-face},
-@kbd{M-x customize-variable} or @kbd{M-x customize-apropos}.
-
-Starting with XEmacs 20.3 there is also new `browser' mode for Customize.
-Try it out with @kbd{M-x customize-browse}
-
-@node Q3.1.1, Q3.1.2, Q3.0.9, Customization
-@unnumberedsec 3.1: X Window System & Resources
-@unnumberedsubsec Q3.1.1: Where is a list of X resources?
-
-Search through the @file{NEWS} file for @samp{X Resources}.  A fairly
-comprehensive list is given after it.
-
-In addition, an @file{app-defaults} file @file{etc/Emacs.ad} is
-supplied, listing the defaults.  The file @file{etc/sample.Xresources}
-gives a different set of defaults that you might consider for
-installation in your @file{~/.Xresources} file.  It is nearly the same
-as @file{etc/Emacs.ad}, but a few entries are altered.  Be careful about
-installing the contents of this file into your @file{.Xresources} (or
-legacy @file{.Xdefaults}) file if you use GNU Emacs under X11 as well.
-
-@node Q3.1.2, Q3.1.3, Q3.1.1, Customization
-@unnumberedsubsec Q3.1.2: How can I detect a color display?
-
-You can test the return value of the function @code{(device-class)}, as
-in:
-
-@lisp
-(when (eq (device-class) 'color)
-  (set-face-foreground  'font-lock-comment-face "Grey")
-  (set-face-foreground  'font-lock-string-face  "Red")
-  ....
-  )
-@end lisp
-
-@node Q3.1.3, Q3.1.4, Q3.1.2, Customization
-@unnumberedsubsec Q3.1.3: [This question intentionally left blank]
-
-@node Q3.1.4, Q3.1.5, Q3.1.3, Customization
-@unnumberedsubsec Q3.1.4: [This question intentionally left blank]
-
-@node Q3.1.5, Q3.1.6, Q3.1.4, Customization
-@unnumberedsubsec Q3.1.5: How can I get the icon to just say @samp{XEmacs}?
-
-I'd like the icon to just say @samp{XEmacs}, and not include the name of
-the current file in it.
-
-Add the following line to your @file{init.el}/@file{.emacs}:
-
-@lisp
-(setq frame-icon-title-format "XEmacs")
-@end lisp
-
-@node Q3.1.6, Q3.1.7, Q3.1.5, Customization
-@unnumberedsubsec Q3.1.6: How can I have the window title area display the full path?
-
-I'd like to have the window title area display the full directory/name
-of the current buffer file and not just the name.
-
-Add the following line to your @file{init.el}/@file{.emacs}:
-
-@lisp
-(setq frame-title-format "%S: %f")
-@end lisp
-
-A more sophisticated title might be:
+@node Q2.4.4, Q2.4.5, Q2.4.3, Installation
+@unnumberedsubsec Q2.4.4: Startup warnings about deducing proper fonts?
+
+How can I avoid the startup warnings about deducing proper fonts?
+
+This is highly dependent on your installation, but try with the
+following font as your base font for XEmacs and see what it does:
+
+@format
+-adobe-courier-medium-r-*-*-*-120-*-*-*-*-iso8859-1
+@end format
+
+More precisely, do the following in your resource file:
+
+@format
+Emacs.default.attributeFont: \
+-adobe-courier-medium-r-*-*-*-120-*-*-*-*-iso8859-1
+@end format
+
+If you just don't want to see the @samp{*Warnings*} buffer at startup
+time, you can set this:
 
 @lisp
-(setq frame-title-format
-      '("%S: " (buffer-file-name "%f"
-                                 (dired-directory dired-directory "%b"))))
-@end lisp
-
-That is, use the file name, or the dired-directory, or the buffer name.
-
-@node Q3.1.7, Q3.1.8, Q3.1.6, Customization
-@unnumberedsubsec Q3.1.7: @samp{xemacs -name junk} doesn't work?
-
-When I run @samp{xterm -name junk}, I get an xterm whose class name
-according to xprop, is @samp{junk}.  This is the way it's supposed to
-work, I think.  When I run @samp{xemacs -name junk} the class name is
-not set to @samp{junk}.  It's still @samp{emacs}.  What does
-@samp{xemacs -name} really do?  The reason I ask is that my window
-manager (fvwm) will make a window sticky and I use XEmacs to read my
-mail.  I want that XEmacs window to be sticky, without having to use the
-window manager's function to set the window sticky.  What gives?
-
-@samp{xemacs -name} sets the application name for the program (that is,
-the thing which normally comes from @samp{argv[0]}).  Using @samp{-name}
-is the same as making a copy of the executable with that new name.  The
-@code{WM_CLASS} property on each frame is set to the frame-name, and the
-application-class.  So, if you did @samp{xemacs -name FOO} and then
-created a frame named @var{BAR}, you'd get an X window with WM_CLASS =
-@code{( "BAR", "Emacs")}.  However, the resource hierarchy for this
-widget would be:
-
-@example
-Name:    FOO   .shell             .container   .BAR
-Class:   Emacs .TopLevelEmacsShell.EmacsManager.EmacsFrame
-@end example
-
-instead of the default
-
-@example
-Name:    xemacs.shell             .container   .emacs
-Class:   Emacs .TopLevelEmacsShell.EmacsManager.EmacsFrame
-@end example
-
-
-It is arguable that the first element of WM_CLASS should be set to the
-application-name instead of the frame-name, but I think that's less
-flexible, since it does not give you the ability to have multiple frames
-with different WM_CLASS properties.  Another possibility would be for
-the default frame name to come from the application name instead of
-simply being @samp{emacs}.  However, at this point, making that change
-would be troublesome: it would mean that many users would have to make
-yet another change to their resource files (since the default frame name
-would suddenly change from @samp{emacs} to @samp{xemacs}, or whatever
-the executable happened to be named), so we'd rather avoid it.
-
-To make a frame with a particular name use:
-
-@lisp
-(make-frame '((name . "the-name")))
+(setq display-warning-minimum-level 'error)
 @end lisp
 
-@node Q3.1.8, Q3.2.1, Q3.1.7, Customization
-@unnumberedsubsec Q3.1.8: @samp{-iconic} doesn't work.
-
-When I start up XEmacs using @samp{-iconic} it doesn't work right.
-Using @samp{-unmapped} on the command line, and setting the
-@code{initiallyUnmapped} X Resource don't seem to help much either...
-
-@email{ben@@xemacs.org, Ben Wing} writes:
-
-@quotation
-Ugh, this stuff is such an incredible mess that I've about given up
-getting it to work.  The principal problem is numerous window-manager
-bugs...
-@end quotation
-
-@node Q3.2.1, Q3.2.2, Q3.1.8, Customization
-@unnumberedsec 3.2: Textual Fonts & Colors
-@unnumberedsubsec Q3.2.1: How can I set color options from @file{init.el}/@file{.emacs}?
-
-How can I set the most commonly used color options from my
-@file{init.el}/@file{.emacs} instead of from my @file{.Xresources}?
-
-Like this:
-
-@lisp
-(set-face-background 'default      "bisque") ; frame background
-(set-face-foreground 'default      "black") ; normal text
-(set-face-background 'zmacs-region "red") ; When selecting w/
-                                        ; mouse
-(set-face-foreground 'zmacs-region "yellow")
-(set-face-font       'default      "*courier-bold-r*120-100-100*")
-(set-face-background 'highlight    "blue") ; Ie when selecting
-                                        ; buffers
-(set-face-foreground 'highlight    "yellow")
-(set-face-background 'modeline     "blue") ; Line at bottom
-                                        ; of buffer
-(set-face-foreground 'modeline     "white")
-(set-face-font       'modeline     "*bold-r-normal*140-100-100*")
-(set-face-background 'isearch      "yellow") ; When highlighting
-                                        ; while searching
-(set-face-foreground 'isearch      "red")
-(setq x-pointer-foreground-color   "black") ; Adds to bg color,
-                                        ; so keep black
-(setq x-pointer-background-color   "blue") ; This is color
-                                        ; you really
-                                        ; want ptr/crsr
-@end lisp
-
-@node Q3.2.2, Q3.2.3, Q3.2.1, Customization
-@unnumberedsubsec Q3.2.2: How do I set the text, menu and modeline fonts?
-
-Note that you should use @samp{Emacs.} and not @samp{Emacs*} when
-setting face values.
-
-In @file{.Xresources}:
-
-@example
-Emacs.default.attributeFont:  -*-*-medium-r-*-*-*-120-*-*-m-*-*-*
-Emacs*menubar*font:           fixed
-Emacs.modeline.attributeFont: fixed
-@end example
-
-This is confusing because @samp{default} and @samp{modeline} are face
-names, and can be found listed with all faces in the current mode by
-using @kbd{M-x set-face-font (enter) ?}.  They use the face-specific
-resource @samp{attributeFont}.
-
-On the other hand, @samp{menubar} is a normal X thing that uses the
-resource @samp{font}.  With Motif it @emph{may be} necessary to use
-@samp{fontList} @emph{instead of} @samp{font}.  In @emph{non-Motif}
-configurations with Mule it @emph{is} necessary to use @samp{fontSet}
-instead of @samp{font}.  (Sorry, there just is no simple recipe here.)
-
-@node Q3.2.3, Q3.2.4, Q3.2.2, Customization
-@unnumberedsubsec Q3.2.3: How can I set the colors when highlighting a region?
-
-How can I set the background/foreground colors when highlighting a
-region?
-
-You can change the face @code{zmacs-region} either in your
-@file{.Xresources}:
-
-@example
-Emacs.zmacs-region.attributeForeground: firebrick
-Emacs.zmacs-region.attributeBackground: lightseagreen
-@end example
-
-or in your @file{init.el}/@file{.emacs}:
-
-@lisp
-(set-face-background 'zmacs-region "red")
-(set-face-foreground 'zmacs-region "yellow")
-@end lisp
-
-@node Q3.2.4, Q3.2.5, Q3.2.3, Customization
-@unnumberedsubsec Q3.2.4: How can I limit color map usage?
-
-I'm using Netscape (or another color grabber like XEmacs);
-is there any way to limit the number of available colors in the color map?
-
-Answer: No, but you can start Netscape before XEmacs, and it will use
-the closest available color if the colormap is full.  You can also limit
-the number of colors Netscape uses, using the flags -mono, -ncols <#> or
--install (for mono, limiting to <#> colors, or for using a private color
-map).
-
-If you have the money, another solution would be to use a truecolor or
-direct color video.
-
-@node Q3.2.5, Q3.2.6, Q3.2.4, Customization
-@unnumberedsubsec Q3.2.5: My tty supports color, but XEmacs doesn't use them.
-
-XEmacs tries to automatically determine whether your tty supports color,
-but sometimes guesses wrong.  In that case, you can make XEmacs Do The
-Right Thing using this Lisp code:
-
-@lisp
-(if (eq 'tty (device-type))
-    (set-device-class nil 'color))
-@end lisp
-
-@node Q3.2.6, Q3.2.7, Q3.2.5, Customization
-@unnumberedsubsec Q3.2.6: Can I have pixmap backgrounds in XEmacs?
-@c New
-@email{jvillaci@@wahnsinnig.extreme.indiana.edu, Juan Villacis} writes:
-
-@quotation
-There are several ways to do it.  For example, you could specify a
-default pixmap image to use in your @file{~/.Xresources}, e.g.,
-
+The buffer still exists; it just isn't in your face.
+
+@node Q2.4.5, Q2.4.6, Q2.4.4, Installation
+@unnumberedsubsec Q2.4.5: Warnings from incorrect key modifiers.
+
+The following information comes from the @file{PROBLEMS} file that comes
+with XEmacs.
+
+If you're having troubles with HP/UX it is because HP/UX defines the
+modifiers wrong in X.  Here is a shell script to fix the problem; be
+sure that it is run after VUE configures the X server.
 
 @example
-  Emacs*EmacsFrame.default.attributeBackgroundPixmap: /path/to/image.xpm
+#! /bin/sh
+xmodmap 2> /dev/null - << EOF
+keysym Alt_L = Meta_L
+keysym Alt_R = Meta_R
+EOF
+
+xmodmap - << EOF
+clear mod1
+keysym Mode_switch = NoSymbol
+add mod1 = Meta_L
+keysym Meta_R = Mode_switch
+add mod2 = Mode_switch
+EOF
 @end example
 
-
-and then reload ~/.Xresources and restart XEmacs.  Alternatively,
-since each face can have its own pixmap background, a better way
-would be to set a face's pixmap within your XEmacs init file, e.g.,
-
-@lisp
-  (set-face-background-pixmap 'default "/path/to/image.xpm")
-  (set-face-background-pixmap 'bold    "/path/to/another_image.xpm")
-@end lisp
-
-and so on.  You can also do this interactively via @kbd{M-x edit-faces}.
-
-@end quotation
-
-@node Q3.2.7, Q3.3.1, Q3.2.6, Customization
-@unnumberedsubsec Q3.2.7: How do I display non-ASCII characters?
-@c New
-
-If you're using a Mule-enabled XEmacs, then display is automatic.  If
-you're not seeing the characters you expect, either (1) you don't have
-appropriate fonts available or (2) XEmacs did not correctly detect the
-coding system (@pxref{Recognize Coding, , , xemacs}).  In case (1),
-install fonts as is customary for your platform.  In case (2), you
-need to tell XEmacs explicitly what coding systems you're using.
-@ref{Specify Coding, , , xemacs}.
-
-If your XEmacs is not Mule-enabled, and for some reason getting a
-Mule-enabled XEmacs seems like the wrong thing to do, all is not lost.
-You can arrange it by brute force.  In @file{event-Xt.c} (suppress the
-urge to look in this file---play Doom instead, because you'll survive
-longer), it is written:
-
-@quotation
-In a non-Mule world, a user can still have a multi-lingual editor, by
-doing @code{(set-face-font "-*-iso8859-2" (current-buffer))} for all
-their Latin-2 buffers, etc.
-@end quotation
-
-For the related problem of @emph{inputting} non-ASCII characters in a
-non-Mule XEmacs, @xref{Q3.5.7}.
-
-@node Q3.3.1, Q3.3.2, Q3.2.7, Customization
-@unnumberedsec 3.3: The Modeline
-@unnumberedsubsec Q3.3.1: How can I make the modeline go away?
-
-@lisp
-(set-specifier has-modeline-p nil)
-@end lisp
-
-@c Starting with XEmacs 19.14 the modeline responds to mouse clicks, so if
-@c you haven't liked or used the modeline in the past, you might want to
-@c try the new version out.
-@c
-@node Q3.3.2, Q3.3.3, Q3.3.1, Customization
-@unnumberedsubsec Q3.3.2: How do you have XEmacs display the line number in the modeline?
-
-Add the following line to your @file{init.el}/@file{.emacs} file to
-display the line number:
-
-@lisp
-(line-number-mode 1)
-@end lisp
-
-Use the following to display the column number:
-
-@lisp
-(column-number-mode 1)
-@end lisp
-
-Or select from the @code{Options} menu
-@iftex
-@*
-@end iftex
-@code{Advanced (Customize)->Emacs->Editing->Basics->Line Number Mode}
-and/or
-@iftex
-@*
-@end iftex
-@code{Advanced (Customize)->Emacs->Editing->Basics->Column Number Mode}
-
-Or type @kbd{M-x customize @key{RET} editing-basics @key{RET}}.
-
-@node Q3.3.3, Q3.3.4, Q3.3.2, Customization
-@unnumberedsubsec Q3.3.3: How do I get XEmacs to put the time of day on the modeline?
-
-Add the following line to your @file{init.el}/@file{.emacs} file to
-display the time:
-
-@lisp
-(display-time)
-@end lisp
-
-See @code{Customize} from the @code{Options} menu for customization.
-
-@node Q3.3.4, Q3.3.5, Q3.3.3, Customization
-@unnumberedsubsec Q3.3.4: How do I turn off current chapter from AUC TeX modeline?
-
-With AUC TeX, fast typing is hard because the current chapter, section
-etc. are given in the modeline.  How can I turn this off?
-
-It's not AUC TeX, it comes from @code{func-menu} in @file{func-menu.el}.
-
-@c Add this code to your @file{init.el}/@file{.emacs} to turn it off:
-@c
-@c @lisp
-@c (setq fume-display-in-modeline-p nil)
-@c @end lisp
-@c
-@c Or just add a hook to @code{TeX-mode-hook} to turn it off only for TeX
-@c mode:
-@c
-@c @lisp
-@c (add-hook 'TeX-mode-hook
-@c           '(lambda () (setq fume-display-in-modeline-p nil)))
-@c @end lisp
-@c
-@email{dhughes@@origin-at.co.uk, David Hughes} writes:
-
-@quotation
-Try this; you'll still get the function name displayed in the modeline,
-but it won't attempt to keep track when you modify the file. To refresh
-when it gets out of synch, you simply need click on the @samp{Rescan
-Buffer} option in the function-menu.
-
-@lisp
-(setq-default fume-auto-rescan-buffer-p nil)
-@end lisp
-@end quotation
-
-@node Q3.3.5, Q3.4.1, Q3.3.4, Customization
-@unnumberedsubsec Q3.3.5: How can one change the modeline color based on the mode used?
-
-You can use something like the following:
-
-@lisp
-(add-hook 'lisp-mode-hook
-          (lambda ()
-            (set-face-background 'modeline "red" (current-buffer))))
-@end lisp
-
-Then, when editing a Lisp file (i.e. when in Lisp mode), the modeline
-colors change from the default set in your @file{init.el}/@file{.emacs}.
-The change will only be made in the buffer you just entered (which
-contains the Lisp file you are editing) and will not affect the modeline
-colors anywhere else.
-
-Notes:
-
-@itemize @bullet
-
-@item The hook is the mode name plus @code{-hook}.  eg. c-mode-hook,
-c++-mode-hook, emacs-lisp-mode-hook (used for your
-@file{init.el}/@file{.emacs} or a @file{xx.el} file),
-lisp-interaction-mode-hook (the @samp{*scratch*} buffer),
-text-mode-hook, etc.
-
-@item
-Be sure to use @code{add-hook}, not @code{(setq c-mode-hook xxxx)},
-otherwise you will erase anything that anybody has already put on the
-hook.
-
-@item
-You can also do @code{(set-face-font 'modeline @var{font})},
-eg. @code{(set-face-font 'modeline "*bold-r-normal*140-100-100*"
-(current-buffer))} if you wish the modeline font to vary based on the
-current mode.
-@end itemize
-
-There are additional modeline faces, @code{modeline-buffer-id},
-@code{modeline-mousable}, and @code{modeline-mousable-minor-mode}, which
-you may want to customize.
-
-@node Q3.4.1, Q3.4.2, Q3.3.5, Customization
-@unnumberedsec 3.4: Multiple Device Support
-@unnumberedsubsec Q3.4.1: How do I open a frame on another screen of my multi-headed display?
-
-Use the command @kbd{M-x make-frame-on-display}.  This command is also
-on the File menu in the menubar.
-
-The command @code{make-frame-on-tty} also exists, which will establish a
-connection to any tty-like device.  Opening the TTY devices should be
-left to @code{gnuclient}, though.
-
-@node Q3.4.2, Q3.5.1, Q3.4.1, Customization
-@unnumberedsubsec Q3.4.2: Can I really connect to a running XEmacs after calling up over a modem?  How?
-
-Yes.  Use @code{gnuclient -nw}. (Prior to 20.3, use the @code{gnuattach}
-program supplied with XEmacs instead.)
-
-Also see @ref{Q5.0.12}.
-
-@node Q3.5.1, Q3.5.2, Q3.4.2, Customization
-@unnumberedsec 3.5: The Keyboard
-@unnumberedsubsec Q3.5.1: How can I bind complex functions (or macros) to keys?
+@node Q2.4.6,  , Q2.4.5, Installation
+@unnumberedsubsec Q2.4.6: XEmacs 21.1 on Windows used to spawn an ugly console window on every startup.  Has that been fixed?
+
+Yes.
+
+The console was there because @file{temacs} (and in turn, @file{xemacs})
+was a console application, and Windows typically creates a new
+console for a console process unless the creating process requests that
+one isn't created.  This used to be fixed with @file{runemacs}, a small
+Windows application that existed merely to start @file{xemacs}, stating
+that it didn't want a console.
+
+XEmacs 21.4 fixes this cleanly by the virtue of being a true "GUI"
+application.  The explanation of what that means is included for
+educational value.
+
+When building an application to be run in a Win32 environment, you must
+state which sub-system it is to run in.  Valid subsystems include
+"console" and "gui".  The subsystem you use affects the run time
+libraries linked into your application, the start up function that is
+run before control is handed over to your application, the entry point
+to your program, and how Windows normally invokes your program. (Console
+programs automatically get a console created for them at startup if
+their stdin/stdout don't point anywhere useful, which is the case when
+run from the GUI.  This is a stupid design, of course -- instead, the
+console should get created only when the first I/O actually occurs!
+GUI programs have an equally stupid design: When called from
+@file{CMD.EXE}/@file{COMMAND.COM}, their stdin/stdout will be set to
+point nowhere useful, even though the command shell has its own
+stdin/stdout.  It's as if someone who had learned a bit about stdio but
+had no actual knowledge of interprocess communication designed the
+scheme; unfortunately, the whole process-communication aspect of the
+Win32 API is equally badly designed.) For example, the entry point for a
+console app is "main" (which is what you'd expect for a C/C++ program),
+but the entry point for a "gui" app is "WinMain".  This confuses and
+annoys a lot of programmers who've grown up on Unix systems, where the
+kernel doesn't really care whether your application is a gui program or
+not.
+
+For reasons not altogether clear, and are lost in the mists of time and
+tradition, XEmacs on Win32 started out as a console application, and
+therefore a console was automatically created for it. (It may have been
+made a console application partly because a console is needed in some
+circumstances, especially under Win95, to interrupt, terminate, or send
+signals to a child process, and because of the bogosity mentioned above
+with GUI programs and the standard command shell.  Currently, XEmacs
+just creates and immediately hides a console when necessary, and
+works around the "no useful stdio" problem by creating its own console
+window as necessary to display messages in.)
+
+@node Display Subsystems, External Subsystems, Installation, Top
+@unnumbered 3 Basic Display-Related Subsystems
+
+This is part 3 of the XEmacs Frequently Asked Questions list.  This
+section is devoted to the basic display-related capabilities of
+XEmacs, such as the keyboard, the mouse, fonts, colors, the modeline,
+etc.
+
+@menu
+3.0: The Keyboard
+* Q3.0.1::    How can I bind complex functions (or macros) to keys?
+* Q3.0.2::    How do I bind C-. and C-; to scroll one line up and down?
+* Q3.0.3::    Globally binding @kbd{Delete}?
+* Q3.0.4::    How to map @kbd{Help} key alone on Sun type4 keyboard?
+* Q3.0.5::    How can you type in special characters in XEmacs?
+* Q3.0.6::    Can I turn on @dfn{sticky} modifier keys?
+* Q3.0.7::    How do I map the arrow keys?
+* Q3.0.8::    HP Alt key as Meta.
+* Q3.0.9::    Why does edt emulation not work?
+* Q3.0.10::   How can I emulate VI and use it as my default mode?
+
+3.1: The Mouse
+* Q3.1.1::    How can I turn off Mouse pasting?
+* Q3.1.2::    How do I set control/meta/etc modifiers on mouse buttons?
+* Q3.1.3::    Clicking the left button does not do anything in buffer list.
+* Q3.1.4::    How can I get a list of buffers when I hit mouse button 3?
+* Q3.1.5::    How I can set XEmacs up so that it pastes where the text cursor is?
+
+3.2: Textual Fonts and Colors
+* Q3.2.1::    How do I specify a font?
+* Q3.2.2::    How do I set the text, menu and modeline fonts?
+* Q3.2.3::    How can I set color options from @file{init.el}?
+* Q3.2.4::    How can I set the colors when highlighting a region?
+* Q3.2.5::    How can I limit color map usage?
+* Q3.2.6::    My tty supports color, but XEmacs doesn't use them.
+* Q3.2.7::    Can I have pixmap backgrounds in XEmacs?
+* Q3.2.8::    How do I display non-ASCII characters?
+* Q3.2.9::    Font selections in don't get saved after @code{Save Options}.
+
+3.3: The Menubar and Toolbar
+* Q3.3.1::    How do I get rid of the menu (or menubar)?
+* Q3.3.2::    Can I customize the basic menubar?
+* Q3.3.3::    How do I control how many buffers are listed in the menu @code{Buffers List}?
+* Q3.3.4::    Resources like @code{Emacs*menubar*font} are not working?
+* Q3.3.5::    How can I bind a key to a function to toggle the toolbar?
+* Q3.3.6::    @samp{Can't instantiate image error...} in toolbar
+
+3.4: Scrollbars and Scrolling
+* Q3.4.1::    How can I disable the scrollbar?
+* Q3.4.2::    How can one use resources to change scrollbar colors?
+* Q3.4.3::    Moving the scrollbar can move the point; can I disable this?
+* Q3.4.4::    Scrolling one line at a time.
+* Q3.4.5::    How can I turn off automatic horizontal scrolling in specific modes?
+* Q3.4.6::    I find auto-show-mode disconcerting.  How do I turn it off?
+
+3.5: The Modeline
+* Q3.5.1::    How can I make the modeline go away?
+* Q3.5.2::    How do you have XEmacs display the line number in the modeline?
+* Q3.5.3::    How do I get XEmacs to put the time of day on the modeline?
+* Q3.5.4::    How can one change the modeline color based on the mode used?
+
+3.6: The Cursor
+* Q3.6.1::    Is there a way to make the bar cursor thicker?
+* Q3.6.2::    Is there a way to get back the block cursor?
+* Q3.6.3::    Can I make the cursor blink?
+
+3.7: Text Selections
+* Q3.7.1::    How do I select a rectangular region?
+* Q3.7.2::    How can I turn off or change highlighted selections?
+* Q3.7.3::    How do I get that typing on an active region removes it?
+* Q3.7.4::    Can I turn off the highlight during isearch?
+* Q3.7.5::    How do I turn off highlighting after @kbd{C-x C-p} (mark-page)?
+* Q3.7.6::    The region disappears when I hit the end of buffer while scrolling.
+* Q3.7.7::    Why is killing so slow?
+* Q3.7.8::    Why does @kbd{M-w} take so long?
+
+3.8: Buffers, Text Editing
+* Q3.8.1::    Can I have the end of the buffer delimited in some way?
+* Q3.8.2::    How do I insert today's date into a buffer?
+* Q3.8.3::    How do I get a single minibuffer frame?
+* Q3.8.4::    How can I enable auto-indent and/or Filladapt?
+* Q3.8.5::    How can I get XEmacs to come up in text/auto-fill mode by default?
+
+3.9: Editing Source Code
+* Q3.9.1::    How can I do source code highlighting using font-lock?
+* Q3.9.2::    How do I get @samp{More} Syntax Highlighting on by default?
+* Q3.9.3::    Where do I get the latest CC Mode?
+* Q3.9.4::    I do not like cc-mode.  How do I use the old c-mode?
+* Q3.9.5::    How do you make XEmacs indent CL if-clauses correctly?
+@end menu
+
+@unnumberedsec 3.0: The Keyboard
+
+@node Q3.0.1, Q3.0.2, Display Subsystems, Display Subsystems
+@unnumberedsubsec Q3.0.1: How can I bind complex functions (or macros) to keys?
 
 As an example, say you want the @kbd{paste} key on a Sun keyboard to
 insert the current Primary X selection at point. You can accomplish this
@@ -3318,22 +3656,12 @@
 @end lisp
 
 This is fine if you only need a few functions within the lambda body.
-If you're doing more it's cleaner to define a separate function as in
-question 3.5.3 (@pxref{Q3.5.3}).
-
-@node Q3.5.2, Q3.5.3, Q3.5.1, Customization
-@unnumberedsubsec Q3.5.2: How can I stop down-arrow from adding empty lines to the bottom of my buffers?
-
-Add the following line to your @file{init.el}/@file{.emacs} file:
-
-@lisp
-(setq next-line-add-newlines nil)
-@end lisp
-
-This has been the default setting in XEmacs for some time.
-
-@node Q3.5.3, Q3.5.4, Q3.5.2, Customization
-@unnumberedsubsec Q3.5.3: How do I bind C-. and C-; to scroll one line up and down?
+If you're doing more it's cleaner to define a separate function.
+@xref{Q3.0.2, How do I bind C-. and C-; to scroll one line up and
+down?}.
+
+@node Q3.0.2, Q3.0.3, Q3.0.1, Display Subsystems
+@unnumberedsubsec Q3.0.2: How do I bind C-. and C-; to scroll one line up and down?
 
 Add the following (Thanks to @email{mly@@adoc.xerox.com, Richard Mlynarik} and
 @email{wayne@@zen.cac.stratus.com, Wayne Newberry}) to @file{.emacs}:
@@ -3352,11 +3680,12 @@
 @end lisp
 
 The key point is that you can only bind simple functions to keys; you
-can not bind a key to a function that you're also passing arguments to.
-(@pxref{Q3.5.1} for a better answer).
-
-@node Q3.5.4, Q3.5.5, Q3.5.3, Customization
-@unnumberedsubsec Q3.5.4: Globally binding @kbd{Delete}?
+can not bind a key to a function that you're also passing arguments
+to.  (@pxref{Q3.0.1, How can I bind complex functions (or macros) to
+keys?} for a better answer).
+
+@node Q3.0.3, Q3.0.4, Q3.0.2, Display Subsystems
+@unnumberedsubsec Q3.0.3: Globally binding @kbd{Delete}?
 
 I cannot manage to globally bind my @kbd{Delete} key to something other
 than the default.  How does one do this?
@@ -3373,45 +3702,8 @@
 (global-set-key 'redirected-delete 'foo)
 @end lisp
 
-Also see @ref{Q3.5.10}.
-
-@node Q3.5.5, Q3.5.6, Q3.5.4, Customization
-@unnumberedsubsec Q3.5.5: Scrolling one line at a time.
-
-Can the cursor keys scroll the screen a line at a time, rather than the
-default half page jump?  I tend it to find it disorienting.
-
-Try this:
-
-@lisp
-(defun scroll-one-line-up (&optional arg)
-  "Scroll the selected window up (forward in the text) one line (or N lines)."
-  (interactive "p")
-  (scroll-up (or arg 1)))
-
-(defun scroll-one-line-down (&optional arg)
-  "Scroll the selected window down (backward in the text) one line (or N)."
-  (interactive "p")
-  (scroll-down (or arg 1)))
-
-(global-set-key [up]   'scroll-one-line-up)
-(global-set-key [down] 'scroll-one-line-down)
-@end lisp
-
-The following will also work but will affect more than just the cursor
-keys (i.e. @kbd{C-n} and @kbd{C-p}):
-
-@lisp
-(setq scroll-step 1)
-@end lisp
-
-Starting with XEmacs-20.3 you can also change this with Customize.
-Select from the @code{Options} menu
-@code{Advanced (Customize)->Emacs->Environment->Windows->Scroll Step...} or type
-@kbd{M-x customize @key{RET} windows @key{RET}}.
-
-@node Q3.5.6, Q3.5.7, Q3.5.5, Customization
-@unnumberedsubsec Q3.5.6: How to map @kbd{Help} key alone on Sun type4 keyboard?
+@node Q3.0.4, Q3.0.5, Q3.0.3, Display Subsystems
+@unnumberedsubsec Q3.0.4: How to map @kbd{Help} key alone on Sun type4 keyboard?
 
 The following works in GNU Emacs 19:
 
@@ -3440,9 +3732,8 @@
 can also cause fix this by telling OLWM to not grab the help key, with
 the null binding @code{OpenWindows.KeyboardCommand.Help:}.
 
-@node Q3.5.7, Q3.5.8, Q3.5.6, Customization
-@unnumberedsubsec Q3.5.7: How can you type in special characters in XEmacs?
-@c Changed
+@node Q3.0.5, Q3.0.6, Q3.0.4, Display Subsystems
+@unnumberedsubsec Q3.0.5: How can you type in special characters in XEmacs?
 One way is to use the package @code{x-compose}.  Then you can use
 sequences like @kbd{Compose " a} to get ä, etc.
 
@@ -3490,36 +3781,10 @@
 @end quotation
 
 For the related problem of @emph{displaying} non-ASCII characters in a
-non-Mule XEmacs, @xref{Q3.2.7}.
-
-@node Q3.5.8, Q3.5.9, Q3.5.7, Customization
-@unnumberedsubsec Q3.5.8: [This question intentionally left blank]
-
-Obsolete question, left blank to avoid renumbering.
-
-@node Q3.5.9, Q3.5.10, Q3.5.8, Customization
-@unnumberedsubsec Q3.5.9: How do I make the Delete key delete forward?
-
-With XEmacs-20.2 use the @code{delbs} package:
-
-@lisp
-(require 'delbs)
-@end lisp
-
-This will give you the functions @code{delbs-enable-delete-forward} to
-set things up, and @code{delbs-disable-delete-forward} to revert to
-``normal'' behavior.  Note that @code{delbackspace} package is obsolete.
-
-Starting with XEmacs-20.3 better solution is to set variable
-@code{delete-key-deletes-forward} to t.  You can also change this with
-Customize. Select from the @code{Options} menu
-@code{Advanced (Customize)->Emacs->Editing->Basics->Delete Key Deletes Forward} or
-type @kbd{M-x customize @key{RET} editing-basics @key{RET}}.
-
-Also see @ref{Q3.5.4}.
-
-@node Q3.5.10, Q3.5.11, Q3.5.9, Customization
-@unnumberedsubsec Q3.5.10: Can I turn on @dfn{sticky} modifier keys?
+non-Mule XEmacs, @xref{Q3.2.8, How do I display non-ASCII characters?}.
+
+@node Q3.0.6, Q3.0.7, Q3.0.5, Display Subsystems
+@unnumberedsubsec Q3.0.6: Can I turn on @dfn{sticky} modifier keys?
 
 Yes, with @code{(setq modifier-keys-are-sticky t)}.  This will give the
 effect of being able to press and release Shift and have the next
@@ -3533,8 +3798,8 @@
 of the frame and back in, it cancels all currently ``stuck'' modifiers.
 @end quotation
 
-@node Q3.5.11, Q3.6.1, Q3.5.10, Customization
-@unnumberedsubsec Q3.5.11: How do I map the arrow keys?
+@node Q3.0.7, Q3.0.8, Q3.0.6, Display Subsystems
+@unnumberedsubsec Q3.0.7: How do I map the arrow keys?
 @c New
 Say you want to map @kbd{C-@key{right}} to forward-word:
 
@@ -3557,66 +3822,58 @@
 @end lisp
 @end quotation
 
-
-
-@node Q3.6.1, Q3.6.2, Q3.5.11, Customization
-@unnumberedsec 3.6: The Cursor
-@unnumberedsubsec Q3.6.1: Is there a way to make the bar cursor thicker?
-
-I'd like to have the bar cursor a little thicker, as I tend to "lose" it
-often.
-
-For a 1 pixel bar cursor, use:
-
-@lisp
-(setq bar-cursor t)
-@end lisp
-
-For a 2 pixel bar cursor, use:
-
-@lisp
-(setq bar-cursor 'anything-else)
-@end lisp
-
-Starting with XEmacs-20.3 you can also change these with Customize.
-Select from the @code{Options} menu
-@code{Advanced (Customize)->Emacs->Environment->Display->Bar Cursor...} or type
-@kbd{M-x customize @key{RET} display @key{RET}}.
-
-You can use a color to make it stand out better:
+@node Q3.0.8, Q3.0.9, Q3.0.7, Display Subsystems
+@unnumberedsubsec Q3.0.8: HP Alt key as Meta.
+
+How can I make XEmacs recognize the Alt key of my HP workstation as a
+Meta key?
+
+Put the following line into a file and load it with xmodmap(1) before
+starting XEmacs:
 
 @example
-Emacs*cursorColor:      Red
+remove Mod1 = Mode_switch
 @end example
 
-@node Q3.6.2, Q3.6.3, Q3.6.1, Customization
-@unnumberedsubsec Q3.6.2: Is there a way to get back the block cursor?
+@node Q3.0.9, Q3.0.10, Q3.0.8, Display Subsystems
+@unnumberedsubsec Q3.0.9: Why does edt emulation not work?
+
+We don't know, but you can use tpu-edt emulation instead, which works
+fine and is a little fancier than the standard edt emulation.  To do
+this, add the following line to your @file{init.el}:
+
+@lisp
+(tpu-edt)
+@end lisp
+
+If you don't want it to replace @kbd{C-h} with an edt-style help menu
+add this as well:
 
 @lisp
-(setq bar-cursor nil)
+(global-set-key [(control h)] 'help-for-help)
 @end lisp
 
-Starting with XEmacs 20.3 you can also change this with Customize.
-Select from the @code{Options} menu
-@code{Advanced (Customize)->Emacs->Environment->Display->Bar Cursor...} or type
-@kbd{M-x customize @key{RET} display @key{RET}}.
-
-@node Q3.6.3, Q3.7.1, Q3.6.2, Customization
-@unnumberedsubsec Q3.6.3: Can I make the cursor blink?
-
-Yes, like this:
+@node Q3.0.10, Q3.1.1, Q3.0.9, Display Subsystems
+@unnumberedsubsec Q3.0.10: How can I emulate VI and use it as my default mode?
+
+Our recommended VI emulator is viper. To make viper-mode the default,
+add this to your @file{init.el}:
 
 @lisp
-(blink-cursor-mode)
+(viper-mode)
 @end lisp
 
-This function toggles between a steady cursor and a blinking cursor.
-You may also set this mode from the menu bar by selecting @samp{Options
-=> Frame Appearance => Blinking Cursor}.  Remember to save options.
-
-@node Q3.7.1, Q3.7.2, Q3.6.3, Customization
-@unnumberedsec 3.7: The Mouse and Highlighting
-@unnumberedsubsec Q3.7.1: How can I turn off Mouse pasting?
+@email{kifer@@CS.SunySB.EDU, Michael Kifer} writes:
+
+@quotation
+This should be added as close to the top of @file{init.el} as you can get
+it, otherwise some minor modes may not get viper-ized.
+@end quotation
+
+@unnumberedsec 3.1: The Mouse
+
+@node Q3.1.1, Q3.1.2, Q3.0.10, Display Subsystems
+@unnumberedsubsec Q3.1.1: How can I turn off Mouse pasting?
 
 I keep hitting the middle mouse button by accident and getting stuff
 pasted into my buffer so how can I turn this off?
@@ -3635,8 +3892,8 @@
 (define-key global-map [button2] 'mouse-set-point-and-select)
 @end lisp
 
-@node Q3.7.2, Q3.7.3, Q3.7.1, Customization
-@unnumberedsubsec Q3.7.2: How do I set control/meta/etc modifiers on mouse buttons?
+@node Q3.1.2, Q3.1.3, Q3.1.1, Display Subsystems
+@unnumberedsubsec Q3.1.2: How do I set control/meta/etc modifiers on mouse buttons?
 
 Use, for instance, @code{[(meta button1)]}. For example, here is a common
 setting for Common Lisp programmers who use the bundled @code{ilisp}
@@ -3651,8 +3908,8 @@
 (local-set-key [(meta button1)] 'edit-definitions-lisp)
 @end lisp
 
-@node Q3.7.3, Q3.7.4, Q3.7.2, Customization
-@unnumberedsubsec Q3.7.3: Clicking the left button does not do anything in buffer list.
+@node Q3.1.3, Q3.1.4, Q3.1.2, Display Subsystems
+@unnumberedsubsec Q3.1.3: Clicking the left button does not do anything in buffer list.
 
 I do @kbd{C-x C-b} to get a list of buffers and the entries get
 highlighted when I move the mouse over them but clicking the left mouse
@@ -3660,8 +3917,8 @@
 
 Use the middle mouse button.
 
-@node Q3.7.4, Q3.7.5, Q3.7.3, Customization
-@unnumberedsubsec Q3.7.4: How can I get a list of buffers when I hit mouse button 3?
+@node Q3.1.4, Q3.1.5, Q3.1.3, Display Subsystems
+@unnumberedsubsec Q3.1.4: How can I get a list of buffers when I hit mouse button 3?
 
 The following code will replace the default popup on button3:
 
@@ -3669,16 +3926,8 @@
 (global-set-key [button3] 'popup-buffer-menu)
 @end lisp
 
-@node Q3.7.5, Q3.7.6, Q3.7.4, Customization
-@unnumberedsubsec Q3.7.5: Why does cut-and-paste not work between XEmacs and a cmdtool?
-
-We don't know.  It's a bug.  There does seem to be a work-around,
-however.  Try running xclipboard first.  It appears to fix the problem
-even if you exit it.  (This should be mostly fixed in 19.13, but we
-haven't yet verified that).
-
-@node Q3.7.6, Q3.7.7, Q3.7.5, Customization
-@unnumberedsubsec Q3.7.6: How I can set XEmacs up so that it pastes where the text cursor is?
+@node Q3.1.5, Q3.2.1, Q3.1.4, Display Subsystems
+@unnumberedsubsec Q3.1.5: How I can set XEmacs up so that it pastes where the text cursor is?
 
 By default XEmacs pastes X selections where the mouse pointer is.  How
 do I disable this?
@@ -3686,7 +3935,7 @@
 Examine the function @code{mouse-yank}, by typing @kbd{C-h f mouse-yank
 @key{RET}}.
 
-To get XEmacs to paste at the text cursor, add this your @file{init.el}/@file{.emacs}:
+To get XEmacs to paste at the text cursor, add this your @file{init.el}:
 
 @lisp
 (setq mouse-yank-at-point t)
@@ -3697,65 +3946,215 @@
 @code{Advanced (Customize)->Emacs->Editing->Mouse->Yank At Point...} or type
 @kbd{M-x customize @key{RET} mouse @key{RET}}.
 
-@node Q3.7.7, Q3.7.8, Q3.7.6, Customization
-@unnumberedsubsec Q3.7.7: How do I select a rectangular region?
-
-Just select the region normally, then use the rectangle commands (e.g.
-@code{kill-rectangle} on it.  The region does not highlight as a
-rectangle, but the commands work just fine.
-
-To actually sweep out rectangular regions with the mouse you can use
-@code{mouse-track-do-rectangle} which is assigned to @kbd{M-button1}.
-Then use rectangle commands.
-
-You can also do the following to change default behavior to sweep out
-rectangular regions:
+@unnumberedsec 3.2: Textual Fonts and Colors
+
+@node Q3.2.1, Q3.2.2, Q3.1.5, Display Subsystems
+@unnumberedsubsec Q3.2.1: How do I specify a font?
+
+#### Update me.
+
+In 21.4 and above, you can use the @samp{Options} menu to change the font.
+You can also do it in your init file, e.g. like this (for MS Windows):
+
+@display
+    (set-face-font 'default "Lucida Console:Regular:10")
+    (set-face-font 'modeline "MS Sans Serif:Regular:10")
+@end display
+
+@node Q3.2.2, Q3.2.3, Q3.2.1, Display Subsystems
+@unnumberedsubsec Q3.2.2: How do I set the text, menu and modeline fonts?
+
+#### Update me.
+
+Note that you should use @samp{Emacs.} and not @samp{Emacs*} when
+setting face values.
+
+In @file{.Xresources}:
+
+@example
+Emacs.default.attributeFont:  -*-*-medium-r-*-*-*-120-*-*-m-*-*-*
+Emacs*menubar*font:           fixed
+Emacs.modeline.attributeFont: fixed
+@end example
+
+This is confusing because @samp{default} and @samp{modeline} are face
+names, and can be found listed with all faces in the current mode by
+using @kbd{M-x set-face-font (enter) ?}.  They use the face-specific
+resource @samp{attributeFont}.
+
+On the other hand, @samp{menubar} is a normal X thing that uses the
+resource @samp{font}.  With Motif it @emph{may be} necessary to use
+@samp{fontList} @emph{instead of} @samp{font}.  In @emph{non-Motif}
+configurations with Mule it @emph{is} necessary to use @samp{fontSet}
+instead of @samp{font}.  (Sorry, there just is no simple recipe here.)
+
+@node Q3.2.3, Q3.2.4, Q3.2.2, Display Subsystems
+@unnumberedsubsec Q3.2.3: How can I set color options from @file{init.el}?
+
+How can I set the most commonly used color options from my
+@file{init.el} instead of from my @file{.Xresources}?
+
+Like this:
 
 @lisp
-(setq mouse-track-rectangle-p t)
+(set-face-background 'default      "bisque") ; frame background
+(set-face-foreground 'default      "black") ; normal text
+(set-face-background 'zmacs-region "red") ; When selecting w/
+                                        ; mouse
+(set-face-foreground 'zmacs-region "yellow")
+(set-face-font       'default      "*courier-bold-r*120-100-100*")
+(set-face-background 'highlight    "blue") ; Ie when selecting
+                                        ; buffers
+(set-face-foreground 'highlight    "yellow")
+(set-face-background 'modeline     "blue") ; Line at bottom
+                                        ; of buffer
+(set-face-foreground 'modeline     "white")
+(set-face-font       'modeline     "*bold-r-normal*140-100-100*")
+(set-face-background 'isearch      "yellow") ; When highlighting
+                                        ; while searching
+(set-face-foreground 'isearch      "red")
+(setq x-pointer-foreground-color   "black") ; Adds to bg color,
+                                        ; so keep black
+(setq x-pointer-background-color   "blue") ; This is color
+                                        ; you really
+                                        ; want ptr/crsr
 @end lisp
 
-Starting with XEmacs-20.2 you can also change this with Customize.
-Select from the @code{Options} menu
-@code{Advanced (Customize)->Emacs->Editing->Mouse->Track Rectangle...} or type
-@kbd{M-x customize @key{RET} mouse @key{RET}}.
+@node Q3.2.4, Q3.2.5, Q3.2.3, Display Subsystems
+@unnumberedsubsec Q3.2.4: How can I set the colors when highlighting a region?
+
+How can I set the background/foreground colors when highlighting a
+region?
+
+You can change the face @code{zmacs-region} either in your
+@file{.Xresources}:
+
+@example
+Emacs.zmacs-region.attributeForeground: firebrick
+Emacs.zmacs-region.attributeBackground: lightseagreen
+@end example
+
+or in your @file{init.el}:
+
+@lisp
+(set-face-background 'zmacs-region "red")
+(set-face-foreground 'zmacs-region "yellow")
+@end lisp
+
+@node Q3.2.5, Q3.2.6, Q3.2.4, Display Subsystems
+@unnumberedsubsec Q3.2.5: How can I limit color map usage?
+
+I'm using Netscape (or another color grabber like XEmacs);
+is there any way to limit the number of available colors in the color map?
+
+Answer: No, but you can start Netscape before XEmacs, and it will use
+the closest available color if the colormap is full.  You can also limit
+the number of colors Netscape uses, using the flags -mono, -ncols <#> or
+-install (for mono, limiting to <#> colors, or for using a private color
+map).
+
+If you have the money, another solution would be to use a truecolor or
+direct color video.
+
+@node Q3.2.6, Q3.2.7, Q3.2.5, Display Subsystems
+@unnumberedsubsec Q3.2.6: My tty supports color, but XEmacs doesn't use them.
+
+XEmacs tries to automatically determine whether your tty supports color,
+but sometimes guesses wrong.  In that case, you can make XEmacs Do The
+Right Thing using this Lisp code:
+
+@lisp
+(if (eq 'tty (device-type))
+    (set-device-class nil 'color))
+@end lisp
+
+@node Q3.2.7, Q3.2.8, Q3.2.6, Display Subsystems
+@unnumberedsubsec Q3.2.7: Can I have pixmap backgrounds in XEmacs?
+@c New
+@email{jvillaci@@wahnsinnig.extreme.indiana.edu, Juan Villacis} writes:
+
+@quotation
+There are several ways to do it.  For example, you could specify a
+default pixmap image to use in your @file{~/.Xresources}, e.g.,
 
 
 @example
- mouse-track-do-rectangle: (event)
-   -- an interactive compiled Lisp function.
- Like `mouse-track' but selects rectangles instead of regions.
+  Emacs*EmacsFrame.default.attributeBackgroundPixmap: /path/to/image.xpm
 @end example
 
-@node Q3.7.8, Q3.8.1, Q3.7.7, Customization
-@unnumberedsubsec Q3.7.8: Why does @kbd{M-w} take so long?
-
-It actually doesn't.  It leaves the region visible for a second so that
-you can see what area is being yanked.  If you start working, though, it
-will immediately complete its operation.  In other words, it will only
-delay for a second if you let it.
-
-@node Q3.8.1, Q3.8.2, Q3.7.8, Customization
-@unnumberedsec 3.8: The Menubar and Toolbar
-@unnumberedsubsec Q3.8.1: How do I get rid of the menu (or menubar)?
-
-@c If you are running XEmacs 19.13 or earlier, add this command to your
-@c @file{init.el}/@file{.emacs}.
-@c
-@c @lisp
-@c (set-menubar nil)
-@c @end lisp
-@c
-@c Starting with XEmacs 19.14 the preferred method is:
-@c
+
+and then reload ~/.Xresources and restart XEmacs.  Alternatively,
+since each face can have its own pixmap background, a better way
+would be to set a face's pixmap within your XEmacs init file, e.g.,
+
+@lisp
+  (set-face-background-pixmap 'default "/path/to/image.xpm")
+  (set-face-background-pixmap 'bold    "/path/to/another_image.xpm")
+@end lisp
+
+and so on.  You can also do this interactively via @kbd{M-x edit-faces}.
+
+@end quotation
+
+@node Q3.2.8, Q3.2.9, Q3.2.7, Display Subsystems
+@unnumberedsubsec Q3.2.8: How do I display non-ASCII characters?
+@c New
+
+If you're using a Mule-enabled XEmacs, then display is automatic.  If
+you're not seeing the characters you expect, either (1) you don't have
+appropriate fonts available or (2) XEmacs did not correctly detect the
+coding system (@pxref{Recognize Coding, , , xemacs}).  In case (1),
+install fonts as is customary for your platform.  In case (2), you
+need to tell XEmacs explicitly what coding systems you're using.
+@ref{Specify Coding, , , xemacs}.
+
+If your XEmacs is not Mule-enabled, and for some reason getting a
+Mule-enabled XEmacs seems like the wrong thing to do, all is not lost.
+You can arrange it by brute force.  In @file{event-Xt.c} (suppress the
+urge to look in this file---play Doom instead, because you'll survive
+longer), it is written:
+
+@quotation
+In a non-Mule world, a user can still have a multi-lingual editor, by
+doing @code{(set-face-font "-*-iso8859-2" (current-buffer))} for all
+their Latin-2 buffers, etc.
+@end quotation
+
+For the related problem of @emph{inputting} non-ASCII characters in a
+non-Mule XEmacs, @xref{Q3.0.5, How can you type in special characters
+in XEmacs?}.
+
+@node Q3.2.9, Q3.3.1, Q3.2.8, Display Subsystems
+@unnumberedsubsec Q3.2.9: Font selections in don't get saved after @code{Save Options}.
+
+@email{mannj@@ll.mit.edu, John Mann} writes:
+
+@quotation
+You have to go to @samp{Options->Menubars} and unselect
+@samp{Frame-Local Font Menu}.  If this option is selected, font changes
+are only applied to the @emph{current} frame and do @emph{not} get saved
+when you save options.
+@end quotation
+
+Also, set the following in your @file{init.el}:
+
+@lisp
+(setq options-save-faces t)
+@end lisp
+
+@unnumberedsec 3.3: The Menubar and Toolbar
+
+@node Q3.3.1, Q3.3.2, Q3.2.9, Display Subsystems
+@unnumberedsubsec Q3.3.1: How do I get rid of the menu (or menubar)?
+
 @lisp
 (set-specifier menubar-visible-p nil)
 @end lisp
 
-@node Q3.8.2, Q3.8.3, Q3.8.1, Customization
-@unnumberedsubsec Q3.8.2: Can I customize the basic menubar?
-
-For an extensive menubar, add this line to your @file{init.el}/@file{.emacs}:
+@node Q3.3.2, Q3.3.3, Q3.3.1, Display Subsystems
+@unnumberedsubsec Q3.3.2: Can I customize the basic menubar?
+
+For an extensive menubar, add this line to your @file{init.el}:
 
 @lisp
 (load "big-menubar")
@@ -3765,10 +4164,10 @@
 examples as any to start from.  The file is located in edit-utils
 package. 
 
-@node Q3.8.3, Q3.8.4, Q3.8.2, Customization
-@unnumberedsubsec Q3.8.3: How do I control how many buffers are listed in the menu @code{Buffers List}?
-
-Add the following to your @file{init.el}/@file{.emacs} (suit to fit):
+@node Q3.3.3, Q3.3.4, Q3.3.2, Display Subsystems
+@unnumberedsubsec Q3.3.3: How do I control how many buffers are listed in the menu @code{Buffers List}?
+
+Add the following to your @file{init.el} (suit to fit):
 
 @lisp
 (setq buffers-menu-max-size 20)
@@ -3781,8 +4180,8 @@
 @code{Advanced (Customize)->Emacs->Environment->Menu->Buffers Menu->Max Size...} or
 type @kbd{M-x customize @key{RET} buffers-menu @key{RET}}.
 
-@node Q3.8.4, Q3.8.5, Q3.8.3, Customization
-@unnumberedsubsec Q3.8.4: Resources like @code{Emacs*menubar*font} are not working?
+@node Q3.3.4, Q3.3.5, Q3.3.3, Display Subsystems
+@unnumberedsubsec Q3.3.4: Resources like @code{Emacs*menubar*font} are not working?
 
 I am trying to use a resource like @code{Emacs*menubar*font} to set the
 font of the menubar but it's not working.
@@ -3823,8 +4222,8 @@
 *fontSet: FONT
 @end example
 
-@node Q3.8.5, Q3.9.1, Q3.8.4, Customization
-@unnumberedsubsec Q3.8.5: How can I bind a key to a function to toggle the toolbar?
+@node Q3.3.5, Q3.3.6, Q3.3.4, Display Subsystems
+@unnumberedsubsec Q3.3.5: How can I bind a key to a function to toggle the toolbar?
 
 Try something like:
 
@@ -3844,9 +4243,36 @@
 Thanks to @email{martin@@xemacs.org, Martin Buchholz} for the correct
 code.
 
-@node Q3.9.1, Q3.9.2, Q3.8.5, Customization
-@unnumberedsec 3.9: Scrollbars
-@unnumberedsubsec Q3.9.1: How can I disable the scrollbar?
+@node Q3.3.6, Q3.4.1, Q3.3.5, Display Subsystems
+@unnumberedsubsec Q3.3.6: @samp{Can't instantiate image error...} in toolbar
+@c New
+
+@email{expt@@alanine.ram.org, Dr. Ram Samudrala} writes:
+
+I just installed the XEmacs (20.4-2) RPMS that I downloaded from
+@uref{http://www.xemacs.org/}.  Everything works fine, except that when
+I place my mouse over the toolbar, it beeps and gives me this message:
+
+@example
+ Can't instantiate image (probably cached):
+ [xbm :mask-file "/usr/include/X11/bitmaps/leftptrmsk :mask-data
+ (16 16 <strange control characters> ...
+@end example
+
+@email{kyle_jones@@wonderworks.com, Kyle Jones} writes:
+@quotation
+This is problem specific to some Chips and Technologies video
+chips, when running XFree86.  Putting
+
+@code{Option "sw_cursor"}
+
+in @file{XF86Config} gets rid of the problem.
+@end quotation
+
+@unnumberedsec 3.4: Scrollbars
+
+@node Q3.4.1, Q3.4.2, Q3.3.6, Display Subsystems
+@unnumberedsubsec Q3.4.1: How can I disable the scrollbar?
 
 To disable them for all frames, add the following line to
 your @file{.Xresources}:
@@ -3855,7 +4281,7 @@
 Emacs.scrollBarWidth:  0
 @end example
 
-Or select from the @code{Options} menu @code{Frame Appearance->Scrollbars}.
+Or select @samp{Options->Display->Scrollbars}.
 Remember to save options.
 
 To turn the scrollbar off on a per-frame basis, use the following
@@ -3872,15 +4298,9 @@
 @lisp
 (set-specifier scrollbar-width 0 (current-buffer))
 @end lisp
-@c
-@c In XEmacs versions prior to 19.14, you had to use the hairier construct:
-@c
-@c @lisp
-@c (set-specifier scrollbar-width (cons (selected-frame) 0))
-@c @end lisp
-
-@node Q3.9.2, Q3.9.3, Q3.9.1, Customization
-@unnumberedsubsec Q3.9.2: How can one use resources to change scrollbar colors?
+
+@node Q3.4.2, Q3.4.3, Q3.4.1, Display Subsystems
+@unnumberedsubsec Q3.4.2: How can one use resources to change scrollbar colors?
 
 Here's a recap of how to use resources to change your scrollbar colors:
 
@@ -3898,8 +4318,8 @@
 
 Note the capitalization of @code{Scrollbar} for the Athena widget.
 
-@node Q3.9.3, Q3.9.4, Q3.9.2, Customization
-@unnumberedsubsec Q3.9.3: Moving the scrollbar can move the point; can I disable this?
+@node Q3.4.3, Q3.4.4, Q3.4.2, Display Subsystems
+@unnumberedsubsec Q3.4.3: Moving the scrollbar can move the point; can I disable this?
 
 When I move the scrollbar in an XEmacs window, it moves the point as
 well, which should not be the default behavior.  Is this a bug or a
@@ -3912,8 +4332,25 @@
 
 This cannot be changed.
 
-@node Q3.9.4, Q3.10.1, Q3.9.3, Customization
-@unnumberedsubsec Q3.9.4: How can I turn off automatic horizontal scrolling in specific modes?
+@node Q3.4.4, Q3.4.5, Q3.4.3, Display Subsystems
+@unnumberedsubsec Q3.4.4: Scrolling one line at a time.
+
+Can the cursor keys scroll the screen a line at a time, rather than the
+default half page jump?  I tend it to find it disorienting.
+
+Use the following:
+
+@lisp
+(setq scroll-step 1)
+@end lisp
+
+You can also change this with Customize.  Select from the
+@code{Options} menu @code{Advanced
+(Customize)->Emacs->Environment->Windows->Scroll Step...} or type
+@kbd{M-x customize @key{RET} windows @key{RET}}.
+
+@node Q3.4.5, Q3.4.6, Q3.4.4, Display Subsystems
+@unnumberedsubsec Q3.4.5: How can I turn off automatic horizontal scrolling in specific modes?
 
 Do @code{(setq truncate-lines t)} in the mode-hooks for any modes
 in which you want lines truncated.
@@ -3930,28 +4367,222 @@
 then horizontal scrollbars will not appear in truncated buffers unless
 the package specifically asked for them.
 
-@node Q3.10.1, Q3.10.2, Q3.9.4, Customization
-@unnumberedsec 3.10: Text Selections
-@unnumberedsubsec Q3.10.1: How can I turn off or change highlighted selections?
+@node Q3.4.6, Q3.5.1, Q3.4.5, Display Subsystems
+@unnumberedsubsec Q3.4.6: I find auto-show-mode disconcerting.  How do I turn it off?
+
+@code{auto-show-mode} controls whether or not a horizontal scrollbar
+magically appears when a line is too long to be displayed.  This is
+enabled by default.  To turn it off, put the following in your
+@file{init.el}:
+
+@lisp
+(setq auto-show-mode nil)
+(setq-default auto-show-mode nil)
+@end lisp
+
+@unnumberedsec 3.5: The Modeline
+
+@node Q3.5.1, Q3.5.2, Q3.4.6, Display Subsystems
+@unnumberedsubsec Q3.5.1: How can I make the modeline go away?
+
+@lisp
+(set-specifier has-modeline-p nil)
+@end lisp
+
+@node Q3.5.2, Q3.5.3, Q3.5.1, Display Subsystems
+@unnumberedsubsec Q3.5.2: How do you have XEmacs display the line number in the modeline?
+
+Add the following line to your @file{init.el} file to
+display the line number:
+
+@lisp
+(line-number-mode 1)
+@end lisp
+
+Use the following to display the column number:
+
+@lisp
+(column-number-mode 1)
+@end lisp
+
+Or select from the @code{Options} menu
+@iftex
+@*
+@end iftex
+@code{Advanced (Customize)->Emacs->Editing->Basics->Line Number Mode}
+and/or
+@iftex
+@*
+@end iftex
+@code{Advanced (Customize)->Emacs->Editing->Basics->Column Number Mode}
+
+Or type @kbd{M-x customize @key{RET} editing-basics @key{RET}}.
+
+@node Q3.5.3, Q3.5.4, Q3.5.2, Display Subsystems
+@unnumberedsubsec Q3.5.3: How do I get XEmacs to put the time of day on the modeline?
+
+Add the following line to your @file{init.el} file to
+display the time:
+
+@lisp
+(display-time)
+@end lisp
+
+See @code{Customize} from the @code{Options} menu for customization.
+
+@node Q3.5.4, Q3.6.1, Q3.5.3, Display Subsystems
+@unnumberedsubsec Q3.5.4: How can one change the modeline color based on the mode used?
+
+You can use something like the following:
+
+@lisp
+(add-hook 'lisp-mode-hook
+          (lambda ()
+            (set-face-background 'modeline "red" (current-buffer))))
+@end lisp
+
+Then, when editing a Lisp file (i.e. when in Lisp mode), the modeline
+colors change from the default set in your @file{init.el}.
+The change will only be made in the buffer you just entered (which
+contains the Lisp file you are editing) and will not affect the modeline
+colors anywhere else.
+
+Notes:
+
+@itemize @bullet
+
+@item The hook is the mode name plus @code{-hook}.  eg. c-mode-hook,
+c++-mode-hook, emacs-lisp-mode-hook (used for your
+@file{init.el} or a @file{xx.el} file),
+lisp-interaction-mode-hook (the @samp{*scratch*} buffer),
+text-mode-hook, etc.
+
+@item
+Be sure to use @code{add-hook}, not @code{(setq c-mode-hook xxxx)},
+otherwise you will erase anything that anybody has already put on the
+hook.
+
+@item
+You can also do @code{(set-face-font 'modeline @var{font})},
+eg. @code{(set-face-font 'modeline "*bold-r-normal*140-100-100*"
+(current-buffer))} if you wish the modeline font to vary based on the
+current mode.
+@end itemize
+
+There are additional modeline faces, @code{modeline-buffer-id},
+@code{modeline-mousable}, and @code{modeline-mousable-minor-mode}, which
+you may want to customize.
+
+@unnumberedsec 3.6: The Cursor
+
+@node Q3.6.1, Q3.6.2, Q3.5.4, Display Subsystems
+@unnumberedsubsec Q3.6.1: Is there a way to make the bar cursor thicker?
+
+I'd like to have the bar cursor a little thicker, as I tend to "lose" it
+often.
+
+For a 1 pixel bar cursor, use:
+
+@lisp
+(setq bar-cursor t)
+@end lisp
+
+For a 2 pixel bar cursor, use:
+
+@lisp
+(setq bar-cursor 'anything-else)
+@end lisp
+
+Starting with XEmacs-20.3 you can also change these with Customize.
+Select from the @code{Options} menu
+@code{Advanced (Customize)->Emacs->Environment->Display->Bar Cursor...} or type
+@kbd{M-x customize @key{RET} display @key{RET}}.
+
+You can use a color to make it stand out better:
+
+@example
+Emacs*cursorColor:      Red
+@end example
+
+@node Q3.6.2, Q3.6.3, Q3.6.1, Display Subsystems
+@unnumberedsubsec Q3.6.2: Is there a way to get back the block cursor?
+
+@lisp
+(setq bar-cursor nil)
+@end lisp
+
+Starting with XEmacs 20.3 you can also change this with Customize.
+Select from the @code{Options} menu
+@code{Advanced (Customize)->Emacs->Environment->Display->Bar Cursor...} or type
+@kbd{M-x customize @key{RET} display @key{RET}}.
+
+@node Q3.6.3, Q3.7.1, Q3.6.2, Display Subsystems
+@unnumberedsubsec Q3.6.3: Can I make the cursor blink?
+
+Yes, like this:
+
+@lisp
+(blink-cursor-mode)
+@end lisp
+
+This function toggles between a steady cursor and a blinking cursor.
+You may also set this mode from the menu bar by selecting
+@samp{Options->Display->Blinking Cursor}.  Remember to save options.
+
+@unnumberedsec 3.7: Text Selections
+
+@node Q3.7.1, Q3.7.2, Q3.6.3, Display Subsystems
+@unnumberedsubsec Q3.7.1: How do I select a rectangular region?
+
+Just select the region normally, then use the rectangle commands (e.g.
+@code{kill-rectangle} on it.  The region does not highlight as a
+rectangle, but the commands work just fine.
+
+To actually sweep out rectangular regions with the mouse you can use
+@code{mouse-track-do-rectangle} which is assigned to @kbd{M-button1}.
+Then use rectangle commands.
+
+You can also do the following to change default behavior to sweep out
+rectangular regions:
+
+@lisp
+(setq mouse-track-rectangle-p t)
+@end lisp
+
+Starting with XEmacs-20.2 you can also change this with Customize.
+Select from the @code{Options} menu
+@code{Advanced (Customize)->Emacs->Editing->Mouse->Track Rectangle...} or type
+@kbd{M-x customize @key{RET} mouse @key{RET}}.
+
+
+@example
+ mouse-track-do-rectangle: (event)
+   -- an interactive compiled Lisp function.
+ Like `mouse-track' but selects rectangles instead of regions.
+@end example
+
+@node Q3.7.2, Q3.7.3, Q3.7.1, Display Subsystems
+@unnumberedsubsec Q3.7.2: How can I turn off or change highlighted selections?
 
 The @code{zmacs} mode allows for what some might call gratuitous
 highlighting for selected regions (either by setting mark or by using
 the mouse).  This is the default behavior.  To turn off, add the
-following line to your @file{init.el}/@file{.emacs} file:
+following line to your @file{init.el} file:
 
 @lisp
 (setq zmacs-regions nil)
 @end lisp
 
-Starting with XEmacs-20.2 you can also change this with Customize. Select
-from the @code{Options} menu @code{Advanced (Customize)->Emacs->Editing->Basics->Zmacs
-Regions} or type @kbd{M-x customize @key{RET} editing-basics @key{RET}}.
-
-To change the face for selection, look at @code{Options->Customize} on
-the menubar.
-
-@node Q3.10.2, Q3.10.3, Q3.10.1, Customization
-@unnumberedsubsec Q3.10.2: How do I get that typing on an active region removes it?
+You can also change this with Customize.  Select from the
+@code{Options} menu
+@code{Advanced (Customize)->Emacs->Editing->Basics->Zmacs Regions}
+or type @kbd{M-x customize @key{RET} editing-basics @key{RET}}.
+
+To change the face for selection, look at @code{Options->Advanced (Customize)}
+on the menubar.
+
+@node Q3.7.3, Q3.7.4, Q3.7.2, Display Subsystems
+@unnumberedsubsec Q3.7.3: How do I get that typing on an active region removes it?
 
 I want to change things so that if I select some text and start typing,
 the typed text replaces the selected text, similar to Motif.
@@ -3963,7 +4594,7 @@
 
 To get this behavior, ensure that you have the @file{pc} package
 installed, and add the following lines to your
-@file{init.el}/@file{.emacs}:
+@file{init.el}:
 
 @lisp
 (cond
@@ -3977,13 +4608,13 @@
 tad more complicated than it has to be for XEmacs in order to make it
 more portable.
 
-@node Q3.10.3, Q3.10.4, Q3.10.2, Customization
-@unnumberedsubsec Q3.10.3: Can I turn off the highlight during isearch?
+@node Q3.7.4, Q3.7.5, Q3.7.3, Display Subsystems
+@unnumberedsubsec Q3.7.4: Can I turn off the highlight during isearch?
 
 I do not like my text highlighted while I am doing isearch as I am not
 able to see what's underneath.  How do I turn it off?
 
-Put the following in your @file{init.el}/@file{.emacs}:
+Put the following in your @file{init.el}:
 
 @lisp
 (setq isearch-highlight nil)
@@ -3996,8 +4627,8 @@
 Instead of disabling isearch-highlight you may find that a better
 solution consists of customizing the @code{isearch} face.
 
-@node Q3.10.4, Q3.10.5, Q3.10.3, Customization
-@unnumberedsubsec Q3.10.4: How do I turn off highlighting after @kbd{C-x C-p} (mark-page)?
+@node Q3.7.5, Q3.7.6, Q3.7.4, Display Subsystems
+@unnumberedsubsec Q3.7.5: How do I turn off highlighting after @kbd{C-x C-p} (mark-page)?
 
 Put this in your @code{.emacs}:
 
@@ -4007,10 +4638,10 @@
 
 @strong{Warning: This command turns off all region highlighting.}
 
-Also see @ref{Q3.10.1}.
-
-@node Q3.10.5, Q3.10.6, Q3.10.4, Customization
-@unnumberedsubsec Q3.10.5: The region disappears when I hit the end of buffer while scrolling.
+@xref{Q3.7.2, How can I turn off or change highlighted selections?}.
+
+@node Q3.7.6, Q3.7.7, Q3.7.5, Display Subsystems
+@unnumberedsubsec Q3.7.6: The region disappears when I hit the end of buffer while scrolling.
 
 This has been fixed by default starting with XEmacs-20.3.
 
@@ -4040,8 +4671,8 @@
 Thanks to @email{raman@@adobe.com, T. V. Raman} for assistance in deriving this
 answer.
 
-@node Q3.10.6,  , Q3.10.5, Customization
-@unnumberedsubsec Q3.10.6: Why is killing so slow?
+@node Q3.7.7, Q3.7.8, Q3.7.6, Display Subsystems
+@unnumberedsubsec Q3.7.7: Why is killing so slow?
 
 This actually is an X Windows question, although you'll notice it with
 keyboard operations as well as while using the GUI.  Basically, there
@@ -4107,555 +4738,1066 @@
 
 Thanks to Jeff Mincy and Glynn Clements for corrections.
 
-@node Subsystems, Miscellaneous, Customization, Top
-@unnumbered 4 Major Subsystems
+@node Q3.7.8, Q3.8.1, Q3.7.7, Display Subsystems
+@unnumberedsubsec Q3.7.8: Why does @kbd{M-w} take so long?
+
+It actually doesn't.  It leaves the region visible for a second so that
+you can see what area is being yanked.  If you start working, though, it
+will immediately complete its operation.  In other words, it will only
+delay for a second if you let it.
+
+@unnumberedsec 3.8: Buffers, Text Editing
+
+@node Q3.8.1, Q3.8.2, Q3.7.8, Display Subsystems
+@unnumberedsubsec Q3.8.1: Can I have the end of the buffer delimited in some way?
+
+Say, with: @samp{[END]}?
+
+Try this:
+
+@lisp
+(let ((ext (make-extent (point-min) (point-max))))
+  (set-extent-property ext 'start-closed t)
+  (set-extent-property ext 'end-closed t)
+  (set-extent-property ext 'detachable nil)
+  (set-extent-end-glyph ext (make-glyph [string :data "[END]"])))
+@end lisp
+
+Since this is XEmacs, you can specify an icon to be shown on
+window-system devices.  To do so, change the @code{make-glyph} call to
+something like this:
+
+@lisp
+(make-glyph '([xpm :file "~/something.xpm"]
+              [string :data "[END]"]))
+@end lisp
+
+You can inline the @sc{xpm} definition yourself by specifying
+@code{:data} instead of @code{:file}.  Here is such a full-featured
+version that works on both X and TTY devices:
+
+@lisp
+(let ((ext (make-extent (point-min) (point-max))))
+  (set-extent-property ext 'start-closed t)
+  (set-extent-property ext 'end-closed t)
+  (set-extent-property ext 'detachable nil)
+  (set-extent-end-glyph ext (make-glyph '([xpm :data "\
+/* XPM */
+static char* eye = @{
+\"20 11 7 2\",
+\"__ c None\"
+\"_` c #7f7f7f\",
+\"_a c #fefefe\",
+\"_b c #7f0000\",
+\"_c c #fefe00\",
+\"_d c #fe0000\",
+\"_e c #bfbfbf\",
+\"___________`_`_`___b_b_b_b_________`____\",
+\"_________`_`_`___b_c_c_c_b_b____________\",
+\"_____`_`_`_e___b_b_c_c_c___b___b_______`\",
+\"___`_`_e_a___b_b_d___b___b___b___b______\",
+\"_`_`_e_a_e___b_b_d_b___b___b___b___b____\",
+\"_`_`_a_e_a___b_b_d___b___b___b___b___b__\",
+\"_`_`_e_a_e___b_b_d_b___b___b___b___b_b__\",
+\"___`_`_e_a___b_b_b_d_c___b___b___d_b____\",
+\"_____`_`_e_e___b_b_b_d_c___b_b_d_b______\",
+\"_`_____`_`_`_`___b_b_b_d_d_d_d_b________\",
+\"___`_____`_`_`_`___b_b_b_b_b_b__________\",
+@} ;"]
+                                          [string :data "[END]"]))))
+@end lisp
+
+Note that you might want to make this a function, and put it to a hook.
+We leave that as an exercise for the reader.
+
+@node Q3.8.2, Q3.8.3, Q3.8.1, Display Subsystems
+@unnumberedsubsec Q3.8.2: How do I insert today's date into a buffer?
+
+Like this:
+
+@lisp
+(insert (current-time-string))
+@end lisp
+
+@node Q3.8.3, Q3.8.4, Q3.8.2, Display Subsystems
+@unnumberedsubsec Q3.8.3: How do I get a single minibuffer frame?
+
+@email{acs@@acm.org, Vin Shelton} writes:
+
+@lisp
+(setq initial-frame-plist '(minibuffer nil))
+(setq default-frame-plist '(minibuffer nil))
+(setq default-minibuffer-frame
+      (make-frame
+       '(minibuffer only
+                    width 86
+                    height 1
+                    menubar-visible-p nil
+                    default-toolbar-visible-p nil
+                    name "minibuffer"
+                    top -2
+                    left -2
+                    has-modeline-p nil)))
+(frame-notice-user-settings)
+@end lisp
+
+@strong{Please note:} The single minibuffer frame may not be to everyone's
+taste, and there any number of other XEmacs options settings that may
+make it difficult or inconvenient to use.
+
+@node Q3.8.4, Q3.8.5, Q3.8.3, Display Subsystems
+@unnumberedsubsec Q3.8.4: How can I enable auto-indent and/or Filladapt?
+
+Put the following line in your @file{init.el}:
+
+@lisp
+(setq indent-line-function 'indent-relative-maybe)
+@end lisp
+
+If you want to get fancy, try the @code{filladapt} package available
+standard with XEmacs.  Put this into your @file{init.el}:
+
+@lisp
+(require 'filladapt)
+(setq-default filladapt-mode t)
+(add-hook 'c-mode-hook 'turn-off-filladapt-mode)
+@end lisp
+
+This will enable Filladapt for all modes except C mode, where it doesn't
+work well.  To turn Filladapt on only in particular major modes, remove
+the @code{(setq-default ...)} line and use
+@code{turn-on-filladapt-mode}, like this:
+
+@lisp
+(add-hook 'text-mode-hook 'turn-on-filladapt-mode)
+@end lisp
+
+You can customize filling and adaptive filling with Customize.
+Select from the @code{Options} menu
+@code{Advanced (Customize)->Emacs->Editing->Fill->Fill...}
+or type @kbd{M-x customize @key{RET} fill @key{RET}}.
+
+Note that well-behaving text-lookalike modes will run
+@code{text-mode-hook} by default (e.g. that's what Message does).  For
+the nasty ones, you'll have to provide the @code{add-hook}s yourself.
+
+Please note that the @code{fa-extras} package is no longer useful.
+
+@node Q3.8.5, Q3.9.1, Q3.8.4, Display Subsystems
+@unnumberedsubsec Q3.8.5: How can I get XEmacs to come up in text/auto-fill mode by default?
+
+Try the following lisp in your @file{init.el}:
+
+@lisp
+(setq default-major-mode 'text-mode)
+(setq text-mode-hook 'turn-on-auto-fill)
+@end lisp
+
+@strong{WARNING}: note that changing the value of
+@code{default-major-mode} from @code{fundamental-mode} can break a large
+amount of built-in code that expects newly created buffers to be in
+@code{fundamental-mode}.  (Changing from @code{fundamental-mode} to
+@code{text-mode} might not wreak too much havoc, but changing to
+something more exotic like a lisp-mode would break many Emacs packages).
+
+Note that Emacs by default starts up in buffer @code{*scratch*} in
+@code{initial-major-mode}, which defaults to
+@code{lisp-interaction-mode}. Thus adding the following form to your
+Emacs init file will cause the initial @code{*scratch*} buffer to be put
+into auto-fill'ed @code{text-mode}:
+
+@lisp
+(setq initial-major-mode
+      (lambda ()
+        (text-mode)
+        (turn-on-auto-fill)))
+@end lisp
+
+Note that after your init file is loaded, if
+@code{inhibit-startup-message} is @code{nil} (the default) and the
+startup buffer is @code{*scratch*} then the startup message will be
+inserted into @code{*scratch*}; it will be removed after a timeout by
+erasing the entire @code{*scratch*} buffer.  Keep in mind this default
+usage of @code{*scratch*} if you desire any prior manipulation of
+@code{*scratch*} from within your Emacs init file. In particular,
+anything you insert into @code{*scratch*} from your init file will be
+later erased. Also, if you change the mode of the @code{*scratch*}
+buffer, be sure that this will not interfere with possible later
+insertion of the startup message (e.g. if you put @code{*scratch*} into
+a nonstandard mode that has automatic font lock rules, then the startup
+message might get fontified in a strange foreign manner, e.g. as code in
+some programming language).
+
+@unnumberedsec 3.9: Editing Source Code
+
+@node Q3.9.1, Q3.9.2, Q3.8.5, Display Subsystems
+@unnumberedsubsec Q3.9.1: How can I do source code highlighting using font-lock?
+
+For most modes, font-lock is already set up and just needs to be turned
+on.  This can be done by adding the line:
+
+@lisp
+(require 'font-lock)
+@end lisp
+
+to your @file{init.el}. (You can turn it on for the
+current buffer and session only by @kbd{M-x font-lock-mode}.) See the
+file @file{etc/sample.init.el} (@file{etc/sample.emacs} in XEmacs
+versions prior to 21.4) for more information.
+
+@c the old way:
+@c     (add-hook 'emacs-lisp-mode-hook 'turn-on-font-lock)
+@c     (add-hook 'dired-mode-hook      'turn-on-font-lock)
+
+See also @code{Syntax Highlighting} from the @code{Options} menu.
+Remember to save options.
+
+@node Q3.9.2, Q3.9.3, Q3.9.1, Display Subsystems
+@unnumberedsubsec Q3.9.2: How do I get @samp{More} Syntax Highlighting on by default?
+
+Use the following code in your @file{init.el}:
+
+@lisp
+(setq-default font-lock-maximum-decoration t)
+@end lisp
+
+See also @code{Syntax Highlighting} from the @code{Options} menu.
+Remember to save options.
+
+@node Q3.9.3, Q3.9.4, Q3.9.2, Display Subsystems
+@unnumberedsubsec Q3.9.3: Where do I get the latest CC Mode?
+
+@email{bwarsaw@@cnri.reston.va.us, Barry A. Warsaw} writes:
+
+@quotation
+This can be had from @uref{http://www.python.org/emacs/}.
+@end quotation
+
+@node Q3.9.4, Q3.9.5, Q3.9.3, Display Subsystems
+@unnumberedsubsec Q3.9.4: I do not like cc-mode.  How do I use the old c-mode?
+
+Well, first off, consider if you really want to do this.  cc-mode is
+much more powerful than the old c-mode.  If you're having trouble
+getting your old offsets to work, try using @code{c-set-offset} instead.
+You might also consider using the package @code{cc-compat}.
+
+But, if you still insist, add the following lines to your @file{init.el}:
+
+@lisp
+(fmakunbound 'c-mode)
+(makunbound 'c-mode-map)
+(fmakunbound 'c++-mode)
+(makunbound 'c++-mode-map)
+(makunbound 'c-style-alist)
+(load-library "old-c-mode")
+(load-library "old-c++-mode")
+@end lisp
+
+This must be done before any other reference is made to either c-mode or
+c++-mode.
+
+@node Q3.9.5,  , Q3.9.4, Display Subsystems
+@unnumberedsubsec Q3.9.5: How do you make XEmacs indent CL if-clauses correctly?
+
+I'd like XEmacs to indent all the clauses of a Common Lisp @code{if} the
+same amount instead of indenting the 3rd clause differently from the
+first two.
+
+One way is to add, to @file{init.el}:
+
+@lisp
+(put 'if 'lisp-indent-function nil)
+@end lisp
+
+However, note that the package @code{cl-indent} that comes with
+XEmacs sets up this kind of indentation by default.  @code{cl-indent}
+also knows about many other CL-specific forms.  To use @code{cl-indent},
+one can do this:
+
+@lisp
+(load "cl-indent")
+(setq lisp-indent-function (function common-lisp-indent-function))
+@end lisp
+
+One can also customize @file{cl-indent.el} so it mimics the default
+@code{if} indentation @code{then} indented more than the @code{else}.
+Here's how:
+
+@lisp
+(put 'if 'common-lisp-indent-function '(nil nil &body))
+@end lisp
+
+Also, a new version (1.2) of @file{cl-indent.el} was posted to
+comp.emacs.xemacs on 12/9/94.  This version includes more documentation
+than previous versions.  This may prove useful if you need to customize
+any indent-functions.
+
+@node External Subsystems, Internet, Display Subsystems, Top
+@unnumbered 4 Interfacing with the Operating System and External Devices
 
 This is part 4 of the XEmacs Frequently Asked Questions list.  This
-section is devoted to major XEmacs subsystems.
+section is devoted to the various ways that XEmacs interfaces with the
+operating system, with other processes and with external devices such
+as speakers and the printer.
 
 @menu
-Reading Mail with VM:
-* Q4.0.1::      How do I set up VM to retrieve remote mail using POP?
-* Q4.0.2::      How do I get VM to filter mail for me?
-* Q4.0.3::      How can I get VM to automatically check for new mail?
-* Q4.0.4::      [This question intentionally left blank]
-* Q4.0.5::      How do I get my outgoing mail archived?
-* Q4.0.6::      I have various addresses at which I receive mail.  How can I tell VM to ignore them when doing a "reply-all"?
-* Q4.0.7::      Is there a mailing list or FAQ for VM?
-* Q4.0.8::      Remote mail reading with VM.
-* Q4.0.9::      rmail or VM gets an error incorporating new mail.
-* Q4.0.10::     How do I make VM stay in a single frame?
-* Q4.0.11::     How do I make VM or mh-e display graphical smilies?
-* Q4.0.12::     Customization of VM not covered in the manual or here.
-
-Web browsing with W3:
-* Q4.1.1::      What is W3?
-* Q4.1.2::      How do I run W3 from behind a firewall?
-* Q4.1.3::      Is it true that W3 supports style sheets and tables?
-
-Reading Netnews and Mail with Gnus:
-* Q4.2.1::      GNUS, (ding) Gnus, Gnus 5, September Gnus, Red Gnus,argh!
-* Q4.2.2::      [This question intentionally left blank]
-* Q4.2.3::      How do I make Gnus stay within a single frame?
-* Q4.2.4::      How do I customize the From: line?
-
-Other Mail & News:
-* Q4.3.1::      How can I read and/or compose MIME messages?
-* Q4.3.2::      What is TM and where do I get it?
-* Q4.3.3::      Why isn't this @code{movemail} program working?
-* Q4.3.4::      Movemail is also distributed by Netscape?  Can that cause problems?
-* Q4.3.5::      Where do I find pstogif (required by tm)?
-
-Sparcworks, EOS, and WorkShop:
-* Q4.4.1::      What is SPARCworks, EOS, and WorkShop
-* Q4.4.2::      How do I start the Sun Workshop support in XEmacs 21?
-
-Energize:
-* Q4.5.1::      What is/was Energize?
-
-Infodock:
-* Q4.6.1::      What is Infodock?
-
-Other Unbundled Packages:
-* Q4.7.1::      What is AUC TeX?  Where do you get it?
-* Q4.7.2::      Are there any Emacs Lisp Spreadsheets?
-* Q4.7.3::      [This question intentionally left blank]
-* Q4.7.4::      Problems installing AUC TeX
-* Q4.7.5::      Is there a reason for an Emacs package not to be included in XEmacs?
-* Q4.7.6::      Is there a MatLab mode?
-* Q4.7.7::      Can I edit files on other hosts?
+4.0: X Window System and Resources
+* Q4.0.1::    Where is a list of X resources?
+* Q4.0.2::    How can I detect a color display?
+* Q4.0.3::    How can I get the icon to just say @samp{XEmacs}?
+* Q4.0.4::    How can I have the window title area display the full path?
+* Q4.0.5::    @samp{xemacs -name junk} doesn't work?
+* Q4.0.6::    @samp{-iconic} doesn't work.
+
+4.1: Microsoft Windows
+* Q4.1.1::    Does XEmacs rename all the @samp{win32-*} symbols to @samp{w32-*}?
+* Q4.1.2::    How do I get Windows Explorer to associate a file type with XEmacs?
+
+4.2: Printing
+* Q4.2.1::    What do I need to change to make printing work?
+* Q4.2.2::    How can I print WYSIWYG a font-locked buffer?
+* Q4.2.3::    Getting @kbd{M-x lpr} to work with postscript printer.
+* Q4.2.4::    Can you print under MS Windows?
+
+4.3: Sound
+* Q4.3.1::    How do I turn off the sound?
+* Q4.3.2::    How do I get funky sounds instead of a boring beep?
+* Q4.3.3::    What's NAS, how do I get it?
+* Q4.3.4::    Sunsite sounds don't play.
+
+4.4: Running an Interior Shell, Invoking Subprocesses
+* Q4.4.1::    What is an interior shell?
+* Q4.4.2::    How do I start up a second shell buffer?
+* Q4.4.3::    Telnet from shell filters too much
+* Q4.4.4::    Strange things are happening in Shell Mode.
+* Q4.4.5::    XEmacs complains "No such file or directory, diff"
+
+4.5: Multiple Device Support
+* Q4.5.1::    How do I open a frame on another screen of my multi-headed display?
+* Q4.5.2::    Can I really connect to a running XEmacs after calling up over a modem?  How?
+* Q4.5.3::    How do I disable gnuserv from opening a new frame?
+* Q4.5.4::    How do I start gnuserv so that each subsequent XEmacs is a client?
+* Q4.5.5::    Is there a way to start a new XEmacs if there's no gnuserv running, and otherwise use gnuclient?
+
+4.6: TeX
+* Q4.6.1::    Is there something better than LaTeX mode?
+* Q4.6.2::    What is AUCTeX?  Where do you get it?
+* Q4.6.3::    Problems installing AUCTeX.
+* Q4.6.4::    How do I turn off current chapter from AUCTeX modeline?
+
+4.7: Other Unbundled Packages
+* Q4.7.1::    Is there a reason for an Emacs package not to be included in XEmacs?
+* Q4.7.2::    Are there any Emacs Lisp Spreadsheets?
+* Q4.7.3::    Is there a MatLab mode?
+
+4.8: Environments Built Around XEmacs
+* Q4.8.1::    What are SPARCworks, EOS, and WorkShop?
+* Q4.8.2::    How do I start the Sun Workshop support in XEmacs 21?
+* Q4.8.3::    What is/was Energize?
+* Q4.8.4::    What is Infodock?
 @end menu
 
-@node Q4.0.1, Q4.0.2, Subsystems, Subsystems
-@unnumberedsec 4.0: Reading Mail with VM
-@unnumberedsubsec Q4.0.1: How do I set up VM to retrieve mail from a remote site using POP?
-
-Use @code{vm-spool-files}, like this for example:
+@unnumberedsec 4.0: X Window System and Resources
+
+@node Q4.0.1, Q4.0.2, External Subsystems, External Subsystems
+@unnumberedsubsec Q4.0.1: Where is a list of X resources?
+
+Search through the @file{NEWS} file for @samp{X Resources}.  A fairly
+comprehensive list is given after it.
+
+In addition, an @file{app-defaults} file @file{etc/Emacs.ad} is
+supplied, listing the defaults.  The file @file{etc/sample.Xresources}
+gives a different set of defaults that you might consider for
+installation in your @file{~/.Xresources} file.  It is nearly the same
+as @file{etc/Emacs.ad}, but a few entries are altered.  Be careful about
+installing the contents of this file into your @file{.Xresources} (or
+legacy @file{.Xdefaults}) file if you use GNU Emacs under X11 as well.
+
+@node Q4.0.2, Q4.0.3, Q4.0.1, External Subsystems
+@unnumberedsubsec Q4.0.2: How can I detect a color display?
+
+You can test the return value of the function @code{(device-class)}, as
+in:
+
+@lisp
+(when (eq (device-class) 'color)
+  (set-face-foreground  'font-lock-comment-face "Grey")
+  (set-face-foreground  'font-lock-string-face  "Red")
+  ....
+  )
+@end lisp
+
+@node Q4.0.3, Q4.0.4, Q4.0.2, External Subsystems
+@unnumberedsubsec Q4.0.3: How can I get the icon to just say @samp{XEmacs}?
+
+I'd like the icon to just say @samp{XEmacs}, and not include the name of
+the current file in it.
+
+Add the following line to your @file{init.el}:
+
+@lisp
+(setq frame-icon-title-format "XEmacs")
+@end lisp
+
+@node Q4.0.4, Q4.0.5, Q4.0.3, External Subsystems
+@unnumberedsubsec Q4.0.4: How can I have the window title area display the full path?
+
+I'd like to have the window title area display the full directory/name
+of the current buffer file and not just the name.
+
+Add the following line to your @file{init.el}:
+
+@lisp
+(setq frame-title-format "%S: %f")
+@end lisp
+
+A more sophisticated title might be:
+
+@lisp
+(setq frame-title-format
+      '("%S: " (buffer-file-name "%f"
+                                 (dired-directory dired-directory "%b"))))
+@end lisp
+
+That is, use the file name, or the dired-directory, or the buffer name.
+
+@node Q4.0.5, Q4.0.6, Q4.0.4, External Subsystems
+@unnumberedsubsec Q4.0.5: @samp{xemacs -name junk} doesn't work?
+
+When I run @samp{xterm -name junk}, I get an xterm whose class name
+according to xprop, is @samp{junk}.  This is the way it's supposed to
+work, I think.  When I run @samp{xemacs -name junk} the class name is
+not set to @samp{junk}.  It's still @samp{emacs}.  What does
+@samp{xemacs -name} really do?  The reason I ask is that my window
+manager (fvwm) will make a window sticky and I use XEmacs to read my
+mail.  I want that XEmacs window to be sticky, without having to use the
+window manager's function to set the window sticky.  What gives?
+
+@samp{xemacs -name} sets the application name for the program (that is,
+the thing which normally comes from @samp{argv[0]}).  Using @samp{-name}
+is the same as making a copy of the executable with that new name.  The
+@code{WM_CLASS} property on each frame is set to the frame-name, and the
+application-class.  So, if you did @samp{xemacs -name FOO} and then
+created a frame named @var{BAR}, you'd get an X window with WM_CLASS =
+@code{( "BAR", "Emacs")}.  However, the resource hierarchy for this
+widget would be:
+
+@example
+Name:    FOO   .shell             .container   .BAR
+Class:   Emacs .TopLevelEmacsShell.EmacsManager.EmacsFrame
+@end example
+
+instead of the default
+
+@example
+Name:    xemacs.shell             .container   .emacs
+Class:   Emacs .TopLevelEmacsShell.EmacsManager.EmacsFrame
+@end example
+
+
+It is arguable that the first element of WM_CLASS should be set to the
+application-name instead of the frame-name, but I think that's less
+flexible, since it does not give you the ability to have multiple frames
+with different WM_CLASS properties.  Another possibility would be for
+the default frame name to come from the application name instead of
+simply being @samp{emacs}.  However, at this point, making that change
+would be troublesome: it would mean that many users would have to make
+yet another change to their resource files (since the default frame name
+would suddenly change from @samp{emacs} to @samp{xemacs}, or whatever
+the executable happened to be named), so we'd rather avoid it.
+
+To make a frame with a particular name use:
+
+@lisp
+(make-frame '((name . "the-name")))
+@end lisp
+
+@node Q4.0.6, Q4.1.1, Q4.0.5, External Subsystems
+@unnumberedsubsec Q4.0.6: @samp{-iconic} doesn't work.
+
+When I start up XEmacs using @samp{-iconic} it doesn't work right.
+Using @samp{-unmapped} on the command line, and setting the
+@code{initiallyUnmapped} X Resource don't seem to help much either...
+
+@email{ben@@xemacs.org, Ben Wing} writes:
+
+@quotation
+Ugh, this stuff is such an incredible mess that I've about given up
+getting it to work.  The principal problem is numerous window-manager
+bugs...
+@end quotation
+
+@unnumberedsec 4.1: Microsoft Windows
+
+@node Q4.1.1, Q4.1.2, Q4.0.6, External Subsystems
+@unnumberedsubsec Q4.1.1: Does XEmacs rename all the @samp{win32-*} symbols to @samp{w32-*}?
+
+In his flavor of Emacs 20, Richard Stallman has renamed all the @samp{win32-*}
+symbols to @samp{w32-*}.  Does XEmacs do the same?
+
+We consider such a move counter-productive, thus we do not use the
+@samp{w32} prefix. (His rather questionable justification was that he
+did not consider Windows to be a "winning" platform.) However, the name
+@samp{Win32} is not particularly descriptive outside the Windows world,
+and using just @samp{windows-} would be too generic.  So we chose a
+compromise, the prefix @samp{mswindows-} for Windows-related variables
+and functions.
+
+Thus all the XEmacs variables and functions directly related to either
+the Windows GUI or OS are prefixed @samp{mswindows-} (except for a
+couple of debugging variables, prefixed @samp{debug-mswindows-}).  From
+an architectural perspective, however, we believe that this is mostly a
+non-issue because there should be a very small number of
+window-systems-specific variables anyway.  Whenever possible, we try to
+provide generic interfaces that apply to all window systems.
+
+@c not true:
+@c The user variables
+@c that share functionality with existing NT Emacs variables are be named
+@c with our convention, but we provide the GNU Emacs names as
+@c compatibility aliases.
+
+@node Q4.1.2, Q4.2.1, Q4.1.1, External Subsystems
+@unnumberedsubsec Q4.1.2: How do I get Windows Explorer to associate a file type with XEmacs?
+
+@unnumberedsubsubsec Associating a new file type with XEmacs.
+
+In Explorer select @samp{View->Options->File Types}, press @samp{[New
+Type...]} and fill in the dialog box, e.g.:
+
+@example
+        Description of type:    Emacs Lisp source
+        Associated extension:   el
+        Content Type (MIME):    text/plain
+@end example
+
+then press @samp{[New...]} and fill in the @samp{Action} dialog box as
+follows:
+
+@example
+        Action:
+        Open
+
+        Application used to perform action:
+        D:\Full\path\for\xemacs.exe "%1"
+
+        [x] Use DDE
+
+        DDE Message:
+        open("%1")
+
+        Application:
+        <leave blank>
+
+        DDE Application Not Running:
+        <leave blank>
+
+        Topic:
+        <leave blank>
+@end example
+
+@unnumberedsubsubsec Associating an existing file type with XEmacs.
+
+In Explorer select @samp{View->Options->File Types}.  Click on the file
+type in the list and press @samp{[Edit...]}.  If the file type already
+has an @samp{Open} action, double click on it and fill in the
+@samp{Action} dialog box as described above; otherwise create a new
+action.
+
+If the file type has more than one action listed, you probably want to
+make the @samp{Open} action that you just edited the default by clicking on
+it and pressing @samp{Set Default}.
+
+Note for Windows 2000 users: Under Windows 2000, get to @samp{File Types}
+using @samp{Control Panel->Folder Options->File Types}.
+
+@unnumberedsec 4.2: Printing
+
+@node Q4.2.1, Q4.2.2, Q4.1.2, External Subsystems
+@unnumberedsubsec Q4.2.1: What do I need to change to make printing work?
+
+For regular printing there are two variables that can be customized.
+
+@table @code
+@item lpr-command
+This should be set to a command that takes standard input and sends
+it to a printer.  Something like:
+
+@lisp
+(setq lpr-command "lp")
+@end lisp
+
+@item lpr-switches
+This should be set to a list that contains whatever the print command
+requires to do its job.  Something like:
+
+@lisp
+(setq lpr-switches '("-depson"))
+@end lisp
+@end table
+
+For postscript printing there are three analogous variables to
+customize.
+
+@table @code
+@item ps-lpr-command
+This should be set to a command that takes postscript on standard input
+and directs it to a postscript printer.
+
+@item ps-lpr-switches
+This should be set to a list of switches required for
+@code{ps-lpr-command} to do its job.
+
+@item ps-print-color-p
+This boolean variable should be set @code{t} if printing will be done in
+color, otherwise it should be set to @code{nil}.
+@end table
+
+NOTE: It is an undocumented limitation in XEmacs that postscript
+printing (the @code{Pretty Print Buffer} menu item) @strong{requires} a
+window system environment.  It cannot be used outside of X11.
+
+@node Q4.2.2, Q4.2.3, Q4.2.1, External Subsystems
+@unnumberedsubsec Q4.2.2: How can I print WYSIWYG a font-locked buffer?
+
+Font-lock looks nice.  How can I print (WYSIWYG) the highlighted
+document?
+
+The package @code{ps-print}, which is now included with XEmacs, provides
+the ability to do this.  The source code contains complete instructions
+on its use, in
+@file{$prefix/lib/xemacs/xemacs-packages/lisp/ps-print/ps-print.el},
+being the default location of an installed ps-print package.
+
+@node Q4.2.3, Q4.2.4, Q4.2.2, External Subsystems
+@unnumberedsubsec Q4.2.3: Getting @kbd{M-x lpr} to work with postscript printer.
+
+My printer is a Postscript printer and @code{lpr} only works for
+Postscript files, so how do I get @kbd{M-x lpr-region} and @kbd{M-x
+lpr-buffer} to work?
+
+Put something like this in your @file{init.el}:
 
 @lisp
-(setq vm-spool-files '("/var/spool/mail/wing"
-                       "netcom23.netcom.com:110:pass:wing:MYPASS"))
+(setq lpr-command "a2ps")
+(setq lpr-switches '("-p" "-1"))
+@end lisp
+
+If you don't use a2ps to convert ASCII to postscript (why not, it's
+free?), replace with the command you do use.  Note also that some
+versions of a2ps require a @samp{-Pprinter} to ensure spooling.
+
+@node Q4.2.4, Q4.3.1, Q4.2.3, External Subsystems
+@unnumberedsubsec Q4.2.4: Can you print under MS Windows?
+
+As of 21.4, printing works on Windows, using simply
+@samp{File->Print BUFFER...}, and can be configured with
+@samp{File->Page Setup...}.
+
+Prior to 21.4, there is no built-in support, but there are some clever
+hacks out there.  If you know how, please let us know and we'll put it
+here.
+
+@unnumberedsec 4.3: Sound
+
+@node Q4.3.1, Q4.3.2, Q4.2.4, External Subsystems
+@unnumberedsubsec Q4.3.1: How do I turn off the sound?
+
+Add the following line to your @file{init.el}:
+
+@lisp
+(setq bell-volume 0)
+(setq sound-alist nil)
+@end lisp
+
+That will make your XEmacs totally silent---even the default ding sound
+(TTY beep on TTY-s) will be gone.
+
+You can also change these with Customize.  Select from the
+@code{Options} menu @code{Advanced
+(Customize)->Emacs->Environment->Sound->Sound...} or type @kbd{M-x
+customize @key{RET} sound @key{RET}}.
+
+
+@node Q4.3.2, Q4.3.3, Q4.3.1, External Subsystems
+@unnumberedsubsec Q4.3.2: How do I get funky sounds instead of a boring beep?
+
+Make sure your XEmacs was compiled with sound support, and then put this
+in your @file{init.el}:
+
+@lisp
+(load-default-sounds)
+@end lisp
+
+@node Q4.3.3, Q4.3.4, Q4.3.2, External Subsystems
+@unnumberedsubsec Q4.3.3: What's NAS, how do I get it?
+
+@xref{Q2.1.3, Compiling XEmacs with Netaudio}, for an explanation of
+the @dfn{Network Audio System}.
+
+@node Q4.3.4, Q4.4.1, Q4.3.3, External Subsystems
+@unnumberedsubsec Q4.3.4: Sunsite sounds don't play.
+
+I'm having some trouble with sounds I've downloaded from sunsite.  They
+play when I run them through @code{showaudio} or cat them directly to
+@file{/dev/audio}, but XEmacs refuses to play them.
+
+@email{gutschk@@uni-muenster.de, Markus Gutschke} writes:
+
+@quotation
+[Many of] These files have an (erroneous) 24byte header that tells about
+the format that they have been recorded in. If you cat them to
+@file{/dev/audio}, the header will be ignored and the default behavior
+for /dev/audio will be used. This happens to be 8kHz uLaw. It is
+probably possible to fix the header by piping through @code{sox} and
+passing explicit parameters for specifying the sampling format; you then
+need to perform a 'null' conversion from SunAudio to SunAudio.
+@end quotation
+
+@unnumberedsec 4.4: Running an Interior Shell, Invoking Subprocesses
+
+@node Q4.4.1, Q4.4.2, Q4.3.4, External Subsystems
+@unnumberedsubsec Q4.4.1: What is an interior shell?
+
+#### Write me.
+
+@node Q4.4.2, Q4.4.3, Q4.4.1, External Subsystems
+@unnumberedsubsec Q4.4.2: How do I start up a second shell buffer?
+
+In the @code{*shell*} buffer:
+
+@lisp
+M-x rename-buffer @key{RET} *shell-1* @key{RET}
+M-x shell RET
+@end lisp
+
+This will then start a second shell.  The key is that no buffer named
+@samp{*shell*} can exist.  It might be preferable to use @kbd{M-x
+rename-uniquely} to rename the @code{*shell*} buffer instead of @kbd{M-x
+rename-buffer}.
+
+Alternately, you can set the variable @code{shell-multiple-shells}.
+If the value of this variable is non-nil, each time shell mode is invoked,
+a new shell is made
+
+@node Q4.4.3, Q4.4.4, Q4.4.2, External Subsystems
+@unnumberedsubsec Q4.4.3: Telnet from shell filters too much
+
+I'm using the Emacs @kbd{M-x shell} function, and I would like to invoke
+and use a telnet session within it.  Everything works fine except that
+now all @samp{^M}'s are filtered out by Emacs.  Fixes?
+
+Use @kbd{M-x rsh} or @kbd{M-x telnet} to open remote sessions rather
+than doing rsh or telnet within the local shell buffer.  You can also
+use @kbd{M-x ssh} to open secure remote session if you have @code{ssh}
+installed.
+
+@node Q4.4.4, Q4.4.5, Q4.4.3, External Subsystems
+@unnumberedsubsec Q4.4.4: Strange things are happening in Shell Mode.
+
+Sometimes (i.e. it's not repeatable, and I can't work out why it
+happens) when I'm typing into shell mode, I hit return and only a
+portion of the command is given to the shell, and a blank prompt is
+returned.  If I hit return again, the rest of the previous command is
+given to the shell.
+
+@email{martin@@xemacs.org, Martin Buchholz} writes:
+
+@quotation
+There is a known problem with interaction between @code{csh} and the
+@code{filec} option and XEmacs.  You should add the following to your
+@file{.cshrc}:
+
+@example
+if ( "$TERM" == emacs || "$TERM" == unknown ) unset filec
+@end example
+@end quotation
+
+@node Q4.4.5, Q4.5.1, Q4.4.4, External Subsystems
+@unnumberedsubsec Q4.4.5: XEmacs complains "No such file or directory, diff"
+
+or "ispell" or other commands that seem related to whatever you just
+tried to do (M-x ediff or M-$, for example).
+
+There are a large number of common (in the sense that "everyone has
+these, they really do") Unix utilities that are not provided with
+XEmacs.  The GNU Project's implementations are available for Windows in
+the the Cygwin distribution (@uref{http://www.cygwin.com/}), which also
+provides a complete Unix emulation environment (and thus makes ports of
+Unix utilities nearly trivial).  Another implementation is that from
+MinGW (@uref{http://www.mingw.org/msys.shtml}).  If you know of others,
+please let us know!
+
+@unnumberedsec 4.5: Multiple Device Support
+
+@node Q4.5.1, Q4.5.2, Q4.4.5, External Subsystems
+@unnumberedsubsec Q4.5.1: How do I open a frame on another screen of my multi-headed display?
+
+Use the command @kbd{M-x make-frame-on-display}.  This command is also
+on the File menu in the menubar.
+
+The command @code{make-frame-on-tty} also exists, which will establish a
+connection to any tty-like device.  Opening the TTY devices should be
+left to @code{gnuclient}, though.
+
+@node Q4.5.2, Q4.5.3, Q4.5.1, External Subsystems
+@unnumberedsubsec Q4.5.2: Can I really connect to a running XEmacs after calling up over a modem?  How?
+
+Yes.  Use @code{gnuclient -nw}. (Prior to 20.3, use the @code{gnuattach}
+program supplied with XEmacs instead.)
+
+Also see @ref{Q4.5.3, How do I disable gnuserv from opening a new frame?}.
+
+@node Q4.5.3, Q4.5.4, Q4.5.2, External Subsystems
+@unnumberedsubsec Q4.5.3: How do I disable gnuserv from opening a new frame?
+
+If you set the @code{gnuserv-frame} variable to the frame that should be
+used to display buffers that are pulled up, a new frame will not be
+created. For example, you could put
+
+@lisp
+(setq gnuserv-frame (selected-frame))
 @end lisp
 
-Of course substitute your actual password for MYPASS.
-
-@node Q4.0.2, Q4.0.3, Q4.0.1, Subsystems
-@unnumberedsubsec Q4.0.2: How do I get VM to filter mail for me?
-
-One possibility is to use procmail to split your mail before it gets to
-VM.  I prefer this personally, since there are many strange and
-wonderful things one can do with procmail.  Procmail may be found at
-@uref{ftp://ftp.informatik.rwth-aachen.de/pub/packages/procmail/}.
-
-Also see the Mail Filtering FAQ at:
+early on in your @file{init.el}, to ensure that the first frame created
+is the one used for your gnuserv buffers.
+
+There is an option to set the gnuserv target to the current frame.  See
+@code{Options->Display->"Other Window" Location->Make Current Frame Gnuserv Target}
+
+You can also change this with Customize.  Select from the
+@code{Options} menu @code{Advanced
+(Customize)->Emacs->Environment->Gnuserv->Gnuserv Frame...}  or type
+@kbd{M-x customize @key{RET} gnuserv @key{RET}}.
+
+
+@node Q4.5.4, Q4.5.5, Q4.5.3, External Subsystems
+@unnumberedsubsec Q4.5.4: How do I start gnuserv so that each subsequent XEmacs is a client?
+
+Put the following in your @file{init.el} file to start the server:
+
+@lisp
+(gnuserv-start)
+@end lisp
+
+Start your first XEmacs as usual.  After that, you can do:
+
+@example
+gnuclient randomfilename
+@end example
+
+from the command line to get your existing XEmacs process to open a new
+frame and visit randomfilename in that window. When you're done editing
+randomfilename, hit @kbd{C-x #} to kill the buffer and get rid of the
+frame.
+
+See also man page of gnuclient.
+
+@node Q4.5.5, Q4.6.1, Q4.5.4, External Subsystems
+@unnumberedsubsec Q4.5.5: Is there a way to start a new XEmacs if there's no gnuserv running, and otherwise use gnuclient?
+
+@email{vroonhof@@math.ethz.ch, Jan Vroonhof} writes:
+@quotation
+Here is one of the solutions, we have this in a script called
+@file{etc/editclient.sh}.
+@example
+ #!/bin/sh
+ if gnuclient -batch -eval t >/dev/null 2>&1
+ then
+   exec gnuclient $@{1+"$@@"@}
+ else
+   xemacs -unmapped -f gnuserv-start &
+   until gnuclient -batch -eval t >/dev/null 2>&1
+   do
+      sleep 1
+   done
+   exec gnuclient $@{1+"$@@"@}
+ fi
+@end example
+
+Note that there is a known problem when running XEmacs and 'gnuclient
+-nw' on the same TTY.
+@end quotation
+
+@unnumberedsec 4.6: TeX
+
+@node Q4.6.1, Q4.6.2, Q4.5.5, External Subsystems
+@unnumberedsubsec Q4.6.1: Is there something better than LaTeX mode?
+
+@email{dak@@fsnif.neuroinformatik.ruhr-uni-bochum.de, David Kastrup} writes:
+
+@quotation
+The standard TeX modes leave much to be desired, and are somewhat
+leniently maintained.  Serious TeX users use AUCTeX (@pxref{Q4.6.2,
+What is AUCTeX?  Where do you get it?}).
+@end quotation
+
+@node Q4.6.2, Q4.6.3, Q4.6.1, External Subsystems
+@unnumberedsubsec Q4.6.2: What is AUCTeX?  Where do you get it?
+
+AUCTeX is a complex and sophisticated editing package dedicated to TeX
+and related text formatting languages, including LaTeX and Texinfo.
+It provides support for running TeX on a file or part of a file,
+include files, and of course shortcuts for entering common TeX macros,
+LaTeX environments, etc, and for fontlock.
+
+AUCTeX is a standard package provided by XEmacs.  You can get it as
+usual through the @kbd{M-x list-packages} interface.  It is also
+included in the (non-Mule) SUMO package.  The AUCTeX XEmacs package is
+maintained by Uwe Brauer <GET MAIL ADDRESS>.
+
+AUCTeX is extremely complicated, and its developers primarily 
+use GNU Emacs.  Not all features of the bleeding edge version 
+of AUCTeX are immediately ported to XEmacs; if you need 
+these, you may be better off getting the most recent versions 
+from the GNU AUCTeX project on @uref{http://savannah.gnu.org}.
+ 
+@node Q4.6.3, Q4.6.4, Q4.6.2, External Subsystems
+@unnumberedsubsec Q4.6.3: Problems installing AUCTeX.
+
+@email{vroonhof@@math.ethz.ch, Jan Vroonhof} writes:
+
+@quotation
+AUCTeX works fine on both stock Emacs and XEmacs has been doing so for
+a very very long time. This is mostly due to the work of
+@email{abraham@@dina.kvl.dk, Per Abrahamsen} (clap clap) in particular his @file{easymenu}
+package.  Which leads to what is probably the problem...
+@end quotation
+
+Most problems with AUCTeX are one of two things:
+
+@itemize @bullet
+@item
+The TeX-lisp-directory in @file{tex-site.el} and the makefile don't
+match.
+
+Fix: make sure you configure AUCTeX properly @strong{before} installing.
+
+@item
+You have an old version of easymenu.el in your path.
+
+Fix: use @code{locate-library} and remove old versions to make sure it
+@strong{only} finds the one that came with XEmacs.
+@end itemize
+
+@node Q4.6.4, Q4.7.1, Q4.6.3, External Subsystems
+@unnumberedsubsec Q4.6.4: How do I turn off current chapter from AUCTeX modeline?
+
+With AUCTeX, fast typing is hard because the current chapter, section
+etc. are given in the modeline.  How can I turn this off?
+
+It's not AUCTeX, it comes from @code{func-menu} in @file{func-menu.el}.
+
+@c Add this code to your @file{init.el} to turn it off:
+@c
+@c @lisp
+@c (setq fume-display-in-modeline-p nil)
+@c @end lisp
+@c
+@c Or just add a hook to @code{TeX-mode-hook} to turn it off only for TeX
+@c mode:
+@c
+@c @lisp
+@c (add-hook 'TeX-mode-hook
+@c           '(lambda () (setq fume-display-in-modeline-p nil)))
+@c @end lisp
+@c
+@email{dhughes@@origin-at.co.uk, David Hughes} writes:
+
+@quotation
+Try this; you'll still get the function name displayed in the modeline,
+but it won't attempt to keep track when you modify the file. To refresh
+when it gets out of synch, you simply need click on the @samp{Rescan
+Buffer} option in the function-menu.
+
+@lisp
+(setq-default fume-auto-rescan-buffer-p nil)
+@end lisp
+@end quotation
+
+@unnumberedsec 4.7: Other Unbundled Packages
+
+@node Q4.7.1, Q4.7.2, Q4.6.4, External Subsystems
+@unnumberedsubsec Q4.7.1: Is there a reason for an Emacs package not to be included in XEmacs?
+
+The reason for an Emacs package not to be included in XEmacs is
+usually one or more of the following:
+
+@enumerate
+@item
+The package has not been ported to XEmacs.  This will typically happen
+when it uses GNU-Emacs-specific features, which make it fail under
+XEmacs.
+
+Porting a package to XEmacs can range from a trivial amount of change to
+a partial or full rewrite.  Fortunately, the authors of modern packages
+usually choose to support both Emacsen themselves.
+
+@item
+The package has been decided not to be appropriate for XEmacs.  It may
+have an equivalent or better replacement within XEmacs, in which case
+the developers may choose not to burden themselves with supporting an
+additional package.
+
+Each package bundled with XEmacs means more work for the maintainers,
+whether they want it or not.  If you are ready to take over the
+maintenance responsibilities for the package you port, be sure to say
+so---we will more likely include it.
+
+@item
+The package simply hasn't been noted by the XEmacs development.  If
+that's the case, the messages like yours are very useful for attracting
+our attention.
+
+@item
+The package was noted by the developers, but they simply haven't yet
+gotten around to including/porting it.  Wait for the next release or,
+even better, offer your help.  It will be gladly accepted and
+appreciated.
+@end enumerate
+
+@node Q4.7.2, Q4.7.3, Q4.7.1, External Subsystems
+@unnumberedsubsec Q4.7.2: Are there any Emacs Lisp Spreadsheets?
+
+Yes.  Check out @dfn{dismal} (which stands for Dis' Mode Ain't Lotus) at
 @iftex
 @*
 @end iftex
-@uref{ftp://rtfm.mit.edu/pub/usenet/news.answers/mail/filtering-faq}.
-@c Link above,
-@c <URL:http://www.cis.ohio-state.edu/hypertext/faq/usenet/mail/filtering-faq/faq.html>
-@c was dead.
-
-@node Q4.0.3, Q4.0.4, Q4.0.2, Subsystems
-@unnumberedsubsec Q4.0.3: How can I get VM to automatically check for new mail?
-
-@email{turner@@lanl.gov, John Turner} writes:
-
-@quotation
-Use the following:
-
-@lisp
-(setq vm-auto-get-new-mail 60)
-@end lisp
-@end quotation
-
-@node Q4.0.4, Q4.0.5, Q4.0.3, Subsystems
-@unnumberedsubsec Q4.0.4: [This question intentionally left blank]
-
-Obsolete question, left blank to avoid renumbering.
-
-@node Q4.0.5, Q4.0.6, Q4.0.4, Subsystems
-@unnumberedsubsec Q4.0.5: How do I get my outgoing mail archived?
-
-@lisp
-(setq mail-archive-file-name "~/outbox")
-@end lisp
-
-@node Q4.0.6, Q4.0.7, Q4.0.5, Subsystems
-@unnumberedsubsec Q4.0.6: I have various addresses at which I receive mail.  How can I tell VM to ignore them when doing a "reply-all"?
-
-Set @code{vm-reply-ignored-addresses} to a list, like
-
-@lisp
-(setq vm-reply-ignored-addresses
-      '("wing@@nuspl@@nvwls.cc.purdue.edu,netcom[0-9]*.netcom.com"
-        "wing@@netcom.com" "wing@@xemacs.org"))
-@end lisp
-
-Note that each string is a regular expression.
-
-@node Q4.0.7, Q4.0.8, Q4.0.6, Subsystems
-@unnumberedsubsec Q4.0.7: Is there a mailing list or FAQ for VM?
-
-A FAQ for VM exists at @uref{http://www.wonderworks.com/vm/FAQ.html}.
-
-VM has its own newsgroups gnu.emacs.vm.info and gnu.emacs.vm.bug.
-
-@node Q4.0.8, Q4.0.9, Q4.0.7,  Subsystems
-@unnumberedsubsec Q4.0.8: Remote mail reading with VM.
-
-My mailbox lives at the office on a big honkin server.  My regular INBOX
-lives on my honkin desktop machine.  I now can PPP to the office from
-home which is far from honking...  I'd like to be able to read mail at
-home without storing it here and I'd like to use xemacs and VM at
-home...  Is there a recommended setup?
-
-@email{nuspl@@nvwls.cc.purdue.edu, Joseph J. Nuspl Jr.} writes:
-
-@quotation
-There are several ways to do this.
-
-@enumerate
-@item
-Set your display to your home machine and run dxpc or one of the other X
-compressors.
-
-@item
-NFS mount your desktop machine on your home machine and modify your pop
-command on your home machine to rsh to your desktop machine and actually
-do the pop get's.
-
-@item
-Run a POP server on your desktop machine as well and do a sort of two
-tiered POP get.
-@end enumerate
-@end quotation
-
-        @email{wmperry@@monolith.spry.com, William Perry} adds:
-
-@quotation
-Or you could run a pop script periodically on your desktop machine, and
-just use ange-ftp or NFS to get to your mailbox.  I used to do this all
-the time back at IU.
-@end quotation
-
-@node Q4.0.9, Q4.0.10, Q4.0.8, Subsystems
-@unnumberedsubsec Q4.0.9: rmail or VM gets an error incorporating new mail.
-
-Quoting the XEmacs PROBLEMS file:
-
-@quotation
-rmail and VM get new mail from @file{/usr/spool/mail/$USER} using a
-program called @code{movemail}.  This program interlocks with
-@code{/bin/mail} using the protocol defined by @code{/bin/mail}.
-
-There are two different protocols in general use.  One of them uses the
-@code{flock} system call.  The other involves creating a lock file;
-@code{movemail} must be able to write in @file{/usr/spool/mail} in order
-to do this.  You control which one is used by defining, or not defining,
-the macro @code{MAIL_USE_FLOCK} in @file{config.h} or the m- or s- file
-it includes.
-
-@strong{IF YOU DON'T USE THE FORM OF INTERLOCKING THAT IS NORMAL ON YOUR
-SYSTEM, YOU CAN LOSE MAIL!}
-
-If your system uses the lock file protocol, and fascist restrictions
-prevent ordinary users from writing the lock files in
-@file{/usr/spool/mail}, you may need to make @code{movemail} setgid to a
-suitable group such as @samp{mail}.  You can use these commands (as
-root):
-
-@example
-chgrp mail movemail
-chmod 2755 movemail
-@end example
-
-If your system uses the lock file protocol, and fascist restrictions
-prevent ordinary users from writing the lock files in
-@file{/usr/spool/mail}, you may need to make @code{movemail} setgid to a
-suitable group such as @code{mail}.  To do this, use the following
-commands (as root) after doing the make install.
-
-@example
-chgrp mail movemail
-chmod 2755 movemail
-@end example
-
-Installation normally copies movemail from the build directory to an
-installation directory which is usually under @file{/usr/local/lib}.
-The installed copy of @code{movemail} is usually in the directory
-@file{/usr/local/lib/emacs/VERSION/TARGET}.  You must change the group
-and mode of the installed copy; changing the group and mode of the build
-directory copy is ineffective.
-@end quotation
-
-@node Q4.0.10, Q4.0.11, Q4.0.9, Subsystems
-@unnumberedsubsec Q4.0.10: How do I make VM stay in a single frame?
-
-John.@email{Cooper@@Eng.Sun.COM, John S Cooper} writes:
-
-@quotation
-@lisp
-                                        ; Don't use multiple frames
-(setq vm-frame-per-composition nil)
-(setq vm-frame-per-folder nil)
-(setq vm-frame-per-edit nil)
-(setq vm-frame-per-summary nil)
-@end lisp
-@end quotation
-
-@node Q4.0.11, Q4.0.12, Q4.0.10, Subsystems
-@unnumberedsubsec Q4.0.11: How do I make VM or mh-e display graphical smilies?
-@c Changed June
-For mh-e use the following:
-
-@lisp
-(add-hook 'mh-show-mode-hook '(lambda ()
-                                (smiley-region (point-min)
-                                               (point-max))))
-@end lisp
-
-@email{bill@@carpenter.ORG, WJCarpenter} writes:
-For VM use the following:
-@lisp
-       (autoload 'smiley-region "smiley" nil t)
-       (add-hook 'vm-select-message-hook
-                 '(lambda ()
-                    (smiley-region (point-min)
-                                   (point-max))))
-@end lisp
-
-For tm use the following:
-@lisp
-(autoload 'smiley-buffer "smiley" nil t)
-(add-hook 'mime-viewer/plain-text-preview-hook 'smiley-buffer)
-@end lisp
-
-@node Q4.0.12, Q4.1.1, Q4.0.11, Subsystems
-@unnumberedsubsec Q4.0.12: Customization of VM not covered in the manual, or here.
-
-@email{boffi@@hp735.stru.polimi.it, giacomo boffi} writes:
-
-@quotation
-The meta-answer is to look into the file @file{vm-vars.el}, in the vm
-directory of the lisp library.
-
-@file{vm-vars.el} contains, initializes and carefully describes, with
-examples of usage, the plethora of user options that @emph{fully}
-control VM's behavior.
-
-Enter vm-vars, @code{forward-search} for toolbar, find the variables
-that control the toolbar placement, appearance, existence, copy to your
-@file{init.el}/@file{.emacs} or @file{.vm} and modify according to the
-detailed instructions.
-
-The above also applies to all the various features of VM: search for
-some keywords, maybe the first you conjure isn't appropriate, find the
-appropriate variables, copy and experiment.
-@end quotation
-
-@node Q4.1.1, Q4.1.2, Q4.0.12, Subsystems
-@unnumberedsec 4.1: Web browsing with W3
-@unnumberedsubsec Q4.1.1: What is W3?
-
-W3 is an advanced graphical browser written in Emacs lisp that runs on
-XEmacs.  It has full support for cascaded style sheets, and more...
-
-It has a home web page at
-@uref{http://www.cs.indiana.edu/elisp/w3/docs.html}.
-
-@node Q4.1.2, Q4.1.3, Q4.1.1, Subsystems
-@unnumberedsubsec Q4.1.2: How do I run W3 from behind a firewall?
-
-There is a long, well-written, detailed section in the W3 manual that
-describes how to do this.  Look in the section entitled "Firewalls".
-
-@node Q4.1.3, Q4.2.1, Q4.1.2, Subsystems
-@unnumberedsubsec Q4.1.3: Is it true that W3 supports style sheets and tables?
-
-Yes, and much more.  W3, as distributed with the latest XEmacs is a
-full-featured web browser.
-
-@node Q4.2.1, Q4.2.2, Q4.1.3, Subsystems
-@unnumberedsec 4.2: Reading Netnews and Mail with Gnus
-@unnumberedsubsec Q4.2.1: GNUS, (ding) Gnus, Gnus 5, September Gnus, Red Gnus, Quassia Gnus, argh!
-
-The Gnus numbering issues are not meant for mere mortals to know them.
-If you feel you @emph{must} enter the muddy waters of Gnus, visit the
-excellent FAQ, maintained by Justin Sheehy, at:
-
-@example
-@uref{http://www.ccs.neu.edu/software/contrib/gnus/}
-@end example
-
-See also Gnus home page
-@example
-@uref{http://www.gnus.org/}
-@end example
-
-@node Q4.2.2, Q4.2.3, Q4.2.1, Subsystems
-@unnumberedsubsec Q4.2.2: This question intentionally left blank.
-
-Obsolete question, left blank to avoid renumbering.
-
-@node Q4.2.3, Q4.2.4, Q4.2.2, Subsystems
-@unnumberedsubsec Q4.2.3: How do I make Gnus stay within a single frame?
-
-The toolbar code to start Gnus opens the new frame---and it's a feature
-rather than a bug.  If you don't like it, but would still like to click
-on the seemly icon, use the following code:
-
-@lisp
-(defun toolbar-news ()
-  (gnus))
-@end lisp
-
-It will redefine the callback function of the icon to just call
-@code{gnus}, without all the fancy frame stuff.
-
-@node Q4.2.4, Q4.3.1, Q4.2.3, Subsystems
-@unnumberedsubsec Q4.2.4: How do I customize the From: line?
-
-How do I change the @code{From:} line?  I have set gnus-user-from-line
-to
-@example
-Gail Gurman <gail.gurman@@sybase.com>
-@end example
-@noindent , but XEmacs Gnus doesn't use
-it. Instead it uses
-@example
-Gail Mara Gurman @email{gailg@@deall}
-@end example
-@noindent and then complains
-that it's incorrect. Also, as you perhaps can see, my Message-ID is
-screwy. How can I change that?
-
-@email{larsi@@ifi.uio.no, Lars Magne Ingebrigtsen} writes:
-
-@quotation
-Set @code{user-mail-address} to @samp{gail.gurman@@sybase.com} or
-@code{mail-host-address} to @samp{sybase.com}.
-@end quotation
-
-@node Q4.3.1, Q4.3.2, Q4.2.4, Subsystems
-@unnumberedsec 4.3: Other Mail & News
-@unnumberedsubsec Q4.3.1: How can I read and/or compose MIME messages?
-@c Changed June
-
-VM supports MIME natively.
-
-You probably want to use the Tools for MIME (tm).  @xref{Q4.3.2}, for
-details.
-
-@email{trey@@cs.berkeley.edu, Trey Jackson} has an Emacs & MIME web page at
-@iftex
-@*
-@end iftex
-@uref{http://bmrc.berkeley.edu/~trey/emacs/mime.html}.
-
-
-Another possibility is RMIME.  You may find RMIME at
-@iftex
-@*
-@end iftex
-@uref{http://www.cinti.net/~rmoody/rmime/index.html}.
-
-
-@node Q4.3.2, Q4.3.3, Q4.3.1, Subsystems
-@unnumberedsubsec Q4.3.2: What is TM and where do I get it?
-
-TM stands for @dfn{Tools for MIME} and not Tiny MIME.  TM integrates
-with all major XEmacs packages like Gnus (all flavors), VM, MH-E, and
-mailcrypt.  It provides totally transparent and trouble-free MIME
-support.  When appropriate a message will be decoded in place in an
-XEmacs buffer.
-
-TM now comes as a package with XEmacs 19.16 and XEmacs 20.2.
-
-TM was written by @email{morioka@@jaist.ac.jp, MORIOKA Tomohiko} and
-@email{shuhei-k@@jaist.ac.jp, KOBAYASHI
-Shuhei}.
-
-It is based on the work of @email{umerin@@mse.kyutech.ac.jp, UMEDA
-Masanobu}, the original writer of GNUS.
-
-The following information is from the @file{README}:
-
-@dfn{tm} is a MIME package for GNU Emacs.
-tm has following functions:
-
-@itemize @bullet
-@item MIME style multilingual header.
-@item MIME message viewer (mime/viewer-mode).
-@item MIME message composer (mime/editor-mode).
-@item MIME extenders for mh-e, GNUS, RMAIL and VM.
-@end itemize
-
-tm is available from following anonymous ftp sites:
-@itemize @bullet
-@comment @item @uref{ftp://ftp.jaist.ac.jp/pub/GNU/elisp/mime/} (Japan).
-@comment @item @uref{ftp://ftp.nis.co.jp/pub/gnu/emacs-lisp/tm/} (Japan).
-@comment @c The host above is unknown.
-@comment @item @uref{ftp://ftp.nisiq.net/pub/gnu/emacs-lisp/tm/} (US).
-@comment @item @uref{ftp://ftp.miranova.com/pub/gnus/jaist.ac.jp/} (US).
-@item @uref{ftp://ftp.unicamp.br/pub/mail/mime/tm/} (Brasil).
-@item @uref{ftp://ftp.th-darmstadt.de/pub/editors/GNU-Emacs/lisp/mime/} (Germany).
-@item @uref{ftp://ftp.tnt.uni-hannover.de/pub/editors/xemacs/contrib/} (Germany).
-@end itemize
-
-Don't let the installation procedure & instructions stop you from trying
-this package out---it's much simpler than it looks, and once installed,
-trivial to use.
-
-@email{youngs@@xemacs.org, Steve Youngs} writes:
-
-@quotation
-All the major Emacs Lisp based MUAs (Gnus, MH-E, and VM) all do their
-own thing when it comes to MIME so you won't need TM to get MIME support
-in these packages.
-@end quotation
-
-@node Q4.3.3, Q4.3.4, Q4.3.2, Subsystems
-@unnumberedsubsec Q4.3.3: Why isn't this @code{movemail} program working?
-
-Ben Wing @email{ben@@xemacs.org} writes:
-
-@quotation
-It wasn't chown'ed/chmod'd correctly.
-@end quotation
-
-@node Q4.3.4, Q4.3.5, Q4.3.3, Subsystems
-@unnumberedsubsec Q4.3.4: Movemail is also distributed by Netscape?  Can that cause problems?
-
-@email{steve@@xemacs.org, Steve Baur} writes:
-
-@quotation
-Yes.  Always use the movemail installed with your XEmacs.  Failure to do
-so can result in lost mail.
-@end quotation
-
-Please refer to @email{jwz@@jwz.org, Jamie Zawinski's} notes at
-@iftex
-@*
-@end iftex
-@uref{http://home.netscape.com/eng/mozilla/2.0/relnotes/demo/movemail.html}.
-In particular, this document will show you how to make Netscape use the
-version of movemail configured for your system by the person who built
-XEmacs.
-
-@node Q4.3.5, Q4.4.1, Q4.3.4, Subsystems
-@unnumberedsubsec Q4.3.5: Where do I find pstogif (required by tm)?
-
-pstogif is part of the latex2html package.
-
-@email{vroonhof@@math.ethz.ch, Jan Vroonhof} writes:
-
-latex2html is best found at the CTAN hosts and their mirrors
-in
-@iftex
-@*
-@end iftex
-@file{tex-archive/support/latex2html}.
-
-CTAN hosts are:
-
-@itemize @bullet
-@item @uref{ftp://ftp.tex.ac.uk/tex-archive/support/latex2html/}.
-@item @uref{ftp://ftp.dante.de/tex-archive/support/latex2html/}.
-@end itemize
-
-There is a good mirror at ftp.cdrom.com;
-@iftex
-@*
-@end iftex
-@uref{ftp://ftp.cdrom.com/pub/tex/ctan/support/latex2html/}.
-
-@node Q4.4.1, Q4.4.2, Q4.3.5, Subsystems
-@unnumberedsec 4.4: Sparcworks, EOS, and WorkShop
-@unnumberedsubsec Q4.4.1: What is SPARCworks, EOS, and WorkShop?
-
-@email{turner@@lanl.gov, John Turner} writes:
-
-@quotation
-SPARCworks is SunSoft's development environment, comprising compilers
-(C, C++, FORTRAN 77, Fortran 90, Ada, and Pascal), a debugger, and other
-tools such as TeamWare (for configuration management), MakeTool, etc.
-@end quotation
-
-See @uref{http://www.sun.com/software/Developer-products/}
-for more info.
-
-EOS stands for "Era on SPARCworks", but I don't know what Era stands
-for.
+@uref{ftp://cs.nyu.edu/pub/local/fox/dismal/}.
+
+@node Q4.7.3, Q4.8.1, Q4.7.2, External Subsystems
+@unnumberedsubsec Q4.7.3: Is there a MatLab mode?
+
+Yes, a matlab mode and other items are available at the
+@uref{ftp://ftp.mathworks.com/pub/contrib/emacs_add_ons,
+MathWorks' emacs_add_ons ftp directory}.
+
+@unnumberedsec 4.8: Environments Built Around XEmacs
+
+@node Q4.8.1, Q4.8.2, Q4.7.3, External Subsystems
+@unnumberedsubsec Q4.8.1: What are SPARCworks, EOS, and WorkShop?
+
+SPARCworks was a development environment from Sun (circa 1993-1996)
+and consisted of compilers (C, C++, FORTRAN 77, Fortran 90, Ada, and
+Pascal), a debugger, and other tools such as TeamWare (for
+configuration management), MakeTool, etc.
 
 EOS is the integration of XEmacs with the SPARCworks debugger.  It
 allows one to use an XEmacs frame to view code (complete with
 fontification, etc.), set breakpoints, print variables, etc., while
-using the SPARCworks debugger.  It works very well and I use it all the
-time.
-
-@email{cthomp@@xemacs.org, Chuck Thompson} writes:
-
-@quotation
-Era stood for "Emacs Rewritten Again".  It was what we were calling the
-modified version of Lucid Emacs for Sun when I was dragged, er, allowed
-to work on this wonderful editor.
-@end quotation
-
-@email{martin@@xemacs.org, Martin Buchholz} writes:
-
-@quotation
-EOS is being replaced with a new graphical development environment
-called Sun WorkShop, which is currently (07/96) in Alpha Test.  For more
-details, check out
-@iftex
-@*
-@end iftex
-@uref{http://www.sun.com/software/Products/Developer-products}.
-@end quotation
-
-@node Q4.4.2, Q4.5.1, Q4.4.1, Subsystems
-@unnumberedsubsec Q4.4.2: How do I start the Sun Workshop support in XEmacs 21?
+using the SPARCworks debugger.
+
+EOS stands for "Era on SPARCworks"; Era stood for "Emacs Rewritten
+Again" and was the name used by Sun for its modified version of Lucid
+Emacs (later XEmacs) in the early-mid 90's.  This is documented in
+more detail in the history section of the XEmacs About page.
+
+EOS was replaced around 1996 with a newer graphical development
+environment called Sun WorkShop.  The current status of this is
+unknown.
+
+@node Q4.8.2, Q4.8.3, Q4.8.1, External Subsystems
+@unnumberedsubsec Q4.8.2: How do I start the Sun Workshop support in XEmacs 21?
 
 Add the switch ---with-workshop to the configure command when building
 XEmacs and put the following in one of your startup files
@@ -4690,27 +5832,21 @@
      (setq running-emacs  t))
 @end format
 
-
-
-@node Q4.5.1, Q4.6.1, Q4.4.2, Subsystems
-@unnumberedsec 4.5: Energize
-@unnumberedsubsec Q4.5.1: What is/was Energize?
-
-@email{gray@@meteor.harlequin.com, David N Gray} writes:
-@quotation
-The files in @file{lisp/energize} are to enable Emacs to interface with
-the "Energize Programming System", a C and C++ development environment,
-which was a product of Lucid, Inc.  Tragically, Lucid went out of
-business in 1994, so although Energize is still a great system, if you
-don't already have it, there isn't any way to get it now.  (Unless you
-happen to be in Japan; INS Engineering may still be selling it there.
-Tartan bought the rights to sell it in the rest of the world, but never
-did so.)
-@end quotation
-
-@node Q4.6.1, Q4.7.1, Q4.5.1, Subsystems
-@unnumberedsec 4.6: Infodock
-@unnumberedsubsec Q4.6.1: What is Infodock?
+@node Q4.8.3, Q4.8.4, Q4.8.2, External Subsystems
+@unnumberedsubsec Q4.8.3: What is/was Energize?
+
+The "Energize Programming System" was a C and C++ development environment
+sold by Lucid, Inc.  It was the reason why Lucid Emacs, now XEmacs, was
+created in the first place.  Unfortunately, Lucid went out of business in
+1994.  The rights to sell it in Japan were purchased by INS
+Engineering (which briefly employed Stig Hackvan aka Jonathan
+Stigelman to work on Japanese support for XEmacs, in late 1994 and
+early 1995) and Tartan bought the rights to sell it in the rest of the
+world.  However, INS is not selling Energize at this point and may or
+may not have ever done so; Tartan certainly never did.
+
+@node Q4.8.4,  , Q4.8.3, External Subsystems
+@unnumberedsubsec Q4.8.4: What is Infodock?
 
 @uref{http://sourceforge.net/projects/infodock/, InfoDock} is an
 integrated productivity toolset, mainly aimed at technical people,
@@ -4804,184 +5940,510 @@
 list.  Always include your InfoDock version number when sending help
 requests.
 
-InfoDock is available across the Internet via anonymous FTP.  To get
-it, first move to a directory into which you want the InfoDock archive
-files placed.  We will call this <DIST-DIR>.
-
-@example
-   cd <DIST-DIR>
-@end example
-
-Ftp to ftp.xemacs.org  (Internet Host ID = 128.174.252.16):
-
-@example
-   prompt> ftp ftp.xemacs.org
-@end example
-
-Login as @samp{anonymous} with your own <user-id>@@<site-name> as a password.
-
+@node Internet, Advanced, External Subsystems, Top
+@unnumbered 5 Connecting to the Internet
+
+This is part 5 of the XEmacs Frequently Asked Questions list.  This
+section is devoted connecting to the Internet.
+
+@menu
+5.0: General Mail and News
+* Q5.0.1::    What are the various packages for reading mail?
+* Q5.0.2::    How can I send mail?
+* Q5.0.3::    How do I get my outgoing mail archived?
+* Q5.0.4::    How can I read and/or compose MIME messages?
+* Q5.0.5::    How do I customize the From line?
+* Q5.0.6::    How do I get my MUA to filter mail for me?
+* Q5.0.7::    Remote mail reading with an MUA.
+* Q5.0.8::    An MUA gets an error incorporating new mail.
+* Q5.0.9::    Why isn't @file{movemail} working?
+* Q5.0.10::   How do I make my MUA display graphical smilies?
+* Q5.0.11::   How can I get those oh-so-neat X-Face lines?
+
+5.1: Reading Mail with VM
+* Q5.1.1::    How do I set up VM to retrieve mail from a remote site using POP?
+* Q5.1.2::    How can I get VM to automatically check for new mail?
+* Q5.1.3::    I have various addresses at which I receive mail.  How can I tell VM to ignore them when doing a "reply-all"?
+* Q5.1.4::    Is there a mailing list or FAQ for VM?
+* Q5.1.5::    How do I make VM stay in a single frame?
+* Q5.1.6::    Customization of VM not covered in the manual, or here.
+
+5.2: Reading Netnews and Mail with Gnus
+* Q5.2.1::    GNUS, (ding) Gnus, Gnus 5, September Gnus, Red Gnus, Quassia Gnus, argh!
+* Q5.2.2::    How do I make Gnus stay within a single frame?
+
+5.3: FTP Access
+* Q5.3.1::    Can I edit files on other hosts?
+* Q5.3.2::    What is EFS?
+
+5.4: Web Browsing with W3
+* Q5.4.1::    What is W3?
+* Q5.4.2::    How do I run W3 from behind a firewall?
+* Q5.4.3::    Is it true that W3 supports style sheets and tables?
+@end menu
+
+@unnumberedsec 5.0: General Mail and News
+
+@node Q5.0.1, Q5.0.2, Internet, Internet
+@unnumberedsubsec Q5.0.1: What are the various packages for reading mail?
+
+#### Write me.
+
+@node Q5.0.2, Q5.0.3, Q5.0.1, Internet
+@unnumberedsubsec Q5.0.2: How can I send mail?
+
+Under Unix and Mac OS X, the @samp{sendmail} package is normally used
+for this.
+#### Write me.
+
+Under Windows, you need to use @samp{smtpmail}, which communicates
+directly with the mail server, as there is no @file{sendmail} program
+running.  To get it working, use code like the following in your
+@file{init.el} file:
+
+@lisp
+  ;; Get mail working under Windows.
+  (setq message-send-mail-function 'smtpmail-send-it) ; for message/Gnus
+  (setq send-mail-function 'smtpmail-send-it) ; for C-x m, etc.
+  ;; the following ensures that mail problems can be debugged: it logs a trace
+  ;; of the SMTP conversation to *trace of SMTP session to <somewhere>*.
+  (setq smtpmail-debug-info t)
+  ;; Substitute your info here.
+  ;(setq user-mail-address "ben@@xemacs.org")
+  ;(setq user-full-name "Ben Wing")
+  ;(setq smtpmail-default-smtp-server "smtp.myserver.myisp.com")
+  ;; The following two aren't completely necessary but may help.
+  ;(setq smtpmail-local-domain "666.com")
+  ;(setq smtpmail-sendto-domain "666.com")
+  ;; If your SMTP server requires a username/password to authenticate, as
+  ;; many do nowadays, set them like this:
+  ;(setq smtpmail-auth-credentials  ; or use ~/.authinfo
+  ;	'(("smtp.myserver.myisp.com" 25 "USER@@SOMEWHERE" "PASSWORD")))
+
+  ;; Other possibilities for getting smtpmail to work:
+  ;;
+  ;;  If for some reason you need to authenticate using the STARTTLS protocol
+  ;;   (don't look into this unless you know what it is), use
+  ;;  (setq smtpmail-starttls-credentials
+  ;;      '(("YOUR SMTP HOST" 25 "~/.my_smtp_tls.key" "~/.my_smtp_tls.cert")))
+  ;;  Requires external program
+  ;;    ftp://ftp.opaopa.org/pub/elisp/starttls-*.tar.gz.
+  ;;  See http://www.ietf.org/rfc/rfc2246.txt,
+  ;;      http://www.ietf.org/rfc/rfc2487.txt
+@end lisp
+
+The lines you need to care about are those that set
+@code{user-mail-address}, @code{user-full-name},
+@code{smtpmail-default-smtp-server}, and
+@code{smtpmail-auth-credentials}.  You need to set these with,
+respectively, your email address, your full name, the SMTP server you
+use for outgoing mail, and the username and password you need to log
+in to your SMTP server. (If for some reason your SMTP server doesn't
+require logging in to send mail, don't uncomment this last line.)
+
+The other settings may be useful in specific cases, but you should know what
+you're doing before enabling them.
+
+@node Q5.0.3, Q5.0.4, Q5.0.2, Internet
+@unnumberedsubsec Q5.0.3: How do I get my outgoing mail archived?
+
+@lisp
+(setq mail-archive-file-name "~/outbox")
+@end lisp
+
+@node Q5.0.4, Q5.0.5, Q5.0.3, Internet
+@unnumberedsubsec Q5.0.4: How can I read and/or compose MIME messages?
+
+VM, MH-E and GNUS support MIME natively.  Other MUAs may or may not
+have MIME support; refer to their documentation and other resources,
+such as web pages and mailing lists.  Packages like SEMI/WEMI may be
+useful in connection with MUAs like mew and Wanderlust.
+
+@node Q5.0.5, Q5.0.6, Q5.0.4, Internet
+@unnumberedsubsec Q5.0.5: How do I customize the From line?
+
+How do I change the @samp{From:} line?  I have set gnus-user-from-line
+to
 @example
-   Name (ftp.xemacs.org): anonymous
-   331 Guest login ok, send your complete e-mail address as password.
-   Password: -<your-user-id>@@<your-domain>
-   230 Guest login ok, access restrictions apply.
-@end example
-
-Move to the location of the InfoDock archives:
-
-@example
-   ftp> cd pub/infodock
-@end example
-
-Set your transfer mode to binary:
-
-@example
-   ftp> bin
-   200 Type set to I.
-@end example
-
-Turn off prompting:
-
-@example
-   ftp> prompt
-   Interactive mode off.
+Gail Gurman <gail.gurman@@sybase.com>
 @end example
-
-Retrieve the InfoDock archives that you want, either by using a
-@samp{get <file>} for each file you want or by using the following to
-get a complete distribution, including all binaries:
-
+@noindent , but XEmacs Gnus doesn't use
+it. [This should apply to all MUA's. --ed] Instead it uses
 @example
-   ftp> mget ID-INSTALL
-   ftp> mget id-*
-@end example
-
-Close the FTP connection:
-
-@example
-   ftp> quit
-   221 Goodbye.
+Gail Mara Gurman @email{gailg@@deall}
 @end example
-
-Read the @file{ID-INSTALL} file which you just retrieved for
-step-by-step installation instructions.
-
-@node Q4.7.1, Q4.7.2, Q4.6.1, Subsystems
-@unnumberedsec 4.7: Other Unbundled Packages
-@unnumberedsubsec Q4.7.1: What is AUC TeX?  Where do you get it?
-
-AUC TeX is a package written by @email{abraham@@dina.kvl.dk, Per Abrahamsen}.
-Starting with XEmacs 19.16, AUC TeX is bundled with XEmacs.  The
-following information is from the @file{README} and website.
-
-AUC TeX is an extensible package that supports writing and formatting
-TeX files for most variants of GNU Emacs. Many different macro packages
-are supported, including AMS TeX, LaTeX, and TeXinfo.
-
-The most recent version is always available by ftp at
-@iftex
-@*
-@end iftex
-@uref{ftp://sunsite.dk/packages/auctex/auctex.tar.gz}.
-
-In case you don't have access to anonymous ftp, you can get it by an
-email request to @email{ftpmail@@decwrl.dec.com}.
-
-WWW users may want to check out the AUC TeX page at
+@noindent and then complains
+that it's incorrect. Also, as you perhaps can see, my Message-ID is
+screwy. How can I change that?
+
+@email{larsi@@ifi.uio.no, Lars Magne Ingebrigtsen} writes:
+
+@quotation
+Set @code{user-mail-address} to @samp{gail.gurman@@sybase.com} or
+@code{mail-host-address} to @samp{sybase.com}.
+@end quotation
+
+@node Q5.0.6, Q5.0.7, Q5.0.5, Internet
+@unnumberedsubsec Q5.0.6: How do I get my MUA to filter mail for me?
+
+One possibility is to use procmail to split your mail before it gets to
+the MUA.  I prefer this personally, since there are many strange and
+wonderful things one can do with procmail.  Procmail may be found at
+@uref{ftp://ftp.informatik.rwth-aachen.de/pub/packages/procmail/}.
+
+Also see the Mail Filtering FAQ at:
 @iftex
 @*
 @end iftex
-@uref{http://sunsite.dk/auctex/}.
-
-@node Q4.7.2, Q4.7.3, Q4.7.1, Subsystems
-@unnumberedsubsec Q4.7.2: Are there any Emacs Lisp Spreadsheets?
-
-Yes.  Check out @dfn{dismal} (which stands for Dis' Mode Ain't Lotus) at
-@iftex
-@*
-@end iftex
-@uref{ftp://cs.nyu.edu/pub/local/fox/dismal/}.
-
-@node Q4.7.3, Q4.7.4, Q4.7.2, Subsystems
-@unnumberedsubsec Q4.7.3: [This question intentionally left blank]
-
-@node Q4.7.4, Q4.7.5, Q4.7.3, Subsystems
-@unnumberedsubsec Q4.7.4: Problems installing AUC TeX.
-
-@email{vroonhof@@math.ethz.ch, Jan Vroonhof} writes:
+@uref{ftp://rtfm.mit.edu/pub/usenet/news.answers/mail/filtering-faq}.
+@c Link above,
+@c <URL:http://www.cis.ohio-state.edu/hypertext/faq/usenet/mail/filtering-faq/faq.html>
+@c was dead.
+
+@node Q5.0.7, Q5.0.8, Q5.0.6, Internet
+@unnumberedsubsec Q5.0.7: Remote mail reading with an MUA.
+
+My mailbox lives at the office on a big honkin server.  My regular INBOX
+lives on my honkin desktop machine.  I now can PPP to the office from
+home which is far from honking...  I'd like to be able to read mail at
+home without storing it here and I'd like to use xemacs and the MUA at
+home...  Is there a recommended setup?
+
+@email{nuspl@@nvwls.cc.purdue.edu, Joseph J. Nuspl Jr.} writes:
+
+@quotation
+There are several ways to do this.
+
+@enumerate
+@item
+Set your display to your home machine and run dxpc or one of the other X
+compressors.
+
+@item
+NFS mount your desktop machine on your home machine and modify your pop
+command on your home machine to rsh to your desktop machine and actually
+do the pop get's.
+
+@item
+Run a POP server on your desktop machine as well and do a sort of two
+tiered POP get.
+@end enumerate
+@end quotation
+
+@email{wmperry@@monolith.spry.com, William Perry} adds:
 
 @quotation
-AUC TeX works fine on both stock Emacs and XEmacs has been doing so for
-a very very long time. This is mostly due to the work of
-@email{abraham@@dina.kvl.dk, Per Abrahamsen} (clap clap) in particular his @file{easymenu}
-package.  Which leads to what is probably the problem...
+Or you could run a pop script periodically on your desktop machine, and
+just use ange-ftp or NFS to get to your mailbox.  I used to do this all
+the time back at IU.
 @end quotation
 
-Most problems with AUC TeX are one of two things:
-
-@itemize @bullet
-@item
-The TeX-lisp-directory in @file{tex-site.el} and the makefile don't
-match.
-
-Fix: make sure you configure AUC TeX properly @strong{before} installing.
-
-@item
-You have an old version of easymenu.el in your path.
-
-Fix: use @code{locate-library} and remove old versions to make sure it
-@strong{only} finds the one that came with XEmacs.
-@end itemize
-
-
-@node Q4.7.5, Q4.7.6, Q4.7.4, Subsystems
-@unnumberedsubsec Q4.7.5: Is there a reason for an Emacs package not to be included in XEmacs?
-
-The reason for an Emacs package not to be included in XEmacs is
-usually one or more of the following:
+@node Q5.0.8, Q5.0.9, Q5.0.7, Internet
+@unnumberedsubsec Q5.0.8: An MUA gets an error incorporating new mail.
+
+rmail and VM, and probably other MUA's as well, get new mail from
+your mailbox (called @file{/var/mail/$USER} or @file{/var/spool/mail/$USER}
+or something similar) using a program called @code{movemail}.
+This program interlocks with @code{/bin/mail} using the protocol
+defined by @code{/bin/mail}.
+
+There are various different protocols in general use, which you need to
+specify using the @samp{--mail-locking} option to @file{configure}:
+
+@table @samp
+@item lockf
+POSIX file locking with @code{lockf()}
+@item flock
+BSD file locking with @code{flock()}
+@item dot
+To manipulate mail file @file{foo}, first create file @file{foo.lock}
+@item locking
+Use @code{locking()}, Microsoft's renamed @code{flock()}
+@item mmdf
+Use @code{lk_open()} and @code{lk_close()} as defined by the Multi-channel
+Memo Distribution Facility
+@item pop
+Retrieve mail using POP (the Post Office Protocol).  This is the
+default for Cygwin/MinGW.
+@end table
+
+@strong{IF YOU DON'T USE THE FORM OF INTERLOCKING THAT IS NORMAL ON YOUR
+SYSTEM, YOU CAN LOSE MAIL!}
+
+Usually the value is correctly determined automatically:
+@file{configure} tries to detect the method in use, and defaults exist
+on systems for which this doesn't work.
+
+However, if you run into problems incorporating new mail, it may be
+because an incorrect method is being used.
+
+If your system uses the lock file protocol, and permissions are set
+so that ordinary users cannot write lock files in the mail spool
+directory, you may need to make @file{movemail} setgid to a
+suitable group such as @samp{mail}.  You can use these commands (as
+root):
+
+@example
+chgrp mail movemail
+chmod 2755 movemail
+@end example
+
+If you are using the @samp{pop} locking method, @file{movemail} must
+be setuid root.
+
+Installation normally copies movemail from the build directory to an
+installation directory which is usually under @file{/usr/local/lib}.
+The installed copy of @file{movemail} is usually in the directory
+@file{/usr/local/lib/xemacs-VERSION/TARGET} (for example,
+@file{/usr/local/lib/xemacs-21.4.15/i686-pc-cygwin}).  You must change
+the group and mode of the installed copy; changing the group and mode
+of the build directory copy is ineffective.
+
+@node Q5.0.9, Q5.0.10, Q5.0.8, Internet
+@unnumberedsubsec Q5.0.9: Why isn't @file{movemail} working?
+
+@xref{Q5.0.8}.
+
+Note also that older versions of Mozilla came with a @file{movemail}
+program that is @strong{not} compatible with XEmacs.  Do not use it.
+Always use the @file{movemail} installed with your XEmacs.  Failure to
+do so can result in lost mail.
+
+@node Q5.0.10, Q5.0.11, Q5.0.9, Internet
+@unnumberedsubsec Q5.0.10: How do I make my MUA display graphical smilies?
+For mh-e use the following:
+
+@lisp
+(add-hook 'mh-show-mode-hook '(lambda ()
+                                (smiley-region (point-min)
+                                               (point-max))))
+@end lisp
+
+@email{bill@@carpenter.ORG, WJCarpenter} writes:
+For VM use the following:
+@lisp
+       (autoload 'smiley-region "smiley" nil t)
+       (add-hook 'vm-select-message-hook
+                 '(lambda ()
+                    (smiley-region (point-min)
+                                   (point-max))))
+@end lisp
+
+For tm use the following:
+@lisp
+(autoload 'smiley-buffer "smiley" nil t)
+(add-hook 'mime-viewer/plain-text-preview-hook 'smiley-buffer)
+@end lisp
+
+@node Q5.0.11, Q5.1.1, Q5.0.10, Internet
+@unnumberedsubsec Q5.0.11: How can I get those oh-so-neat X-Face lines?
+
+Firstly there is an ftp site which describes X-faces and has the
+associated tools mentioned below, at
+@uref{ftp://ftp.cs.indiana.edu:/pub/faces/}.
+
+Then the steps are
 
 @enumerate
 @item
-The package has not been ported to XEmacs.  This will typically happen
-when it uses GNU-Emacs-specific features, which make it fail under
-XEmacs.
-
-Porting a package to XEmacs can range from a trivial amount of change to
-a partial or full rewrite.  Fortunately, the authors of modern packages
-usually choose to support both Emacsen themselves.
-
-@item
-The package has been decided not to be appropriate for XEmacs.  It may
-have an equivalent or better replacement within XEmacs, in which case
-the developers may choose not to burden themselves with supporting an
-additional package.
-
-Each package bundled with XEmacs means more work for the maintainers,
-whether they want it or not.  If you are ready to take over the
-maintenance responsibilities for the package you port, be sure to say
-so---we will more likely include it.
-
-@item
-The package simply hasn't been noted by the XEmacs development.  If
-that's the case, the messages like yours are very useful for attracting
-our attention.
-
-@item
-The package was noted by the developers, but they simply haven't yet
-gotten around to including/porting it.  Wait for the next release or,
-even better, offer your help.  It will be gladly accepted and
-appreciated.
+Create 48x48x1 bitmap with your favorite tool
+
+@item
+Convert to "icon" format using one of xbm2ikon, pbmtoicon, etc.,
+and then compile the face.
+
+@item
+@example
+cat file.xbm | xbm2ikon |compface > file.face
+@end example
+
+@item
+Then be sure to quote things that are necessary for emacs strings:
+
+@example
+cat ./file.face | sed 's/\\/\\\\/g'
+@iftex
+\ @*
+@end iftex
+| sed 's/\"/\\\"/g' > ./file.face.quoted
+@end example
+
+@item
+Then set up emacs to include the file as a mail header - there were a
+couple of suggestions here---either something like:
+
+@lisp
+(setq  mail-default-headers
+       "X-Face:  @email{Ugly looking text string here}")
+@end lisp
+
+Or, alternatively, as:
+
+@lisp
+(defun mail-insert-x-face ()
+  (save-excursion
+    (goto-char (point-min))
+    (search-forward mail-header-separator)
+    (beginning-of-line)
+    (insert "X-Face:")
+    (insert-file-contents "~/.face")))
+
+(add-hook 'mail-setup-hook 'mail-insert-x-face)
+@end lisp
 @end enumerate
 
-@node Q4.7.6,  Q4.7.7, Q4.7.5, Subsystems
-@unnumberedsubsec Q4.7.5: Is there a MatLab mode?
-
-Yes, a matlab mode and other items are available at the
-@uref{ftp://ftp.mathworks.com/pub/contrib/emacs_add_ons,
-MathWorks' emacs_add_ons ftp directory}.
-
-@node Q4.7.7,  , Q4.7.6, Subsystems
-@unnumberedsubsec Q4.7.7: Can I edit files on other hosts?
+However, 2 things might be wrong:
+
+Some versions of pbmtoicon produces some header lines that is not
+expected by the version of compface that I grabbed. So I found I had to
+include a @code{tail +3} in the pipeline like this:
+
+@example
+cat file.xbm | xbm2ikon | tail +3 |compface > file.face
+@end example
+
+Some people have also found that if one uses the @code{(insert-file)}
+method, one should NOT quote the face string using the sed script .
+
+It might also be helpful to use @email{stig@@hackvan.com, Stig's} script
+(included in the compface distribution at XEmacs.org) to do the
+conversion.
+@comment For convenience xbm2xface is available for anonymous FTP at
+@comment @uref{ftp://ftp.miranova.com/pub/xemacs/xbm2xface.pl}.
+
+Contributors for this item:
+
+Paul Emsley,
+Ricardo Marek,
+Amir J. Katz,
+Glen McCort,
+Heinz Uphoff,
+Peter Arius,
+Paul Harrison, and
+Vegard Vesterheim
+
+@unnumberedsec 5.1: Reading Mail with VM
+
+@node Q5.1.1, Q5.1.2, Q5.0.11, Internet
+@unnumberedsubsec Q5.1.1: How do I set up VM to retrieve mail from a remote site using POP?
+
+Use @code{vm-spool-files}, like this for example:
+
+@lisp
+(setq vm-spool-files '("/var/spool/mail/wing"
+                       "netcom23.netcom.com:110:pass:wing:MYPASS"))
+@end lisp
+
+Of course substitute your actual password for MYPASS.
+
+@node Q5.1.2, Q5.1.3, Q5.1.1, Internet
+@unnumberedsubsec Q5.1.2: How can I get VM to automatically check for new mail?
+
+@email{turner@@lanl.gov, John Turner} writes:
+
+@quotation
+Use the following:
+
+@lisp
+(setq vm-auto-get-new-mail 60)
+@end lisp
+@end quotation
+
+@node Q5.1.3, Q5.1.4, Q5.1.2, Internet
+@unnumberedsubsec Q5.1.3: I have various addresses at which I receive mail.  How can I tell VM to ignore them when doing a "reply-all"?
+
+Set @code{vm-reply-ignored-addresses} to a list, like
+
+@lisp
+(setq vm-reply-ignored-addresses
+      '("wing@@nuspl@@nvwls.cc.purdue.edu,netcom[0-9]*.netcom.com"
+        "wing@@netcom.com" "wing@@xemacs.org"))
+@end lisp
+
+Note that each string is a regular expression.
+
+@node Q5.1.4, Q5.1.5, Q5.1.3, Internet
+@unnumberedsubsec Q5.1.4: Is there a mailing list or FAQ for VM?
+
+A FAQ for VM exists at @uref{http://www.wonderworks.com/vm/FAQ.html}.
+
+VM has its own newsgroups gnu.emacs.vm.info and gnu.emacs.vm.bug.
+
+@node Q5.1.5, Q5.1.6, Q5.1.4, Internet
+@unnumberedsubsec Q5.1.5: How do I make VM stay in a single frame?
+
+John.@email{Cooper@@Eng.Sun.COM, John S Cooper} writes:
+
+@quotation
+@lisp
+                                        ; Don't use multiple frames
+(setq vm-frame-per-composition nil)
+(setq vm-frame-per-folder nil)
+(setq vm-frame-per-edit nil)
+(setq vm-frame-per-summary nil)
+@end lisp
+@end quotation
+
+@node Q5.1.6, Q5.2.1, Q5.1.5, Internet
+@unnumberedsubsec Q5.1.6: Customization of VM not covered in the manual, or here.
+
+@email{boffi@@hp735.stru.polimi.it, giacomo boffi} writes:
+
+@quotation
+The meta-answer is to look into the file @file{vm-vars.el}, in the vm
+directory of the lisp library.
+
+@file{vm-vars.el} contains, initializes and carefully describes, with
+examples of usage, the plethora of user options that @emph{fully}
+control VM's behavior.
+
+Enter vm-vars, @code{forward-search} for toolbar, find the variables
+that control the toolbar placement, appearance, existence, copy to your
+@file{init.el} or @file{.vm} and modify according to the
+detailed instructions.
+
+The above also applies to all the various features of VM: search for
+some keywords, maybe the first you conjure isn't appropriate, find the
+appropriate variables, copy and experiment.
+@end quotation
+
+@unnumberedsec 5.2: Reading Netnews and Mail with Gnus
+
+@node Q5.2.1, Q5.2.2, Q5.1.6, Internet
+@unnumberedsubsec Q5.2.1: GNUS, (ding) Gnus, Gnus 5, September Gnus, Red Gnus, Quassia Gnus, argh!
+
+The Gnus numbering issues are not meant for mere mortals to know them.
+If you feel you @emph{must} enter the muddy waters of Gnus, visit the
+excellent FAQ, maintained by Justin Sheehy, at:
+
+@example
+@uref{http://www.ccs.neu.edu/software/contrib/gnus/}
+@end example
+
+See also Gnus home page
+@example
+@uref{http://www.gnus.org/}
+@end example
+
+@node Q5.2.2, Q5.3.1, Q5.2.1, Internet
+@unnumberedsubsec Q5.2.2: How do I make Gnus stay within a single frame?
+
+The toolbar code to start Gnus opens the new frame---and it's a feature
+rather than a bug.  If you don't like it, but would still like to click
+on the seemly icon, use the following code:
+
+@lisp
+(defun toolbar-news ()
+  (gnus))
+@end lisp
+
+It will redefine the callback function of the icon to just call
+@code{gnus}, without all the fancy frame stuff.
+
+@unnumberedsec 5.3: FTP Access
+
+@node Q5.3.1, Q5.3.2, Q5.2.2, Internet
+@unnumberedsubsec Q5.3.1: Can I edit files on other hosts?
 
 Yes.  Of course XEmacs can use any network file system (such as NFS or
 Windows file sharing) you have available, and includes some
@@ -4996,440 +6458,235 @@
 ssh/rsh interface is provided by the optional @samp{tramp} package
 @ref{Top, TRAMP, , tramp}.
 
-@node Miscellaneous, MS Windows, Subsystems, Top
-@unnumbered 5 The Miscellaneous Stuff
-
-This is part 5 of the XEmacs Frequently Asked Questions list.  This
-section is devoted to anything that doesn't fit neatly into the other
-sections.
+@node Q5.3.2, Q5.4.1, Q5.3.1, Internet
+@unnumberedsubsec Q5.3.2: What is EFS?
+
+#### Write me.
+
+@unnumberedsec 5.4: Web Browsing with W3
+
+@node Q5.4.1, Q5.4.2, Q5.3.2, Internet
+@unnumberedsubsec Q5.4.1: What is W3?
+
+W3 is an advanced graphical browser written in Emacs lisp that runs on
+XEmacs.  It has full support for cascaded style sheets, and more...
+
+It has a home web page at
+@uref{http://www.cs.indiana.edu/elisp/w3/docs.html}.
+
+@node Q5.4.2, Q5.4.3, Q5.4.1, Internet
+@unnumberedsubsec Q5.4.2: How do I run W3 from behind a firewall?
+
+There is a long, well-written, detailed section in the W3 manual that
+describes how to do this.  Look in the section entitled "Firewalls".
+
+@node Q5.4.3,  , Q5.4.2, Internet
+@unnumberedsubsec Q5.4.3: Is it true that W3 supports style sheets and tables?
+
+Yes, and much more.  W3, as distributed with the latest XEmacs is a
+full-featured web browser.
+
+@node Advanced, Current Events, Internet, Top
+@unnumbered 6 Advanced Customization Using XEmacs Lisp
+
+This is part 6 of the XEmacs Frequently Asked Questions list.  This
+section is devoted to advanced customization using XEmacs Lisp.
 
 @menu
-Major & Minor Modes:
-* Q5.0.1::      How can I do source code highlighting using font-lock?
-* Q5.0.2::      I do not like cc-mode.  How do I use the old c-mode?
-* Q5.0.3::      How do I get @samp{More} Syntax Highlighting on by default?
-* Q5.0.4::      How can I enable auto-indent and/or Filladapt?
-* Q5.0.5::      How can I get XEmacs to come up in text/auto-fill mode by default?
-* Q5.0.6::      How do I start up a second shell buffer?
-* Q5.0.7::      Telnet from shell filters too much.
-* Q5.0.8::      Why does edt emulation not work?
-* Q5.0.9::      How can I emulate VI and use it as my default mode?
-* Q5.0.10::     [This question intentionally left blank]
-* Q5.0.11::     [This question intentionally left blank]
-* Q5.0.12::     How do I disable gnuserv from opening a new frame?
-* Q5.0.13::     How do I start gnuserv so that each subsequent XEmacs is a client?
-* Q5.0.14::     Strange things are happening in Shell Mode.
-* Q5.0.15::     Where do I get the latest CC Mode?
-* Q5.0.16::     I find auto-show-mode disconcerting.  How do I turn it off?
-* Q5.0.17::     How can I get two instances of info?
-* Q5.0.18::     [This question intentionally left blank]
-* Q5.0.19::     Is there something better than LaTeX mode?
-* Q5.0.20::     Is there a way to start a new XEmacs if there's no gnuserv running, and otherwise use gnuclient?
-
-Emacs Lisp Programming Techniques:
-* Q5.1.1::      The difference in key sequences between XEmacs and GNU Emacs?
-* Q5.1.2::      Can I generate "fake" keyboard events?
-* Q5.1.3::      Could you explain @code{read-kbd-macro} in more detail?
-* Q5.1.4::      What is the performance hit of @code{let}?
-* Q5.1.5::      What is the recommended use of @code{setq}?
-* Q5.1.6::      What is the typical misuse of @code{setq}?
-* Q5.1.7::      I like the @code{do} form of cl, does it slow things down?
-* Q5.1.8::      I like recursion, does it slow things down?
-* Q5.1.9::      How do I put a glyph as annotation in a buffer?
-* Q5.1.10::     @code{map-extents} won't traverse all of my extents!
-* Q5.1.11::     My elisp program is horribly slow.  Is there an easy way to find out where it spends time?
-
-Sound:
-* Q5.2.1::      How do I turn off the sound?
-* Q5.2.2::      How do I get funky sounds instead of a boring beep?
-* Q5.2.3::      What's NAS, how do I get it?
-* Q5.2.4::      Sunsite sounds don't play.
-
-Miscellaneous:
-* Q5.3.1::      How do you make XEmacs indent CL if-clauses correctly?
-* Q5.3.2::      [This question intentionally left blank]
-* Q5.3.3::      How can I print WYSIWYG a font-locked buffer?
-* Q5.3.4::      Getting @kbd{M-x lpr} to work with postscript printer.
-* Q5.3.5::      How do I specify the paths that XEmacs uses for finding files?
-* Q5.3.6::      [This question intentionally left blank]
-* Q5.3.7::      Can I have the end of the buffer delimited in some way?
-* Q5.3.8::      How do I insert today's date into a buffer?
-* Q5.3.9::      Are only certain syntactic character classes available for abbrevs?
-* Q5.3.10::     How can I get those oh-so-neat X-Face lines?
-* Q5.3.11::     How do I add new Info directories?
-* Q5.3.12::     What do I need to change to make printing work?
-
-Mathematics:
-* Q5.4.1::      What are bignums, ratios, and bigfloats in Lisp?
-* Q5.4.2::      XEmacs segfaults when I use very big numbers!
-* Q5.4.3::      Bignums are really slow!
-* Q5.4.4::      Equal bignums don't compare as equal!  What's going on?
+6.0: Online Help
+* Q6.0.1::    How can I get two instances of info?
+* Q6.0.2::    How do I add new Info directories?
+
+6.1: Emacs Lisp and @file{init.el}
+* Q6.1.1::    What version of Emacs am I running?
+* Q6.1.2::    How can I evaluate Emacs-Lisp expressions?
+* Q6.1.3::    @code{(setq tab-width 6)} behaves oddly.
+* Q6.1.4::    How can I add directories to the @code{load-path}?
+* Q6.1.5::    How to check if a lisp function is defined?
+* Q6.1.6::    Can I force the output of @code{(face-list)} to a buffer?
+
+6.2: Emacs Lisp Programming Techniques
+* Q6.2.1::    What is the difference in key sequences between XEmacs and GNU Emacs?
+* Q6.2.2::    Can I generate "fake" keyboard events?
+* Q6.2.3::    Could you explain @code{read-kbd-macro} in more detail?
+* Q6.2.4::    What is the performance hit of @code{let}?
+* Q6.2.5::    What is the recommended use of @code{setq}?
+* Q6.2.6::    What is the typical misuse of @code{setq}?
+* Q6.2.7::    I like the @code{do} form of cl, does it slow things down?
+* Q6.2.8::    I like recursion, does it slow things down?
+* Q6.2.9::    How do I put a glyph as annotation in a buffer?
+* Q6.2.10::   @code{map-extents} won't traverse all of my extents!
+* Q6.2.11::   My elisp program is horribly slow.  Is there
+
+6.3: Mathematics
+* Q6.3.1::    What are bignums, ratios, and bigfloats in Lisp?
+* Q6.3.2::    XEmacs segfaults when I use very big numbers!
+* Q6.3.3::    Bignums are really slow!
+* Q6.3.4::    Equal bignums don't compare as equal!  What gives?
 @end menu
 
-@node Q5.0.1, Q5.0.2, Miscellaneous, Miscellaneous
-@unnumberedsec 5.0: Major & Minor Modes
-@unnumberedsubsec Q5.0.1: How can I do source code highlighting using font-lock?
-
-For most modes, font-lock is already set up and just needs to be turned
-on.  This can be done by adding the line:
-
-@lisp
-(require 'font-lock)
-@end lisp
-
-to your @file{init.el}/@file{.emacs}. (You can turn it on for the
-current buffer and session only by @kbd{M-x font-lock-mode}.) See the
-file @file{etc/sample.init.el} (@file{etc/sample.emacs} in XEmacs
-versions prior to 21.4) for more information.
-
-@c the old way:
-@c     (add-hook 'emacs-lisp-mode-hook 'turn-on-font-lock)
-@c     (add-hook 'dired-mode-hook      'turn-on-font-lock)
-
-See also @code{Syntax Highlighting} from the @code{Options} menu.
-Remember to save options.
-
-@node Q5.0.2, Q5.0.3, Q5.0.1, Miscellaneous
-@unnumberedsubsec Q5.0.2: I do not like cc-mode.  How do I use the old c-mode?
-
-Well, first off, consider if you really want to do this.  cc-mode is
-much more powerful than the old c-mode.  If you're having trouble
-getting your old offsets to work, try using @code{c-set-offset} instead.
-You might also consider using the package @code{cc-compat}.
-
-But, if you still insist, add the following lines to your @file{init.el}/@file{.emacs}:
-
-@lisp
-(fmakunbound 'c-mode)
-(makunbound 'c-mode-map)
-(fmakunbound 'c++-mode)
-(makunbound 'c++-mode-map)
-(makunbound 'c-style-alist)
-(load-library "old-c-mode")
-(load-library "old-c++-mode")
-@end lisp
-
-This must be done before any other reference is made to either c-mode or
-c++-mode.
-
-@node Q5.0.3, Q5.0.4, Q5.0.2, Miscellaneous
-@unnumberedsubsec Q5.0.3: How do I get @samp{More} Syntax Highlighting on by default?
-
-Use the following code in your @file{init.el}/@file{.emacs}:
-
-@lisp
-(setq-default font-lock-maximum-decoration t)
-@end lisp
-
-@c In versions of XEmacs prior to 19.14, you had to use a kludgy solution
-@c like this:
-@c
-@c @lisp
-@c (setq c-font-lock-keywords c-font-lock-keywords-2
-@c       c++-font-lock-keywords c++-font-lock-keywords-2
-@c       lisp-font-lock-keywords lisp-font-lock-keywords-2)
-@c @end lisp
-@c
-@c It will work for C, C++ and Lisp.
-@c
-See also @code{Syntax Highlighting} from the @code{Options} menu.
-Remember to save options.
-
-@node Q5.0.4, Q5.0.5, Q5.0.3, Miscellaneous
-@unnumberedsubsec Q5.0.4: How can I enable auto-indent and/or Filladapt?
-
-Put the following line in your @file{init.el}/@file{.emacs}:
-
-@lisp
-(setq indent-line-function 'indent-relative-maybe)
-@end lisp
-
-If you want to get fancy, try the @code{filladapt} package available
-standard with XEmacs.  Put this into your @file{init.el}/@file{.emacs}:
-
-@lisp
-(require 'filladapt)
-(setq-default filladapt-mode t)
-(add-hook 'c-mode-hook 'turn-off-filladapt-mode)
-@end lisp
-
-This will enable Filladapt for all modes except C mode, where it doesn't
-work well.  To turn Filladapt on only in particular major modes, remove
-the @code{(setq-default ...)} line and use
-@code{turn-on-filladapt-mode}, like this:
-
-@lisp
-(add-hook 'text-mode-hook 'turn-on-filladapt-mode)
-@end lisp
-
-You can customize filling and adaptive filling with Customize.
-Select from the @code{Options} menu
-@code{Advanced (Customize)->Emacs->Editing->Fill->Fill...}
-or type @kbd{M-x customize @key{RET} fill @key{RET}}.
-
-Note that well-behaving text-lookalike modes will run
-@code{text-mode-hook} by default (e.g. that's what Message does).  For
-the nasty ones, you'll have to provide the @code{add-hook}s yourself.
-
-Please note that the @code{fa-extras} package is no longer useful.
-
-@node Q5.0.5, Q5.0.6, Q5.0.4, Miscellaneous
-@unnumberedsubsec Q5.0.5: How can I get XEmacs to come up in text/auto-fill mode by default?
-
-Try the following lisp in your @file{init.el}/@file{.emacs}:
-
-@lisp
-(setq default-major-mode 'text-mode)
-(setq text-mode-hook 'turn-on-auto-fill)
-@end lisp
-
-@strong{WARNING}: note that changing the value of
-@code{default-major-mode} from @code{fundamental-mode} can break a large
-amount of built-in code that expects newly created buffers to be in
-@code{fundamental-mode}.  (Changing from @code{fundamental-mode} to
-@code{text-mode} might not wreak too much havoc, but changing to
-something more exotic like a lisp-mode would break many Emacs packages).
-
-Note that Emacs by default starts up in buffer @code{*scratch*} in
-@code{initial-major-mode}, which defaults to
-@code{lisp-interaction-mode}. Thus adding the following form to your
-Emacs init file will cause the initial @code{*scratch*} buffer to be put
-into auto-fill'ed @code{text-mode}:
-
-@lisp
-(setq initial-major-mode
-      (lambda ()
-        (text-mode)
-        (turn-on-auto-fill)))
-@end lisp
-
-Note that after your init file is loaded, if
-@code{inhibit-startup-message} is @code{nil} (the default) and the
-startup buffer is @code{*scratch*} then the startup message will be
-inserted into @code{*scratch*}; it will be removed after a timeout by
-erasing the entire @code{*scratch*} buffer.  Keep in mind this default
-usage of @code{*scratch*} if you desire any prior manipulation of
-@code{*scratch*} from within your Emacs init file. In particular,
-anything you insert into @code{*scratch*} from your init file will be
-later erased. Also, if you change the mode of the @code{*scratch*}
-buffer, be sure that this will not interfere with possible later
-insertion of the startup message (e.g. if you put @code{*scratch*} into
-a nonstandard mode that has automatic font lock rules, then the startup
-message might get fontified in a strange foreign manner, e.g. as code in
-some programming language).
-
-@node Q5.0.6, Q5.0.7, Q5.0.5, Miscellaneous
-@unnumberedsubsec Q5.0.6: How do I start up a second shell buffer?
-
-In the @code{*shell*} buffer:
-
-@lisp
-M-x rename-buffer @key{RET} *shell-1* @key{RET}
-M-x shell RET
-@end lisp
-
-This will then start a second shell.  The key is that no buffer named
-@samp{*shell*} can exist.  It might be preferable to use @kbd{M-x
-rename-uniquely} to rename the @code{*shell*} buffer instead of @kbd{M-x
-rename-buffer}.
-
-Alternately, you can set the variable @code{shell-multiple-shells}.
-If the value of this variable is non-nil, each time shell mode is invoked,
-a new shell is made
-
-@node Q5.0.7, Q5.0.8, Q5.0.6, Miscellaneous
-@unnumberedsubsec Q5.0.7: Telnet from shell filters too much
-
-I'm using the Emacs @kbd{M-x shell} function, and I would like to invoke
-and use a telnet session within it.  Everything works fine except that
-now all @samp{^M}'s are filtered out by Emacs.  Fixes?
-
-Use @kbd{M-x rsh} or @kbd{M-x telnet} to open remote sessions rather
-than doing rsh or telnet within the local shell buffer.  Starting with
-XEmacs-20.3 you can also use @kbd{M-x ssh} to open secure remote session
-if you have @code{ssh} installed.
-
-@node Q5.0.8, Q5.0.9, Q5.0.7, Miscellaneous
-@unnumberedsubsec Q5.0.8: Why does edt emulation not work?
-
-We don't know, but you can use tpu-edt emulation instead, which works
-fine and is a little fancier than the standard edt emulation.  To do
-this, add the following line to your @file{init.el}/@file{.emacs}:
-
-@lisp
-(tpu-edt)
-@end lisp
-
-If you don't want it to replace @kbd{C-h} with an edt-style help menu
-add this as well:
-
-@lisp
-(global-set-key [(control h)] 'help-for-help)
-@end lisp
-
-@node Q5.0.9, Q5.0.10, Q5.0.8, Miscellaneous
-@unnumberedsubsec Q5.0.9: How can I emulate VI and use it as my default mode?
-
-Our recommended VI emulator is viper. To make viper-mode the default,
-add this to your @file{init.el}/@file{.emacs}:
-
-@lisp
-(viper-mode)
-@end lisp
-
-@email{kifer@@CS.SunySB.EDU, Michael Kifer} writes:
-
-@quotation
-This should be added as close to the top of @file{init.el}/@file{.emacs} as you can get
-it, otherwise some minor modes may not get viper-ized.
-@end quotation
-
-@node Q5.0.10, Q5.0.11, Q5.0.9, Miscellaneous
-@unnumberedsubsec Q5.0.10: [This question intentionally left blank]
-
-Obsolete question, left blank to avoid renumbering
-
-@node Q5.0.11, Q5.0.12, Q5.0.10, Miscellaneous
-@unnumberedsubsec Q5.0.11: [This question intentionally left blank]
-
-Obsolete question, left blank to avoid renumbering
-
-@node Q5.0.12, Q5.0.13, Q5.0.11, Miscellaneous
-@unnumberedsubsec Q5.0.12: How do I disable gnuserv from opening a new frame?
-
-If you set the @code{gnuserv-frame} variable to the frame that should be
-used to display buffers that are pulled up, a new frame will not be
-created. For example, you could put
-
-@lisp
-(setq gnuserv-frame (selected-frame))
-@end lisp
-
-early on in your @file{init.el}/@file{.emacs}, to ensure that the first frame created
-is the one used for your gnuserv buffers.
-
-There is an option to set the gnuserv target to the current frame.  See
-@code{Options->Display->"Other Window" Location->Make Current Frame Gnuserv Target}
-
-Starting with XEmacs-20.3 you can also change this with Customize.
-Select from the @code{Options} menu
-@code{Advanced (Customize)->Emacs->Environment->Gnuserv->Gnuserv Frame...}
-or type @kbd{M-x customize @key{RET} gnuserv @key{RET}}.
-
-
-@node Q5.0.13, Q5.0.14, Q5.0.12, Miscellaneous
-@unnumberedsubsec Q5.0.13: How do I start gnuserv so that each subsequent XEmacs is a client?
-
-Put the following in your @file{init.el}/@file{.emacs} file to start the server:
-
-@lisp
-(gnuserv-start)
-@end lisp
-
-Start your first XEmacs as usual.  After that, you can do:
-
-@example
-gnuclient randomfilename
-@end example
-
-from the command line to get your existing XEmacs process to open a new
-frame and visit randomfilename in that window. When you're done editing
-randomfilename, hit @kbd{C-x #} to kill the buffer and get rid of the
-frame.
-
-See also man page of gnuclient.
-
-@node Q5.0.14, Q5.0.15, Q5.0.13, Miscellaneous
-@unnumberedsubsec Q5.0.14: Strange things are happening in Shell Mode.
-
-Sometimes (i.e. it's not repeatable, and I can't work out why it
-happens) when I'm typing into shell mode, I hit return and only a
-portion of the command is given to the shell, and a blank prompt is
-returned.  If I hit return again, the rest of the previous command is
-given to the shell.
-
-@email{martin@@xemacs.org, Martin Buchholz} writes:
-
-@quotation
-There is a known problem with interaction between @code{csh} and the
-@code{filec} option and XEmacs.  You should add the following to your
-@file{.cshrc}:
-
-@example
-if ( "$TERM" == emacs || "$TERM" == unknown ) unset filec
-@end example
-@end quotation
-
-@node Q5.0.15, Q5.0.16, Q5.0.14, Miscellaneous
-@unnumberedsubsec Q5.0.15: Where do I get the latest CC Mode?
-
-@email{bwarsaw@@cnri.reston.va.us, Barry A. Warsaw} writes:
-
-@quotation
-This can be had from @uref{http://www.python.org/emacs/}.
-@end quotation
-
-@node Q5.0.16, Q5.0.17, Q5.0.15, Miscellaneous
-@unnumberedsubsec Q5.0.16: I find auto-show-mode disconcerting.  How do I turn it off?
-
-@code{auto-show-mode} controls whether or not a horizontal scrollbar
-magically appears when a line is too long to be displayed.  This is
-enabled by default.  To turn it off, put the following in your
-@file{init.el}/@file{.emacs}:
-
-@lisp
-(setq auto-show-mode nil)
-(setq-default auto-show-mode nil)
-@end lisp
-
-@node Q5.0.17, Q5.0.18, Q5.0.16, Miscellaneous
-@unnumberedsubsec Q5.0.17: How can I get two instances of info?
+@unnumberedsec 6.0: Online Help
+
+@node Q6.0.1, Q6.0.2, Advanced, Advanced
+@unnumberedsubsec Q6.0.1: How can I get two instances of info?
 
 Before 21.4, you can't.  The @code{info} package does not provide for
 multiple info buffers.  In 21.4, this should be fixed. #### how?
 
-@node Q5.0.18, Q5.0.19, Q5.0.17, Miscellaneous
-@unnumberedsubsec Q5.0.18: [This question intentionally left blank]
-
-@node Q5.0.19, Q5.0.20, Q5.0.18, Miscellaneous
-@unnumberedsubsec Q5.0.19: Is there something better than LaTeX mode?
-
-@email{dak@@fsnif.neuroinformatik.ruhr-uni-bochum.de, David Kastrup} writes:
+@node Q6.0.2, Q6.1.1, Q6.0.1, Advanced
+@unnumberedsubsec Q6.0.2: How do I add new Info directories?
+
+You use something like:
+
+@lisp
+(setq Info-directory-list (cons
+                           (expand-file-name "~/info")
+                           Info-default-directory-list))
+@end lisp
+
+@email{davidm@@prism.kla.com, David Masterson} writes:
 
 @quotation
-The standard TeX modes leave much to be desired, and are somewhat
-leniently maintained.  Serious TeX users use AUC TeX (@pxref{Q4.7.1}).
+Emacs Info and XEmacs Info do many things differently.  If you're trying to
+support a number of versions of Emacs, here are some notes to remember:
+
+@enumerate
+@item
+Emacs Info scans @code{Info-directory-list} from right-to-left while
+XEmacs Info reads it from left-to-right, so append to the @emph{correct}
+end of the list.
+
+@item
+Use @code{Info-default-directory-list} to initialize
+@code{Info-directory-list} @emph{if} it is available at startup, but not
+all Emacsen define it.
+
+@item
+Emacs Info looks for a standard @file{dir} file in each of the
+directories scanned from #1 and magically concatenates them together.
+
+@item
+XEmacs Info looks for a @file{localdir} file (which consists of just the
+menu entries from a @file{dir} file) in each of the directories scanned
+from #1 (except the first), does a simple concatenation of them, and
+magically attaches the resulting list to the end of the menu in the
+@file{dir} file in the first directory.
+@end enumerate
+
+Another alternative is to convert the documentation to HTML with
+texi2html and read it from a web browser like Lynx or W3.
 @end quotation
 
-@node Q5.0.20, Q5.1.1, Q5.0.19, Miscellaneous
-@unnumberedsubsec Q5.0.20: Is there a way to start a new XEmacs if there's no gnuserv running, and otherwise use gnuclient?
-
-@email{vroonhof@@math.ethz.ch, Jan Vroonhof} writes:
+@unnumberedsec 6.1: Emacs Lisp and @file{init.el}
+
+@node Q6.1.1, Q6.1.2, Q6.0.2, Advanced
+@unnumberedsubsec Q6.1.1: What version of Emacs am I running?
+
+How can @file{init.el} determine which of the family of
+Emacsen I am using?
+
+To determine if you are currently running GNU Emacs 18, GNU Emacs 19,
+XEmacs 19, XEmacs 20, or Epoch, and use appropriate code, check out the
+example given in @file{etc/sample.init.el} (@file{etc/sample.emacs} in
+XEmacs versions prior to 21.4).  There are other nifty things in there
+as well!
+
+For all new code, all you really need to do is:
+
+@lisp
+(defvar running-xemacs (string-match "XEmacs\\|Lucid" emacs-version))
+@end lisp
+
+@node Q6.1.2, Q6.1.3, Q6.1.1, Advanced
+@unnumberedsubsec Q6.1.2: How can I evaluate Emacs-Lisp expressions?
+
+I know I can evaluate Elisp expressions from @code{*scratch*} buffer
+with @kbd{C-j} after the expression.  How do I do it from another
+buffer?
+
+Press @kbd{M-:} (the default binding of @code{eval-expression}), and
+enter the expression to the minibuffer.
+
+@node Q6.1.3, Q6.1.4, Q6.1.2, Advanced
+@unnumberedsubsec Q6.1.3: @code{(setq tab-width 6)} behaves oddly.
+
+If you put @code{(setq tab-width 6)} in your
+@file{init.el} file it does not work!  Is there a reason
+for this?  If you do it at the EVAL prompt it works fine!! How strange.
+
+Use @code{setq-default} instead, since @code{tab-width} is
+all-buffer-local.
+
+@node Q6.1.4, Q6.1.5, Q6.1.3, Advanced
+@unnumberedsubsec Q6.1.4: How can I add directories to the @code{load-path}?
+
+Here are two ways to do that, one that puts your directories at the
+front of the load-path, the other at the end:
+
+@lisp
+;;; Add things at the beginning of the load-path, do not add
+;;; duplicate directories:
+(pushnew "bar" load-path :test 'equal)
+
+(pushnew "foo" load-path :test 'equal)
+
+;;; Add things at the end, unconditionally
+(setq load-path (nconc load-path '("foo" "bar")))
+@end lisp
+
+@email{keithh@@nortel.ca, keith (k.p.) hanlan} writes:
+
 @quotation
-Here is one of the solutions, we have this in a script called
-@file{etc/editclient.sh}.
-@example
- #!/bin/sh
- if gnuclient -batch -eval t >/dev/null 2>&1
- then
-   exec gnuclient $@{1+"$@@"@}
- else
-   xemacs -unmapped -f gnuserv-start &
-   until gnuclient -batch -eval t >/dev/null 2>&1
-   do
-      sleep 1
-   done
-   exec gnuclient $@{1+"$@@"@}
- fi
-@end example
-
-Note that there is a known problem when running XEmacs and 'gnuclient
--nw' on the same TTY.
+To add directories using Unix shell metacharacters use
+@file{expand-file-name} like this:
+
+@lisp
+(push (expand-file-name "~keithh/.emacsdir") load-path)
+@end lisp
 @end quotation
 
-@node Q5.1.1, Q5.1.2, Q5.0.20, Miscellaneous
-@unnumberedsec 5.1: Emacs Lisp Programming Techniques
-@unnumberedsubsec Q5.1.1: What is the difference in key sequences between XEmacs and GNU Emacs?
+@node Q6.1.5, Q6.1.6, Q6.1.4, Advanced
+@unnumberedsubsec Q6.1.5: How to check if a lisp function is defined?
+
+Use the following elisp:
+
+@lisp
+(fboundp 'foo)
+@end lisp
+
+It's almost always a mistake to test @code{emacs-version} or any similar
+variables.
+
+Instead, use feature-tests, such as @code{featurep}, @code{boundp},
+@code{fboundp}, or even simple behavioral tests, eg.:
+
+@lisp
+(defvar foo-old-losing-code-p
+  (condition-case nil (progn (losing-code t) nil)
+    (wrong-number-of-arguments t)))
+@end lisp
+
+There is an incredible amount of broken code out there which could work
+much better more often in more places if it did the above instead of
+trying to divine its environment from the value of one variable.
+
+@node Q6.1.6, Q6.2.1, Q6.1.5, Advanced
+@unnumberedsubsec Q6.1.6: Can I force the output of @code{(face-list)} to a buffer?
+
+It would be good having it in a buffer, as the output of
+@code{(face-list)} is too wide to fit to a minibuffer.
+
+Evaluate the expression in the @samp{*scratch*} buffer with point after
+the rightmost paren and typing @kbd{C-j}.
+
+If the minibuffer smallness is the only problem you encounter, you can
+simply press @kbd{C-h l} to get the former minibuffer contents in a
+buffer.
+
+@unnumberedsec 6.2: Emacs Lisp Programming Techniques
+
+@node Q6.2.1, Q6.2.2, Q6.1.6, Advanced
+@unnumberedsubsec Q6.2.1: What is the difference in key sequences between XEmacs and GNU Emacs?
 
 @email{clerik@@naggum.no, Erik Naggum} writes;
 
@@ -5461,8 +6718,8 @@
 <up>}, and converts it to the internal key representation of the Emacs
 you use.  The function is available both on XEmacs and GNU Emacs.
 
-@node Q5.1.2, Q5.1.3, Q5.1.1, Miscellaneous
-@unnumberedsubsec Q5.1.2: Can I generate "fake" keyboard events?
+@node Q6.2.2, Q6.2.3, Q6.2.1, Advanced
+@unnumberedsubsec Q6.2.2: Can I generate "fake" keyboard events?
 
 I wonder if there is an interactive function that can generate
 @dfn{fake} keyboard events.  This way, I could simply map them inside
@@ -5482,8 +6739,8 @@
   (lambda () (interactive) (cg--generate-char-event 4)))
 @end lisp
 
-@node Q5.1.3, Q5.1.4, Q5.1.2, Miscellaneous
-@unnumberedsubsec Q5.1.3: Could you explain @code{read-kbd-macro} in more detail?
+@node Q6.2.3, Q6.2.4, Q6.2.2, Advanced
+@unnumberedsubsec Q6.2.3: Could you explain @code{read-kbd-macro} in more detail?
 
 The @code{read-kbd-macro} function returns the internal Emacs
 representation of a human-readable string (which is its argument).
@@ -5573,8 +6830,8 @@
 use whitespace.
 @end quotation
 
-@node Q5.1.4, Q5.1.5, Q5.1.3, Miscellaneous
-@unnumberedsubsec Q5.1.4: What is the performance hit of @code{let}?
+@node Q6.2.4, Q6.2.5, Q6.2.3, Advanced
+@unnumberedsubsec Q6.2.4: What is the performance hit of @code{let}?
 
 In most cases, not noticeable.  Besides, there's no avoiding
 @code{let}---you have to bind your local variables, after all.  Some
@@ -5583,8 +6840,8 @@
 future implementation), @code{let}-s should be used (nested) in a way to
 provide the clearest code.
 
-@node Q5.1.5, Q5.1.6, Q5.1.4, Miscellaneous
-@unnumberedsubsec Q5.1.5: What is the recommended use of @code{setq}?
+@node Q6.2.5, Q6.2.6, Q6.2.4, Advanced
+@unnumberedsubsec Q6.2.5: What is the recommended use of @code{setq}?
 
 @itemize @bullet
 @item Global variables
@@ -5646,8 +6903,8 @@
 @end lisp
 @end itemize
 
-@node Q5.1.6, Q5.1.7, Q5.1.5, Miscellaneous
-@unnumberedsubsec Q5.1.6: What is the typical misuse of @code{setq} ?
+@node Q6.2.6, Q6.2.7, Q6.2.5, Advanced
+@unnumberedsubsec Q6.2.6: What is the typical misuse of @code{setq}?
 
 A typical misuse is probably @code{setq}ing a variable that was meant to
 be local.  Such a variable will remain bound forever, never to be
@@ -5688,8 +6945,8 @@
 ** assignment to free variable flurghoze
 @end lisp
 
-@node Q5.1.7, Q5.1.8, Q5.1.6, Miscellaneous
-@unnumberedsubsec Q5.1.7: I like the @code{do} form of cl, does it slow things down?
+@node Q6.2.7, Q6.2.8, Q6.2.6, Advanced
+@unnumberedsubsec Q6.2.7: I like the @code{do} form of cl, does it slow things down?
 
 It shouldn't.  Here is what Dave Gillespie has to say about cl.el
 performance:
@@ -5730,10 +6987,10 @@
 function.
 @end quotation
 
-@node Q5.1.8, Q5.1.9, Q5.1.7, Miscellaneous
-@unnumberedsubsec Q5.1.8: I like recursion, does it slow things down?
-
-Yes.  Emacs byte-compiler cannot do much to optimize recursion.  But
+@node Q6.2.8, Q6.2.9, Q6.2.7, Advanced
+@unnumberedsubsec Q6.2.8: I like recursion, does it slow things down?
+
+Yes.  The Emacs byte-compiler cannot do much to optimize recursion.  But
 think well whether this is a real concern in Emacs.  Much of the Emacs
 slowness comes from internal mechanisms such as redisplay, or from the
 fact that it is an interpreter.
@@ -5741,8 +6998,8 @@
 Please try not to make your code much uglier to gain a very small speed
 gain.  It's not usually worth it.
 
-@node Q5.1.9, Q5.1.10, Q5.1.8, Miscellaneous
-@unnumberedsubsec Q5.1.9: How do I put a glyph as annotation in a buffer?
+@node Q6.2.9, Q6.2.10, Q6.2.8, Advanced
+@unnumberedsubsec Q6.2.9: How do I put a glyph as annotation in a buffer?
 
 Here is a solution that will insert the glyph annotation at the
 beginning of buffer:
@@ -5768,8 +7025,8 @@
 name), and inserts the glyph at @code{(point)} instead of
 @code{(point-min)}.
 
-@node Q5.1.10, Q5.1.11, Q5.1.9, Miscellaneous
-@unnumberedsubsec Q5.1.10: @code{map-extents} won't traverse all of my extents!
+@node Q6.2.10, Q6.2.11, Q6.2.9, Advanced
+@unnumberedsubsec Q6.2.10: @code{map-extents} won't traverse all of my extents!
 
 I tried to use @code{map-extents} to do an operation on all the extents
 in a region.  However, it seems to quit after processing a random number
@@ -5799,8 +7056,8 @@
                nil))
 @end lisp
 
-@node Q5.1.11, Q5.2.1, Q5.1.10, Miscellaneous
-@unnumberedsubsec Q5.1.11: My elisp program is horribly slow.  Is there
+@node Q6.2.11, Q6.3.1, Q6.2.10, Advanced
+@unnumberedsubsec Q6.2.11: My elisp program is horribly slow.  Is there
 an easy way to find out where it spends time?
 @c New
 
@@ -5812,425 +7069,10 @@
 where the time is being spent.
 @end quotation
 
-@node Q5.2.1, Q5.2.2, Q5.1.11, Miscellaneous
-@unnumberedsec 5.2: Sound
-@unnumberedsubsec Q5.2.1: How do I turn off the sound?
-
-Add the following line to your @file{init.el}/@file{.emacs}:
-
-@lisp
-(setq bell-volume 0)
-(setq sound-alist nil)
-@end lisp
-
-That will make your XEmacs totally silent---even the default ding sound
-(TTY beep on TTY-s) will be gone.
-
-Starting with XEmacs 20.2 you can also change these with Customize.
-Select from the @code{Options} menu
-@code{Advanced (Customize)->Emacs->Environment->Sound->Sound...} or type
-@kbd{M-x customize @key{RET} sound @key{RET}}.
-
-
-@node Q5.2.2, Q5.2.3, Q5.2.1, Miscellaneous
-@unnumberedsubsec Q5.2.2: How do I get funky sounds instead of a boring beep?
-
-Make sure your XEmacs was compiled with sound support, and then put this
-in your @file{init.el}/@file{.emacs}:
-
-@lisp
-(load-default-sounds)
-@end lisp
-
-@c The sound support in XEmacs 19.14 was greatly improved over previous
-@c versions.
-@c
-@node Q5.2.3, Q5.2.4, Q5.2.2, Miscellaneous
-@unnumberedsubsec Q5.2.3: What's NAS, how do I get it?
-
-@xref{Q2.0.3}, for an explanation of the @dfn{Network Audio System}.
-
-@node Q5.2.4, Q5.3.1, Q5.2.3, Miscellaneous
-@unnumberedsubsec Q5.2.4: Sunsite sounds don't play.
-
-I'm having some trouble with sounds I've downloaded from sunsite.  They
-play when I run them through @code{showaudio} or cat them directly to
-@file{/dev/audio}, but XEmacs refuses to play them.
-
-@email{gutschk@@uni-muenster.de, Markus Gutschke} writes:
-
-@quotation
-[Many of] These files have an (erroneous) 24byte header that tells about
-the format that they have been recorded in. If you cat them to
-@file{/dev/audio}, the header will be ignored and the default behavior
-for /dev/audio will be used. This happens to be 8kHz uLaw. It is
-probably possible to fix the header by piping through @code{sox} and
-passing explicit parameters for specifying the sampling format; you then
-need to perform a 'null' conversion from SunAudio to SunAudio.
-@end quotation
-
-@node Q5.3.1, Q5.3.2, Q5.2.4, Miscellaneous
-@unnumberedsec 5.3: Miscellaneous
-@unnumberedsubsec Q5.3.1: How do you make XEmacs indent CL if-clauses correctly?
-
-I'd like XEmacs to indent all the clauses of a Common Lisp @code{if} the
-same amount instead of indenting the 3rd clause differently from the
-first two.
-
-One way is to add, to @file{init.el}/@file{.emacs}:
-
-@lisp
-(put 'if 'lisp-indent-function nil)
-@end lisp
-
-However, note that the package @code{cl-indent} that comes with
-XEmacs sets up this kind of indentation by default.  @code{cl-indent}
-also knows about many other CL-specific forms.  To use @code{cl-indent},
-one can do this:
-
-@lisp
-(load "cl-indent")
-(setq lisp-indent-function (function common-lisp-indent-function))
-@end lisp
-
-One can also customize @file{cl-indent.el} so it mimics the default
-@code{if} indentation @code{then} indented more than the @code{else}.
-Here's how:
-
-@lisp
-(put 'if 'common-lisp-indent-function '(nil nil &body))
-@end lisp
-
-Also, a new version (1.2) of @file{cl-indent.el} was posted to
-comp.emacs.xemacs on 12/9/94.  This version includes more documentation
-than previous versions.  This may prove useful if you need to customize
-any indent-functions.
-
-@node Q5.3.2, Q5.3.3, Q5.3.1, Miscellaneous
-@unnumberedsubsec Q5.3.2: [This question intentionally left blank]
-
-Obsolete question, left blank to avoid renumbering.
-
-@node Q5.3.3, Q5.3.4, Q5.3.2, Miscellaneous
-@unnumberedsubsec Q5.3.3: How can I print WYSIWYG a font-locked buffer?
-
-Font-lock looks nice.  How can I print (WYSIWYG) the highlighted
-document?
-
-The package @code{ps-print}, which is now included with XEmacs, provides
-the ability to do this.  The source code contains complete instructions
-on its use, in
-@file{$prefix/lib/xemacs/xemacs-packages/lisp/ps-print/ps-print.el},
-being the default location of an installed ps-print package.
-
-@node Q5.3.4, Q5.3.5, Q5.3.3, Miscellaneous
-@unnumberedsubsec Q5.3.4: Getting @kbd{M-x lpr} to work with postscript printer.
-
-My printer is a Postscript printer and @code{lpr} only works for
-Postscript files, so how do I get @kbd{M-x lpr-region} and @kbd{M-x
-lpr-buffer} to work?
-
-Put something like this in your @file{init.el}/@file{.emacs}:
-
-@lisp
-(setq lpr-command "a2ps")
-(setq lpr-switches '("-p" "-1"))
-@end lisp
-
-If you don't use a2ps to convert ASCII to postscript (why not, it's
-free?), replace with the command you do use.  Note also that some
-versions of a2ps require a @samp{-Pprinter} to ensure spooling.
-
-@node Q5.3.5, Q5.3.6, Q5.3.4, Miscellaneous
-@unnumberedsubsec Q5.3.5: How do I specify the paths that XEmacs uses for finding files?
-
-You can specify what paths to use by using a number of different flags
-when running configure.  See the section MAKE VARIABLES in the top-level
-file INSTALL in the XEmacs distribution for a listing of those flags.
-
-Most of the time, however, the simplest fix is: @strong{do not} specify
-paths as you might for GNU Emacs.  XEmacs can generally determine the
-necessary paths dynamically at run time.  The only path that generally
-needs to be specified is the root directory to install into.  That can
-be specified by passing the @code{--prefix} flag to configure.  For a
-description of the XEmacs install tree, please consult the @file{NEWS}
-file.
-
-@node Q5.3.6, Q5.3.7, Q5.3.5, Miscellaneous
-@unnumberedsubsec Q5.3.6: [This question intentionally left blank]
-
-Obsolete question, left blank to avoid renumbering.
-
-@node Q5.3.7, Q5.3.8, Q5.3.6, Miscellaneous
-@unnumberedsubsec Q5.3.7: Can I have the end of the buffer delimited in some way?
-
-Say, with: @samp{[END]}?
-
-Try this:
-
-@lisp
-(let ((ext (make-extent (point-min) (point-max))))
-  (set-extent-property ext 'start-closed t)
-  (set-extent-property ext 'end-closed t)
-  (set-extent-property ext 'detachable nil)
-  (set-extent-end-glyph ext (make-glyph [string :data "[END]"])))
-@end lisp
-
-Since this is XEmacs, you can specify an icon to be shown on
-window-system devices.  To do so, change the @code{make-glyph} call to
-something like this:
-
-@lisp
-(make-glyph '([xpm :file "~/something.xpm"]
-              [string :data "[END]"]))
-@end lisp
-
-You can inline the @sc{xpm} definition yourself by specifying
-@code{:data} instead of @code{:file}.  Here is such a full-featured
-version that works on both X and TTY devices:
-
-@lisp
-(let ((ext (make-extent (point-min) (point-max))))
-  (set-extent-property ext 'start-closed t)
-  (set-extent-property ext 'end-closed t)
-  (set-extent-property ext 'detachable nil)
-  (set-extent-end-glyph ext (make-glyph '([xpm :data "\
-/* XPM */
-static char* eye = @{
-\"20 11 7 2\",
-\"__ c None\"
-\"_` c #7f7f7f\",
-\"_a c #fefefe\",
-\"_b c #7f0000\",
-\"_c c #fefe00\",
-\"_d c #fe0000\",
-\"_e c #bfbfbf\",
-\"___________`_`_`___b_b_b_b_________`____\",
-\"_________`_`_`___b_c_c_c_b_b____________\",
-\"_____`_`_`_e___b_b_c_c_c___b___b_______`\",
-\"___`_`_e_a___b_b_d___b___b___b___b______\",
-\"_`_`_e_a_e___b_b_d_b___b___b___b___b____\",
-\"_`_`_a_e_a___b_b_d___b___b___b___b___b__\",
-\"_`_`_e_a_e___b_b_d_b___b___b___b___b_b__\",
-\"___`_`_e_a___b_b_b_d_c___b___b___d_b____\",
-\"_____`_`_e_e___b_b_b_d_c___b_b_d_b______\",
-\"_`_____`_`_`_`___b_b_b_d_d_d_d_b________\",
-\"___`_____`_`_`_`___b_b_b_b_b_b__________\",
-@} ;"]
-                                          [string :data "[END]"]))))
-@end lisp
-
-Note that you might want to make this a function, and put it to a hook.
-We leave that as an exercise for the reader.
-
-@node Q5.3.8, Q5.3.9, Q5.3.7, Miscellaneous
-@unnumberedsubsec Q5.3.8: How do I insert today's date into a buffer?
-
-Like this:
-
-@lisp
-(insert (current-time-string))
-@end lisp
-
-@node Q5.3.9, Q5.3.10, Q5.3.8, Miscellaneous
-@unnumberedsubsec Q5.3.9: Are only certain syntactic character classes available for abbrevs?
-
-@email{gutschk@@uni-muenster.de, Markus Gutschke} writes:
-
-@quotation
-Yes, abbrevs only expands word-syntax strings. While XEmacs does not
-prevent you from defining (e.g. with @kbd{C-x a g} or @kbd{C-x a l})
-abbrevs that contain special characters, it will refuse to expand
-them. So you need to ensure, that the abbreviation contains letters and
-digits only. This means that @samp{xd}, @samp{d5}, and @samp{5d} are
-valid abbrevs, but @samp{&d}, and @samp{x d} are not.
-
-If this sounds confusing to you, (re-)read the online documentation for
-abbrevs (@kbd{C-h i m XEmacs @key{RET} m Abbrevs @key{RET}}), and then come back and
-read this question/answer again.
-@end quotation
-
-Starting with XEmacs 20.3 this restriction has been lifted.
-
-@node Q5.3.10, Q5.3.11, Q5.3.9, Miscellaneous
-@unnumberedsubsec Q5.3.10: How can I get those oh-so-neat X-Face lines?
-
-Firstly there is an ftp site which describes X-faces and has the
-associated tools mentioned below, at
-@uref{ftp://ftp.cs.indiana.edu:/pub/faces/}.
-
-Then the steps are
-
-@enumerate
-@item
-Create 48x48x1 bitmap with your favorite tool
-
-@item
-Convert to "icon" format using one of xbm2ikon, pbmtoicon, etc.,
-and then compile the face.
-
-@item
-@example
-cat file.xbm | xbm2ikon |compface > file.face
-@end example
-
-@item
-Then be sure to quote things that are necessary for emacs strings:
-
-@example
-cat ./file.face | sed 's/\\/\\\\/g'
-@iftex
-\ @*
-@end iftex
-| sed 's/\"/\\\"/g' > ./file.face.quoted
-@end example
-
-@item
-Then set up emacs to include the file as a mail header - there were a
-couple of suggestions here---either something like:
-
-@lisp
-(setq  mail-default-headers
-       "X-Face:  @email{Ugly looking text string here}")
-@end lisp
-
-Or, alternatively, as:
-
-@lisp
-(defun mail-insert-x-face ()
-  (save-excursion
-    (goto-char (point-min))
-    (search-forward mail-header-separator)
-    (beginning-of-line)
-    (insert "X-Face:")
-    (insert-file-contents "~/.face")))
-
-(add-hook 'mail-setup-hook 'mail-insert-x-face)
-@end lisp
-@end enumerate
-
-However, 2 things might be wrong:
-
-Some versions of pbmtoicon produces some header lines that is not
-expected by the version of compface that I grabbed. So I found I had to
-include a @code{tail +3} in the pipeline like this:
-
-@example
-cat file.xbm | xbm2ikon | tail +3 |compface > file.face
-@end example
-
-Some people have also found that if one uses the @code{(insert-file)}
-method, one should NOT quote the face string using the sed script .
-
-It might also be helpful to use @email{stig@@hackvan.com, Stig's} script
-(included in the compface distribution at XEmacs.org) to do the
-conversion.
-@comment For convenience xbm2xface is available for anonymous FTP at
-@comment @uref{ftp://ftp.miranova.com/pub/xemacs/xbm2xface.pl}.
-
-Contributors for this item:
-
-Paul Emsley,
-Ricardo Marek,
-Amir J. Katz,
-Glen McCort,
-Heinz Uphoff,
-Peter Arius,
-Paul Harrison, and
-Vegard Vesterheim
-
-@node Q5.3.11, Q5.3.12, Q5.3.10, Miscellaneous
-@unnumberedsubsec Q5.3.11: How do I add new Info directories?
-
-You use something like:
-
-@lisp
-(setq Info-directory-list (cons
-                           (expand-file-name "~/info")
-                           Info-default-directory-list))
-@end lisp
-
-@email{davidm@@prism.kla.com, David Masterson} writes:
-
-@quotation
-Emacs Info and XEmacs Info do many things differently.  If you're trying to
-support a number of versions of Emacs, here are some notes to remember:
-
-@enumerate
-@item
-Emacs Info scans @code{Info-directory-list} from right-to-left while
-XEmacs Info reads it from left-to-right, so append to the @emph{correct}
-end of the list.
-
-@item
-Use @code{Info-default-directory-list} to initialize
-@code{Info-directory-list} @emph{if} it is available at startup, but not
-all Emacsen define it.
-
-@item
-Emacs Info looks for a standard @file{dir} file in each of the
-directories scanned from #1 and magically concatenates them together.
-
-@item
-XEmacs Info looks for a @file{localdir} file (which consists of just the
-menu entries from a @file{dir} file) in each of the directories scanned
-from #1 (except the first), does a simple concatenation of them, and
-magically attaches the resulting list to the end of the menu in the
-@file{dir} file in the first directory.
-@end enumerate
-
-Another alternative is to convert the documentation to HTML with
-texi2html and read it from a web browser like Lynx or W3.
-@end quotation
-
-@node Q5.3.12, Q5.4.1, Q5.3.11, Miscellaneous
-@unnumberedsubsec Q5.3.12: What do I need to change to make printing work?
-
-For regular printing there are two variables that can be customized.
-
-@table @code
-@item lpr-command
-This should be set to a command that takes standard input and sends
-it to a printer.  Something like:
-
-@lisp
-(setq lpr-command "lp")
-@end lisp
-
-@item lpr-switches
-This should be set to a list that contains whatever the print command
-requires to do its job.  Something like:
-
-@lisp
-(setq lpr-switches '("-depson"))
-@end lisp
-@end table
-
-For postscript printing there are three analogous variables to
-customize.
-
-@table @code
-@item ps-lpr-command
-This should be set to a command that takes postscript on standard input
-and directs it to a postscript printer.
-
-@item ps-lpr-switches
-This should be set to a list of switches required for
-@code{ps-lpr-command} to do its job.
-
-@item ps-print-color-p
-This boolean variable should be set @code{t} if printing will be done in
-color, otherwise it should be set to @code{nil}.
-@end table
-
-NOTE: It is an undocumented limitation in XEmacs that postscript
-printing (the @code{Pretty Print Buffer} menu item) @strong{requires} a
-window system environment.  It cannot be used outside of X11.
-
-
-@node Q5.4.1, Q5.4.2, Q5.3.12, Miscellaneous
-@unnumberedsec 5.4: Mathematics
-@unnumberedsubsec Q5.4.1: What are bignums, ratios, and bigfloats in Lisp?
+@unnumberedsec 6.3: Mathematics
+
+@node Q6.3.1, Q6.3.2, Q6.2.11, Advanced
+@unnumberedsubsec Q6.3.1: What are bignums, ratios, and bigfloats in Lisp?
 
 Thanks to @email{james@@xemacs.org, Jerry James}, XEmacs 21.5.18 and
 later can use the capabilities of multiple-precision libraries that may
@@ -6258,7 +7100,7 @@
 @itemize
 @item
 Arithmetic can cause a segfault, depending on your MP library
-@ref{Q5.4.2}.
+@ref{Q6.3.2, XEmacs segfaults when I use very big numbers!}.
 
 @item
 Terminology is not Common-Lisp-conforming.  For example, ``integer'' for
@@ -6284,7 +7126,7 @@
 can't be ruled out.  ``Arbitrary'' precision means precisely what it
 says.  If you work with extremely large numbers, your machine may
 arbitrarily decide to hand you an unpleasant surprise rather than a
-bignum @ref{Q5.4.2}.
+bignum @ref{Q6.3.2, XEmacs segfaults when I use very big numbers!}.
 
 To configure with GNU MP, add
 @samp{--use-number-lib=gmp}
@@ -6299,8 +7141,8 @@
 than to writing new code, feel free to fill in the gap!
 
 
-@node Q5.4.2, Q5.4.3, Q5.4.1, Miscellaneous
-@unnumberedsubsec Q5.4.2: XEmacs segfaults when I use very big numbers!
+@node Q6.3.2, Q6.3.3, Q6.3.1, Advanced
+@unnumberedsubsec Q6.3.2: XEmacs segfaults when I use very big numbers!
 
 GMP by default allocates temporaries on the stack.  If you run out of
 stack space, you're dead; there is no way that we know of to reliably
@@ -6317,8 +7159,8 @@
 yet.)
 
 
-@node Q5.4.3, Q5.4.4, Q5.4.2, Miscellaneous
-@unnumberedsubsec Q5.4.3: Bignums are really slow!
+@node Q6.3.3, Q6.3.4, Q6.3.2, Advanced
+@unnumberedsubsec Q6.3.3: Bignums are really slow!
 
 Many Linux distributions compile all their packages for the i386, and
 this is costly.  An optimized version can give you two or three orders
@@ -6326,8 +7168,8 @@
 See @uref{http://www.swox.com/gmp/gmp-speed.html}.)
 
 
-@node Q5.4.4, , Q5.4.3, Miscellaneous
-@unnumberedsubsec Q5.4.4: Equal bignums don't compare as equal!  What gives?
+@node Q6.3.4,  , Q6.3.3, Advanced
+@unnumberedsubsec Q6.3.4: Equal bignums don't compare as equal!  What gives?
 
 Ah, Grasshopper, I see you are using @code{(eq x y)}.  The Bodhisattva
 CLTL2 warned of the illusion that equal numbers would be @samp{eq}!
@@ -6341,717 +7183,7 @@
 objects are ``large'' and of variable size, and the definition of
 @samp{eq} does not permit different objects to compare as equal.
 
-
-@node MS Windows, Current Events, Miscellaneous, Top
-@unnumbered 6 XEmacs on MS Windows
-
-This is part 6 of the XEmacs Frequently Asked Questions list, written by
-Hrvoje Niksic and others.  This section is devoted to the MS Windows
-port of XEmacs.
-
-@menu
-General Info
-* Q6.0.1::      What is the status of the XEmacs port to Windows?
-* Q6.0.2::      What flavors of MS Windows are supported?  The list name implies NT only.
-* Q6.0.3::      Are binaries available?
-* Q6.0.4::      Can I build XEmacs on MS Windows with X support?  Do I need to?
-* Q6.0.5::      I'd like to help out.  What do I do?
-* Q6.0.6::      What are Cygwin and MinGW, and do I need them to run XEmacs?
-* Q6.0.7::      What exactly are all the different ways to build XEmacs under Windows?
-
-Building XEmacs on MS Windows:
-* Q6.1.1::      What compiler/libraries do I need to compile XEmacs?
-* Q6.1.2::      How do I compile the native port?
-* Q6.1.3::      What do I need for Cygwin?
-* Q6.1.4::      How do I compile under Cygwin?
-* Q6.1.5::      How do I compile using MinGW (aka @samp{the -mno-cygwin flag to gcc})?
-* Q6.1.6::      I decided to run with X.  Where do I get an X server?
-* Q6.1.7::      How do I compile with X support?
-
-Customization and User Interface:
-* Q6.2.1::      How does the port cope with differences in the Windows user interface?
-* Q6.2.2::      How do I change fonts in XEmacs on MS Windows?
-* Q6.2.3::      Where do I put my @file{init.el}/@file{.emacs} file?
-* Q6.2.4::      How do I get Windows Explorer to associate a file type with XEmacs?
-* Q6.2.5::      Is it possible to print from XEmacs?
-
-Miscellaneous:
-* Q6.3.1::      Does XEmacs rename all the @samp{win32-*} symbols to @samp{w32-*}?
-* Q6.3.2::      What are the differences between the various MS Windows emacsen?
-* Q6.3.3::      XEmacs 21.1 on Windows used to spawn an ugly console window on every startup.  Has that been fixed?
-* Q6.3.4::      What is the porting team doing at the moment?
-
-Troubleshooting:
-* Q6.4.1::      XEmacs won't start on Windows.
-* Q6.4.2::      Why do I get a blank toolbar on Windows 95?
-* Q6.4.3::      XEmacs complains "No such file or directory, diff"
-@end menu
-
-@node Q6.0.1, Q6.0.2, MS Windows, MS Windows
-@unnumberedsec 6.0: General Info
-@unnumberedsubsec Q6.0.1: What is the status of the XEmacs port to Windows?
-
-Is XEmacs really ported to MS Windows?  What is the status of the port?
-
-Beginning with release 21.0, XEmacs has worked under MS Windows.  A
-group of dedicated developers actively maintains and improves the
-Windows-specific portions of the code.  The mailing list at
-@email{xemacs-nt@@xemacs.org} is dedicated to that effort (please use
-the -request address to subscribe). (Despite its name, XEmacs actually
-works on all versions of Windows.)
-
-As of May 2001, XEmacs on MS Windows is stable and full-featured, and
-has been so for a year or more -- in fact, some features, such as
-printing, actually work better on Windows than native Unix.  However,
-the internationalization (Mule) support does not work -- although this
-is being actively worked on.
-
-
-@node Q6.0.2, Q6.0.3, Q6.0.1, MS Windows
-@unnumberedsubsec Q6.0.2: What flavors of MS Windows are supported?  The list name implies NT only.
-
-The list name is misleading, as XEmacs supports and has been compiled on
-Windows 95, Windows 98, Windows NT, Windows 2000, Windows ME, Windows
-XP, and all newer versions of Windows.  The MS Windows-specific code is
-based on Microsoft Win32 API, and will not work on MS Windows 3.x or on
-MS-DOS.
-
-XEmacs also supports the Cygwin and MinGW development and runtime
-environments, where it also uses native Windows code for graphical
-features.
-
-
-@node Q6.0.3, Q6.0.4, Q6.0.2, MS Windows
-@unnumberedsubsec Q6.0.3: Are binaries available?
-
-Binaries are available at @uref{http://www.xemacs.org/Download/win32/}
-for the native and Cygwin MS Windows versions of 21.4, and the native
-version of 21.1.
-
-The 21.4 binaries use a modified version of the Cygwin installer.  Run
-the provided @file{setup.exe}, and follow the instructions.
-
-
-@node Q6.0.4, Q6.0.5, Q6.0.3, MS Windows
-@unnumberedsubsec Q6.0.4: Can I build XEmacs on MS Windows with X support?  Do I need to?
-
-Yes, you can, but no you do not need to.  In fact, we recommend that you
-use a native-GUI version unless you have a specific need for an X
-version.
-
-@node Q6.0.5, Q6.0.6, Q6.0.4, MS Windows
-@unnumberedsubsec Q6.0.5: I'd like to help out.  What do I do?
-
-It depends on the knowledge and time you possess.  If you are a
-programmer, try to build XEmacs and see if you can improve it.
-Windows-specific improvements like integration with established
-Windows environments are especially sought after.
-
-Otherwise, you can still help by downloading the binaries, using
-XEmacs as your everyday editor and reporting bugs you find to the
-mailing list.
-
-Another area where we need help is the documentation: We need good
-documentation for building XEmacs and for using it.  This FAQ is a
-small step in that direction.
-
-@node Q6.0.6, Q6.0.7, Q6.0.5, MS Windows
-@unnumberedsubsec Q6.0.6: What are Cygwin and MinGW, and do I need them to run XEmacs?
-
-To answer the second part of the question: No, you, you don't need
-Cygwin or MinGW to build or to run XEmacs.  But if you have them and
-want to use them, XEmacs supports these environments.
-
-(One important reason to support Cygwin is that it lets the MS Windows
-developers test out their code in a Unix environment without actually
-having to have a Unix machine around.  For this reason alone, Cygwin
-support is likely to remain supported for a long time in XEmacs.  Same
-goes for the X support under Cygwin, for the same reasons.  MinGW
-support, on the other hand, depends on volunteers to keep it up to date;
-but this is generally not hard.)
-
-Cygwin is a set of tools providing Unix-like API on top of Win32.
-It makes it easy to port large Unix programs without significant
-changes to their source code.  It is a development environment as well
-as a runtime environment.
-
-When built with Cygwin, XEmacs supports all display types -- TTY, X &
-Win32 GUI, and can be built with support for all three simultaneously.
-If you build with Win32 GUI support then the Cygwin version uses the
-majority of the Windows-specific code, which is mostly related to
-display.  If you want to build with X support you need X libraries (and
-an X server to display XEmacs on); see @ref{Q6.1.4}.  TTY and Win32 GUI
-require no additional libraries beyond what comes standard with Cygwin.
-
-The advantages of the Cygwin version are that it integrates well with
-the Cygwin environment for existing Cygwin users; uses configure so
-building with different features is very easy; and actively supports X &
-TTY.  Furthermore, the entire Cygwin environment and compiler are free,
-whereas Visual C++ costs money.
-
-The disadvantage is that it requires the whole Cygwin environment,
-whereas the native port requires only a suitable MS Windows compiler.
-Also, it follows the Unix filesystem and process model very closely
-(some will undoubtedly view this as an advantage).
-
-See @uref{http://sources.redhat.com/cygwin/} for more information on
-Cygwin.
-
-MinGW is a collection of header files and import libraries that allow
-one to use GCC under the Cygwin environment to compile and produce
-exactly the same native Win32 programs that you can using Visual C++.
-Programs compiled with MinGW make use of the standard Microsoft runtime
-library @file{MSVCRT.DLL}, present on all Windows systems, and look,
-feel, and act like a standard Visual-C-produced application. (The only
-difference is the compiler.) This means that, unlike a
-standardly-compiled Cygwin application, no extra runtime support
-(e.g. Cygwin's @file{cygwin1.dll}) is required.  This, along with the
-fact that GCC is free (and works in a nice Unix-y way in a nice Unix-y
-environment, for those die-hard Unix hackers out there), is the main
-advantage of MinGW.  It is also potentially faster than Cygwin because
-it has less overhead when calling Windows, but you lose the POSIX
-emulation layer, which makes Unix programs harder to port. (But this is
-irrelevant for XEmacs since it's already ported to Win32.)
-
-See @uref{http://www.mingw.org/} for more information on MinGW.
-
-@node Q6.0.7, Q6.1.1, Q6.0.6, MS Windows
-@unnumberedsubsec Q6.0.7: What exactly are all the different ways to build XEmacs under Windows?
-
-XEmacs can be built in several ways in the MS Windows environment.
-
-The standard way is what we call the "native" port.  It uses the Win32
-API and has no connection with X whatsoever -- it does not require X
-libraries to build, nor does it require an X server to run.  The native
-port is the most reliable version and provides the best graphical
-support.  Almost all development is geared towards this version, and
-there is little reason not to use it.
-
-The second way to build is the Cygwin port.  It takes advantage of
-Cygnus emulation library under Win32.  @xref{Q6.0.6}, for more
-information.
-
-A third way is the MinGW port.  It uses the Cygwin environment to build
-but does not require it at runtime.  @xref{Q6.0.6}, for more
-information.
-
-Finally, you might also be able to build the non-Cygwin, non-MinGW "X"
-port.  This was actually the first version of XEmacs that ran under MS
-Windows, and although the code is still in XEmacs, it's essentially
-orphaned and it's unlikely it will compile without a lot of work.  If
-you want an MS Windows versin of XEmacs that supports X, use the Cygwin
-version. (The X support there is actively maintained, so that Windows
-developers can test the X support in XEmacs.)
-
-
-@node Q6.1.1, Q6.1.2, Q6.0.7, MS Windows
-@unnumberedsec 6.1: Building XEmacs on MS Windows
-@unnumberedsubsec Q6.1.1: What compiler/libraries do I need to compile XEmacs?
-
-You need Visual C++ 4.2, 5.0, or 6.0 for the native version. (We have
-some beta testers currently trying to compile with VC.NET, aka version
-7.0, but we can't yet report complete success.) For the Cygwin and MinGW
-versions, you need the Cygwin environment, which comes with GCC, the
-compiler used for those versions.  @xref{Q6.0.6}, for more information
-on Cygwin and MinGW.
-
-@node Q6.1.2, Q6.1.3, Q6.1.1, MS Windows
-@unnumberedsubsec Q6.1.2: How do I compile the native port?
-
-Please read the file @file{nt/README} in the XEmacs distribution, which
-contains the full description.
-
-@node Q6.1.3, Q6.1.4, Q6.1.2, MS Windows
-@unnumberedsubsec Q6.1.3: What do I need for Cygwin?
-
-You can find the Cygwin tools and compiler at:
-
-@uref{http://sources.redhat.com/cygwin/}
-
-Click on the @samp{Install now!} link, which will download a file
-@file{setup.exe}, which you can use to download everything else. (You
-will need to pick a mirror site; @samp{mirrors.rcn.net} is probably the
-best.) You should go ahead and install everything -- you'll get various
-ancillary libraries that XEmacs needs or likes, e.g. XPM, PNG, JPEG,
-TIFF, etc.
-
-If you want to compile under X, you will also need the X libraries; see
-@ref{Q6.1.6}.
-
-If you want to compile without X, you will need the @file{xpm-nox}
-library, which must be specifically selected in the Cygwin netinstaller;
-it is not selected by default.  The package has had various names.
-Currently it is called @file{cygXpm-noX4.dll}.
-
-
-@node Q6.1.4, Q6.1.5, Q6.1.3, MS Windows
-@unnumberedsubsec Q6.1.4: How do I compile under Cygwin?
-
-Similar as on Unix; use the usual `configure' and `make' process.
-Some problems to watch out for:
-
-@itemize @bullet
-@item
-make sure HOME is set. This controls where you
-@file{init.el}/@file{.emacs} file comes from;
-
-@item
-CYGWIN needs to be set to tty for process support to work, e.g. CYGWIN=tty;
-
-@item
-picking up some other grep or other UNIX-like tools can kill configure;
-
-@item
-static heap too small, adjust @file{src/sheap-adjust.h} to a more positive
-number;
-
-@item
-(Unconfirmed) The Cygwin version doesn't understand
-@file{//machine/path} type paths so you will need to manually mount a
-directory of this form under a unix style directory for a build to work
-on the directory;
-
-@item
-If you're building @strong{WITHOUT} X11, don't forget to change symlinks
-@file{/usr/lib/libXpm.a} and @file{/usr/lib/libXpm.dll.a} to point to
-the non-X versions of these libraries.  By default they point to the X
-versions.  So:
-
-@example
-/usr/lib/libXpm.a     -> /usr/lib/libXpm-noX.a
-/usr/lib/libXpm.dll.a -> /usr/lib/libXpm-noX.dll.a
-@end example
-
-(This advice may now be obsolete because of the availability of the
-cygXpm-noX4.dll package from Cygwin.  Send confirmation to
-@email{faq@@xemacs.org}.)
-
-@item
-Other problems are listed in the @file{PROBLEMS} file, in the top-level
-directory of the XEmacs sources.
-
-@end itemize
-
-
-@node Q6.1.5, Q6.1.6, Q6.1.4, MS Windows
-@unnumberedsubsec Q6.1.5: How do I compile using MinGW (aka @samp{the -mno-cygwin flag to gcc})?
-
-Similar to the method for Unix.  Things to remember:
-
-@itemize @bullet
-@item
-Specify the target host on the command line for @file{./configure}, e.g.
-@samp{./configure i586-pc-mingw32}.
-
-@item
-Be sure that your build directory is mounted such that it has the
-same path either as a cygwin path (@file{/build/xemacs}) or as a Windows
-path (@file{c:\build\xemacs}).
-
-@item
-Build @samp{gcc -mno-cygwin} versions of the extra libs, i.e. @file{libpng},
-@file{compface}, etc.
-
-@item
-Specify the target location of the extra libs on the command line
-to @file{configure}, e.g.
-@samp{./configure --site-prefixes=/build/libs i586-pc-mingw32}.
-@end itemize
-
-
-@node Q6.1.6, Q6.1.7, Q6.1.5, MS Windows
-@unnumberedsubsec Q6.1.6: I decided to run with X.  Where do I get an X server?
-
-As of May 2001, we are recommending that you use the port of XFree86 to
-Cygwin.  This has recently stabilized, and will undoubtedly soon make
-most other MS Windows X servers obsolete.  It is what the Windows
-developers use to test the MS Windows X support.
-
-To install, go to @uref{http://xfree86.cygwin.com/}.  There is a
-detailed description on that site of exactly how to install it.  This
-installation also provides the libraries, include files, and other stuff
-needed for development; a large collection of internationalized fonts;
-the standard X utilities (xterm, twm, etc.) -- in a word, the works.
-
-NOTE: As of late May 2001, there is a bug in the file
-@file{startxwin.bat}, used to start X Windows.  It passes the option
-@samp{-engine -4} to the X server, which is bogus -- you need to edit
-the file and change it to @samp{-engine 4}.
-
-
-@node Q6.1.7, Q6.2.1, Q6.1.6, MS Windows
-@unnumberedsubsec Q6.1.7: How do I compile with X support?
-
-To compile under Cygwin, all you need to do is install XFree86
-(@pxref{Q6.1.6}).  Once installed, @file{configure} should automatically
-find the X libraries and compile with X support.
-
-As noted above, the non-Cygwin X support is basically orphaned, and
-probably won't work.  But if it want to try, it's described in
-@file{nt/README} in some detail.  Basically, you need to get X11
-libraries from ftp.x.org, and compile them.  If the precompiled versions
-are available somewhere, we don't know of it.
-
-
-@node Q6.2.1, Q6.2.2, Q6.1.7, MS Windows
-@unnumberedsec 6.2: Customization and User Interface
-@unnumberedsubsec Q6.2.1: How does the port cope with differences in the Windows user interface?
-
-The XEmacs (and Emacs in general) user interface is pretty different
-from what is expected of a typical MS Windows program.  How does the MS
-Windows port cope with it?
-
-As a general rule, we follow native MS Windows conventions as much as
-possible.  21.4 is a fairly complete Windows application, supporting
-native printing, system file dialog boxes, tool tips, etc.  In cases
-where there's a clear UI conflict, we currently use normal Unix XEmacs
-behavior by default, but make sure the MS Windows "look and feel" (mark
-via shift-arrow, self-inserting deletes region, Alt selects menu items,
-etc.) is easily configurable (respectively: using the variable
-@code{shifted-motion-keys-select-region} in 21.4 and above [it's in fact
-the default in these versions], or the @file{pc-select} package; using
-the @file{pending-del} package; and setting the variable
-@code{menu-accelerator-enabled} to @code{menu-force} in 21.4 and above).
-In fact, if you use the sample @file{init.el} file as your init file,
-you will get all these behaviors automatically turned on.
-
-In future versions, some of these features might be turned on by
-default in the MS Windows environment.
-
-
-@node Q6.2.2, Q6.2.3, Q6.2.1, MS Windows
-@unnumberedsubsec Q6.2.2: How do I change fonts in XEmacs on MS Windows?
-
-In 21.4 and above, you can use the "Options" menu to change the font.
-You can also do it in your init file, e.g. like this:
-
-@display
-    (set-face-font 'default "Lucida Console:Regular:10")
-    (set-face-font 'modeline "MS Sans Serif:Regular:10")
-@end display
-
-
-@node Q6.2.3, Q6.2.4, Q6.2.2, MS Windows
-@unnumberedsubsec Q6.2.3: Where do I put my @file{init.el}/@file{.emacs} file?
-
-@file{init.el} is the name of the init file starting with 21.4, and is
-located in the subdirectory @file{.xemacs/} of your home directory.  In
-prior versions, the init file is called @file{.emacs} and is located in
-your home directory.  Your home directory under Windows is determined by
-the @samp{HOME} environment variable.  If this is not set, it defaults to
-@samp{C:\}.
-
-To set this variable, modify @file{AUTOEXEC.BAT} under Windows 95/98, or
-select @samp{Control Panel->System->Advanced->Environment Variables...}
-under Windows NT/2000.
-
-
-@node Q6.2.4, Q6.2.5, Q6.2.3, MS Windows
-@unnumberedsubsec Q6.2.4: How do I get Windows Explorer to associate a file type with XEmacs?
-
-@unnumberedsubsubsec Associating a new file type with XEmacs.
-
-In Explorer select @samp{View/Options/File Types}, press @samp{[New
-Type...]} and fill in the dialog box, e.g.:
-
-@example
-        Description of type:    Emacs Lisp source
-        Associated extension:   el
-        Content Type (MIME):    text/plain
-@end example
-
-then press @samp{[New...]} and fill in the @samp{Action} dialog box as
-follows:
-
-@example
-        Action:
-        Open
-
-        Application used to perform action:
-        D:\Full\path\for\xemacs.exe "%1"
-
-        [x] Use DDE
-
-        DDE Message:
-        open("%1")
-
-        Application:
-        <leave blank>
-
-        DDE Application Not Running:
-        <leave blank>
-
-        Topic:
-        <leave blank>
-@end example
-
-@unnumberedsubsubsec Associating an existing file type with XEmacs.
-
-In Explorer select @samp{View/Options/File Types}.  Click on the file
-type in the list and press @samp{[Edit...]}.  If the file type already
-has an @samp{Open} action, double click on it and fill in the
-@samp{Action} dialog box as described above; otherwise create a new
-action.
-
-If the file type has more than one action listed, you probably want to
-make the @samp{Open} action that you just edited the default by clicking on
-it and pressing @samp{Set Default}.
-
-Note for Windows 2000 users: Under Windows 2000, get to @samp{File Types}
-using @samp{Control Panel->Folder Options->File Types}.
-
-
-@node Q6.2.5, Q6.3.1, Q6.2.4, MS Windows
-@unnumberedsubsec Q6.2.5: Is it possible to print from XEmacs?
-
-As of 21.4, printing works on Windows, using simply @samp{File->Print},
-and can be configured with @samp{File->Page Setup}.
-
-Prior to 21.4, there is no built-in support, but there are some clever
-hacks out there.  If you know how, please let us know and we'll put it
-here.
-
-
-@node Q6.3.1, Q6.3.2, Q6.2.5, MS Windows
-@unnumberedsec 6.3: Miscellaneous
-@unnumberedsubsec Q6.3.1: Does XEmacs rename all the @samp{win32-*} symbols to @samp{w32-*}?
-
-In his flavor of Emacs 20, Richard Stallman has renamed all the @samp{win32-*}
-symbols to @samp{w32-*}.  Does XEmacs do the same?
-
-We consider such a move counter-productive, thus we do not use the
-@samp{w32} prefix. (His rather questionable justification was that he
-did not consider Windows to be a "winning" platform.) However, the name
-@samp{Win32} is not particularly descriptive outside the Windows world,
-and using just @samp{windows-} would be too generic.  So we chose a
-compromise, the prefix @samp{mswindows-} for Windows-related variables
-and functions.
-
-Thus all the XEmacs variables and functions directly related to either
-the Windows GUI or OS are prefixed @samp{mswindows-} (except for a
-couple of debugging variables, prefixed @samp{debug-mswindows-}).  From
-an architectural perspective, however, we believe that this is mostly a
-non-issue because there should be a very small number of
-window-systems-specific variables anyway.  Whenever possible, we try to
-provide generic interfaces that apply to all window systems.
-
-@c not true:
-@c The user variables
-@c that share functionality with existing NT Emacs variables are be named
-@c with our convention, but we provide the GNU Emacs names as
-@c compatibility aliases.
-
-
-@node Q6.3.2, Q6.3.3, Q6.3.1, MS Windows
-@unnumberedsubsec Q6.3.2: What are the differences between the various MS Windows emacsen?
-
-XEmacs, Win-Emacs, DOS Emacs, NT Emacs, this is all very confusing.
-Could you briefly explain the differences between them?
-
-Here is a recount of various Emacs versions running on MS Windows:
-
-@itemize @bullet
-
-@item
-XEmacs
-
-@itemize @minus
-
-@item
-Beginning with XEmacs 19.12, XEmacs' architecture was redesigned
-in such a way to allow clean support of multiple window systems.  At
-this time the TTY support was added, making X and TTY the first two
-"window systems" supported by XEmacs.  The 19.12 design is the basis for
-the current native MS Windows code.
-
-@item
-Some time during 1997, David Hobley (soon joined by Marc Paquette)
-imported some of the NT-specific portions of GNU Emacs, making XEmacs
-with X support compile under Windows NT, and creating the "X" port.
-
-@item
-Several months later, Jonathan Harris sent out initial patches to use
-the Win32 API, thus creating the native port.  Since then, various
-people have contributed, including Kirill M. Katsnelson (contributed
-support for menubars, subprocesses and network, as well as loads of
-other code), Andy Piper (ported XEmacs to Cygwin environment,
-contributed Windows unexec, Windows-specific glyphs and toolbars code,
-and more), Ben Wing (loads of improvements; primary MS Windows developer
-since 2000), Jeff Sparkes (contributed scrollbars support) and many
-others.
-@end itemize
-
-@item
-NT Emacs
-
-@itemize @minus
-
-@item
-NT Emacs is a version of GNU Emacs modified to compile and run under MS
-Windows 95 and NT using the native Win32 API.  As such, it is close in
-spirit to the XEmacs "native" port.
-
-@item
-NT Emacs has been written by Geoff Voelker, and more information can be
-found at
-@iftex
-@*
-@end iftex
-@uref{http://www.gnu.org/software/emacs/windows/ntemacs.html}.
-@end itemize
-
-@item
-Win-Emacs
-
-@itemize @minus
-
-@item
-Win-Emacs was a port of Lucid Emacs 19.6 to MS Windows using X
-compatibility libraries.  Win-Emacs was written by Ben Wing.  The MS
-Windows code never made it back to Lucid Emacs, and its creator (Pearl
-Software) has long since gone out of business.
-@end itemize
-
-@item
-GNU Emacs for DOS
-
-@itemize @minus
-
-@item
-GNU Emacs features support for MS-DOS and DJGPP (D.J. Delorie's DOS
-port of GCC).  Such an Emacs is heavily underfeatured, because it does
-not support long file names, lacks proper subprocesses support, and
-is far too big compared with typical DOS editors.
-@end itemize
-
-@item
-GNU Emacs compiled with Win32
-
-@itemize @minus
-
-@item
-Starting with version 19.30, it has been possible to compile GNU Emacs
-under MS Windows using the DJGPP compiler and X libraries.  The result
-is very similar to GNU Emacs compiled under MS DOS, only it works
-somewhat better because it runs in 32-bit mode, makes use of all the
-system memory, supports long file names, etc.
-@end itemize
-
-@end itemize
-
-
-@node Q6.3.3, Q6.3.4, Q6.3.2, MS Windows
-@unnumberedsubsec Q6.3.3: XEmacs 21.1 on Windows used to spawn an ugly console window on every startup.  Has that been fixed?
-
-Yes.
-
-The console was there because @file{temacs} (and in turn, @file{xemacs})
-was a console application, and Windows typically creates a new
-console for a console process unless the creating process requests that
-one isn't created.  This used to be fixed with @file{runemacs}, a small
-Windows application that existed merely to start @file{xemacs}, stating
-that it didn't want a console.
-
-XEmacs 21.4 fixes this cleanly by the virtue of being a true "GUI"
-application.  The explanation of what that means is included for
-educational value.
-
-When building an application to be run in a Win32 environment, you must
-state which sub-system it is to run in.  Valid subsystems include
-"console" and "gui".  The subsystem you use affects the run time
-libraries linked into your application, the start up function that is
-run before control is handed over to your application, the entry point
-to your program, and how Windows normally invokes your program. (Console
-programs automatically get a console created for them at startup if
-their stdin/stdout don't point anywhere useful, which is the case when
-run from the GUI.  This is a stupid design, of course -- instead, the
-console should get created only when the first I/O actually occurs!
-GUI programs have an equally stupid design: When called from
-@file{CMD.EXE}/@file{COMMAND.COM}, their stdin/stdout will be set to
-point nowhere useful, even though the command shell has its own
-stdin/stdout.  It's as if someone who had learned a bit about stdio but
-had no actual knowledge of interprocess communication designed the
-scheme; unfortunately, the whole process-communication aspect of the
-Win32 API is equally badly designed.) For example, the entry point for a
-console app is "main" (which is what you'd expect for a C/C++ program),
-but the entry point for a "gui" app is "WinMain".  This confuses and
-annoys a lot of programmers who've grown up on Unix systems, where the
-kernel doesn't really care whether your application is a gui program or
-not.
-
-For reasons not altogether clear, and are lost in the mists of time and
-tradition, XEmacs on Win32 started out as a console application, and
-therefore a console was automatically created for it. (It may have been
-made a console application partly because a console is needed in some
-circumstances, especially under Win95, to interrupt, terminate, or send
-signals to a child process, and because of the bogosity mentioned above
-with GUI programs and the standard command shell.  Currently, XEmacs
-just creates and immediately hides a console when necessary, and
-works around the "no useful stdio" problem by creating its own console
-window as necessary to display messages in.)
-
-
-@node Q6.3.4, Q6.4.1, Q6.3.3, MS Windows
-@unnumberedsubsec Q6.3.4: What is the porting team doing at the moment?
-
-(as of June 2001)
-
-The porting team is continuing work on the MS Windows-specific code.
-Major projects are the development of Mule (internationalization)
-support for Windows and the improvement of the widget support (better
-support for dialog boxes, buttons, edit fields, and similar UI
-elements).
-
-
-
-@node Q6.4.1, Q6.4.2, Q6.3.4, MS Windows
-@unnumberedsec 6.4: Troubleshooting
-@unnumberedsubsec Q6.4.1 XEmacs won't start on Windows.
-
-XEmacs relies on a process called "dumping" to generate a working
-executable. Under MS-Windows this process effectively fixes the memory
-addresses of information in the executable. When XEmacs starts up it tries
-to reserve these memory addresses so that the dumping process can be
-reversed -- putting the information back at the correct addresses.
-Unfortunately some .DLLs (for instance the soundblaster driver) occupy
-memory addresses that can conflict with those needed by the dumped XEmacs
-executable. In this instance XEmacs will fail to start without any
-explanation. Note that this is extremely machine specific.
-
-21.1.10 includes a fix for this that makes more intelligent guesses
-about which memory addresses will be free, and this should cure the
-problem for most people.  21.4 implements "portable dumping", which
-eliminates the problem altogether.  We recommend you use the 21.4
-binaries, but you can use the 21.1 binaries if you are very paranoid
-about stability.  @xref{Q6.0.3}.
-
-@node Q6.4.2, Q6.4.3, Q6.4.1, MS Windows
-@unnumberedsubsec Q6.4.2 Why do I get a blank toolbar on Windows 95?
-
-You need at least version 4.71 of the system file @file{comctl32.dll}.
-The updated version is supplied with Internet Explorer 4 and later but if
-you are avoiding IE you can also download it from the Microsoft web
-site.  Go into support and search for @file{comctl32.dll}.  The download
-is a self-installing executable.
-
-@node Q6.4.3, , Q6.4.2, MS Windows
-@unnumberedsubsec Q6.4.3 XEmacs complains "No such file or directory, diff"
-
-or "ispell" or other commands that seem related to whatever you just
-tried to do (M-x ediff or M-$, for example).
-
-There are a large number of common (in the sense that "everyone has
-these, they really do") Unix utilities that are not provided with
-XEmacs.  The GNU Project's implementations are available for Windows in
-the the Cygwin distribution (@uref{http://www.cygwin.com/}), which also
-provides a complete Unix emulation environment (and thus makes ports of
-Unix utilities nearly trivial).  Another implementation is that from
-MinGW (@uref{http://www.mingw.org/msys.shtml}).  If you know of others,
-please let us know!
-
-
-
-@node Current Events, Legacy Versions, MS Windows, Top
+@node Current Events, Legacy Versions, Advanced, Top
 @unnumbered 7 What the Future Holds
 
 This is part 7 of the XEmacs Frequently Asked Questions list.  This
@@ -7071,19 +7203,21 @@
 
 
 @menu
-* Q7.0.1::      What new features will be in XEmacs soon?
-* Q7.0.2::      What's new in XEmacs 21.4?
-* Q7.0.3::      What's new in XEmacs 21.1?
-* Q7.0.4::      What's new in XEmacs 20.4?
-* Q7.0.5::      What's new in XEmacs 20.3?
-* Q7.0.6::      What's new in XEmacs 20.2?
+7.0: Changes
+* Q7.0.1::    What new features will be in XEmacs soon?
+* Q7.0.2::    What's new in XEmacs 21.4?
+* Q7.0.3::    What's new in XEmacs 21.1?
+* Q7.0.4::    What's new in XEmacs 20.4?
+* Q7.0.5::    What's new in XEmacs 20.3?
+* Q7.0.6::    What's new in XEmacs 20.2?
 @end menu
 
+@unnumberedsec 7.0: Changes
+
 @node Q7.0.1, Q7.0.2, Current Events, Current Events
-@unnumberedsec 7.0: Changes
 @unnumberedsubsec Q7.0.1: What new features will be in XEmacs soon?
 
-Not yet written.
+#### Write me.
 
 @node Q7.0.2, Q7.0.3, Q7.0.1, Current Events
 @unnumberedsubsec Q7.0.2: What's new in XEmacs 21.4?
@@ -7131,7 +7265,11 @@
 Default menubar improvements. (Default menubar has many new commands and
 better organization.  The font-menu is now available under MS Windows.)
 @item
-Dialog box improvements, including a real file dialog box. (XEmacs now has a proper file dialog box under MS Windows (and GTK)!  The old clunky file dialog box is improved.  Keyboard traversal now works correctly in MS Windows dialog boxes.  There is a Search dialog box available from Edit->Find...)
+Dialog box improvements, including a real file dialog box. (XEmacs now
+has a proper file dialog box under MS Windows (and GTK)!  The old
+clunky file dialog box is improved.  Keyboard traversal now works
+correctly in MS Windows dialog boxes.  There is a Search dialog box
+available from @samp{Edit->Find...})
 @item
 New buffer tabs.
 @item
@@ -7207,7 +7345,7 @@
 @unnumberedsubsec Q7.0.3: What's new in XEmacs 21.1?
 
 21.1 was the "stable" version of "experimental" 21.0 series.
-@xref{Q7.0.2}.
+@xref{Q7.0.2, What's new in XEmacs 21.4?}.
 
 The following lists summarizes the essential changes made in this
 version.  For a fuller list, see the @file{NEWS} in the @file{etc}
@@ -7219,9 +7357,10 @@
 @itemize @bullet
 
 @item
-XEmacs is now supported under Microsoft Windows 95/98 and Windows NT
-operating systems.  To discuss Windows-specific issues, subscribe to the
-mailing list at @email{xemacs-nt-request@@xemacs.org}.
+XEmacs is now supported under Microsoft Windows 95/98/ME and Windows
+NT/2000/XP operating systems.  To discuss Windows-specific issues,
+subscribe to the mailing list at
+@email{xemacs-winnt-request@@xemacs.org}.
 
 @item
 XEmacs has been unbundled into constituent installable packages.
@@ -7367,7 +7506,7 @@
 XEmacs 20.3 is the first non-beta v20 release, and will be the
 basis for all further development.
 
-@node Q7.0.6, , Q7.0.5, Current Events
+@node Q7.0.6,  , Q7.0.5, Current Events
 @unnumberedsubsec Q7.0.6: What's new in XEmacs 20.2?
 
 The biggest changes in 20.2 include integration of EFS (the next
@@ -7383,9 +7522,7 @@
 For older news, see the file @file{ONEWS} in the @file{etc} directory of
 the XEmacs distribution.
 
-
-
-@node Legacy Versions, , Current Events, Top
+@node Legacy Versions,  , Current Events, Top
 @unnumbered 8 New information about old XEmacsen
 
 This is part 8 of the XEmacs Frequently Asked Questions list.  It will
@@ -7395,13 +7532,13 @@
 updated versions of packages, but bug fixes (which will not be applied
 to released XEmacsen, but users can apply themselves) are also accepted.
 
-
 @menu
-* Q8.0.1::      Gnus 5.10 won't display smileys in XEmacs 21.1.
+* Q8.0.1::    Gnus 5.10 won't display smileys in XEmacs 21.1.
 @end menu
 
-@node Q8.0.1, , , Legacy Versions
-@unnumberedsec 8.0 XEmacs 21.1
+@unnumberedsec 8.0: XEmacs 21.1
+
+@node Q8.0.1,  , Legacy Versions, Legacy Versions
 @unnumberedsubsec Q8.0.1: Gnus 5.10 won't display smileys in XEmacs 21.1.
 
 @email{eeide@@cs.utah.edu, Eric Eide} wrote:
@@ -7439,5 +7576,4 @@
 branch, praise be.
 @end quotation
 
-
 @bye