Merge mapping to CHINA3-JEF code points.
[chise/xemacs-chise.git] / info / xemacs-faq.info-3
index 0f1f2b0..8800a07 100644 (file)
-This is ../info/xemacs-faq.info, produced by makeinfo version 4.0 from
+This is ../info/xemacs-faq.info, produced by makeinfo version 4.0b from
 xemacs-faq.texi.
 
 INFO-DIR-SECTION XEmacs Editor
 START-INFO-DIR-ENTRY
 xemacs-faq.texi.
 
 INFO-DIR-SECTION XEmacs Editor
 START-INFO-DIR-ENTRY
-* FAQ: (xemacs-faq).           XEmacs FAQ.
+* FAQ: (xemacs-faq).            XEmacs FAQ.
 END-INFO-DIR-ENTRY
 
 \1f
 END-INFO-DIR-ENTRY
 
 \1f
-File: xemacs-faq.info,  Node: Q3.0.5,  Next: Q3.0.6,  Prev: Q3.0.4,  Up: Customization
-
-Q3.0.5: How to check if a lisp function is defined?
----------------------------------------------------
-
-   Use the following elisp:
-
-     (fboundp 'foo)
-
-   It's almost always a mistake to test `emacs-version' or any similar
-variables.
-
-   Instead, use feature-tests, such as `featurep', `boundp', `fboundp',
-or even simple behavioral tests, eg.:
-
-     (defvar foo-old-losing-code-p
-       (condition-case nil (progn (losing-code t) nil)
-         (wrong-number-of-arguments t)))
-
-   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.
-
-\1f
-File: xemacs-faq.info,  Node: Q3.0.6,  Next: Q3.0.7,  Prev: Q3.0.5,  Up: Customization
-
-Q3.0.6: Can I force the output of `(face-list)' to a buffer?
-------------------------------------------------------------
-
-   It would be good having it in a buffer, as the output of
-`(face-list)' is too wide to fit to a minibuffer.
-
-   Evaluate the expression in the `*scratch*' buffer with point after
-the rightmost paren and typing `C-j'.
-
-   If the minibuffer smallness is the only problem you encounter, you
-can simply press `C-h l' to get the former minibuffer contents in a
-buffer.
-
-\1f
-File: xemacs-faq.info,  Node: Q3.0.7,  Next: Q3.0.8,  Prev: Q3.0.6,  Up: Customization
-
-Q3.0.7: Font selections in don't get saved after `Save Options'.
-----------------------------------------------------------------
-
-   For XEmacs 19.14 and previous:
-
-   John Mann <mannj@ll.mit.edu> writes:
-
-     You have to go to Options->Frame Appearance and unselect
-     `Frame-Local Font Menu'.  If this option is selected, font changes
-     are only applied to the _current_ frame and do _not_ get saved
-     when you save options.
-
-   For XEmacs 19.15 and later:
-
-   Implement the above as well as set the following in your `.emacs'
-
-     (setq options-save-faces t)
-
-\1f
-File: xemacs-faq.info,  Node: Q3.0.8,  Next: Q3.0.9,  Prev: Q3.0.7,  Up: Customization
-
-Q3.0.8: How do I get a single minibuffer frame?
------------------------------------------------
-
-   Vin Shelton <acs@acm.org> writes:
-
-     (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)
-
-   *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.
-
-\1f
-File: xemacs-faq.info,  Node: Q3.0.9,  Next: Q3.1.1,  Prev: Q3.0.8,  Up: Customization
-
-Q3.0.9: What is `Customize'?
-----------------------------
-
-   Starting with XEmacs 20.2 there is new system 'Customize' for
-customizing XEmacs options.
-
-   You can access `Customize' from the `Options' menu or invoking one
-of customize commands by typing eg.  `M-x customize', `M-x
-customize-face', `M-x customize-variable' or `M-x customize-apropos'.
-
-   Starting with XEmacs 20.3 there is also new `browser' mode for
-Customize.  Try it out with `M-x customize-browse'
-
-\1f
-File: xemacs-faq.info,  Node: Q3.1.1,  Next: Q3.1.2,  Prev: Q3.0.9,  Up: Customization
-
-3.1: X Window System & Resources
-================================
-
-Q3.1.1: Where is a list of X resources?
----------------------------------------
-
-   Search through the `NEWS' file for `X Resources'.  A fairly
-comprehensive list is given after it.
-
-   In addition, an `app-defaults' file is supplied, `etc/Emacs.ad'
-listing the defaults.  The file `etc/sample.Xdefaults' gives a set of
-defaults that you might consider.  It is essentially the same as
-`etc/Emacs.ad' but some entries are slightly altered.  Be careful about
-installing the contents of this file into your `.Xdefaults' or
-`.Xresources' file if you use GNU Emacs under X11 as well.
-
-\1f
-File: xemacs-faq.info,  Node: Q3.1.2,  Next: Q3.1.3,  Prev: Q3.1.1,  Up: Customization
-
-Q3.1.2: How can I detect a color display?
------------------------------------------
-
-   You can test the return value of the function `(device-class)', as
-in:
-
-     (when (eq (device-class) 'color)
-       (set-face-foreground  'font-lock-comment-face "Grey")
-       (set-face-foreground  'font-lock-string-face  "Red")
-       ....
-       )
-
-\1f
-File: xemacs-faq.info,  Node: Q3.1.3,  Next: Q3.1.4,  Prev: Q3.1.2,  Up: Customization
-
-Q3.1.3: [This question intentionally left blank]
-------------------------------------------------
-
-\1f
-File: xemacs-faq.info,  Node: Q3.1.4,  Next: Q3.1.5,  Prev: Q3.1.3,  Up: Customization
-
-Q3.1.4: [This question intentionally left blank]
-------------------------------------------------
-
-\1f
-File: xemacs-faq.info,  Node: Q3.1.5,  Next: Q3.1.6,  Prev: Q3.1.4,  Up: Customization
-
-Q3.1.5: How can I get the icon to just say `XEmacs'?
-----------------------------------------------------
-
-   I'd like the icon to just say `XEmacs', and not include the name of
-the current file in it.
-
-   Add the following line to your `.emacs':
-
-     (setq frame-icon-title-format "XEmacs")
-
-\1f
-File: xemacs-faq.info,  Node: Q3.1.6,  Next: Q3.1.7,  Prev: Q3.1.5,  Up: Customization
-
-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 `.emacs':
-
-     (setq frame-title-format "%S: %f")
-
-   A more sophisticated title might be:
-
-     (setq frame-title-format
-           '("%S: " (buffer-file-name "%f"
-                                (dired-directory dired-directory "%b"))))
-
-   That is, use the file name, or the dired-directory, or the buffer
-name.
-
-\1f
 File: xemacs-faq.info,  Node: Q3.1.7,  Next: Q3.1.8,  Prev: Q3.1.6,  Up: Customization
 
 Q3.1.7: `xemacs -name junk' doesn't work?
 File: xemacs-faq.info,  Node: Q3.1.7,  Next: Q3.1.8,  Prev: Q3.1.6,  Up: Customization
 
 Q3.1.7: `xemacs -name junk' doesn't work?
