unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Andreas Schwab <schwab@linux-m68k.org>
To: Glenn Morris <rgm@gnu.org>
Cc: Eli Zaretskii <eliz@gnu.org>, emacs-devel@gnu.org
Subject: Re: Installing the Emacs executable
Date: Fri, 19 Apr 2013 20:29:53 +0200	[thread overview]
Message-ID: <m2ppxqml0e.fsf@igel.home> (raw)
In-Reply-To: <pbwqs2bdem.fsf@fencepost.gnu.org> (Glenn Morris's message of "Tue, 16 Apr 2013 13:20:33 -0400")

Glenn Morris <rgm@gnu.org> writes:

> Andreas Schwab wrote:
>
>> Eli Zaretskii <eliz@gnu.org> 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."



  parent reply	other threads:[~2013-04-19 18:29 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-16 16:32 Installing the Emacs executable Eli Zaretskii
2013-04-16 17:15 ` Andreas Schwab
2013-04-16 17:20   ` Glenn Morris
2013-04-16 18:11     ` Eli Zaretskii
2013-04-19 18:29     ` Andreas Schwab [this message]
2013-04-19 18:49       ` Eli Zaretskii
2013-04-19 18:57         ` Glenn Morris
2013-04-19 19:05           ` Eli Zaretskii
2013-04-19 19:08             ` Glenn Morris
2013-04-20  1:48               ` Stefan Monnier
2013-04-19 20:58             ` Andreas Schwab
2013-04-20  6:37               ` Eli Zaretskii
2013-04-20 10:44                 ` Andreas Schwab
2013-04-20 10:56                   ` Eli Zaretskii
2013-04-20 11:55                     ` Andreas Schwab
2013-04-20 12:31                       ` Eli Zaretskii
2013-04-20 13:24                         ` Andreas Schwab
2013-04-20 15:43                           ` Eli Zaretskii
2013-04-20 15:56                             ` Andreas Schwab
2013-04-24  5:05             ` Ken Raeburn
2013-04-24 13:12               ` Stefan Monnier
2013-04-24 17:06               ` Eli Zaretskii
2013-04-24 18:54                 ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2ppxqml0e.fsf@igel.home \
    --to=schwab@linux-m68k.org \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=rgm@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).