GNU Info

Info Node: (tramp)Load paths

(tramp)Load paths


Next: Japanese manual Prev: Installation parameters Up: Installation
Enter node , (file) or (file)node

How to plug-in TRAMP into your environment.
===========================================

If you don't install TRAMP into the intended directories, but prefer to
use from the source directory, you need to add the following lines into
your `.emacs':

     (add-to-list 'load-path "~/emacs/tramp/lisp/")
     (add-to-list 'load-path "~/emacs/tramp/contrib/")
     (require 'tramp)

   The second load-path must be used only if you've applied the
`USE_CONTRIB' parameter.

   To be able to read the Info documentation, create a file
`~/emacs/tramp/info/dir' using the `install-info' command, and add the
directory to the search path for Info.

   NOTE: On systems using the `gnu' version of `install-info', the
`install-info' syntax is very direct and simple.  One can change to
directory `~/emacs/tramp/info' and type:

     install-info tramp dir

   and a `dir' file will be created with the TRAMP entry.  The info
reader will know how to interpret it, but must be told where to find it
(see below).  If you want anything fancier you'll need to look through
`man install-info'.

   Debian GNU/Linux doesn't default to `gnu' `install-info' but uses
its own version.  This version does not create a `dir' file for you
from scratch.  You must provide a skeleton `dir' file it recognizes.
One can be found in a default installation of Emacs at `/usr/info/dir'.
Copy the top of this file down to the first occurrence of `* Menu'
including that line plus one more blank line, to your working directory
`~/emacs/tramp/info', or use the sample `~/emacs/tramp/texi/dir_sample'.

   Once a `dir' file is in place, this command will make the entry:

     install-info --infodir=. tramp

   If you want it in a specific category see `man install-info' for
further details.

   If the environment variable `INFOPATH' is set, add the directory
`~/emacs/tramp/info/' to it.  Else, add the directory to
`Info-default-directory-list', as follows:

     (add-to-list 'Info-default-directory-list "~/emacs/tramp/info/")


automatically generated by info2www version 1.2.2.9