From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Noam Postavsky Newsgroups: gmane.emacs.bugs Subject: bug#25590: Remove build number from emacs-version variable Date: Mon, 6 Feb 2017 13:34:40 -0500 Message-ID: References: <1svasvru4x.fsf@fencepost.gnu.org> <83r33e8doa.fsf@gnu.org> <83k29372t6.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: blaine.gmane.org 1486406118 23646 195.159.176.226 (6 Feb 2017 18:35:18 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 6 Feb 2017 18:35:18 +0000 (UTC) Cc: 25590@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Feb 06 19:35:12 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cao85-0005oh-EQ for geb-bug-gnu-emacs@m.gmane.org; Mon, 06 Feb 2017 19:35:09 +0100 Original-Received: from localhost ([::1]:50185 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cao8B-0000wO-2M for geb-bug-gnu-emacs@m.gmane.org; Mon, 06 Feb 2017 13:35:15 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34348) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cao81-0000uN-Gc for bug-gnu-emacs@gnu.org; Mon, 06 Feb 2017 13:35:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cao7y-0001w9-Cj for bug-gnu-emacs@gnu.org; Mon, 06 Feb 2017 13:35:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:59837) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cao7y-0001w1-9M for bug-gnu-emacs@gnu.org; Mon, 06 Feb 2017 13:35:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cao7y-0002n5-1M for bug-gnu-emacs@gnu.org; Mon, 06 Feb 2017 13:35:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Noam Postavsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 06 Feb 2017 18:35:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25590 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 25590-submit@debbugs.gnu.org id=B25590.148640608910706 (code B ref 25590); Mon, 06 Feb 2017 18:35:01 +0000 Original-Received: (at 25590) by debbugs.gnu.org; 6 Feb 2017 18:34:49 +0000 Original-Received: from localhost ([127.0.0.1]:58036 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cao7l-0002mc-2R for submit@debbugs.gnu.org; Mon, 06 Feb 2017 13:34:49 -0500 Original-Received: from mail-oi0-f67.google.com ([209.85.218.67]:36508) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cao7i-0002mO-TY for 25590@debbugs.gnu.org; Mon, 06 Feb 2017 13:34:47 -0500 Original-Received: by mail-oi0-f67.google.com with SMTP id u143so7110906oif.3 for <25590@debbugs.gnu.org>; Mon, 06 Feb 2017 10:34:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=8YheLTrIECJdtv+yqLaZEcmDaBFguBKTT2lsbDn1tXo=; b=Uv/BMF5u61yOe7+6kN6OF2LqPBy+JOo1i2X5crBRVIwjjBLP/Vk69gKTLkiMWVCJyT GMzVE8Nmw7mePnGB8hb4fk4jkB7rlQ06POrPkBRMSqIei5m4rdz3xnRNmr/iQsPtaaMs GPl6rcf80jIfFjoT+A6S62P6c4Fmzx2MpPC68PC5FU1hNPeF7YQYQxHyWbnExfn3ZmZ1 UcEQrousJRNvKO0KTbMytgYe2MpIjA8purDotVSk8WgdzkQFlDKAA3S9OUNjcJoYlwxu BkXKS5RGZsrgdv1xzS20tHrpIGdE+TLdcIHpYXSFwVXvXIKYxVzUBzDo4u1JFSn6YAXJ XLMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=8YheLTrIECJdtv+yqLaZEcmDaBFguBKTT2lsbDn1tXo=; b=BHE6iQ71u9XLFt3k7m40XySv/gZSnUg2YpyY7tlob/W468uQFr251zXfgXzn6iy50w 9ZHR8VQ+rOF1CXNy2jQ+crboZca6+kf5BScHvf5T8WqmUEd8+4VC3YOw2RpuLHmnEM1D hfzBY0CKpJA5WMqJPSpYXcC/mORl+EVF5fVarx1lWRkrxURBKHUee8czIfifXuLsJ2SU wcCMJ7dTTUCh5DNi6LMqaX2UcQ0dRi2SuATPBdAgXdGSLyDeiOEuDTvKDwPvyQ+Sf5Fh Vk9bJOOk3XOUDXYBPbRnxzi+zwjZ/c58JVJ4/zhdNaLjtWGzcZiI5g5TQxX7NnQI+ZLg sagw== X-Gm-Message-State: AMke39nn2C1lFRFy1mK+DEaDhbnrY+JW/hy3aUgr7GV0FXLwQ5WmEMP9unlYYIitbX8r6P7qBCuXnU8f0jlfuA== X-Received: by 10.202.175.68 with SMTP id y65mr6130230oie.187.1486406081069; Mon, 06 Feb 2017 10:34:41 -0800 (PST) Original-Received: by 10.157.21.117 with HTTP; Mon, 6 Feb 2017 10:34:40 -0800 (PST) In-Reply-To: <83k29372t6.fsf@gnu.org> X-Google-Sender-Auth: oljMFfhbn1bdATt6Bv_J_oa2DMY X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.emacs.bugs:129038 Archived-At: On Mon, Feb 6, 2017 at 10:32 AM, Eli Zaretskii wrote: >> From: Glenn Morris >> Cc: 25590@debbugs.gnu.org >> Date: Sun, 05 Feb 2017 18:45:34 -0500 >> >> Eli Zaretskii wrote: >> >> > If we do the above, we should make sure version-comparison functions >> > treat something like "25.2 (build 4)" correctly. >> >> I disagree that this is desirable. > > Can you explain why? My reasoning was that if "25.2.4" is replaced by > "25.2 (build 4)", then Lisp code that compares version (e.g., I have > such code in my .emacs) will not work properly unless the > version-comparison functions are updated to support such values. I think the proposal is to go from this: emacs-version ;=> "24.5.1" (emacs-version) ;=> "GNU Emacs 24.5.1 (i686-pc-mingw32) of 2015-04-11 on LEG570" to this emacs-version ;=> "24.5" emacs-build-number ;=> 1 (emacs-version) ;=> "GNU Emacs 24.5 (Build 1) (i686-pc-mingw32) of 2015-04-11 on LEG570" i.e., there are no changes in version-comparibility: (version< emacs-version "24.5") continues to work, (version< (emacs-version) "24.5") continues to fail. > >> > It's actually part of a version number (which many other projects >> > have, e.g., GDB just released version 7.12.1), except that we never >> > release such versions, they exist only on end-users' machines. Other >> > than that, there's nothing in it which is special to Emacs. >> >> I don't understand the comparison. A micro version number >> (major.minor.micro) is not the same thing as Emacs's build number. > > I think it is. > GDB 7.12.1 is a public release, the official NEWS file documents the differences between that and 7.12. For Emacs, there is no well-defined difference between 25.1.1 and 25.1.2, it could be different for every person who builds it.