# HG changeset patch # User Oleksandr Gavenko # Date 1463573489 -10800 # Node ID 8856efafc5feb7c4e6381829f35a520efe51bd60 # Parent 5428504285790d433ca966777bad9bcc2ea29e33 Notes on setting MANPATH to work with Cygwin. diff -r 542850428579 -r 8856efafc5fe 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 \usr\share\misc\man.conf. - -Also you can set woman-manpath variable. +..note:: You can customise ``woman-manpath`` variable. GTD (org-mode). ===============