unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Ulrich Mueller <ulm@gentoo.org>
Cc: 7942@debbugs.gnu.org, emacs@gentoo.org
Subject: bug#7942: 23.2; Duplicate entries in Info dir file
Date: Sun, 30 Jan 2011 09:49:01 -0500	[thread overview]
Message-ID: <E1PjYaL-0003rf-S9@fencepost.gnu.org> (raw)
In-Reply-To: <19781.30623.889819.235175@a1i15.kph.uni-mainz.de> (message from Ulrich Mueller on Sun, 30 Jan 2011 15:37:19 +0100)

> Date: Sun, 30 Jan 2011 15:37:19 +0100
> From: Ulrich Mueller <ulm@gentoo.org>
> Cc: emacs@gentoo.org
> 
> If Emacs is the first or only package that installs its Info files
> into an otherwise empty directory (e.g., in Gentoo Emacs is configured
> with --infodir=/usr/share/info/emacs-23 to allow for multiple Emacs
> versions), then all entries in the resulting dir file will occur
> twice.
> 
> The bad Info dir file installed by Emacs 23.2 is attached.
> 
> The cause appears to be that the Makefile first copies the pre-made
> dir file, but then also calls install-info for each Info file.

That's not the reason, because install-info is supposed to replace the
old entries with the new ones (unless there's a bug in install-info).

I think the reason is that the section names used by the distributed
info/dir file are different from the section names stated by the
individual Info files.  Could you perhaps verify that?

> Attached patch fixes the problem for me. I suggest that this should be
> applied to the emacs-23 branch.

Thanks.

However, isn't it better to invoke install-info with the --keep-old
option?  Does that solve the problem?





  reply	other threads:[~2011-01-30 14:49 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-30 14:37 bug#7942: 23.2; Duplicate entries in Info dir file Ulrich Mueller
2011-01-30 14:49 ` Eli Zaretskii [this message]
2011-01-30 15:24   ` Ulrich Mueller
2011-02-12  8:25     ` Ulrich Mueller
2011-02-12 22:17       ` Chong Yidong
2011-02-13  3:54         ` Eli Zaretskii
2011-02-14 23:09           ` Chong Yidong
2011-02-15 18:29             ` Eli Zaretskii
2011-02-16  1:55               ` Chong Yidong
2011-02-16 18:51                 ` Eli Zaretskii
2011-02-18 14:02                   ` Eli Zaretskii
2011-02-18 18:23                     ` Ulrich Mueller
2011-02-18 19:09                       ` Eli Zaretskii
2011-02-18 20:53                         ` Ulrich Mueller
2011-02-19  7:21                           ` Eli Zaretskii

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=E1PjYaL-0003rf-S9@fencepost.gnu.org \
    --to=eliz@gnu.org \
    --cc=7942@debbugs.gnu.org \
    --cc=emacs@gentoo.org \
    --cc=ulm@gentoo.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).