retitle 543564 emacs23-gtk: Info viewer cannot handle compressed dir files
thanks

On 2009-08-25 21:59 +0200, Julian Gilbey wrote:

> Package: emacs23-gtk
> Version: 23.1+1-2
>
> When trying to use info mode, C-h i, all I get is the error message
> "Can't find the Info directory node".
>
> Some possibly useful information:
>
> Info-default-directory-list is a variable defined in `paths.el'.
> Its value is 
> ("/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/emacs-23"
> "/usr/share/info/" "/usr/share/info/")

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/")

> $ 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:

,----
| $ ls -l /usr/share/info/dir*
| -rw-r--r--   1 root root  32779 Aug 24 09:11 dir
| -rw-r--r--   1 root root  32786 Aug 24 09:11 dir.old
`----

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.

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.

Sven



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

Reply via email to