From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.devel Subject: Re: Trouble with texinfo-multiple-files-update Date: Mon, 3 Jun 2013 16:36:56 +0000 Message-ID: <20130603163656.GA28357@acm.acm> References: <20130602121419.GA3401@acm.acm> <87li6savfq.fsf@uwakimon.sk.tsukuba.ac.jp> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1370277448 13910 80.91.229.3 (3 Jun 2013 16:37:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 3 Jun 2013 16:37:28 +0000 (UTC) Cc: emacs-devel@gnu.org To: "Stephen J. Turnbull" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jun 03 18:37:27 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 1UjXl5-0001rH-7b for ged-emacs-devel@m.gmane.org; Mon, 03 Jun 2013 18:37:23 +0200 Original-Received: from localhost ([::1]:59492 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UjXl4-0001o7-T2 for ged-emacs-devel@m.gmane.org; Mon, 03 Jun 2013 12:37:22 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44024) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UjXkw-0001kh-Ur for emacs-devel@gnu.org; Mon, 03 Jun 2013 12:37:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UjXkv-0008W8-ML for emacs-devel@gnu.org; Mon, 03 Jun 2013 12:37:14 -0400 Original-Received: from colin.muc.de ([193.149.48.1]:46676 helo=mail.muc.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UjXkv-0008Vy-Fm for emacs-devel@gnu.org; Mon, 03 Jun 2013 12:37:13 -0400 Original-Received: (qmail 98690 invoked by uid 3782); 3 Jun 2013 16:37:11 -0000 Original-Received: from acm.muc.de (pD951AC26.dip0.t-ipconnect.de [217.81.172.38]) by colin.muc.de (tmda-ofmipd) with ESMTP; Mon, 03 Jun 2013 18:37:07 +0200 Original-Received: (qmail 28426 invoked by uid 1000); 3 Jun 2013 16:36:56 -0000 Content-Disposition: inline In-Reply-To: <87li6savfq.fsf@uwakimon.sk.tsukuba.ac.jp> User-Agent: Mutt/1.5.21 (2010-09-15) X-Delivery-Agent: TMDA/1.1.12 (Macallan) X-Primary-Address: acm@muc.de X-detected-operating-system: by eggs.gnu.org: FreeBSD 8.x X-Received-From: 193.149.48.1 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:160047 Archived-At: Hi, Stephen. On Mon, Jun 03, 2013 at 09:29:13AM +0900, Stephen J. Turnbull wrote: > Alan Mackenzie writes: > > 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, marking almost > > all of them as "changed", though I suspect these "changes" are all > > null. > I suspect they're not null. Based on my own experience, I guess what > happened is that t-m-f-u hasn't been run in a while so there were a > lot of updates. The abstract principle here which hasn't been addressed is that emacs.texi is not wholly a source file - it is partly a script generated file. It doesn't seem entirely clear who's responsible for running this script, texinfo_multiple_file_update. Having added a node to search.texi, I feel responsible for also adding an entry for it to the main menu - but NOT for updating every menu in every file in the whole directory. Doing the latter would make the commit message and ChangeLog entries very cumbersome. > > 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. > No, it wouldn't, because there's an excellent chance you'd screw up > t-m-f-u and somebody would have to fix things eventually. t-m-f-u, updating, as it does, every menu in the whole manual, is clearly intended to be run as part of the release process, and this surely gets done. So such screwups would be fairly temporary. In the end, I did just update the main menu by hand, though I haven't yet committed the change. > > What do other people do when they want to update the main menu? > t-m-f-u followed by C-x C-b. In XEmacs, I can't sort on the mode > AFAIK, which would be really convenient when I've got 100 other > buffers open. I don't think you can in Emacs either. -- Alan Mackenzie (Nuremberg, Germany).