[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Emacs version (was: Re: 29.0.50; error evaluating simple.el)

From: Emanuel Berg
Subject: Emacs version (was: Re: 29.0.50; error evaluating simple.el)
Date: Thu, 16 Jun 2022 21:40:09 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Andreas Röhler wrote:

>> Looks like this code has been changed recently (5678829a62
>> Default decoded-time dst slot to -1), I suggest to update
>> and rebuild.
> Thanks, doesn't happen with today's build.

This we've seen two times now and before that I never saw it.
Don't know if I didn't look close enough tho.

I use to think one could just look at the version's first two
digits ... and now everyone's saying (and I experienced it to
be correct myself) that now looking at all three isn't enough?

Is that MAJOR.MINOR.PATCH or is the third just the build
number, if so why is that helpful? Emacs isn't under "Semantic
Versioning", right? [1] [Now I see that the build number is
reported in `emacs-version', however that's on the local
machine, right?]

But that commit stuff, in a way that's the incremented build
of public, multiprogrammER software? How is it computed?
Can you revert it and say "this came before this" or
something like that or is it just unique?

C-u M-x ever RET

  GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu,
  GTK+ Version 3.24.24, cairo version 1.16.0) of 2022-05-28
  [commit 79ae40c8e4dac5898d68c92f26f625ac400b960c]

;;; -*- lexical-binding: t -*-
;; this file:
;; also see:
;; GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, cairo version 1.16.0)
;; of 2022-05-22 [commit 714970f5967f2153bb95e35823dbd917e0e5b60b]

(defun emacs-version-commit (&optional here)
  (interactive "P")
  (let ((ver (format "%s [commit %s]" (emacs-version)
                                      (emacs-repository-get-version) )))
    (if here
      (insert ver) )
    (message ver) ))
(defalias 'ever #'emacs-version-commit)

underground experts united

reply via email to

[Prev in Thread] Current Thread [Next in Thread]