Bug#2927: /usr/info/dir in base confuses install-info
Package: base
Version: 1.1.0-6
About file /usr/info/dir:
I installed groff,man,manpages,xlib and emacs(19.30-1) using
dpkg(1.1.5elf). In the dir file the upper (about) 10 menu items don't
work, among these everything about emacs, and each menu item has its
own section header. The '*Menu:' line appears _after_ these items.
The problem seems to be that install-info(1.1.5) is confused. In
base.postinst the section 'General Commands' is not delimited by blank
lines. Below I 'prove' that an empty line before 'General Commands'
solves the problem. My strong guess is that this also solves bug 2596.
Best regards,
David Griffioen.
========== wrong short dir ==========
File: dir Node: Top This is the top of the INFO tree
This (the Directory node) gives a menu of major topics. Typing "d"
...
* Menu: The list of major topics begins on the next line.
General Commands
========== wrong short dir after adding ==========
File: dir Node: Top This is the top of the INFO tree
This (the Directory node) gives a menu of major topics. Typing "d"
...
Emacs
* Cl: (cl). The GNU Emacs Common Lisp emulation package.
Emacs
* Dired-x: (dired-x). Dired Extra Features.
* Menu: The list of major topics begins on the next line.
General Commands
========== good short dir ==========
File: dir Node: Top This is the top of the INFO tree
This (the Directory node) gives a menu of major topics. Typing "d"
...
* Menu: The list of major topics begins on the next line.
General Commands
========== good short dir after adding ==========
File: dir Node: Top This is the top of the INFO tree
This (the Directory node) gives a menu of major topics. Typing "d"
...
* Menu: The list of major topics begins on the next line.
Emacs
* Cl: (cl). The GNU Emacs Common Lisp emulation package.
* Dired-x: (dired-x). Dired Extra Features.
General Commands
========== code used to add entrys ==========
install-info --quiet --section "Emacs" "Emacs" /usr/info/cl.gz
install-info --quiet --section "Emacs" "Emacs" \
--description="Dired Extra Features." /usr/info/dired-x.gz
========== the end ==========
Reply to: