This commit was generated by cvs2svn to compensate for changes in r6453,
[chise/xemacs-chise.git.1] / info / xemacs-faq.info-4
1 This is Info file ../info/xemacs-faq.info, produced by Makeinfo version
2 1.68 from the input file xemacs-faq.texi.
3
4 INFO-DIR-SECTION XEmacs Editor
5 START-INFO-DIR-ENTRY
6 * FAQ: (xemacs-faq).            XEmacs FAQ.
7 END-INFO-DIR-ENTRY
8
9 \1f
10 File: xemacs-faq.info,  Node: Q3.10.1,  Next: Q3.10.2,  Prev: Q3.9.4,  Up: Customization
11
12 3.10: Text Selections
13 =====================
14
15 Q3.10.1: How can I turn off or change highlighted selections?
16 -------------------------------------------------------------
17
18    The `zmacs' mode allows for what some might call gratuitous
19 highlighting for selected regions (either by setting mark or by using
20 the mouse).  This is the default behavior.  To turn off, add the
21 following line to your `.emacs' file:
22
23      (setq zmacs-regions nil)
24
25    Starting with XEmacs-20.2 you can also change this with Customize.
26 Select from the `Options' menu `Customize->Emacs->Editing->Basics->Zmacs
27 Regions' or type `M-x customize <RET> editing-basics <RET>'.
28
29    To change the face for selection, look at `Options->Customize' on
30 the menubar.
31
32 \1f
33 File: xemacs-faq.info,  Node: Q3.10.2,  Next: Q3.10.3,  Prev: Q3.10.1,  Up: Customization
34
35 Q3.10.2: How do I get that typing on an active region removes it?
36 -----------------------------------------------------------------
37
38    I want to change things so that if I select some text and start
39 typing, the typed text replaces the selected text, similar to Motif.
40
41    You want to use something called "pending delete".  Pending delete
42 is what happens when you select a region (with the mouse or keyboard)
43 and you press a key to replace the selected region by the key you typed.
44 Usually backspace kills the selected region.
45
46    To get this behavior, add the following line to your `.emacs':
47
48      (turn-on-pending-delete)
49
50    Note that this will work with both Backspace and Delete.
51
52 \1f
53 File: xemacs-faq.info,  Node: Q3.10.3,  Next: Q3.10.4,  Prev: Q3.10.2,  Up: Customization
54
55 Q3.10.3: Can I turn off the highlight during isearch?
56 -----------------------------------------------------
57
58    I do not like my text highlighted while I am doing isearch as I am
59 not able to see what's underneath.  How do I turn it off?
60
61    Put the following in your `.emacs':
62
63      (setq isearch-highlight nil)
64
65    Starting with XEmacs-20.2 you can also change this with Customize.
66 Type `M-x customize-variable <RET> isearch-highlight <RET>'.
67
68    Note also that isearch-highlight affects query-replace and ispell.
69 Instead of disabling isearch-highlight you may find that a better
70 solution consists of customizing the `isearch' face.
71
72 \1f
73 File: xemacs-faq.info,  Node: Q3.10.4,  Next: Q3.10.5,  Prev: Q3.10.3,  Up: Customization
74
75 Q3.10.4: How do I turn off highlighting after `C-x C-p' (mark-page)?
76 --------------------------------------------------------------------
77
78    Put this in your `.emacs':
79
80      (setq zmacs-regions nil)
81
82    *Warning: This command turns off all region highlighting.*
83
84    Also *Note Q3.10.1::.
85
86 \1f
87 File: xemacs-faq.info,  Node: Q3.10.5,  Prev: Q3.10.4,  Up: Customization
88
89 Q3.10.5: The region disappears when I hit the end of buffer while scrolling.
90 ----------------------------------------------------------------------------
91
92    This has been fixed by default starting with XEmacs-20.3.
93
94    With older versions you can turn this feature (if it indeed is a
95 feature) off like this:
96
97      (defadvice scroll-up (around scroll-up freeze)
98        (interactive "_P")
99        (let ((zmacs-region-stays t))
100          (if (interactive-p)
101         (condition-case nil
102             ad-do-it
103           (end-of-buffer (goto-char (point-max))))
104            ad-do-it)))
105      
106      (defadvice scroll-down (around scroll-down freeze)
107        (interactive "_P")
108        (let ((zmacs-region-stays t))
109          (if (interactive-p)
110         (condition-case nil
111             ad-do-it
112           (beginning-of-buffer (goto-char (point-min))))
113            ad-do-it)))
114
115    Thanks to T. V. Raman <raman@adobe.com> for assistance in deriving
116 this answer.
117
118 \1f
119 File: xemacs-faq.info,  Node: Subsystems,  Next: Miscellaneous,  Prev: Customization,  Up: Top
120
121 4 Major Subsystems
122 ******************
123
124    This is part 4 of the XEmacs Frequently Asked Questions list.  This
125 section is devoted to major XEmacs subsystems.
126
127 * Menu:
128
129 Reading Mail with VM:
130 * Q4.0.1::      How do I set up VM to retrieve remote mail using POP?
131 * Q4.0.2::      How do I get VM to filter mail for me?
132 * Q4.0.3::      How can I get VM to automatically check for new mail?
133 * Q4.0.4::      [This question intentionally left blank]
134 * Q4.0.5::      How do I get my outgoing mail archived?
135 * 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"?
136 * Q4.0.7::      Is there a mailing list or FAQ for VM?
137 * Q4.0.8::      Remote mail reading with VM.
138 * Q4.0.9::      rmail or VM gets an error incorporating new mail.
139 * Q4.0.10::     How do I make VM stay in a single frame?
140 * Q4.0.11::     How do I make VM or mh-e display graphical smilies?
141 * Q4.0.12::     Customization of VM not covered in the manual or here.
142
143 Web browsing with W3:
144 * Q4.1.1::      What is W3?
145 * Q4.1.2::      How do I run W3 from behind a firewall?
146 * Q4.1.3::      Is it true that W3 supports style sheets and tables?
147
148 Reading Netnews and Mail with Gnus:
149 * Q4.2.1::      GNUS, (ding) Gnus, Gnus 5, September Gnus, Red Gnus,argh!
150 * Q4.2.2::      [This question intentionally left blank]
151 * Q4.2.3::      How do I make Gnus stay within a single frame?
152 * Q4.2.4::      How do I customize the From: line?
153
154 Other Mail & News:
155 * Q4.3.1::      How can I read and/or compose MIME messages?
156 * Q4.3.2::      What is TM and where do I get it?
157 * Q4.3.3::      Why isn't this `movemail' program working?
158 * Q4.3.4::      Movemail is also distributed by Netscape?  Can that cause problems?
159 * Q4.3.5::      Where do I find pstogif (required by tm)?
160
161 Sparcworks, EOS, and WorkShop:
162 * Q4.4.1::      What is SPARCworks, EOS, and WorkShop
163
164 Energize:
165 * Q4.5.1::      What is/was Energize?
166
167 Infodock:
168 * Q4.6.1::      What is Infodock?
169
170 Other Unbundled Packages:
171 * Q4.7.1::      What is AUC TeX?  Where do you get it?
172 * Q4.7.2::      Are there any Emacs Lisp Spreadsheets?
173 * Q4.7.3::      Byte compiling AUC TeX on XEmacs 19.14
174 * Q4.7.4::      Problems installing AUC TeX
175 * Q4.7.5::      Is there a reason for an Emacs package not to be included in XEmacs?
176 * Q4.7.6::      Is there a MatLab mode?
177
178 \1f
179 File: xemacs-faq.info,  Node: Q4.0.1,  Next: Q4.0.2,  Prev: Subsystems,  Up: Subsystems
180
181 4.0: Reading Mail with VM
182 =========================
183
184 Q4.0.1: How do I set up VM to retrieve mail from a remote site using POP?
185 -------------------------------------------------------------------------
186
187    Use `vm-spool-files', like this for example:
188
189      (setq vm-spool-files '("/var/spool/mail/wing"
190                             "netcom23.netcom.com:110:pass:wing:MYPASS"))
191
192    Of course substitute your actual password for MYPASS.
193
194 \1f
195 File: xemacs-faq.info,  Node: Q4.0.2,  Next: Q4.0.3,  Prev: Q4.0.1,  Up: Subsystems
196
197 Q4.0.2: How do I get VM to filter mail for me?
198 ----------------------------------------------
199
200    One possibility is to use procmail to split your mail before it gets
201 to VM.  I prefer this personally, since there are many strange and
202 wonderful things one can do with procmail.  Procmail may be found at
203 `ftp://ftp.informatik.rwth-aachen.de/pub/packages/procmail/'.
204
205    Also see the Mail Filtering FAQ at:
206 `ftp://rtfm.mit.edu/pub/usenet/news.answers/mail/filtering-faq'.
207
208 \1f
209 File: xemacs-faq.info,  Node: Q4.0.3,  Next: Q4.0.4,  Prev: Q4.0.2,  Up: Subsystems
210
211 Q4.0.3: How can I get VM to automatically check for new mail?
212 -------------------------------------------------------------
213
214    John Turner <turner@lanl.gov> writes:
215
216      Use the following:
217
218           (setq vm-auto-get-new-mail 60)
219
220 \1f
221 File: xemacs-faq.info,  Node: Q4.0.4,  Next: Q4.0.5,  Prev: Q4.0.3,  Up: Subsystems
222
223 Q4.0.4: [This question intentionally left blank]
224 ------------------------------------------------
225
226    Obsolete question, left blank to avoid renumbering.
227
228 \1f
229 File: xemacs-faq.info,  Node: Q4.0.5,  Next: Q4.0.6,  Prev: Q4.0.4,  Up: Subsystems
230
231 Q4.0.5: How do I get my outgoing mail archived?
232 -----------------------------------------------
233
234      (setq mail-archive-file-name "~/outbox")
235
236 \1f
237 File: xemacs-faq.info,  Node: Q4.0.6,  Next: Q4.0.7,  Prev: Q4.0.5,  Up: Subsystems
238
239 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"?
240 ---------------------------------------------------------------------------------------------------------------------
241
242    Set `vm-reply-ignored-addresses' to a list, like
243
244      (setq vm-reply-ignored-addresses
245            '("wing@nuspl@nvwls.cc.purdue.edu,netcom[0-9]*.netcom.com"
246         "wing@netcom.com" "wing@666.com"))
247
248    Note that each string is a regular expression.
249
250 \1f
251 File: xemacs-faq.info,  Node: Q4.0.7,  Next: Q4.0.8,  Prev: Q4.0.6,  Up: Subsystems
252
253 Q4.0.7: Is there a mailing list or FAQ for VM?
254 ----------------------------------------------
255
256    A FAQ for VM exists at `http://www.cyberpass.net/~gorkab/vmfaq.htm'.
257
258    VM has its own newsgroups gnu.emacs.vm.info and gnu.emacs.vm.bug.
259
260 \1f
261 File: xemacs-faq.info,  Node: Q4.0.8,  Next: Q4.0.9,  Prev: Q4.0.7,  Up: Subsystems
262
263 Q4.0.8: Remote mail reading with VM.
264 ------------------------------------
265
266    My mailbox lives at the office on a big honkin server.  My regular
267 INBOX lives on my honkin desktop machine.  I now can PPP to the office
268 from home which is far from honking...  I'd like to be able to read
269 mail at home without storing it here and I'd like to use xemacs and VM
270 at home...  Is there a recommended setup?
271
272    Joseph J. Nuspl Jr. <nuspl@nvwls.cc.purdue.edu> writes:
273
274      There are several ways to do this.
275
276        1. Set your display to your home machine and run dxpc or one of
277           the other X compressors.
278
279        2. NFS mount your desktop machine on your home machine and
280           modify your pop command on your home machine to rsh to your
281           desktop machine and actually do the pop get's.
282
283        3. Run a POP server on your desktop machine as well and do a
284           sort of two tiered POP get.
285
286    William Perry <wmperry@monolith.spry.com> adds:
287
288      Or you could run a pop script periodically on your desktop
289      machine, and just use ange-ftp or NFS to get to your mailbox.  I
290      used to do this all the time back at IU.
291
292 \1f
293 File: xemacs-faq.info,  Node: Q4.0.9,  Next: Q4.0.10,  Prev: Q4.0.8,  Up: Subsystems
294
295 Q4.0.9: rmail or VM gets an error incorporating new mail.
296 ---------------------------------------------------------
297
298    Quoting the XEmacs PROBLEMS file:
299
300      rmail and VM get new mail from `/usr/spool/mail/$USER' using a
301      program called `movemail'.  This program interlocks with
302      `/bin/mail' using the protocol defined by `/bin/mail'.
303
304      There are two different protocols in general use.  One of them
305      uses the `flock' system call.  The other involves creating a lock
306      file; `movemail' must be able to write in `/usr/spool/mail' in
307      order to do this.  You control which one is used by defining, or
308      not defining, the macro `MAIL_USE_FLOCK' in `config.h' or the m-
309      or s- file it includes.
310
311      *IF YOU DON'T USE THE FORM OF INTERLOCKING THAT IS NORMAL ON YOUR
312      SYSTEM, YOU CAN LOSE MAIL!*
313
314      If your system uses the lock file protocol, and fascist
315      restrictions prevent ordinary users from writing the lock files in
316      `/usr/spool/mail', you may need to make `movemail' setgid to a
317      suitable group such as `mail'.  You can use these commands (as
318      root):
319
320           chgrp mail movemail
321           chmod 2755 movemail
322
323      If your system uses the lock file protocol, and fascist
324      restrictions prevent ordinary users from writing the lock files in
325      `/usr/spool/mail', you may need to make `movemail' setgid to a
326      suitable group such as `mail'.  To do this, use the following
327      commands (as root) after doing the make install.
328
329           chgrp mail movemail
330           chmod 2755 movemail
331
332      Installation normally copies movemail from the build directory to
333      an installation directory which is usually under `/usr/local/lib'.
334      The installed copy of `movemail' is usually in the directory
335      `/usr/local/lib/emacs/VERSION/TARGET'.  You must change the group
336      and mode of the installed copy; changing the group and mode of the
337      build directory copy is ineffective.
338
339 \1f
340 File: xemacs-faq.info,  Node: Q4.0.10,  Next: Q4.0.11,  Prev: Q4.0.9,  Up: Subsystems
341
342 Q4.0.10: How do I make VM stay in a single frame?
343 -------------------------------------------------
344
345    John.John S Cooper <Cooper@Eng.Sun.COM> writes:
346
347                                                 ; Don't use multiple frames
348           (setq vm-frame-per-composition nil)
349           (setq vm-frame-per-folder nil)
350           (setq vm-frame-per-edit nil)
351           (setq vm-frame-per-summary nil)
352
353 \1f
354 File: xemacs-faq.info,  Node: Q4.0.11,  Next: Q4.0.12,  Prev: Q4.0.10,  Up: Subsystems
355
356 Q4.0.11: How do I make VM or mh-e display graphical smilies?
357 ------------------------------------------------------------
358
359    For mh-e use the following:
360
361      (add-hook 'mh-show-mode-hook '(lambda ()
362                                 (smiley-region (point-min)
363                                                     (point-max))))
364
365    WJCarpenter <bill@carpenter.ORG> writes: For VM use the following:
366             (autoload 'smiley-region "smiley" nil t)
367             (add-hook 'vm-select-message-hook
368                       '(lambda ()
369                          (smiley-region (point-min)
370                                         (point-max))))
371
372    For tm use the following:
373      (autoload 'smiley-buffer "smiley" nil t)
374      (add-hook 'mime-viewer/plain-text-preview-hook 'smiley-buffer)
375
376 \1f
377 File: xemacs-faq.info,  Node: Q4.0.12,  Next: Q4.1.1,  Prev: Q4.0.11,  Up: Subsystems
378
379 Q4.0.12: Customization of VM not covered in the manual, or here.
380 ----------------------------------------------------------------
381
382    giacomo boffi <boffi@hp735.stru.polimi.it> writes:
383
384      The meta-answer is to look into the file `vm-vars.el', in the vm
385      directory of the lisp library.
386
387      `vm-vars.el' contains, initializes and carefully describes, with
388      examples of usage, the plethora of user options that *fully*
389      control VM's behavior.
390
391      Enter vm-vars, `forward-search' for toolbar, find the variables
392      that control the toolbar placement, appearance, existence, copy to
393      your `.emacs' or `.vm' and modify according to the detailed
394      instructions.
395
396      The above also applies to all the various features of VM: search
397      for some keywords, maybe the first you conjure isn't appropriate,
398      find the appropriate variables, copy and experiment.
399
400 \1f
401 File: xemacs-faq.info,  Node: Q4.1.1,  Next: Q4.1.2,  Prev: Q4.0.12,  Up: Subsystems
402
403 4.1: Web browsing with W3
404 =========================
405
406 Q4.1.1: What is W3?
407 -------------------
408
409    W3 is an advanced graphical browser written in Emacs lisp that runs
410 on XEmacs.  It has full support for cascaded style sheets, and more...
411
412    It has a home web page at
413 `http://www.cs.indiana.edu/elisp/w3/docs.html'.
414
415 \1f
416 File: xemacs-faq.info,  Node: Q4.1.2,  Next: Q4.1.3,  Prev: Q4.1.1,  Up: Subsystems
417
418 Q4.1.2: How do I run W3 from behind a firewall?
419 -----------------------------------------------
420
421    There is a long, well-written, detailed section in the W3 manual that
422 describes how to do this.  Look in the section entitled "Firewalls".
423
424 \1f
425 File: xemacs-faq.info,  Node: Q4.1.3,  Next: Q4.2.1,  Prev: Q4.1.2,  Up: Subsystems
426
427 Q4.1.3: Is it true that W3 supports style sheets and tables?
428 ------------------------------------------------------------
429
430    Yes, and much more.  W3, as distributed with the latest XEmacs is a
431 full-featured web browser.
432
433 \1f
434 File: xemacs-faq.info,  Node: Q4.2.1,  Next: Q4.2.2,  Prev: Q4.1.3,  Up: Subsystems
435
436 4.2: Reading Netnews and Mail with Gnus
437 =======================================
438
439 Q4.2.1: GNUS, (ding) Gnus, Gnus 5, September Gnus, Red Gnus, Quassia Gnus, argh!
440 --------------------------------------------------------------------------------
441
442    The Gnus numbering issues are not meant for mere mortals to know
443 them.  If you feel you *must* enter the muddy waters of Gnus, visit the
444 excellent FAQ, maintained by Justin Sheehy, at:
445
446      `http://www.ccs.neu.edu/software/contrib/gnus/'
447
448    See also Gnus home page
449      `http://www.gnus.org/'
450
451 \1f
452 File: xemacs-faq.info,  Node: Q4.2.2,  Next: Q4.2.3,  Prev: Q4.2.1,  Up: Subsystems
453
454 Q4.2.2: This question intentionally left blank.
455 -----------------------------------------------
456
457    Obsolete question, left blank to avoid renumbering.
458
459 \1f
460 File: xemacs-faq.info,  Node: Q4.2.3,  Next: Q4.2.4,  Prev: Q4.2.2,  Up: Subsystems
461
462 Q4.2.3: How do I make Gnus stay within a single frame?
463 ------------------------------------------------------
464
465    The toolbar code to start Gnus opens the new frame--and it's a
466 feature rather than a bug.  If you don't like it, but would still like
467 to click on the seemly icon, use the following code:
468
469      (defun toolbar-news ()
470        (gnus))
471
472    It will redefine the callback function of the icon to just call
473 `gnus', without all the fancy frame stuff.
474
475 \1f
476 File: xemacs-faq.info,  Node: Q4.2.4,  Next: Q4.3.1,  Prev: Q4.2.3,  Up: Subsystems
477
478 Q4.2.4: How do I customize the From: line?
479 ------------------------------------------
480
481    How do I change the `From:' line?  I have set gnus-user-from-line to
482      Gail Gurman <gail.gurman@sybase.com>
483     , but XEmacs Gnus doesn't use it. Instead it uses
484      Gail Mara Gurman <gailg@deall>
485  and then complains that it's incorrect. Also, as you perhaps can see,
486 my Message-ID is screwy. How can I change that?
487
488 Lars Magne Ingebrigtsen <larsi@ifi.uio.no> writes:
489
490      Set `user-mail-address' to `gail.gurman@sybase.com' or
491      `mail-host-address' to `sybase.com'.
492
493 \1f
494 File: xemacs-faq.info,  Node: Q4.3.1,  Next: Q4.3.2,  Prev: Q4.2.4,  Up: Subsystems
495
496 4.3: Other Mail & News
497 ======================
498
499 Q4.3.1: How can I read and/or compose MIME messages?
500 ----------------------------------------------------
501
502    VM supports MIME natively.
503
504    You probably want to use the Tools for MIME (tm).  *Note Q4.3.2::,
505 for details.
506
507    Trey Jackson <trey@cs.berkeley.edu> has an Emacs & MIME web page at
508 `http://bmrc.berkeley.edu/~trey/emacs/mime.html'.
509
510    Another possibility is RMIME.  You may find RMIME at
511 `http://www.cinti.net/~rmoody/rmime/index.html'.
512
513 \1f
514 File: xemacs-faq.info,  Node: Q4.3.2,  Next: Q4.3.3,  Prev: Q4.3.1,  Up: Subsystems
515
516 Q4.3.2: What is TM and where do I get it?
517 -----------------------------------------
518
519    TM stands for "Tools for MIME" and not Tiny MIME.  TM integrates
520 with all major XEmacs packages like Gnus (all flavors), VM, MH-E, and
521 mailcrypt.  It provides totally transparent and trouble-free MIME
522 support.  When appropriate a message will be decoded in place in an
523 XEmacs buffer.
524
525    TM now comes as a package with XEmacs 19.16 and XEmacs 20.2.
526
527    TM was written by MORIOKA Tomohiko <morioka@jaist.ac.jp> and
528 KOBAYASHI Shuhei <shuhei-k@jaist.ac.jp>.
529
530    It is based on the work of UMEDA Masanobu
531 <umerin@mse.kyutech.ac.jp>, the original writer of GNUS.
532
533    The following information is from the `README':
534
535    "tm" is a MIME package for GNU Emacs.  tm has following functions:
536
537    * MIME style multilingual header.
538
539    * MIME message viewer (mime/viewer-mode).
540
541    * MIME message composer (mime/editor-mode).
542
543    * MIME extenders for mh-e, GNUS, RMAIL and VM.
544
545    tm is available from following anonymous ftp sites:
546    * `ftp://ftp.jaist.ac.jp/pub/GNU/elisp/mime/' (Japan).
547
548    * `ftp://ftp.nis.co.jp/pub/gnu/emacs-lisp/tm/' (Japan).
549
550    * `ftp://ftp.nisiq.net/pub/gnu/emacs-lisp/tm/' (US).
551
552    * `ftp://ftp.miranova.com/pub/gnus/jaist.ac.jp/' (US).
553
554    * `ftp://ftp.unicamp.br/pub/mail/mime/tm/' (Brasil).
555
556    * `ftp://ftp.th-darmstadt.de/pub/editors/GNU-Emacs/lisp/mime/'
557      (Germany).
558
559    * `ftp://ftp.tnt.uni-hannover.de/pub/editors/xemacs/contrib/'
560      (Germany).
561
562    Don't let the installation procedure & instructions stop you from
563 trying this package out--it's much simpler than it looks, and once
564 installed, trivial to use.
565
566 \1f
567 File: xemacs-faq.info,  Node: Q4.3.3,  Next: Q4.3.4,  Prev: Q4.3.2,  Up: Subsystems
568
569 Q4.3.3: Why isn't this `movemail' program working?
570 --------------------------------------------------
571
572    Ben Wing <ben@666.com> writes:
573
574      It wasn't chown'ed/chmod'd correctly.
575
576 \1f
577 File: xemacs-faq.info,  Node: Q4.3.4,  Next: Q4.3.5,  Prev: Q4.3.3,  Up: Subsystems
578
579 Q4.3.4: Movemail is also distributed by Netscape?  Can that cause problems?
580 ---------------------------------------------------------------------------
581
582    Steve Baur <steve@altair.xemacs.org> writes:
583
584      Yes.  Always use the movemail installed with your XEmacs.  Failure
585      to do so can result in lost mail.
586
587    Please refer to Jamie Zawinski's <jwz@netscape.com> notes at
588 `http://home.netscape.com/eng/mozilla/2.0/relnotes/demo/movemail.html'.
589 In particular, this document will show you how to make Netscape use the
590 version of movemail configured for your system by the person who built
591 XEmacs.
592
593 \1f
594 File: xemacs-faq.info,  Node: Q4.3.5,  Next: Q4.4.1,  Prev: Q4.3.4,  Up: Subsystems
595
596 Q4.3.5: Where do I find pstogif (required by tm)?
597 -------------------------------------------------
598
599    pstogif is part of the latex2html package.
600
601    Jan Vroonhof <vroonhof@math.ethz.ch> writes:
602
603    latex2html is best found at the CTAN hosts and their mirrors in
604 `tex-archive/support/latex2html'.
605
606    CTAN hosts are:
607
608    * `ftp://ftp.tex.ac.uk/tex-archive/support/latex2html/'.
609
610    * `ftp://ftp.dante.de/tex-archive/support/latex2html/'.
611
612    There is a good mirror at ftp.cdrom.com;
613 `ftp://ftp.cdrom.com/pub/tex/ctan/support/latex2html/'.
614
615 \1f
616 File: xemacs-faq.info,  Node: Q4.4.1,  Next: Q4.5.1,  Prev: Q4.3.5,  Up: Subsystems
617
618 4.4: Sparcworks, EOS, and WorkShop
619 ==================================
620
621 Q4.4.1: What is SPARCworks, EOS, and WorkShop?
622 ----------------------------------------------
623
624    John Turner <turner@lanl.gov> writes:
625
626      SPARCworks is SunSoft's development environment, comprising
627      compilers (C, C++, FORTRAN 77, Fortran 90, Ada, and Pascal), a
628      debugger, and other tools such as TeamWare (for configuration
629      management), MakeTool, etc.
630
631    See `http://www.sun.com/software/Developer-products/' for more info.
632
633    EOS stands for "Era on SPARCworks", but I don't know what Era stands
634 for.
635
636    EOS is the integration of XEmacs with the SPARCworks debugger.  It
637 allows one to use an XEmacs frame to view code (complete with
638 fontification, etc.), set breakpoints, print variables, etc., while
639 using the SPARCworks debugger.  It works very well and I use it all the
640 time.
641
642    Chuck Thompson <cthomp@xemacs.org> writes:
643
644      Era stood for "Emacs Rewritten Again".  It was what we were
645      calling the modified version of Lucid Emacs for Sun when I was
646      dragged, er, allowed to work on this wonderful editor.
647
648    Martin Buchholz <martin@xemacs.org> writes:
649
650      EOS is being replaced with a new graphical development environment
651      called Sun WorkShop, which is currently (07/96) in Alpha Test.
652      For more details, check out
653
654
655
656
657
658
659
660      `http://www.sun.com/software/Products/Developer-products/programs.html'.
661
662 \1f
663 File: xemacs-faq.info,  Node: Q4.5.1,  Next: Q4.6.1,  Prev: Q4.4.1,  Up: Subsystems
664
665 4.5: Energize
666 =============
667
668 Q4.5.1: What is/was Energize?
669 -----------------------------
670
671    David N Gray <gray@meteor.harlequin.com> writes:
672      The files in `lisp/energize' are to enable Emacs to interface with
673      the "Energize Programming System", a C and C++ development
674      environment, which was a product of Lucid, Inc.  Tragically, Lucid
675      went out of business in 1994, so although Energize is still a
676      great system, if you don't already have it, there isn't any way to
677      get it now.  (Unless you happen to be in Japan; INS Engineering
678      may still be selling it there.  Tartan bought the rights to sell
679      it in the rest of the world, but never did so.)
680
681 \1f
682 File: xemacs-faq.info,  Node: Q4.6.1,  Next: Q4.7.1,  Prev: Q4.5.1,  Up: Subsystems
683
684 4.6: Infodock
685 =============
686
687 Q4.6.1: What is Infodock?
688 -------------------------
689
690    InfoDock is an integrated productivity toolset, mainly aimed at
691 technical people.  It is developed and supported by InfoDock
692 Associates, a firm that offers custom support and development for
693 InfoDock, XEmacs and GNU Emacs.  ( `http://www.infodock.com',
694 <info@infodock.com>, +1 408 243 3300).
695
696    InfoDock is built atop the XEmacs variant of GNU Emacs and so has
697 all of the power of Emacs, but with an easier to use and more
698 comprehensive menu-based user interface.  The bottom portion of this
699 text describes how it differs from XEmacs and GNU Emacs from the Free
700 Software Foundation.
701
702    InfoDock is aimed at people who want a free, turn-key productivity
703 environment.  Although InfoDock is customizable, it is not intended for
704 people who like basic versions of Emacs which need to be customized
705 extensively for local use; standard Emacs distributions are better for
706 such uses.  InfoDock is for those people who want a complete,
707 pre-customized environment in one package, which they need not touch
708 more than once or twice a year to update to new revisions.
709
710    InfoDock is pre-built for SPARC SunOS/Solaris systems, PA-RISC HP-UX,
711 and Intel Linux systems.  It is intended for use on a color display,
712 although most features will work on monochrome monitors.  Simply unpack
713 InfoDock according to the instructions in the ID-INSTALL file and you
714 are ready to run.
715
716    The InfoDock Manual is concise, yet sufficient as a user guide for
717 users who have never used an Emacs-type editor before.  For users who
718 are already familiar with Emacs, it supplements the information in the
719 GNU Emacs Manual.
720
721    InfoDock menus are much more extensive and more mature than standard
722 Emacs menus.  Each menu offers a `Manual' item which displays
723 documentation associated with the menu's functions.
724
725 Four types of menubars are provided:
726   1. An extensive menubar providing access to global InfoDock commands.
727
728   2. Mode-specific menubars tailored to the current major mode.
729
730   3. A simple menubar for basic editing to help novices get started
731      with InfoDock.
732
733   4. The standard XEmacs menubar.
734
735    Most modes also include mode-specific popup menus.  Additionally,
736 region and rectangle popup menus are included.
737
738    `Hyperbole', the everyday information manager, is a core part of
739 InfoDock.  This provides context-sensitive mouse keys, a rolodex-type
740 contact manager, programmable hypertext buttons, and an autonumbered
741 outliner with embedded hyperlink anchors.
742
743    The `OO-Browser', a multi-language object-oriented code browser, is a
744 standard part of InfoDock.
745
746    InfoDock saves a more extensive set of user options than other Emacs
747 versions.
748
749    InfoDock inserts a useful file header in many file types, showing the
750 author, summary, and last modification time of each file.  A summary
751 program can then be used to summarize all of the files in a directory,
752 for easy MANIFEST file creation.
753
754    Your working set of buffers is automatically saved and restored (if
755 you answer yes to a prompt) between InfoDock sessions.
756
757    Refined color choices for code highlighting are provided for both
758 dark and light background display frames.
759
760    The `C-z' key prefix performs frame-based commands which parallel the
761 `C-x' key prefix for window-based commands.
762
763    The Smart Menu system is included for producing command menus on dumb
764 terminals.
765
766    Lisp libraries are better categorized according to function.
767
768    Extensions and improvements to many areas of Emacs are included,
769 such as: paragraph filling, mail reading with Rmail, shell handling,
770 outlining, code highlighting and browsing, and man page browsing.
771
772    InfoDock questions, answers and discussion should go to the mail list
773 <infodock@infodock.com>.  Use <infodock-request@infodock.com> to be
774 added or removed from the list.  Always include your InfoDock version
775 number when sending help requests.
776
777    InfoDock is available across the Internet via anonymous FTP.  To get
778 it, first move to a directory into which you want the InfoDock archive
779 files placed.  We will call this <DIST-DIR>.
780
781         cd <DIST-DIR>
782
783    Ftp to ftp.xemacs.org  (Internet Host ID = 128.174.252.16):
784
785         prompt> ftp ftp.xemacs.org
786
787    Login as `anonymous' with your own <user-id>@<site-name> as a
788 password.
789
790         Name (ftp.xemacs.org): anonymous
791         331 Guest login ok, send your complete e-mail address as password.
792         Password: -<your-user-id>@<your-domain>
793         230 Guest login ok, access restrictions apply.
794
795    Move to the location of the InfoDock archives:
796
797         ftp> cd pub/infodock
798
799    Set your transfer mode to binary:
800
801         ftp> bin
802         200 Type set to I.
803
804    Turn off prompting:
805
806         ftp> prompt
807         Interactive mode off.
808
809    Retrieve the InfoDock archives that you want, either by using a `get
810 <file>' for each file you want or by using the following to get a
811 complete distribution, including all binaries:
812
813         ftp> mget ID-INSTALL
814         ftp> mget id-*
815
816    Close the FTP connection:
817
818         ftp> quit
819         221 Goodbye.
820
821    Read the `ID-INSTALL' file which you just retrieved for step-by-step
822 installation instructions.
823
824 \1f
825 File: xemacs-faq.info,  Node: Q4.7.1,  Next: Q4.7.2,  Prev: Q4.6.1,  Up: Subsystems
826
827 4.7: Other Unbundled Packages
828 =============================
829
830 Q4.7.1: What is AUC TeX?  Where do you get it?
831 ----------------------------------------------
832
833    AUC TeX is a package written by Per Abrahamsen <abraham@dina.kvl.dk>.
834 Starting with XEmacs 19.16, AUC TeX is bundled with XEmacs.  The
835 following information is from the `README' and website.
836
837    AUC TeX is an extensible package that supports writing and formatting
838 TeX files for most variants of GNU Emacs. Many different macro packages
839 are supported, including AMS TeX, LaTeX, and TeXinfo.
840
841    The most recent version is always available by ftp at
842 `ftp://sunsite.auc.dk/packages/auctex/auctex.tar.gz'.
843
844    In case you don't have access to anonymous ftp, you can get it by an
845 email request to <ftpmail@decwrl.dec.com>.
846
847    WWW users may want to check out the AUC TeX page at
848 `http://sunsite.auc.dk/auctex/'.
849
850 \1f
851 File: xemacs-faq.info,  Node: Q4.7.2,  Next: Q4.7.3,  Prev: Q4.7.1,  Up: Subsystems
852
853 Q4.7.2: Are there any Emacs Lisp Spreadsheets?
854 ----------------------------------------------
855
856    Yes.  Check out "dismal" (which stands for Dis' Mode Ain't Lotus) at
857 `ftp://cs.nyu.edu/pub/local/fox/dismal/'.
858
859 \1f
860 File: xemacs-faq.info,  Node: Q4.7.3,  Next: Q4.7.4,  Prev: Q4.7.2,  Up: Subsystems
861
862 Q4.7.3: Byte compiling AUC TeX on XEmacs 19.14.
863 -----------------------------------------------
864
865    Georges Brun-Cottan <bruncott@dormeur.inria.fr> writes:
866
867      When byte compiling auctex-9.4g, you must use the command:
868
869           xemacs -batch -l lpath.el
870
871 \1f
872 File: xemacs-faq.info,  Node: Q4.7.4,  Next: Q4.7.5,  Prev: Q4.7.3,  Up: Subsystems
873
874 Q4.7.4: Problems installing AUC TeX.
875 ------------------------------------
876
877    Jan Vroonhof <vroonhof@math.ethz.ch> writes:
878
879      AUC TeX works fine on both stock Emacs and XEmacs has been doing
880      so for a very very long time. This is mostly due to the work of
881      Per Abrahamsen <abraham@dina.kvl.dk> (clap clap) in particular his
882      `easymenu' package.  Which leads to what is probably the problem...
883
884    Most problems with AUC TeX are one of two things:
885
886    * The TeX-lisp-directory in `tex-site.el' and the makefile don't
887      match.
888
889      Fix: make sure you configure AUC TeX properly *before* installing.
890
891    * You have an old version of easymenu.el in your path.
892
893      Fix: use `locate-library' and remove old versions to make sure it
894      *only* finds the one that came with XEmacs.
895
896 \1f
897 File: xemacs-faq.info,  Node: Q4.7.5,  Next: Q4.7.6,  Prev: Q4.7.4,  Up: Subsystems
898
899 Q4.7.5: Is there a reason for an Emacs package not to be included in XEmacs?
900 ----------------------------------------------------------------------------
901
902    The reason for an Emacs package not to be included in XEmacs is
903 usually one or more of the following:
904
905   1. The package has not been ported to XEmacs.  This will typically
906      happen when it uses GNU-Emacs-specific features, which make it
907      fail under XEmacs.
908
909      Porting a package to XEmacs can range from a trivial amount of
910      change to a partial or full rewrite.  Fortunately, the authors of
911      modern packages usually choose to support both Emacsen themselves.
912
913   2. The package has been decided not to be appropriate for XEmacs.  It
914      may have an equivalent or better replacement within XEmacs, in
915      which case the developers may choose not to burden themselves with
916      supporting an additional package.
917
918      Each package bundled with XEmacs means more work for the
919      maintainers, whether they want it or not.  If you are ready to
920      take over the maintenance responsibilities for the package you
921      port, be sure to say so - we will more likely include it.
922
923   3. The package simply hasn't been noted by the XEmacs development.  If
924      that's the case, the messages like yours are very useful for
925      attracting our attention.
926
927   4. The package was noted by the developers, but they simply haven't
928      yet gotten around to including/porting it.  Wait for the next
929      release or, even better, offer your help.  It will be gladly
930      accepted and appreciated.
931
932 \1f
933 File: xemacs-faq.info,  Node: Q4.7.6,  Prev: Q4.7.5,  Up: Subsystems
934
935 Q4.7.5: Is there a MatLab mode?
936 -------------------------------
937
938    Is there any way I can get syntax highlighting for MatLab .m files?
939 Can I "teach" emacs what words are MatLab commands, comments, etc. ?
940
941    Ulrich Elsner <elsner@mathematik.tu-chemnitz.de> writes:
942      One way to do this (and much more) is by using the
943      matlab mode
944      (ftp://ftp.mathworks.com/pub/contrib/v5/tools/matlab.el).
945
946      Instructions on how to install this mode are included in this file.
947
948 \1f
949 File: xemacs-faq.info,  Node: Miscellaneous,  Next: Current Events,  Prev: Subsystems,  Up: Top
950
951 5 The Miscellaneous Stuff
952 *************************
953
954    This is part 5 of the XEmacs Frequently Asked Questions list.  This
955 section is devoted to anything that doesn't fit neatly into the other
956 sections.
957
958 * Menu:
959
960 Major & Minor Modes:
961 * Q5.0.1::      How can I do source code highlighting using font-lock?
962 * Q5.0.2::      I do not like cc-mode.  How do I use the old c-mode?
963 * Q5.0.3::      How do I get `More' Syntax Highlighting on by default?
964 * Q5.0.4::      How can I enable auto-indent?
965 * Q5.0.5::      How can I get XEmacs to come up in text/auto-fill mode by default?
966 * Q5.0.6::      How do I start up a second shell buffer?
967 * Q5.0.7::      Telnet from shell filters too much.
968 * Q5.0.8::      Why does edt emulation not work?
969 * Q5.0.9::      How can I emulate VI and use it as my default mode?
970 * Q5.0.10::     [This question intentionally left blank]
971 * Q5.0.11::     Filladapt doesn't work in 19.15?
972 * Q5.0.12::     How do I disable gnuserv from opening a new frame?
973 * Q5.0.13::     How do I start gnuserv so that each subsequent XEmacs is a client?
974 * Q5.0.14::     Strange things are happening in Shell Mode.
975 * Q5.0.15::     Where do I get the latest CC Mode?
976 * Q5.0.16::     I find auto-show-mode disconcerting.  How do I turn it off?
977 * Q5.0.17::     How can I get two instances of info?
978 * Q5.0.18::     I upgraded to XEmacs 19.14 and gnuserv stopped working
979 * Q5.0.19::     Is there something better than LaTeX mode?
980 * Q5.0.20::     Is there a way to start a new XEmacs if there's no gnuserv running, and otherwise use gnuclient?
981
982 Emacs Lisp Programming Techniques:
983 * Q5.1.1::      The difference in key sequences between XEmacs and GNU Emacs?
984 * Q5.1.2::      Can I generate "fake" keyboard events?
985 * Q5.1.3::      Could you explain `read-kbd-macro' in more detail?
986 * Q5.1.4::      What is the performance hit of `let'?
987 * Q5.1.5::      What is the recommended use of `setq'?
988 * Q5.1.6::      What is the typical misuse of `setq'?
989 * Q5.1.7::      I like the the `do' form of cl, does it slow things down?
990 * Q5.1.8::      I like recursion, does it slow things down?
991 * Q5.1.9::      How do I put a glyph as annotation in a buffer?
992 * Q5.1.10::     `map-extents' won't traverse all of my extents!
993 * Q5.1.11::     My elisp program is horribly slow.  Is there an easy way to find out where it spends time?
994
995 Sound:
996 * Q5.2.1::      How do I turn off the sound?
997 * Q5.2.2::      How do I get funky sounds instead of a boring beep?
998 * Q5.2.3::      What's NAS, how do I get it?
999 * Q5.2.4::      Sunsite sounds don't play.
1000
1001 Miscellaneous:
1002 * Q5.3.1::      How do you make XEmacs indent CL if-clauses correctly?
1003 * Q5.3.2::      Fontifying hangs when editing a postscript file.
1004 * Q5.3.3::      How can I print WYSIWYG a font-locked buffer?
1005 * Q5.3.4::      Getting `M-x lpr' to work with postscript printer.
1006 * Q5.3.5::      How do I specify the paths that XEmacs uses for finding files?
1007 * Q5.3.6::      [This question intentionally left blank]
1008 * Q5.3.7::      Can I have the end of the buffer delimited in some way?
1009 * Q5.3.8::      How do I insert today's date into a buffer?
1010 * Q5.3.9::      Are only certain syntactic character classes available for abbrevs?
1011 * Q5.3.10::     How can I get those oh-so-neat X-Face lines?
1012 * Q5.3.11::     How do I add new Info directories?
1013 * Q5.3.12::     What do I need to change to make printing work?
1014
1015 \1f
1016 File: xemacs-faq.info,  Node: Q5.0.1,  Next: Q5.0.2,  Prev: Miscellaneous,  Up: Miscellaneous
1017
1018 5.0: Major & Minor Modes
1019 ========================
1020
1021 Q5.0.1: How can I do source code highlighting using font-lock?
1022 --------------------------------------------------------------
1023
1024    For most modes, font-lock is already set up and just needs to be
1025 turned on.  This can be done by `M-x font-lock-mode', or by having
1026 XEmacs automatically start it by adding lines like:
1027
1028      (add-hook 'emacs-lisp-mode-hook    'turn-on-font-lock)
1029      (add-hook 'dired-mode-hook 'turn-on-font-lock)
1030
1031    to your `.emacs'.  See the file `etc/sample.emacs' for more examples.
1032
1033    See also `Syntax Highlighting' from the `Options' menu.  Remember to
1034 save options.
1035
1036 \1f
1037 File: xemacs-faq.info,  Node: Q5.0.2,  Next: Q5.0.3,  Prev: Q5.0.1,  Up: Miscellaneous
1038
1039 Q5.0.2: I do not like cc-mode.  How do I use the old c-mode?
1040 ------------------------------------------------------------
1041
1042    Well, first off, consider if you really want to do this.  cc-mode is
1043 much more powerful than the old c-mode.  If you're having trouble
1044 getting your old offsets to work, try using `c-set-offset' instead.
1045 You might also consider using the package `cc-compat'.
1046
1047    But, if you still insist, add the following lines to your `.emacs':
1048
1049      (fmakunbound 'c-mode)
1050      (makunbound 'c-mode-map)
1051      (fmakunbound 'c++-mode)
1052      (makunbound 'c++-mode-map)
1053      (makunbound 'c-style-alist)
1054      (load-library "old-c-mode")
1055      (load-library "old-c++-mode")
1056
1057    This must be done before any other reference is made to either
1058 c-mode or c++-mode.
1059
1060 \1f
1061 File: xemacs-faq.info,  Node: Q5.0.3,  Next: Q5.0.4,  Prev: Q5.0.2,  Up: Miscellaneous
1062
1063 Q5.0.3: How do I get `More' Syntax Highlighting on by default?
1064 --------------------------------------------------------------
1065
1066    Use the following code in your `.emacs':
1067
1068      (setq-default font-lock-maximum-decoration t)
1069
1070    In versions of XEmacs prior to 19.14, you had to use a kludgy
1071 solution like this:
1072
1073      (setq c-font-lock-keywords c-font-lock-keywords-2
1074            c++-font-lock-keywords c++-font-lock-keywords-2
1075            lisp-font-lock-keywords lisp-font-lock-keywords-2)
1076
1077    It will work for C, C++ and Lisp.
1078
1079    See also `Syntax Highlighting' from the `Options' menu.  Remember to
1080 save options.
1081
1082 \1f
1083 File: xemacs-faq.info,  Node: Q5.0.4,  Next: Q5.0.5,  Prev: Q5.0.3,  Up: Miscellaneous
1084
1085 Q5.0.4: How can I enable auto-indent?
1086 -------------------------------------
1087
1088    Put the following line in your `.emacs':
1089
1090      (setq indent-line-function 'indent-relative-maybe)
1091
1092    If you want to get fancy, try the `filladapt' package available
1093 standard with XEmacs.  Put this into your `.emacs':
1094
1095      (require 'filladapt)
1096      (add-hook 'text-mode-hook    'turn-on-filladapt-mode)
1097      ;;; and others ...
1098
1099    You can customize filling and adaptive filling with Customize.
1100 Select from the `Options' menu
1101 `Customize->Emacs->->Editing->Fill->Fill...'  or type `M-x customize
1102 <RET> fill <RET>'.
1103
1104    Note that well-behaving text-lookalike modes will run
1105 `text-mode-hook' by default (e.g. that's what Message does).  For the
1106 nasty ones, you'll have to provide the `add-hook's yourself.
1107
1108    Please note that the `fa-extras' package is no longer useful.
1109
1110 \1f
1111 File: xemacs-faq.info,  Node: Q5.0.5,  Next: Q5.0.6,  Prev: Q5.0.4,  Up: Miscellaneous
1112
1113 Q5.0.5: How can I get XEmacs to come up in text/auto-fill mode by default?
1114 --------------------------------------------------------------------------
1115
1116    Try the following lisp in your `.emacs':
1117
1118      (setq default-major-mode 'text-mode)
1119      (setq text-mode-hook 'turn-on-auto-fill)
1120
1121    *WARNING*: note that changing the value of `default-major-mode' from
1122 `fundamental-mode' can break a large amount of built-in code that
1123 expects newly created buffers to be in `fundamental-mode'.  (Changing
1124 from `fundamental-mode' to `text-mode' might not wreak too much havoc,
1125 but changing to something more exotic like a lisp-mode would break many
1126 Emacs packages).
1127
1128    Note that Emacs by default starts up in buffer `*scratch*' in
1129 `initial-major-mode', which defaults to `lisp-interaction-mode'. Thus
1130 adding the following form to your Emacs init file will cause the
1131 initial `*scratch*' buffer to be put into auto-fill'ed `text-mode':
1132
1133      (setq initial-major-mode
1134            (lambda ()
1135              (text-mode)
1136              (turn-on-auto-fill)))
1137
1138    Note that after your init file is loaded, if
1139 `inhibit-startup-message' is `nil' (the default) and the startup buffer
1140 is `*scratch*' then the startup message will be inserted into
1141 `*scratch*'; it will be removed after a timeout by erasing the entire
1142 `*scratch*' buffer.  Keep in mind this default usage of `*scratch*' if
1143 you desire any prior manipulation of `*scratch*' from within your Emacs
1144 init file. In particular, anything you insert into `*scratch*' from
1145 your init file will be later erased. Also, if you change the mode of
1146 the `*scratch*' buffer, be sure that this will not interfere with
1147 possible later insertion of the startup message (e.g. if you put
1148 `*scratch*' into a nonstandard mode that has automatic font lock rules,
1149 then the startup message might get fontified in a strange foreign
1150 manner, e.g. as code in some programming language).
1151
1152 \1f
1153 File: xemacs-faq.info,  Node: Q5.0.6,  Next: Q5.0.7,  Prev: Q5.0.5,  Up: Miscellaneous
1154
1155 Q5.0.6: How do I start up a second shell buffer?
1156 ------------------------------------------------
1157
1158    In the `*shell*' buffer:
1159
1160      M-x rename-buffer <RET> *shell-1* <RET>
1161      M-x shell RET
1162
1163    This will then start a second shell.  The key is that no buffer named
1164 `*shell*' can exist.  It might be preferable to use `M-x
1165 rename-uniquely' to rename the `*shell*' buffer instead of `M-x
1166 rename-buffer'.
1167
1168    Alternately, you can set the variable `shell-multiple-shells'.  If
1169 the value of this variable is non-nil, each time shell mode is invoked,
1170 a new shell is made
1171
1172 \1f
1173 File: xemacs-faq.info,  Node: Q5.0.7,  Next: Q5.0.8,  Prev: Q5.0.6,  Up: Miscellaneous
1174
1175 Q5.0.7: Telnet from shell filters too much
1176 ------------------------------------------
1177
1178    I'm using the Emacs `M-x shell' function, and I would like to invoke
1179 and use a telnet session within it.  Everything works fine except that
1180 now all `^M''s are filtered out by Emacs.  Fixes?
1181
1182    Use `M-x rsh' or `M-x telnet' to open remote sessions rather than
1183 doing rsh or telnet within the local shell buffer.  Starting with
1184 XEmacs-20.3 you can also use `M-x ssh' to open secure remote session if
1185 you have `ssh' installed.
1186
1187 \1f
1188 File: xemacs-faq.info,  Node: Q5.0.8,  Next: Q5.0.9,  Prev: Q5.0.7,  Up: Miscellaneous
1189
1190 Q5.0.8: Why does edt emulation not work?
1191 ----------------------------------------
1192
1193    We don't know, but you can use tpu-edt emulation instead, which works
1194 fine and is a little fancier than the standard edt emulation.  To do
1195 this, add the following line to your `.emacs':
1196
1197      (tpu-edt)
1198
1199    If you don't want it to replace `C-h' with an edt-style help menu
1200 add this as well:
1201
1202      (global-set-key [(control h)] 'help-for-help)
1203
1204 \1f
1205 File: xemacs-faq.info,  Node: Q5.0.9,  Next: Q5.0.10,  Prev: Q5.0.8,  Up: Miscellaneous
1206
1207 Q5.0.9: How can I emulate VI and use it as my default mode?
1208 -----------------------------------------------------------
1209
1210    Our recommended VI emulator is viper. To make viper-mode the default,
1211 add this to your `.emacs':
1212
1213      (viper-mode)
1214
1215    Michael Kifer <kifer@CS.SunySB.EDU> writes:
1216
1217      This should be added as close to the top of `.emacs' as you can get
1218      it, otherwise some minor modes may not get viper-ized.
1219
1220 \1f
1221 File: xemacs-faq.info,  Node: Q5.0.10,  Next: Q5.0.11,  Prev: Q5.0.9,  Up: Miscellaneous
1222
1223 Q5.0.10: [This question intentionally left blank]
1224 -------------------------------------------------
1225
1226    Obsolete question, left blank to avoid renumbering
1227
1228 \1f
1229 File: xemacs-faq.info,  Node: Q5.0.11,  Next: Q5.0.12,  Prev: Q5.0.10,  Up: Miscellaneous
1230
1231 Q5.0.11: Filladapt doesn't work in 19.15
1232 ----------------------------------------
1233
1234    Filladapt 2.x is included in 19.15.  In it filladapt is now a minor
1235 mode and minor modes are traditionally off by default.  The following
1236 added to your `.emacs' will turn it on for all buffers:
1237
1238      (setq-default filladapt-mode t)
1239
1240    Use `turn-on-filladapt-mode' to turn Filladapt on in particular
1241 major modes, like this:
1242
1243      (add-hook 'text-mode-hook 'turn-on-filladapt-mode)
1244
1245 \1f
1246 File: xemacs-faq.info,  Node: Q5.0.12,  Next: Q5.0.13,  Prev: Q5.0.11,  Up: Miscellaneous
1247
1248 Q5.0.12: How do I disable gnuserv from opening a new frame?
1249 -----------------------------------------------------------
1250
1251    If you set the `gnuserv-frame' variable to the frame that should be
1252 used to display buffers that are pulled up, a new frame will not be
1253 created. For example, you could put
1254
1255      (setq gnuserv-frame (selected-frame))
1256
1257    early on in your `.emacs', to ensure that the first frame created is
1258 the one used for your gnuserv buffers.
1259
1260    Starting in 19.15, there is an option to set the gnuserv target to
1261 the current frame.  See `Options->"Other Window" Location->Make current
1262 frame gnuserv target'
1263
1264    Starting with XEmacs-20.3 you can also change this with Customize.
1265 Select from the `Options' menu
1266 `Customize->Emacs->Environment->Gnuserv->Gnuserv Frame...' or type `M-x
1267 customize <RET> gnuserv <RET>'.
1268
1269 \1f
1270 File: xemacs-faq.info,  Node: Q5.0.13,  Next: Q5.0.14,  Prev: Q5.0.12,  Up: Miscellaneous
1271
1272 Q5.0.13: How do I start gnuserv so that each subsequent XEmacs is a client?
1273 ---------------------------------------------------------------------------
1274
1275    Put the following in your `.emacs' file to start the server:
1276
1277      (gnuserv-start)
1278
1279    Start your first XEmacs as usual.  After that, you can do:
1280
1281      gnuclient randomfilename
1282
1283    from the command line to get your existing XEmacs process to open a
1284 new frame and visit randomfilename in that window. When you're done
1285 editing randomfilename, hit `C-x #' to kill the buffer and get rid of
1286 the frame.
1287
1288    See also man page of gnuclient.
1289
1290 \1f
1291 File: xemacs-faq.info,  Node: Q5.0.14,  Next: Q5.0.15,  Prev: Q5.0.13,  Up: Miscellaneous
1292
1293 Q5.0.14: Strange things are happening in Shell Mode.
1294 ----------------------------------------------------
1295
1296    Sometimes (i.e. it's not repeatable, and I can't work out why it
1297 happens) when I'm typing into shell mode, I hit return and only a
1298 portion of the command is given to the shell, and a blank prompt is
1299 returned.  If I hit return again, the rest of the previous command is
1300 given to the shell.
1301
1302    Martin Buchholz <martin@xemacs.org> writes:
1303
1304      There is a known problem with interaction between `csh' and the
1305      `filec' option and XEmacs.  You should add the following to your
1306      `.cshrc':
1307
1308           if ( "$TERM" == emacs || "$TERM" == unknown ) unset filec
1309
1310 \1f
1311 File: xemacs-faq.info,  Node: Q5.0.15,  Next: Q5.0.16,  Prev: Q5.0.14,  Up: Miscellaneous
1312
1313 Q5.0.15: Where do I get the latest CC Mode?
1314 -------------------------------------------
1315
1316    Barry A. Warsaw <bwarsaw@cnri.reston.va.us> writes:
1317
1318      This can be had from `http://www.python.org/ftp/emacs/'.
1319
1320 \1f
1321 File: xemacs-faq.info,  Node: Q5.0.16,  Next: Q5.0.17,  Prev: Q5.0.15,  Up: Miscellaneous
1322
1323 Q5.0.16: I find auto-show-mode disconcerting.  How do I turn it off?
1324 --------------------------------------------------------------------
1325
1326    `auto-show-mode' controls whether or not a horizontal scrollbar
1327 magically appears when a line is too long to be displayed.  This is
1328 enabled by default.  To turn it off, put the following in your `.emacs':
1329
1330      (setq auto-show-mode nil)
1331      (setq-default auto-show-mode nil)
1332
1333 \1f
1334 File: xemacs-faq.info,  Node: Q5.0.17,  Next: Q5.0.18,  Prev: Q5.0.16,  Up: Miscellaneous
1335
1336 Q5.0.17: How can I get two instances of info?
1337 ---------------------------------------------
1338
1339    You can't.  The `info' package does not provide for multiple info
1340 buffers.
1341
1342 \1f
1343 File: xemacs-faq.info,  Node: Q5.0.18,  Next: Q5.0.19,  Prev: Q5.0.17,  Up: Miscellaneous
1344
1345 Q5.0.18: I upgraded to XEmacs 19.14 and gnuserv stopped working.
1346 ----------------------------------------------------------------
1347
1348    Mark Daku <daku@nortel.ca> writes:
1349
1350      It turns out I was using an older version of gnuserv.  The
1351      installation didn't put the binary into the public bin directory.
1352      It put it in `lib/xemacs-19.14/hppa1.1-hp-hpux9.05/gnuserv'.
1353      Shouldn't it have been put in `bin/hppa1.1-hp-hpux9.0'?
1354
1355 \1f
1356 File: xemacs-faq.info,  Node: Q5.0.19,  Next: Q5.0.20,  Prev: Q5.0.18,  Up: Miscellaneous
1357
1358 Q5.0.19: Is there something better than LaTeX mode?
1359 ---------------------------------------------------
1360
1361    David Kastrup <dak@fsnif.neuroinformatik.ruhr-uni-bochum.de> writes:
1362
1363      The standard TeX modes leave much to be desired, and are somewhat
1364      leniently maintained.  Serious TeX users use AUC TeX (*note
1365      Q4.7.1::.).
1366