Bug#778799: gcc-doc: gcc.info not viewable in Emacs
Hi,
Thanks for your report.
On Fri, Feb 20, 2015 at 12:09:53PM +1100, Kevin Ryde wrote:
> Package: gcc-doc
> Version: 5:4.9.1-3
> Severity: normal
> File: /usr/share/info/gcc.info.gz
>
> With recent emacs-lucid 24.4+1-4.1, opening the gcc.info file
>
> C-h i
> g
> (gcc) Ret
> => No such node or anchor: Top
>
> In see this empty type gcc.info is accepted by the standalone info
> program, but it doesn't seem to work in emacs.
I've tried the same input sequence with info, and it doesn't work,
either, with an error message "Cannot find node `Top'." So info and the
info reader inside emacs have the same behavior here.
The reason why I've switched to direntry stub instead of symlinks for
/usr/share/info/gcc.info.gz:
$ info gcc
With symlinks
shows "10 'gcov'--a Test Coverage Program" in
gcc-4.8.info, while gcc-4.9 is the symlinked
default version.
With direntry stub
shows the top node in gcc-4.9.info.
The drawback is that with direntry stubs, there's no "(gcc)" top nodes,
only "(gcc-4.9)" top nodes, etc. However, it doesn't seem to be a good
idea to revert to symlinks. Any patches are welcome.
Regards,
Yixuan
> -- System Information:
> Debian Release: 8.0
> APT prefers unstable
> APT policy: (990, 'unstable')
> Architecture: i386 (i686)
>
> Kernel: Linux 3.16.0-4-686-pae (SMP w/1 CPU core)
> Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
> Init: sysvinit (via /sbin/init)
>
> Versions of packages gcc-doc depends on:
> ii gcc-4.9-doc 4.9.1-3
>
> gcc-doc recommends no packages.
>
> gcc-doc suggests no packages.
>
> -- no debconf information
Reply to: