Gnus development mailing list
 help / color / mirror / Atom feed
From: Patrick Drechsler <patrick@pdrechsler.de>
To: ding@gnus.org
Subject: Re: gnus cvs v0.6 info files not found
Date: Fri, 23 Mar 2007 08:49:08 +0100	[thread overview]
Message-ID: <87lkhoz9fv.fsf@pdrechsler.de> (raw)
In-Reply-To: <b4mejngetys.fsf@jpl.org>

Katsumi Yamaoka <yamaoka@jpl.org> writes:

>>>>>> In <87mz25e3m0.fsf@pdrechsler.de> Patrick Drechsler wrote:
>
>> after installing a current CVS version of Gnus (checked out today) the
>> info files are not found. Instead the Gnus info pages from Emacs are
>> displayed: "This manual corresponds to Gnus v5.11.".
>
>> I followed the README of the CVS, which states one should include the
>> following in ~/.emacs:
>
>> ;; CVS Gnus:
>> (setq load-path (cons (expand-file-name "/usr/local/src/gnus/lisp") load-path))
>> (require 'gnus-load)
>> ;;* Version 1: From the README file of CVS Gnus: (does not work)
>> ;; (require 'info)
>> ;; (add-to-list 'Info-default-directory-list "/usr/local/src/gnus/texi/")
>> ;;* Version 2: From various posts: (does not work either)
>> (require 'info)
>> (setq Info-default-directory-list
>>       (cons "/usr/local/src/gnus/texi" Info-default-directory-list))
>
> There is no difference between the way of `add-to-list' and the
> way of `setq...cons'.  

Ah, I was not aware of this, thank you for pointing this out to me.

> The Info path actually used in Emacs is `Info-directory-list', which
> is initialized according to the value of
> `Info-default-directory-list' when you invoke the info command for
> the first time.
>
> There are at least two possible causes by which you don't see
> the No Gnus Info.  One is that you have the INFOPATH environment
> variable.  In that case, the directories in `Info-directory-list'
> will be in the order of the ones of INFOPATH and the ones of
> `Info-default-directory-list'.  The other is that
> `Info-directory-list' has already a non-nil value for some reason
> before initializing.  In the later case, `Info-directory-list'
> will not reflect the value of `Info-default-directory-list'.

I think I tampered with the evironment variable INFOPATH at some
point, so this is probably the cause (although `echo $INFOPATH'
returns nothing in the shell).

> Well, though it might not necessarily be a proper solution, to
> set `Info-directory-list' directly is easy.  For example:
>
> (require 'info)
> (info-initialize)
> (add-to-list 'Info-directory-list "/usr/local/src/gnus/texi/")

Works like a charm! Thank you very much Katsumi!

Cheers

Patrick
-- 
"I love deadlines. I love the whooshing noise they make as they go by"
(Douglas Adams)





      reply	other threads:[~2007-03-23  7:49 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-22 14:48 Patrick Drechsler
2007-03-22 23:31 ` Katsumi Yamaoka
2007-03-23  7:49   ` Patrick Drechsler [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87lkhoz9fv.fsf@pdrechsler.de \
    --to=patrick@pdrechsler.de \
    --cc=ding@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).