unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Alan Mackenzie <acm@muc.de>
Cc: emacs-devel@gnu.org
Subject: Re: Trouble with texinfo-multiple-files-update
Date: Sun, 02 Jun 2013 18:42:00 +0300	[thread overview]
Message-ID: <83li6szfhz.fsf@gnu.org> (raw)
In-Reply-To: <20130602121419.GA3401@acm.acm>

> Date: Sun, 2 Jun 2013 12:14:19 +0000
> From: Alan Mackenzie <acm@muc.de>
> 
> 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.



  reply	other threads:[~2013-06-02 15:42 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-02 12:14 Trouble with texinfo-multiple-files-update Alan Mackenzie
2013-06-02 15:42 ` Eli Zaretskii [this message]
2013-06-02 18:05   ` Alan Mackenzie
2013-06-02 18:23     ` Eli Zaretskii
2013-06-02 19:16       ` Alan Mackenzie
2013-06-02 19:21         ` Eli Zaretskii
2013-06-03  0:35     ` Stephen J. Turnbull
2013-06-03  0:29 ` Stephen J. Turnbull
2013-06-03 16:36   ` Alan Mackenzie

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83li6szfhz.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=acm@muc.de \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).