From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#2975: texinfo-master-menu and emacs.texi Date: Sat, 10 Dec 2011 13:00:11 +0200 Message-ID: <83aa70n138.fsf@gnu.org> References: <20191.12232.556454.551166@gargle.gargle.HOWL> <20191.48632.665251.448872@gargle.gargle.HOWL> <20191.55423.572257.75919@gargle.gargle.HOWL> <877h27gxh2.fsf@gmail.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE X-Trace: dough.gmane.org 1323514872 32580 80.91.229.12 (10 Dec 2011 11:01:12 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 10 Dec 2011 11:01:12 +0000 (UTC) Cc: winkler@gnu.org, stepnem@gmail.com, 2975@debbugs.gnu.org, karl@freefriends.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Dec 10 12:01:07 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RZKfz-0005vq-6X for geb-bug-gnu-emacs@m.gmane.org; Sat, 10 Dec 2011 12:01:07 +0100 Original-Received: from localhost ([::1]:48280 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RZKfy-0001C7-Pv for geb-bug-gnu-emacs@m.gmane.org; Sat, 10 Dec 2011 06:01:06 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:42904) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RZKfv-0001Bw-Q1 for bug-gnu-emacs@gnu.org; Sat, 10 Dec 2011 06:01:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RZKfu-0006Da-Hh for bug-gnu-emacs@gnu.org; Sat, 10 Dec 2011 06:01:03 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:60249) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RZKfu-0006DW-Aa for bug-gnu-emacs@gnu.org; Sat, 10 Dec 2011 06:01:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RZKgs-0000Rv-6I for bug-gnu-emacs@gnu.org; Sat, 10 Dec 2011 06:02:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 10 Dec 2011 11:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 2975 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 2975-submit@debbugs.gnu.org id=B2975.13235148801597 (code B ref 2975); Sat, 10 Dec 2011 11:02:02 +0000 Original-Received: (at 2975) by debbugs.gnu.org; 10 Dec 2011 11:01:20 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RZKgA-0000Pd-OI for submit@debbugs.gnu.org; Sat, 10 Dec 2011 06:01:19 -0500 Original-Received: from mtaout22.012.net.il ([80.179.55.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RZKg8-0000PQ-6k for 2975@debbugs.gnu.org; Sat, 10 Dec 2011 06:01:16 -0500 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0LVZ00G00IEO7Y00@a-mtaout22.012.net.il> for 2975@debbugs.gnu.org; Sat, 10 Dec 2011 13:00:14 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([84.228.102.96]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LVZ00FDCIKAJH90@a-mtaout22.012.net.il>; Sat, 10 Dec 2011 13:00:12 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sat, 10 Dec 2011 06:02:02 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:54858 Archived-At: > From: Stefan Monnier > Cc: =C5=A0t=C4=9Bp=C3=A1n N=C4=9Bmec , > 2975@debbugs.gnu.org, winkler@gnu.org, > Karl Berry > > Date: Thu, 08 Dec 2011 09:46:49 -0500 >=20 > Eli writes: > > The simplest fix would be to remove the updating of the @node lin= es. > > Would anyone object? Karl? >=20 > That would be great. I made it extremely optional instead: only "C-u N" where N is a numbe= r would cause @node lines to be updated with next/prev/up pointers. > Eli writes: > > I guess I'm saying that the importance of these commands in the > > context of maintaining Emacs documentation is somewhat exaggerate= d in > > this thread, to say the least ;-) >=20 > IIUC the OP is not directly interested in maintaining Emacs > documentation but rather is trying to write a manual for another pr= oject > (BBDB, which happens to be an Emacs package). He was asking about the effects of invoking these commands on emacs.texi. > Eli writes: > > Here's what I see there: > > . texinfo-master-menu indeed does not support multiple-file manu= als, > > so it removed all the menu items whose nodes are in files othe= r > > than emacs.texi itself >=20 > A good fix here would be for texinfo-master-menu to detect the prob= lem > and signal a warning/error. >=20 > > . texinfo-master-menu doesn't grok @iftex and @ifnottext conditi= onals > > (and probably the other @if... conditionals as well), so it > > produced bad Next and Prev pointers, because, e.g., this: >=20 > If leaving Node pointers alone fixes this problem, then there's not= hing > else to do, but otherwise texinfo-master-menu should try and detect > these problematic cases and signal an error/warning. The detection and error signaling are left as an exercise for the interested readers ;-)