Notes on setting MANPATH to work with Cygwin.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Wed, 18 May 2016 15:11:29 +0300
changeset 1401 8856efafc5fe
parent 1400 542850428579
child 1402 b1a1c92a7f55
Notes on setting MANPATH to work with Cygwin.
INSTALL.rst
--- a/INSTALL.rst	Wed May 18 14:49:08 2016 +0300
+++ b/INSTALL.rst	Wed May 18 15:11:29 2016 +0300
@@ -18,8 +18,9 @@
 After setting ``HOME`` environment variable Emacs expands ``~`` path element to
 that directory allowing quicker access to your file (especially with ``ido``).
 
-``INFOPATH`` automatically expanded to ``~/usr/share/info``. With
-``cygwin-mount.el``Cygwin info pages become available in native Emacs too!
+``INFOPATH`` automatically expanded with additional directory
+``~/usr/share/info`` if already not set. With ``cygwin-mount.el`` Cygwin info
+pages become available in native Emacs too!
 
 .. note::
 
@@ -31,23 +32,20 @@
    paths and native Emacs to include its own info pages regardless installation
    directory.
 
-Setup MANPATH.
---------------
+``MANPATH`` automatically expanded with additional directory
+``~/usr/share/info`` if ``cygwin-mount.el`` is installed. Trailing ``:``
+correctly treated in native Emacs with ``cygwin-mount.el``.
 
-To use woman with on Windows set MANPATH like this (note that path in
-Cygwin/MinGW style so you need use cygwin-mount.el)::
+.. note::
+
+   To use ``woman`` on Windows set MANPATH like this (note that path in
+   Cygwin/MinGW style so you need use cygwin-mount.el)::
 
   MANPATH=:/cygdrive/d/home/usr/share/man:/usr/share/man:/usr/local/share/man
 
-for Cygwin or like this::
-
-  MANPATH=/e/home/usr/share/man:/e/bin/MinGW/man:/e/bin/gnuwin32/man
+.. note:: Default man search paths is listened in ``/usr/share/misc/man.conf``.
 
-for MinGW and other case.
-
-To get man paths on Cygwin see <cygwin-root>\usr\share\misc\man.conf.
-
-Also you can set woman-manpath variable.
+..note:: You can customise ``woman-manpath`` variable.
 
 GTD (org-mode).
 ===============