On Tue, Aug 25, 2009 at 10:49:40PM +0200, Sven Joachim wrote:
> retitle 543564 emacs23-gtk: Info viewer cannot handle compressed dir files
> thanks
> 
> > When trying to use info mode, C-h i, all I get is the error message
> > "Can't find the Info directory node".
> [...]
> Mine is shorter, although this is probably not relevant:
> 
> ("/usr/local/share/info/" "/usr/local/info/" "/usr/share/info/emacs-23"
>  "/usr/share/info/" "/usr/share/info/")

That's a little bizarre.  Whatever.

> > $ ls -l /usr/share/info/dir*
> > -rw-r--r-- 1 root root  9616 2009-08-24 11:23 /usr/share/info/dir.gz
> > -rw-r--r-- 1 root root 29212 2009-08-24 11:23 /usr/share/info/dir.old
> > -rw-r--r-- 1 root root  1355 2009-07-02 22:53 /usr/share/info/dir.old.gz
> 
> This is your problem, why is the dir file compressed?  It is not here:

I don't know.  I certainly didn't compress it.

> It seems that ginstall-info (and thus update-info-dir which is run
> whenever you install files into /usr/share/info) will write to "dir.gz"
> if it exists but "dir" does not.  So gunzipping dir.gz should solve your
> problem.

Indeed it does!

> The other part of the problem is that the Emacs Info viewer should
> handle compressed dir files better.  The standalone info program works
> just fine with them.

Agreed.

   Julian



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to