From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/8566 Path: main.gmane.org!not-for-mail From: Robert Nicholson Newsgroups: gmane.emacs.gnus.general Subject: OK Info-default-directory-list Date: 31 Oct 1996 20:15:08 -0500 Sender: robert@elastica.com Message-ID: NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035148707 12893 80.91.224.250 (20 Oct 2002 21:18:27 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 21:18:27 +0000 (UTC) Cc: ding@ifi.uio.no Return-Path: Original-Received: (qmail 16005 invoked from smtpd); 1 Nov 1996 01:31:49 -0000 Original-Received: from ifi.uio.no (0@129.240.64.2) by deanna.miranova.com with SMTP; 1 Nov 1996 01:31:49 -0000 Original-Received: from DGS.dgsys.com (root@dgs.dgsys.com [204.97.64.1]) by ifi.uio.no with SMTP (8.6.11/ifi2.4) id for ; Fri, 1 Nov 1996 02:12:05 +0100 Original-Received: from justine.elastica.com by DGS.dgsys.com (5.0/SMI-SVR4) id AA09424; Thu, 31 Oct 1996 20:09:10 -0500 Original-Received: (from robert@localhost) by justine.elastica.com (8.7.5/8.7.3) id UAA04271; Thu, 31 Oct 1996 20:15:32 -0500 (EST) Original-Newsgroups: comp.emacs.xemacs Original-Lines: 63 X-Newsreader: Red Gnus v0.53/XEmacs 19.14 Posted-To: comp.emacs.xemacs Xref: main.gmane.org gmane.emacs.gnus.general:8566 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:8566 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.