From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Trouble with texinfo-multiple-files-update Date: Sun, 02 Jun 2013 18:42:00 +0300 Message-ID: <83li6szfhz.fsf@gnu.org> References: <20130602121419.GA3401@acm.acm> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1370187736 22833 80.91.229.3 (2 Jun 2013 15:42:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 2 Jun 2013 15:42:16 +0000 (UTC) Cc: emacs-devel@gnu.org To: Alan Mackenzie Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jun 02 17:42:17 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UjAQB-0004TR-VW for ged-emacs-devel@m.gmane.org; Sun, 02 Jun 2013 17:42:16 +0200 Original-Received: from localhost ([::1]:56879 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UjAQB-0008NT-Io for ged-emacs-devel@m.gmane.org; Sun, 02 Jun 2013 11:42:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44560) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UjAQ7-0008MG-Hv for emacs-devel@gnu.org; Sun, 02 Jun 2013 11:42:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UjAQ6-0008An-5P for emacs-devel@gnu.org; Sun, 02 Jun 2013 11:42:11 -0400 Original-Received: from mtaout21.012.net.il ([80.179.55.169]:56753) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UjAQ5-0008AT-Tk for emacs-devel@gnu.org; Sun, 02 Jun 2013 11:42:10 -0400 Original-Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0MNR00E00VKRGR00@a-mtaout21.012.net.il> for emacs-devel@gnu.org; Sun, 02 Jun 2013 18:42:07 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MNR00EKFVM7FX20@a-mtaout21.012.net.il>; Sun, 02 Jun 2013 18:42:07 +0300 (IDT) In-reply-to: <20130602121419.GA3401@acm.acm> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.169 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:159985 Archived-At: > Date: Sun, 2 Jun 2013 12:14:19 +0000 > From: Alan Mackenzie > > Then I come to update the main menu in the top file emacs.texi. I was > unfortunate enough to try out C-u M-x texinfo-multiple-files-update. > This has loaded 44 .texi files needlessly into my Emacs This command updates the master menu by looking at all the nodes in the manual. Since the manual consists of 56 files, how do you want Emacs to be able to update the master menu without visiting all those files? The command also updates the top-level menu in each file, again something that is impossible without visiting them. > marking almost all of them as "changed", though I suspect these > "changes" are all null. Why do you care about the fact that they are modified? Emacs does that elsewhere, e.g., when you "M-q" in a paragraph that is already filled. You don't become nervous then, do you? So why here? > So now I've got the hassle of getting rid of these 44 "changed" buffers, > when all I really wanted to do was update the main menu. It would have > been less work just to update the main menu by hand. I hope it's not too late to convince you not to "get rid" of these buffers. Instead, save them all, and then invoke "bzr diff". I'm sure you will see that only things that need to be changed actually did. > Why is there no decent command to update the main menu? There is, it is called texinfo-multiple-files-update. You will see in emacs.texi that it was actually used on the manual, because there's a comment there which tells you what NOT to do to avoid screwing it up. > What do other people do when they want to update the main menu? texinfo-multiple-files-update. P.S. We seem to have this kind of conversation every few years; e.g., see http://debbugs.gnu.org/cgi/bugreport.cgi?bug=2975.