🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.help
Article #189365

Re: info search path

#189365
From: Kevin Gallagher
Date: Thu, 21 Feb 1991 00:19
44 lines
2499 bytes
In article <2143@fornax.UUCP> bremner@cetus.UUCP (David Bremner) writes:
>I quote from info node (texinfo)Installing an Info File
>
>"An Info file is usually installed in the GNU Emacs directory called
>`info'.  For Info to work, this directory must contain all the Info
>files, including the split off files."
>
>Oh Gnu Emacs Gurus, tell me this is not so. I would like to have my own info
>directory that get searched before the system directory. Is this a difficult 
>problem?
>

Here's what I do.  It requires no elisp code changes in info.el.

I copied the "dir" file from the installed info directory into 
my own directory.  Create links in your private info directory
to all info files found in the system info directory. 
Then add the following line to your .emacs file:

(setq Info-directory "/users/kgallagh/lisp/info")

replacing my info directory path with yours.  This tells emacs to use
your info directory as the default.

Now, all you have to do is add your own private info files into your
private info directory and edit the "dir" file found there.  For example,
if you enter

* Wizbang: (wizbang).      Wizbang User's Manual

into the "dir" file, when you select Wizbang, emacs will look for an
info file called "wizbang" in the directory you specified in the
variable Info-directory.

All this works for GNU Emacs 18.54, which was modified to run properly
on the Apollo workstations.  I haven't tested it on non-Apollo
installations.  Hope it works for you!

Good Luck!
-- 
----------------------------------------------------------------------------
Kevin Gallagher        kgallagh@digi.lonestar.org OR ...!uunet!digi!kgallagh
DSC Communications Corporation   Addr: MS 152, 1000 Coit Rd, Plano, TX 75075
----------------------------------------------------------------------------
Technical Details
Message-ID: <1991Feb21.001924.7863@digi.lonestar.org>
Path: arc1-ca.pugleaf.net!gmdzi!unido!fauern!ira.uka.de!sol.ctr.columbia.edu!caen!sdd.hp.com!cs.utexas.edu!convex!texsun!digi!kgallagh
References: <2143@fornax.UUCP>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 103b8b,9f16ab14059249a
X-Google-Attributes: gid103b8b,public
X-Google-ArrivalTime: 1991-02-22 08:38:39 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!fauern!ira.uka.de!sol.ctr.columbia.edu!caen!sdd.hp.com!cs.utexas.edu!convex!texsun!digi!kgallagh
From: kgallagh@digi.lonestar.org (Kevin Gallagher)
Newsgroups: gnu.emacs.help
Subject: Re: info search path
Keywords: info,install,personal, emacs 18.55.6, SunOS 4.1
Message-ID: <1991Feb21.001924.7863@digi.lonestar.org>
Date: 21 Feb 91 00:19:24 GMT
References: <2143@fornax.UUCP>
Distribution: gnu
Organization: DSC Communications Corp, Plano, TX
Lines: 44