GNU bug report logs - #10130
24.0.91; eldoc error DOC-24.0.91.1 not found

Previous Next

Package: emacs;

Reported by: Thierry Volpiatto <thierry.volpiatto <at> gmail.com>

Date: Thu, 24 Nov 2011 21:12:02 UTC

Severity: normal

Tags: moreinfo, notabug

Found in version 24.0.91

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #17 received at 10130 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Thierry Volpiatto <thierry.volpiatto <at> gmail.com>
Cc: 10130 <at> debbugs.gnu.org
Subject: Re: bug#10130: 24.0.91; eldoc error DOC-24.0.91.1 not found
Date: Fri, 25 Nov 2011 10:35:55 +0200
> From: Thierry Volpiatto <thierry.volpiatto <at> gmail.com>
> Date: Thu, 24 Nov 2011 22:09:59 +0100
> 
> --8<---------------cut here---------------start------------->8---
> eldoc error: (error Cannot open doc string file
> "/usr/local/share/emacs/24.0.91/etc/DOC-24.0.91.1")
> --8<---------------cut here---------------end--------------->8---
> 
> I have in ../etc a file named DOC-24.0.91.3
> Creating a symlink to DOC-24.0.91.1 workaround the problem.
> 
> What is this file for exactly?

When you build Emacs, the build creates 2 hard links to the same
binary: `emacs' and `emacs-NN.MM.XX.YY'.  It does the same with the
DOC file, because, as Glenn explained, each build should have its
matching DOC file.  Building another binary will break the link of
`emacs' to the binary and link it to the newer binary, and will also
make another hard link of the form `emacs-NN.MM.XX.YY' by incrementing
the YY part.

After rebuilding Emacs several times, you will have several
`emacs-NN.MM.XX.YY' binaries and `emacs' that is linked to one of
them, normally the one with the largest YY part.  The same is true for
the DOC file.

This allows you to run previously built binaries by invoking one of
the `emacs-NN.MM.XX.YY' programs, and the DOC files that go with each
one of them will then be available for Emacs to use.

IOW, this is a feature (and quite a useful one, e.g., when you are
faced with a recently introduced bug and want to know which build
introduced it).




This bug report was last modified 13 years and 238 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.