From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: [jerome.marant@free.fr: Re: Possible help with stable Emacs releases.] Date: Thu, 30 Sep 2004 10:25:21 +0900 Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: References: <1096291271.415813c757a26@imp6-q.free.fr> <20040927134714.GA20012@fencepost> <87hdphx91c.fsf@trouble.defaultvalue.org> <87655wswkv.fsf@trouble.defaultvalue.org> <1096489325.415b196d95987@imp3-q.free.fr> <200409300053.i8U0rWh20758@raven.dms.auburn.edu> Reply-To: Miles Bader NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1096507788 31876 80.91.229.6 (30 Sep 2004 01:29:48 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 30 Sep 2004 01:29:48 +0000 (UTC) Cc: jerome.marant@free.fr, rms@gnu.org, emacs-devel@gnu.org, monnier@iro.umontreal.ca, storm@cua.dk, rlb@defaultvalue.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Sep 30 03:29:38 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CCplJ-0000X8-00 for ; Thu, 30 Sep 2004 03:29:38 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CCprg-0003KE-OP for ged-emacs-devel@m.gmane.org; Wed, 29 Sep 2004 21:36:12 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CCprY-0003K8-Fk for emacs-devel@gnu.org; Wed, 29 Sep 2004 21:36:04 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CCprY-0003Jw-0E for emacs-devel@gnu.org; Wed, 29 Sep 2004 21:36:04 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CCprX-0003Jt-UT for emacs-devel@gnu.org; Wed, 29 Sep 2004 21:36:03 -0400 Original-Received: from [202.32.8.214] (helo=tyo201.gate.nec.co.jp) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CCpkz-00050u-H1; Wed, 29 Sep 2004 21:29:18 -0400 Original-Received: from mailgate4.nec.co.jp (mailgate54.nec.co.jp [10.7.69.197]) by tyo201.gate.nec.co.jp (8.11.7/3.7W01080315) with ESMTP id i8U1PWA28226; Thu, 30 Sep 2004 10:28:02 +0900 (JST) Original-Received: (from root@localhost) by mailgate4.nec.co.jp (8.11.7/3.7W-MAILGATE-NEC) id i8U1PWd12577; Thu, 30 Sep 2004 10:25:32 +0900 (JST) Original-Received: from edsgm02.lsi.nec.co.jp ([10.50.208.12]) by mailsv.nec.co.jp (8.11.7/3.7W-MAILSV-NEC) with ESMTP id i8U1PVW14876; Thu, 30 Sep 2004 10:25:31 +0900 (JST) Original-Received: from mcsss2.ucom.lsi.nec.co.jp (localhost [127.0.0.1]) by edsgm02.lsi.nec.co.jp (8.12.10/8.12.10) with ESMTP id i8U1PNhr029553; Thu, 30 Sep 2004 10:25:24 +0900 (JST) Original-Received: from mctpc71 (mctpc71.ucom.lsi.nec.co.jp [10.30.118.121]) by mcsss2.ucom.lsi.nec.co.jp (8.12.10/8.12.8/EDcg v2.01-mc/1046780839) with ESMTP id i8U1PMwt024017; Thu, 30 Sep 2004 10:25:22 +0900 (JST) Original-Received: by mctpc71 (Postfix, from userid 31295) id 9C9FF488; Thu, 30 Sep 2004 10:25:21 +0900 (JST) Original-To: Luc Teirlinck System-Type: i686-pc-linux-gnu Blat: Foop Original-Lines: 21 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 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 Xref: main.gmane.org gmane.emacs.devel:27685 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:27685 Luc Teirlinck writes: > 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. Huh? Why? Emacs already uses three-component version numbers, it's just that nobody ever seems to use the last one except for setting it to "50" in CVS. Can you point out an example of code that would have to be rewritten? To my knowledge, about 99.9% of version-checking code does simple string-compares to look at the first 2 digits. An interesting idea might be to make `emacs-minor-version' a floating-point number, e.g. for 21.4, emacs-minor-version is 4, but for 21.4.1, it would be 4.1. I'll bet that would make a lot of code `just work'. -Miles -- I'm beginning to think that life is just one long Yoko Ono album; no rhyme or reason, just a lot of incoherent shrieks and then it's over. --Ian Wolff