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: Fri, 21 May 2010 16:19:32 -0400 Message-ID: References: <5E9E2370-F371-46DE-A970-3FB825E90BBF@raeburn.org> <83632iqwpe.fsf@gnu.org> <32115842-89C0-4628-9523-C9C209FB4B0D@raeburn.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1274473191 19088 80.91.229.12 (21 May 2010 20:19:51 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 21 May 2010 20:19:51 +0000 (UTC) Cc: Eli Zaretskii , "Emacs Dev \[emacs-devel\]" To: Ken Raeburn Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri May 21 22:19:50 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 1OFYhA-0006zR-RH for ged-emacs-devel@m.gmane.org; Fri, 21 May 2010 22:19:49 +0200 Original-Received: from localhost ([127.0.0.1]:37515 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OFYhA-0008U6-2u for ged-emacs-devel@m.gmane.org; Fri, 21 May 2010 16:19:48 -0400 Original-Received: from [140.186.70.92] (port=44616 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OFYh1-0008TL-OR for emacs-devel@gnu.org; Fri, 21 May 2010 16:19:40 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OFYh0-0002eI-CD for emacs-devel@gnu.org; Fri, 21 May 2010 16:19:39 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.183]:19766 helo=ironport2-out.pppoe.ca) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OFYgw-0002dE-LV; Fri, 21 May 2010 16:19:34 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsEAM6H9ktMCpz0/2dsb2JhbACeFHK+PoUSBIw0 X-IronPort-AV: E=Sophos;i="4.53,280,1272859200"; d="scan'208";a="64759329" Original-Received: from 76-10-156-244.dsl.teksavvy.com (HELO pastel.home) ([76.10.156.244]) by ironport2-out.pppoe.ca with ESMTP; 21 May 2010 16:19:33 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id EA9D381C2; Fri, 21 May 2010 16:19:32 -0400 (EDT) In-Reply-To: <32115842-89C0-4628-9523-C9C209FB4B0D@raeburn.org> (Ken Raeburn's message of "Thu, 20 May 2010 21:39:53 -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:125004 Archived-At: > "emacs --version" would print out the version if it was set, otherwise > ignore the option; it does this early in main(), before Lisp code is > loaded. The "make install" rule always runs "emacs --version" to > figure out the DOC file name. If you build with CANNOT_DUMP, the > emacs binary that gets run hasn't had the basic Lisp code pre-loaded > into it. So "emacs --version" pops up a window. A simple fix is to get rid of the DOC-NN.NN.NN madness and just use "DOC" as the file name. Any objection? Stefan