From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Canonical location for emacs-version string in source tree? Date: Sat, 22 May 2010 09:07:05 -0400 Message-ID: References: <5E9E2370-F371-46DE-A970-3FB825E90BBF@raeburn.org> <83632iqwpe.fsf@gnu.org> <32115842-89C0-4628-9523-C9C209FB4B0D@raeburn.org> <83ocg9ym77.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1274533639 12674 80.91.229.12 (22 May 2010 13:07:19 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 22 May 2010 13:07:19 +0000 (UTC) Cc: Emacs Developers To: Ken Raeburn Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat May 22 15:07:18 2010 connect(): No such file or directory Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OFoQ9-0004Yk-MN for ged-emacs-devel@m.gmane.org; Sat, 22 May 2010 15:07:17 +0200 Original-Received: from localhost ([127.0.0.1]:60400 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OFoQ8-00038e-TN for ged-emacs-devel@m.gmane.org; Sat, 22 May 2010 09:07:16 -0400 Original-Received: from [140.186.70.92] (port=55371 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OFoPz-000370-Bf for emacs-devel@gnu.org; Sat, 22 May 2010 09:07:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OFoPx-0001m4-Nz for emacs-devel@gnu.org; Sat, 22 May 2010 09:07:07 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.183]:10144 helo=ironport2-out.pppoe.ca) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OFoPx-0001lz-LM for emacs-devel@gnu.org; Sat, 22 May 2010 09:07:05 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsEAB5z90tFpZJF/2dsb2JhbACeEXK9AoUTBINgiF8 X-IronPort-AV: E=Sophos;i="4.53,283,1272859200"; d="scan'208";a="64809855" Original-Received: from 69-165-146-69.dsl.teksavvy.com (HELO pastel.home) ([69.165.146.69]) by ironport2-out.pppoe.ca with ESMTP; 22 May 2010 09:07:05 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 1968381C2; Sat, 22 May 2010 09:07:05 -0400 (EDT) In-Reply-To: (Ken Raeburn's message of "Fri, 21 May 2010 22:24:05 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:125065 Archived-At: > while installing a newly-compiled one into the same tree. If you change > the doc strings or order of functions in the emacs C sources, or the > pre-loaded Lisp sources, the offsets in the DOC file may change, so the > values loaded into one Emacs binary correspond to its matching DOC file. That's OK: there's code to detect such "out of date offsets" that then calls Snarf-documentation again to reset the offsets. It doesn't work in every possible case, but I've been using such a setup for many years now and have seen a wrong docstring only maybe twice. Stefan