all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Info directory
@ 2004-10-18  8:41 Philip Clark
  2004-10-18  9:19 ` Sean Richards
  2004-10-18 19:50 ` Eli Zaretskii
  0 siblings, 2 replies; 3+ messages in thread
From: Philip Clark @ 2004-10-18  8:41 UTC (permalink / raw)



Hi Folks, 

Does anyone know how to set up multiple Info directory locations? I want
to keep all the system info files, but also include my own for other
packages I add in my home directory. 

I've tried:

(require 'info)
(setq Info-directory-list (append '("~/src/gnus/texi") Info-directory-list))

but then it just "loses" the system location. 

Any ideas would be very welcome.

-Phil

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

* Re: Info directory
  2004-10-18  8:41 Info directory Philip Clark
@ 2004-10-18  9:19 ` Sean Richards
  2004-10-18 19:50 ` Eli Zaretskii
  1 sibling, 0 replies; 3+ messages in thread
From: Sean Richards @ 2004-10-18  9:19 UTC (permalink / raw)


Philip Clark <P.J.Clark@ed.ac.uk> writes:

> Hi Folks, 
>
> Does anyone know how to set up multiple Info directory locations? I want
> to keep all the system info files, but also include my own for other
> packages I add in my home directory. 
>
> I've tried:
>
> (require 'info)
> (setq Info-directory-list (append '("~/src/gnus/texi") Info-directory-list))
>
> but then it just "loses" the system location. 
>
> Any ideas would be very welcome.

How about
 
(add-to-list 'Info-default-directory-list "~/src/gnus/texi")

or

(setq Info-default-directory-list 
      (cons "~/src/gnus/texi" Info-default-directory-list))

Sean

-- 
"Hver sin smak", sa vintapperen, han drakk mens de andre sloss.

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

* Re: Info directory
  2004-10-18  8:41 Info directory Philip Clark
  2004-10-18  9:19 ` Sean Richards
@ 2004-10-18 19:50 ` Eli Zaretskii
  1 sibling, 0 replies; 3+ messages in thread
From: Eli Zaretskii @ 2004-10-18 19:50 UTC (permalink / raw)


> From: Philip Clark <P.J.Clark@ed.ac.uk>
> Date: Mon, 18 Oct 2004 09:41:17 +0100
> 
> 
> Does anyone know how to set up multiple Info directory locations? I want
> to keep all the system info files, but also include my own for other
> packages I add in my home directory. 

The canonical way to do that is to set the environment variable
INFOPATH outside of Emacs, in the same shell from which you invoke
Emacs.  INFOPATH's value should be a list of Info directories in the
same format as the PATH variable on your system.

> I've tried:
> 
> (require 'info)
> (setq Info-directory-list (append '("~/src/gnus/texi") Info-directory-list))

Don't play with Info-directory-list, it's not intended to be settable
by the user.

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

end of thread, other threads:[~2004-10-18 19:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-18  8:41 Info directory Philip Clark
2004-10-18  9:19 ` Sean Richards
2004-10-18 19:50 ` Eli Zaretskii

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.