GNU Emacs for emx FAQ: Frequently asked questions with answers

1:   How do I install Emacs in a directory other than /emacs?

  To install Emacs in, say, /usr/local/emacs, type

    cd \usr\local

  instead of

    cd \

  when following the installation instructions in emx/README.

  Ignore the following (benign) warning message:

    Warning: lisp library (/emacs/19.27/lisp) does not exist.

  If you don't want to install Emacs in a subdirectory named `emacs',
  move the files after unzipping.  Example:

    move emacs\19.27 \public\gnuemacs

  If you change the directory hierarchy of GNU Emacs (bin, data, etc,
  and lisp directories), you may have to set the EMACSPATH, EMACSDATA,
  EMACSDOC, and EMACSLOADPATH environment variables.  This is also
  required if you don't run emacs.exe from the bin directory of the
  GNU Emacs directory hierarchy.

2:   Why do I get two windows, one of which is empty, if I start Emacs
     with the -d option?

  The `empty' window contains Emacs proper (emacs.exe), the PM window
  contains the PM interface (pmemacs.exe).  There may be multiple PM
  windows (use C-x 5 2 to open another PM window, called `frame' in
  GNU jargon).  To avoid the emacs.exe window, start emacs.exe
  minimized.  The Emacs object created by instemacs.cmd automatically
  starts emacs.exe minimized.

3:   I don't get prompts from the Data Logic shell when running it in
     a shell-mode window.

  That's a bug in older versions of the shell.  Get version 2.3
  (ms_sh23b.zip) or later or use bash (ftp-os2.cdrom.com:
  os2/2_x/unix/shells/bash.zip).

4:   Where are the scrollbars?

  The PM interface does not yet support scrollbars.  You are welcome
  to implement scrollbars...

5:   How do I get white on black output in PM mode?

  Specify the foreground and background colors on the command line
  when starting Emacs:

    emacs -d -fg white -bg black

  Using a "System VIO" font is recommended for white on black.  For
  black on white, the PM fonts look better.

6:   The PM window of Emacs isn't repainted properly, some pixels are
     left when scrolling.

  The font metrics of the first version of SMALL.FON are wrong.  See
  README on how to patch that file.

7:   The PM window of Emacs isn't painted properly when scrolling.
     When the window is partially obscured by other windows, that
     happens quite often.

  That's a bug which is not yet found and fixed.  Type C-l to repaint
  the window.

8:   Emacs doesn't find my info files.

  Set the INFOPATH environment variable.  It may contain multiple
  directories, separated by semicolons.  Alternatively, you can set
  Info-default-directory-list in .emacs or site-start.el.

9:   I cannot define the F1, F10 and Alt+F4 keys.

  F1, F10, Alt+Space, Alt+F4 through Alt+F11 (and Alt and AltGr) are
  used by the Presentation Manager as shortcuts.  Set the `shortcuts'
  frame parameter to nil.  This disables all the shortcuts.  Here's an
  example:

    (setq default-frame-alist (append '(shortcuts . nil) default-frame-alist))

  You can also keep some of the shortcuts.  See README for details. 

10:  I want to try the font menu, but my mouse has only two buttons.

  You can temporarily swap mouse buttons 2 and 3 by setting the
  mouse-buttons frame parameter to "123":

    (modify-frame-parameters nil '((mouse-buttons . "123")))

  Alternatively, you can bind the font menu to another, unused mouse
  event (it cannot be bound to a keyboard event):

    (global-set-key [C-S-down-mouse-1] 'mouse-set-font)
