From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/58516 Path: main.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.gnus.general Subject: Re: ":version" entries in defcustoms Date: Mon, 20 Sep 2004 08:02:15 +0900 Sender: ding-owner@lists.math.uh.edu Message-ID: <87isa950co.fsf@tc-1-100.kawasaki.gol.ne.jp> References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1095634982 22999 80.91.229.6 (19 Sep 2004 23:03:02 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 19 Sep 2004 23:03:02 +0000 (UTC) Original-X-From: ding-owner+M7054@lists.math.uh.edu Mon Sep 20 01:02:46 2004 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13] ident=mail) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1C9Ahi-0003HM-00 for ; Mon, 20 Sep 2004 01:02:46 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1C9AhN-0003QG-00; Sun, 19 Sep 2004 18:02:25 -0500 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1C9AhJ-0003QB-00 for ding@lists.math.uh.edu; Sun, 19 Sep 2004 18:02:21 -0500 Original-Received: from justine.libertine.org ([66.139.78.221] ident=postfix) by util2.math.uh.edu with esmtp (Exim 4.30) id 1C9AhJ-0003yQ-Li for ding@lists.math.uh.edu; Sun, 19 Sep 2004 18:02:21 -0500 Original-Received: from main.gmane.org (main.gmane.org [80.91.229.2]) by justine.libertine.org (Postfix) with ESMTP id 32E5E3A0233 for ; Sun, 19 Sep 2004 18:02:19 -0500 (CDT) Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1C9AhG-0005Zq-00 for ; Mon, 20 Sep 2004 01:02:18 +0200 Original-Received: from yokohama2-61-203-152-154.ap.0038.net ([61.203.152.154]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 20 Sep 2004 01:02:18 +0200 Original-Received: from miles by yokohama2-61-203-152-154.ap.0038.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 20 Sep 2004 01:02:18 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: ding@gnus.org Original-Lines: 27 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: yokohama2-61-203-152-154.ap.0038.net System-Type: i686-pc-linux-gnu Cancel-Lock: sha1:Pv6YXDtlhvWHWuAT8T+ZWwMO9vw= Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:58516 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:58516 Simon Josefsson writes: >> Adding the custom version later (like I did) is annoying. How can we >> simplify this in the future? The problem is that we don't know the >> correct Emacs version number (which Emacs will contain this version of >> Gnus) to add when adding a variable in Gnus. > > How about the approach of adding the proper :version cookies when the > files are integrated into Emacs? Then you know which version number > to use (i.e., the next one). If Gnus developers start to guess next > non-bugfix Emacs release numbers, things might be more difficult when > merging Gnus into Emacs in case the guess was wrong. If there is a > better way, then that's better, but I don't see it. I'd suggest adding some sort of unique placeholder when the code gets originally written, e.g.: :version "21.4" ;; rainbow-orangutan so that later filling in the real version becomes a simple grep (or tags-query-replace) job. [The actual value needs to be a real version because `customize-version-lessp' barfs if you give it anything else] -Miles -- If you can't beat them, arrange to have them beaten. [George Carlin]