Gnus development mailing list
 help / color / mirror / Atom feed
* gnus cvs v0.6 info files not found
@ 2007-03-22 14:48 Patrick Drechsler
  2007-03-22 23:31 ` Katsumi Yamaoka
  0 siblings, 1 reply; 3+ messages in thread
From: Patrick Drechsler @ 2007-03-22 14:48 UTC (permalink / raw)
  To: ding

Hi,

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:

--8<---------------cut here---------------start------------->8---
;; 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)) 
--8<---------------cut here---------------end--------------->8---
   
Invoking Info with `C-h i d m Gnus RET' gives me Emacs' version of the
info pages. I can confirm this by attempting to open a file when this
info page is open with `C-x C-f'. This displays the location of my
current Emacs install (/usr/local/src/emacs23/emacs/info). I end up in
the same directory when starting Gnus (`M-x gnus') and typing `C-c
TAB'.

This also looks ok:

,----[ C-h v Info-default-directory-list RET ]
| Info-default-directory-list is a variable defined in `paths.el'.
| Its value is 
| ("/usr/local/src/gnus/texi" "/home/patrick/.emacs.d/mysitelisp/cedet-1.0beta3b/semantic/doc" "/home/patrick/.emacs.d/mysitelisp/ess/ess-5.3.3/doc/info/" "/usr/local/src/gnus/texi" "/usr/local/share/info/" "/usr/local/info/" "/usr/local/gnu/info/" "/usr/local/gnu/lib/info/" "/usr/local/gnu/lib/emacs/info/" "/usr/local/emacs/info/" "/usr/local/lib/info/" "/usr/local/lib/emacs/info/" "/usr/share/info/" "/usr/local/share/info/")
`----

I installed Gnus using

compile --with-emacs=/usr/local/src/emacs23/emacs/src/emacs && make

CVS Gnus works fine otherwise.

Is there anything obvious I missed while installing CVS Gnus?

TIA,

Patrick

Versions:

No Gnus v0.6
GNU Emacs 23.0.0.1 (i686-pc-linux-gnu, GTK+ Version 2.8.20) of 2007-03-18 on trurl

-- 
If I'd known I was gonna live this long, I'd have taken better care of
myself.  [Eubie Blake]





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

* Re: gnus cvs v0.6 info files not found
  2007-03-22 14:48 gnus cvs v0.6 info files not found Patrick Drechsler
@ 2007-03-22 23:31 ` Katsumi Yamaoka
  2007-03-23  7:49   ` Patrick Drechsler
  0 siblings, 1 reply; 3+ messages in thread
From: Katsumi Yamaoka @ 2007-03-22 23:31 UTC (permalink / raw)
  To: Patrick Drechsler; +Cc: ding

>>>>> 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'.  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'.

Well, though it might not necessarily be a proper solution, to
set `Info-directory-list' directly is easy.  For example:

--8<---------------cut here---------------start------------->8---
(require 'info)
(info-initialize)
(add-to-list 'Info-directory-list "/usr/local/src/gnus/texi/")
--8<---------------cut here---------------end--------------->8---

Regards,



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

* Re: gnus cvs v0.6 info files not found
  2007-03-22 23:31 ` Katsumi Yamaoka
@ 2007-03-23  7:49   ` Patrick Drechsler
  0 siblings, 0 replies; 3+ messages in thread
From: Patrick Drechsler @ 2007-03-23  7:49 UTC (permalink / raw)
  To: ding

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)





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

end of thread, other threads:[~2007-03-23  7:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-22 14:48 gnus cvs v0.6 info files not found Patrick Drechsler
2007-03-22 23:31 ` Katsumi Yamaoka
2007-03-23  7:49   ` Patrick Drechsler

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).