From: storm@cua.dk (Kim F. Storm)
Cc: jerome.marant@free.fr, rms@gnu.org, emacs-devel@gnu.org,
monnier@iro.umontreal.ca, rlb@defaultvalue.org, miles@gnu.org
Subject: Re: [jerome.marant@free.fr: Re: Possible help with stable Emacs releases.]
Date: Thu, 30 Sep 2004 11:36:33 +0200 [thread overview]
Message-ID: <m3hdpggkta.fsf@kfs-l.imdomain.dk> (raw)
In-Reply-To: <200409300053.i8U0rWh20758@raven.dms.auburn.edu> (Luc Teirlinck's message of "Wed, 29 Sep 2004 19:53:32 -0500 (CDT)")
Luc Teirlinck <teirllm@dms.auburn.edu> writes:
> Jerome Marant wrote:
>
> Selon Rob Browning <rlb@defaultvalue.org>:
>
> > So while I don't have any special attachment to the X.Y.Z numbering
> > scheme, it's at least one way to fix both those problems.
>
> It brings some consistency to version numbering at least. If noone
> objects (Stefan won't :-), we'll adopt this scheme.
>
> After grepping for `emacs-version', it appears that changing the
> current convention would require checking a surprisingly *huge* amount
> of code. A non-trivial amount of code will probably have to be
> rewritten. version.el definitely would have to be rewritten.
I don't see why.
CVS emacs currently has emacs-version 21.3.50.12 or similar, so
what need changing?
> This is
> a small file. But it would then in turn force rewriting all kind of
> other stuff, spread all over the place. Many third party packages may
> get broken, as they tend to check for emacs-version a lot and rely on
> the current conventions.
If code usese emacs-version to check for what features are available then
a) that code is broken in the first place if it cannot handle the
CVS emacs version string format, and
b) such code should only look at the X and Y components of the
version number.
The rationale for b) is that the Z component differentiates BUG FIX
releases, so from 3rd party packages point of view, X.Y, X.Y.0 and
X.Y.7 are to be considered equivalent functionality-wise.
So I think X.Y.Z would work fine.
BTW, what is currently really broken in CVS emacs is that
emacs-minor-version is 3 -- it should be 4.
Since we use X.Y.50 and X.Y.90 for cvs and pretest versions
for X.(Y+1), a better approach would be:
(defconst emacs-minor-version
(if (and (string-match "^[0-9]+\\.\\([0-9]+\\)\\.\\([0-9]+\\)" emacs-version)
(>= (string-to-int (match-string 2 emacs-version)) 50))
(1+ (string-to-int (match-string 1 emacs-version)))
(string-to-int (match-string 1 emacs-version)))
"Minor version number of this version of Emacs.
This variable first existed in version 19.23.")
--
Kim F. Storm <storm@cua.dk> http://www.cua.dk
next prev parent reply other threads:[~2004-09-30 9:36 UTC|newest]
Thread overview: 109+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-27 7:37 [jerome.marant@free.fr: Re: Possible help with stable Emacs releases.] Richard Stallman
2004-09-27 9:40 ` Kim F. Storm
2004-09-27 11:48 ` Jérôme Marant
2004-09-27 13:08 ` Stefan Monnier
2004-09-27 13:24 ` Jérôme Marant
2004-09-27 14:27 ` Stefan Monnier
2004-09-28 9:01 ` Jérôme Marant
2004-09-27 22:55 ` Richard Stallman
2004-09-28 20:57 ` Jérôme Marant
2004-09-27 13:05 ` Stefan Monnier
2004-09-27 13:21 ` Jérôme Marant
2004-09-27 13:47 ` Miles Bader
2004-09-28 12:37 ` Kim F. Storm
2004-09-29 17:46 ` Rob Browning
2004-09-29 18:04 ` Stefan Monnier
2004-09-29 19:29 ` Rob Browning
2004-09-29 20:09 ` Stefan Monnier
2004-09-29 20:22 ` Jérôme Marant
2004-09-30 0:53 ` Luc Teirlinck
2004-09-30 1:25 ` Miles Bader
2004-09-30 15:40 ` Robert J. Chassell
2004-09-30 17:02 ` Rob Browning
2004-09-30 19:32 ` Robert J. Chassell
2004-09-30 1:56 ` Rob Browning
2004-09-30 7:42 ` Jérôme Marant
2004-09-30 9:36 ` Kim F. Storm [this message]
2004-09-30 14:11 ` Eli Zaretskii
2004-09-30 14:32 ` Miles Bader
2004-09-30 15:02 ` Stefan Monnier
2004-09-30 15:34 ` Eli Zaretskii
2004-09-30 14:36 ` Jérôme Marant
2004-09-30 15:00 ` Kim F. Storm
2004-09-30 16:33 ` Rob Browning
2004-09-30 17:37 ` Richard Stallman
2004-09-30 19:39 ` Robert J. Chassell
2004-10-03 1:18 ` Richard Stallman
2004-09-30 20:26 ` Kim F. Storm
2004-09-30 20:36 ` Stefan Monnier
2004-09-30 20:46 ` Jérôme Marant
2004-09-30 21:40 ` Kim F. Storm
2004-09-30 21:33 ` Kim F. Storm
2004-09-30 21:48 ` Stefan Monnier
2004-09-30 21:42 ` Andreas Schwab
2004-09-30 22:16 ` Kim F. Storm
2004-09-30 22:21 ` Stefan Monnier
2004-10-01 16:43 ` Kim F. Storm
2004-10-03 14:32 ` Richard Stallman
2004-09-30 0:09 ` Miles Bader
2004-09-30 14:21 ` Eli Zaretskii
2004-09-30 14:32 ` Jérôme Marant
2004-09-30 15:31 ` Eli Zaretskii
2004-09-30 14:34 ` Miles Bader
2004-09-30 15:37 ` Eli Zaretskii
2004-09-30 15:53 ` Jérôme Marant
2004-09-30 16:06 ` Eli Zaretskii
2004-09-30 17:20 ` Rob Browning
2004-09-30 17:58 ` Eli Zaretskii
2004-09-30 17:42 ` Stefan Monnier
2004-09-30 20:42 ` Jérôme Marant
2004-09-30 21:35 ` Stefan Monnier
2004-10-01 7:22 ` Jérôme Marant
2004-10-01 12:35 ` Stefan
2004-10-01 14:49 ` Jérôme Marant
2004-10-01 16:25 ` Stefan
2004-10-01 20:31 ` Jérôme Marant
2004-10-03 14:33 ` Richard Stallman
2004-10-03 16:20 ` Jérôme Marant
2004-10-03 14:33 ` Richard Stallman
2004-10-01 20:22 ` Eli Zaretskii
2004-09-30 21:36 ` Kim F. Storm
2004-09-30 19:09 ` Jérôme Marant
2004-10-01 20:27 ` Eli Zaretskii
2004-10-01 21:47 ` [jerome.marant@free.fr: Re: Possible help with stable Emacsreleases.] Lennart Borgman
2004-09-30 16:53 ` [jerome.marant@free.fr: Re: Possible help with stable Emacs releases.] Rob Browning
2004-09-30 19:15 ` Robert J. Chassell
2004-09-30 20:26 ` Jérôme Marant
2004-10-03 14:20 ` Robert J. Chassell
2004-10-04 22:40 ` Rob Browning
2004-10-06 5:28 ` Richard Stallman
2004-10-06 9:12 ` Eli Zaretskii
2004-09-30 14:55 ` Kim F. Storm
2004-09-30 15:41 ` Eli Zaretskii
2004-09-30 15:15 ` Rob Browning
2004-09-30 15:48 ` Eli Zaretskii
2004-09-30 15:58 ` Jérôme Marant
2004-09-30 17:31 ` Stefan Monnier
2004-09-30 18:00 ` Eli Zaretskii
2004-09-30 18:33 ` Stefan Monnier
2004-09-30 21:39 ` Andreas Schwab
2004-10-02 20:47 ` Kai Grossjohann
2004-09-30 15:59 ` Richard Stallman
2004-10-01 6:24 ` Francesco Potorti`
2004-10-04 22:58 ` Rob Browning
2004-10-05 8:34 ` Kim F. Storm
2004-10-05 15:01 ` Rob Browning
2004-10-05 16:18 ` Juri Linkov
2004-10-05 16:34 ` Rob Browning
2004-10-05 17:03 ` Stefan Monnier
2004-10-06 8:39 ` Kim F. Storm
2004-10-05 11:26 ` Stefan
2004-10-05 11:40 ` Jérôme Marant
2004-10-06 11:09 ` Nick Roberts
2004-10-06 11:46 ` Jérôme Marant
2004-10-05 14:39 ` Rob Browning
2004-10-05 14:53 ` Stefan Monnier
2004-10-05 15:28 ` Rob Browning
2004-10-05 15:32 ` Rob Browning
2004-10-06 8:07 ` Kim F. Storm
2004-09-27 12:17 ` Kenichi Handa
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m3hdpggkta.fsf@kfs-l.imdomain.dk \
--to=storm@cua.dk \
--cc=emacs-devel@gnu.org \
--cc=jerome.marant@free.fr \
--cc=miles@gnu.org \
--cc=monnier@iro.umontreal.ca \
--cc=rlb@defaultvalue.org \
--cc=rms@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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.