@@ -270,24 +85,24 @@ instead of from my `.Xdefaults'?
      (set-face-background 'default      "bisque") ; frame background
      (set-face-foreground 'default      "black") ; normal text
      (set-face-background 'zmacs-region "red") ; When selecting w/
      (set-face-background 'default      "bisque") ; frame background
      (set-face-foreground 'default      "black") ; normal text
      (set-face-background 'zmacs-region "red") ; When selecting w/
-                                       ; mouse
+                                             ; 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
      (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
+                                             ; buffers
      (set-face-foreground 'highlight    "yellow")
      (set-face-background 'modeline     "blue") ; Line at bottom
      (set-face-foreground 'highlight    "yellow")
      (set-face-background 'modeline     "blue") ; Line at bottom
-                                       ; of buffer
+                                             ; of buffer
      (set-face-foreground 'modeline     "white")
      (set-face-font       'modeline     "*bold-r-normal*140-100-100*")
      (set-face-background 'isearch      "yellow") ; When highlighting
      (set-face-foreground 'modeline     "white")
      (set-face-font       'modeline     "*bold-r-normal*140-100-100*")
      (set-face-background 'isearch      "yellow") ; When highlighting
-                                       ; while searching
+                                             ; while searching
      (set-face-foreground 'isearch      "red")
      (setq x-pointer-foreground-color   "black") ; Adds to bg color,
      (set-face-foreground 'isearch      "red")
      (setq x-pointer-foreground-color   "black") ; Adds to bg color,
-                                       ; so keep black
+                                             ; so keep black
      (setq x-pointer-background-color   "blue") ; This is color
      (setq x-pointer-background-color   "blue") ; This is color
-                                       ; you really
-                                       ; want ptr/crsr
+                                             ; you really
+                                             ; want ptr/crsr
 
 \1f
 File: xemacs-faq.info,  Node: Q3.2.2,  Next: Q3.2.3,  Prev: Q3.2.1,  Up: Customization
 
 \1f
 File: xemacs-faq.info,  Node: Q3.2.2,  Next: Q3.2.3,  Prev: Q3.2.1,  Up: Customization
@@ -389,12 +204,12 @@ Q3.2.6: Can I have pixmap backgrounds in XEmacs?
      edit-faces'.
 
 
      edit-faces'.
 
 
-3.3: The Modeline
-=================
-
 \1f
 File: xemacs-faq.info,  Node: Q3.3.1,  Next: Q3.3.2,  Prev: Q3.2.6,  Up: Customization
 
 \1f
 File: xemacs-faq.info,  Node: Q3.3.1,  Next: Q3.3.2,  Prev: Q3.2.6,  Up: Customization
 
+3.3: The Modeline
+=================
+
 Q3.3.1: How can I make the modeline go away?
 --------------------------------------------
 
 Q3.3.1: How can I make the modeline go away?
 --------------------------------------------
 
@@ -455,7 +270,7 @@ this code to your `.emacs' to turn it off:
 mode:
 
      (add-hook 'TeX-mode-hook
 mode:
 
      (add-hook 'TeX-mode-hook
-         '(lambda () (setq fume-display-in-modeline-p nil)))
+               '(lambda () (setq fume-display-in-modeline-p nil)))
 
    David Hughes <dhughes@origin-at.co.uk> writes:
 
 
    David Hughes <dhughes@origin-at.co.uk> writes:
 
@@ -568,8 +383,8 @@ bound to keys.
 
      (global-set-key [(control ?.)]
        (lambda () (interactive) (scroll-up 1)))
 
      (global-set-key [(control ?.)]
        (lambda () (interactive) (scroll-up 1)))
-     (global-set-key [(control ?               ;)]
-                         (lambda () (interactive) (scroll-up -1)))
+     (global-set-key [(control ?;)]
+       (lambda () (interactive) (scroll-up -1)))
 
    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
 
    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
@@ -605,7 +420,7 @@ and Wayne Newberry <wayne@zen.cac.stratus.com>) to `.emacs':
        (scroll-down 1))
      
      (global-set-key [(control ?.)] 'scroll-up-one-line) ; C-.
        (scroll-down 1))
      
      (global-set-key [(control ?.)] 'scroll-up-one-line) ; C-.
-     (global-set-key [(control ?               ;)] 'scroll-down-one-line) ; C-;
+     (global-set-key [(control ?;)] 'scroll-down-one-line) ; C-;
 
    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.
 
    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.
@@ -715,7 +530,7 @@ etc.
 
      Generally, the simplest way is to define a key as Multi_key with
      xmodmap, e.g.
 
      Generally, the simplest way is to define a key as Multi_key with
      xmodmap, e.g.
-               xmodmap -e 'keycode 0xff20 = Multi_key'
+                  xmodmap -e 'keycode 0xff20 = Multi_key'
 
      You will need to pick an appropriate keycode. Use xev to find out
      the keycodes for each key.
 
      You will need to pick an appropriate keycode. Use xev to find out
      the keycodes for each key.
@@ -724,17 +539,17 @@ etc.
      automatically define the right `Windows' key as Multi_key'.]
 
      Once you have Multi_key defined, you can use e.g.
      automatically define the right `Windows' key as Multi_key'.]
 
      Once you have Multi_key defined, you can use e.g.
-               Multi a '       => á
-               Multi e "       => ë
-               Multi c ,       => ç
+                  Multi a '       => á
+                  Multi e "       => ë
+                  Multi c ,       => ç
 
      etc.
 
      Also, recent versions of XFree86 define various AltGr-<key>
      combinations as dead keys, i.e.
 
      etc.
 
      Also, recent versions of XFree86 define various AltGr-<key>
      combinations as dead keys, i.e.
-               AltGr [         => dead_diaeresis
-               AltGr ]         => dead_tilde
-               AltGr ;         => dead_acute
+                  AltGr [         => dead_diaeresis
+                  AltGr ]         => dead_tilde
+                  AltGr ;         => dead_acute
      etc.
 
      Running `xmodmap -pk' will list all of the defined keysyms.
      etc.
 
      Running `xmodmap -pk' will list all of the defined keysyms.
@@ -849,7 +664,7 @@ customize <RET> display <RET>'.
 
    You can use a color to make it stand out better:
 
 
    You can use a color to make it stand out better:
 
-     Emacs*cursorColor:        Red
+     Emacs*cursorColor:      Red
 
 \1f
 File: xemacs-faq.info,  Node: Q3.6.2,  Next: Q3.6.3,  Prev: Q3.6.1,  Up: Customization
 
 \1f
 File: xemacs-faq.info,  Node: Q3.6.2,  Next: Q3.6.3,  Prev: Q3.6.1,  Up: Customization
@@ -1302,18 +1117,18 @@ feature) off like this:
        (interactive "_P")
        (let ((zmacs-region-stays t))
          (if (interactive-p)
        (interactive "_P")
        (let ((zmacs-region-stays t))
          (if (interactive-p)
-       (condition-case nil
-           ad-do-it
-         (end-of-buffer (goto-char (point-max))))
+             (condition-case nil
+                 ad-do-it
+               (end-of-buffer (goto-char (point-max))))
            ad-do-it)))
      
      (defadvice scroll-down (around scroll-down freeze)
        (interactive "_P")
        (let ((zmacs-region-stays t))
          (if (interactive-p)
            ad-do-it)))
      
      (defadvice scroll-down (around scroll-down freeze)
        (interactive "_P")
        (let ((zmacs-region-stays t))
          (if (interactive-p)
-       (condition-case nil
-           ad-do-it
-         (beginning-of-buffer (goto-char (point-min))))
+             (condition-case nil
+                 ad-do-it
+               (beginning-of-buffer (goto-char (point-min))))
            ad-do-it)))
 
    Thanks to T. V. Raman <raman@adobe.com> for assistance in deriving
            ad-do-it)))
 
    Thanks to T. V. Raman <raman@adobe.com> for assistance in deriving
@@ -1438,3 +1253,143 @@ Q4.0.5: How do I get my outgoing mail archived?
 
      (setq mail-archive-file-name "~/outbox")
 
 
      (setq mail-archive-file-name "~/outbox")
 
+\1f
+File: xemacs-faq.info,  Node: Q4.0.6,  Next: Q4.0.7,  Prev: Q4.0.5,  Up: Subsystems
+
+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 `vm-reply-ignored-addresses' to a list, like
+
+     (setq vm-reply-ignored-addresses
+           '("wing@nuspl@nvwls.cc.purdue.edu,netcom[0-9]*.netcom.com"
+             "wing@netcom.com" "wing@xemacs.org"))
+
+   Note that each string is a regular expression.
+
+\1f
+File: xemacs-faq.info,  Node: Q4.0.7,  Next: Q4.0.8,  Prev: Q4.0.6,  Up: Subsystems
+
+Q4.0.7: Is there a mailing list or FAQ for VM?
+----------------------------------------------
+
+   A FAQ for VM exists at `http://www.cyberpass.net/~gorkab/vmfaq.htm'.
+
+   VM has its own newsgroups gnu.emacs.vm.info and gnu.emacs.vm.bug.
+
+\1f
+File: xemacs-faq.info,  Node: Q4.0.8,  Next: Q4.0.9,  Prev: Q4.0.7,  Up: Subsystems
+
+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?
+
+   Joseph J. Nuspl Jr. <nuspl@nvwls.cc.purdue.edu> writes:
+
+     There are several ways to do this.
+
+       1. Set your display to your home machine and run dxpc or one of
+          the other X compressors.
+
+       2. 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.
+
+       3. Run a POP server on your desktop machine as well and do a
+          sort of two tiered POP get.
+
+   William Perry <wmperry@monolith.spry.com> adds:
+
+     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.
+
+\1f
+File: xemacs-faq.info,  Node: Q4.0.9,  Next: Q4.0.10,  Prev: Q4.0.8,  Up: Subsystems
+
+Q4.0.9: rmail or VM gets an error incorporating new mail.
+---------------------------------------------------------
+
+   Quoting the XEmacs PROBLEMS file:
+
+     rmail and VM get new mail from `/usr/spool/mail/$USER' using a
+     program called `movemail'.  This program interlocks with
+     `/bin/mail' using the protocol defined by `/bin/mail'.
+
+     There are two different protocols in general use.  One of them
+     uses the `flock' system call.  The other involves creating a lock
+     file; `movemail' must be able to write in `/usr/spool/mail' in
+     order to do this.  You control which one is used by defining, or
+     not defining, the macro `MAIL_USE_FLOCK' in `config.h' or the m-
+     or s- file it includes.
+
+     *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
+     `/usr/spool/mail', you may need to make `movemail' setgid to a
+     suitable group such as `mail'.  You can use these commands (as
+     root):
+
+          chgrp mail movemail
+          chmod 2755 movemail
+
+     If your system uses the lock file protocol, and fascist
+     restrictions prevent ordinary users from writing the lock files in
+     `/usr/spool/mail', you may need to make `movemail' setgid to a
+     suitable group such as `mail'.  To do this, use the following
+     commands (as root) after doing the make install.
+
+          chgrp mail movemail
+          chmod 2755 movemail
+
+     Installation normally copies movemail from the build directory to
+     an installation directory which is usually under `/usr/local/lib'.
+     The installed copy of `movemail' is usually in the directory
+     `/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.
+
+\1f
+File: xemacs-faq.info,  Node: Q4.0.10,  Next: Q4.0.11,  Prev: Q4.0.9,  Up: Subsystems
+
+Q4.0.10: How do I make VM stay in a single frame?
+-------------------------------------------------
+
+   John.John S Cooper <Cooper@Eng.Sun.COM> writes:
+
+                                                  ; 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)
+
+\1f
+File: xemacs-faq.info,  Node: Q4.0.11,  Next: Q4.0.12,  Prev: Q4.0.10,  Up: Subsystems
+
+Q4.0.11: How do I make VM or mh-e display graphical smilies?
+------------------------------------------------------------
+
+   For mh-e use the following:
+
+     (add-hook 'mh-show-mode-hook '(lambda ()
+                                     (smiley-region (point-min)
+                                                    (point-max))))
+
+   WJCarpenter <bill@carpenter.ORG> writes: For VM use the following:
+            (autoload 'smiley-region "smiley" nil t)
+            (add-hook 'vm-select-message-hook
+                      '(lambda ()
+                         (smiley-region (point-min)
+                                        (point-max))))
+
+   For tm use the following:
+     (autoload 'smiley-buffer "smiley" nil t)
+     (add-hook 'mime-viewer/plain-text-preview-hook 'smiley-buffer)
+