Gnus development mailing list
 help / color / mirror / Atom feed
* OK Info-default-directory-list
@ 1996-11-01  1:15 Robert Nicholson
  1996-11-01  2:55 ` Robert Nicholson
  0 siblings, 1 reply; 2+ messages in thread
From: Robert Nicholson @ 1996-11-01  1:15 UTC (permalink / raw)
  Cc: ding

The following message is a courtesy copy of an article
that has been posted as well.

OK, some folk suggested I try Info-default-directory-list

That doesn't work.

Right now I have.

root:/usr/local/info>ls -al localdir                                      20:06
-rw-r--r--   1 root     other       1420 Oct 30 23:51 localdir
root:/usr/local/info>    

root:/usr/local/info>cat localdir                                         20:09
-*- Text -*-
 
This is the file .../info/dir, which contains the topmost node of the Info
hierarchy.  The first time you invoke Info you start off looking at that node,
which is (dir)Top.
 
Rather than adding new nodes to this directory (and this file) it is a better
idea to put them in a site-local directory, and then configure info to search
in that directory as well.  That way, you won't have to re-edit this file when
a new release of the editor comes out.
 
For example, you could add this code to .../lisp/site-start.el, which is
loaded before ~/.emacs each time the editor starts up:
 
  ;; find local info nodes
  (setq Info-default-directory-list
        (append Info-default-directory-list '("/private/info/")))
 
Then, when you enter info, the contents of the file "/private/info/localdir"
will be appended to the contents of this file (where the "* Locals:" line is.)
The "localdir" file should simply contain lines like in this file, listing the
names of the info files in its directory.
 
 
File: localdir  Node: Top       This is the top of the INFO tree
 
  This is Info, the online documentation browsing system.
  This page (the Directory node) gives a menu of major topics.
 
  button1 or button2 on a highlighted word follows that cross-reference.
  button3 anywhere brings up a menu of commands.
  ? lists additional keyboard commands.
  h invokes the Info tutorial.
 
* Menu:
 
* SGNUS:(gnus). Lars's cool GNUS.

(setq Info-default-directory-list (cons (expand-file-name "/usr/local/info/") Info-default-directory-list))

When I have things setup like it complains that it cannot find "dir"

I mean the xemacs info directory has "dir" and I've got "localdir"

Why does it complain about "dir" not found.

root:/usr/local/info>ls -al /usr/local/lib/xemacs-19.14/info/dir          20:10
-rw-r--r--   1 root     other       3387 Sep 28 16:10 /usr/local/lib/xemacs-19.14/info/dir

-- 
They pay homage to a king who's dreams are buried in their minds. 
His tears are frozen stiff. Icicles drip from his eyes.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: OK Info-default-directory-list
  1996-11-01  1:15 OK Info-default-directory-list Robert Nicholson
@ 1996-11-01  2:55 ` Robert Nicholson
  0 siblings, 0 replies; 2+ messages in thread
From: Robert Nicholson @ 1996-11-01  2:55 UTC (permalink / raw)
  Cc: ding

The following message is a courtesy copy of an article
that has been posted as well.

OK problem solved. I had an old INFOPATH envar kicking around that shouldn't
have been which was causing it to try to find dir in my /usr/local/info
directory.

Thanks to all those who responded.

Is it too late to order a Red GNUS shirt?

-- 
They pay homage to a king who's dreams are buried in their minds. 
His tears are frozen stiff. Icicles drip from his eyes.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1996-11-01  2:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-11-01  1:15 OK Info-default-directory-list Robert Nicholson
1996-11-01  2:55 ` Robert Nicholson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).