GNU bug report logs - #2975
`texinfo-master-menu' doesn't work.

Previous Next

Package: emacs;

Reported by: Alan Mackenzie <acm <at> muc.de>

Date: Sun, 12 Apr 2009 21:40:06 UTC

Severity: normal

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Alan Mackenzie <acm <at> muc.de>
To: bug-texinfo <at> gnu.org, bug-gnu-emacs <at> gnu.org
Subject: `texinfo-master-menu' doesn't work.
Date: Sun, 12 Apr 2009 21:33:40 +0000
In Emacs, either 22.3 or a recent CVS version ...
emacs -Q

1.

(i) C-c C-f .../path/to/emacs/doc/misc/cc-mode.texi
(ii) M-g M-g 238          ; the second line of the menu,
                          ; contents "* Overview::"
(ii) C-k C-k              ; Kill this line

(v) Now do C-c C-u m.  This flashes the screen and reports
"Done...completed making master menu.  You may save the buffer.".
However, it hasn't made the master menu - the "* Overview::" line is
still missing.

########################################################################

2.

(i) Kill (remove) the entire master menu from the buffer (between the
  lines "@menu" and "@end menu").
  
(ii) Try to regenerate the master menu with C-c C-u m.  This signals the
puzzling error "Buffer lacks ordinary `Top' menu in which to insert
master".  It is not clear what a "`Top' menu" is, in what respect it is
"ordinary", and in what regard the new master menu is inserted into it.
The existing master menu was not contained within any menu.

#########################################################################

3.

(i) C-c C-f .../path/to/emacs/doc/lispref/elisp.texi
(ii) M-g M-g 108       ; the second line of the menu,
                       ; "* Lisp Data Types:: ...."
(iii) C-k C-k          ; Kill this line

(iv) Now do C-c C-u m.  This doesn't regenerate the master menu.
Instead, it deletes the @detailmenu without restoring the "* Lisp Data
Types::" line.

#########################################################################

Comments:

Neither the doc string for `texinfo-master-menu' nor the texinfo manual
(page "Updating Nodes and Menus") describe other than vaguely what this
command is supposed to do.

The doc string states, accurately, that

    The function removes the detailed part of an already existing master
    menu.

, which though accurate, is puzzling in the extreme; what one wants from
this command is for the detailed bit to be inserted, not deleted.

There is no verb in "texinfo master menu", so one is led by intelligent
guessing to believe that the command does whatever necessary to insert
or update the master menu.  This doesn't happen.

-- 
Alan Mackenzie (Nuremberg, Germany).





This bug report was last modified 13 years and 223 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.