From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.devel Subject: Re: Installing the Emacs executable Date: Fri, 19 Apr 2013 20:29:53 +0200 Message-ID: References: <83fvyq4es6.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1366396209 30388 80.91.229.3 (19 Apr 2013 18:30:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 19 Apr 2013 18:30:09 +0000 (UTC) Cc: Eli Zaretskii , emacs-devel@gnu.org To: Glenn Morris Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Apr 19 20:30:13 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UTG4a-0007d6-NX for ged-emacs-devel@m.gmane.org; Fri, 19 Apr 2013 20:30:12 +0200 Original-Received: from localhost ([::1]:37432 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UTG4a-0003AC-6T for ged-emacs-devel@m.gmane.org; Fri, 19 Apr 2013 14:30:12 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:44326) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UTG4V-00036P-4p for emacs-devel@gnu.org; Fri, 19 Apr 2013 14:30:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UTG4S-0005Qt-A9 for emacs-devel@gnu.org; Fri, 19 Apr 2013 14:30:07 -0400 Original-Received: from mail-out.m-online.net ([212.18.0.9]:36726) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UTG4L-0005Bn-Pe; Fri, 19 Apr 2013 14:29:57 -0400 Original-Received: from frontend1.mail.m-online.net (unknown [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id 3Zsm1v4ZYhz4KK3N; Fri, 19 Apr 2013 20:29:55 +0200 (CEST) Original-Received: from localhost (dynscan1.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 3Zsm1v4Fm1zbc7v; Fri, 19 Apr 2013 20:29:55 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Original-Received: from mail.mnet-online.de ([192.168.8.180]) by localhost (dynscan1.mail.m-online.net [192.168.6.68]) (amavisd-new, port 10024) with ESMTP id nP3K0As3MXpM; Fri, 19 Apr 2013 20:29:54 +0200 (CEST) X-Auth-Info: cqJj8D8KS+5HheJdnGNbKybCK3MrncoIH6Kn7yUy55U= Original-Received: from igel.home (ppp-88-217-121-167.dynamic.mnet-online.de [88.217.121.167]) by mail.mnet-online.de (Postfix) with ESMTPA; Fri, 19 Apr 2013 20:29:54 +0200 (CEST) Original-Received: by igel.home (Postfix, from userid 501) id D8396CA2B6; Fri, 19 Apr 2013 20:29:53 +0200 (CEST) X-Yow: I'm having fun HITCHHIKING to CINCINNATI or FAR ROCKAWAY!! In-Reply-To: (Glenn Morris's message of "Tue, 16 Apr 2013 13:20:33 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x X-Received-From: 212.18.0.9 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:159018 Archived-At: Glenn Morris writes: > Andreas Schwab wrote: > >> Eli Zaretskii writes: >> >>> Is this done on purpose? Why isn't the binary named the same as its >>> DOC, i.e. emacs-24.3.50.nn? >> >> I'd rather see the build number removed at all. > > I agree with you (IIUC what you are saying); I've never found it useful. > (IIRC rms is/was a fan of it.) Like this: * loadup.el: Don't append build number to emacs-version. --- lisp/loadup.el | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/lisp/loadup.el b/lisp/loadup.el index 00c5234..097dd02 100644 --- a/lisp/loadup.el +++ b/lisp/loadup.el @@ -284,24 +284,6 @@ ;For other systems, you must edit ../src/Makefile.in. (load "site-load" t) -;; Determine which last version number to use -;; based on the executables that now exist. -(if (and (or (equal (nth 3 command-line-args) "dump") - (equal (nth 4 command-line-args) "dump")) - (not (eq system-type 'ms-dos))) - (let* ((base (concat "emacs-" emacs-version ".")) - (files (file-name-all-completions base default-directory)) - (versions (mapcar (function (lambda (name) - (string-to-number (substring name (length base))))) - files))) - (setq emacs-bzr-version (condition-case nil (emacs-bzr-get-version) - (error nil))) - ;; `emacs-version' is a constant, so we shouldn't change it with `setq'. - (defconst emacs-version - (format "%s.%d" - emacs-version (if versions (1+ (apply 'max versions)) 1))))) - - (message "Finding pointers to doc strings...") (if (or (equal (nth 3 command-line-args) "dump") (equal (nth 4 command-line-args) "dump")) -- 1.8.2.1 Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."