From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thierry Volpiatto Newsgroups: gmane.emacs.bugs Subject: bug#10130: 24.0.91; eldoc error DOC-24.0.91.1 not found Date: Fri, 25 Nov 2011 19:24:11 +0100 Message-ID: <87vcq8njqs.fsf@gmail.com> References: <8762i9grbs.fsf@gmail.com> <83pqgg8uqc.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1322245480 28162 80.91.229.12 (25 Nov 2011 18:24:40 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 25 Nov 2011 18:24:40 +0000 (UTC) Cc: 10130@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Nov 25 19:24:36 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RU0Rw-0002l9-6A for geb-bug-gnu-emacs@m.gmane.org; Fri, 25 Nov 2011 19:24:36 +0100 Original-Received: from localhost ([::1]:44935 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RU0Rs-0005zQ-L9 for geb-bug-gnu-emacs@m.gmane.org; Fri, 25 Nov 2011 13:24:32 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:42265) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RU0Rm-0005rv-5l for bug-gnu-emacs@gnu.org; Fri, 25 Nov 2011 13:24:30 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RU0Rk-0008Bv-PH for bug-gnu-emacs@gnu.org; Fri, 25 Nov 2011 13:24:26 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37095) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RU0Rk-0008Br-MQ for bug-gnu-emacs@gnu.org; Fri, 25 Nov 2011 13:24:24 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RU0TK-0005wS-FG for bug-gnu-emacs@gnu.org; Fri, 25 Nov 2011 13:26:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Thierry Volpiatto Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 25 Nov 2011 18:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10130 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: notabug moreinfo Original-Received: via spool by 10130-submit@debbugs.gnu.org id=B10130.132224555622823 (code B ref 10130); Fri, 25 Nov 2011 18:26:02 +0000 Original-Received: (at 10130) by debbugs.gnu.org; 25 Nov 2011 18:25:56 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RU0TE-0005w4-Iq for submit@debbugs.gnu.org; Fri, 25 Nov 2011 13:25:56 -0500 Original-Received: from mail-bw0-f44.google.com ([209.85.214.44]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RU0TC-0005vu-Ge for 10130@debbugs.gnu.org; Fri, 25 Nov 2011 13:25:55 -0500 Original-Received: by bkbzv15 with SMTP id zv15so4385889bkb.3 for <10130@debbugs.gnu.org>; Fri, 25 Nov 2011 10:24:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=Xpp0SQ5JAoES+B6vNLnFHtflqOiK3+U5jHnUzFDWzO0=; b=cmsBW7dPm3xQFZ8v1ZjMG/aKPElggZOQOtlznmdybB0lP3+ZYx6VoVj11oQPKvqU3S 5JMxXasTHHlhrJBOEJpE0f9u3ezdmJQf2aCR/SyAot/52JOGteQuEeTkaPbfe6eK3XMx yOExJoZBgzaG1Ke9P+07pi2EV87Gy5bTmxMgc= Original-Received: by 10.204.157.156 with SMTP id b28mr34301602bkx.133.1322245455383; Fri, 25 Nov 2011 10:24:15 -0800 (PST) Original-Received: from thierry-MM061 (3.211.85.79.rev.sfr.net. [79.85.211.3]) by mx.google.com with ESMTPS id l26sm29292947fad.17.2011.11.25.10.24.13 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 25 Nov 2011 10:24:13 -0800 (PST) In-Reply-To: <83pqgg8uqc.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 25 Nov 2011 10:35:55 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.91 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Fri, 25 Nov 2011 13:26:02 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:54321 Archived-At: Eli Zaretskii writes: >> From: Thierry Volpiatto >> 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). Thank you very much for this explanation Eli. -- Thierry Get my Gnupg key: gpg --keyserver pgp.mit.edu --recv-keys 59F29997