info-dir-file profile hooks misses entries such as rottlog

  • Done
  • quality assurance status badge
Details
One participant
  • Maxim Cournoyer
Owner
unassigned
Submitted by
Maxim Cournoyer
Severity
normal
M
M
Maxim Cournoyer wrote on 27 Oct 2022 21:00
(name . bug-guix)(address . bug-guix@gnu.org)
87mt9hhz13.fsf@gmail.com
Hello,

It appears the 'info-dir-file' profile hook procedure doesn't process
all the entries as can be found with:

$ guix shell --pure grep emacs info-reader rottlog
[env]$ grep rottlog $GUIX_ENVIRONMENT/share/info/dir

[env]$ emacs -> C-h i m rottlog RET -> no match
[env]$ info rottlog -> displays manual

From the above we can tell the 'dir' file generated by 'info-dir-file'
hasn't registered an entry for rottlog, even though it's in INFOPATH.

--
Thanks,
Maxim
M
M
Maxim Cournoyer wrote on 28 Oct 2022 05:41
(address . 58821-done@debbugs.gnu.org)
87tu3ofwcs.fsf@gmail.com
Hello,

Maxim Cournoyer <maxim.cournoyer@gmail.com> writes:

Toggle quote (14 lines)
> Hello,
>
> It appears the 'info-dir-file' profile hook procedure doesn't process
> all the entries as can be found with:
>
> $ guix shell --pure grep emacs info-reader rottlog
> [env]$ grep rottlog $GUIX_ENVIRONMENT/share/info/dir
>
> [env]$ emacs -> C-h i m rottlog RET -> no match
> [env]$ info rottlog -> displays manual
>
>>From the above we can tell the 'dir' file generated by 'info-dir-file'
> hasn't registered an entry for rottlog, even though it's in INFOPATH.

Fixed with commit 3511ad2857. The issue had to do with the lack of a
Texinfo 'direntry' in the rot[t]log info manual.

I've also removed the --silent option in the info-dir-file profile hook,
which should hint us at such problems in the future, when building
profiles verbosely.

Closing.

--
Thanks,
Maxim
Closed
?