From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/62222 Path: news.gmane.org!not-for-mail From: Bill Wohler Newsgroups: gmane.emacs.gnus.general,gmane.emacs.devel Subject: Re: defcustom :version Date: Sun, 12 Mar 2006 12:30:12 -0800 Organization: Newt Software Message-ID: <17232.1142195412@olgas.newt.com> References: <15499.1142047137@olgas.newt.com> <200603110447.k2B4lbt10750@raven.dms.auburn.edu> <9584.1142109654@olgas.newt.com> NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1142195962 4290 80.91.229.2 (12 Mar 2006 20:39:22 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 12 Mar 2006 20:39:22 +0000 (UTC) Cc: emacs-devel@gnu.org, ding@gnus.org Original-X-From: ding-owner+m10745@lists.math.uh.edu Sun Mar 12 21:39:02 2006 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FIXH4-00018q-3U for ding-account@gmane.org; Sun, 12 Mar 2006 21:34:53 +0100 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 1FIXGt-00059y-00; Sun, 12 Mar 2006 14:34:35 -0600 Original-Received: from nas02.math.uh.edu ([129.7.128.40]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1FIXCl-00059s-00 for ding@lists.math.uh.edu; Sun, 12 Mar 2006 14:30:19 -0600 Original-Received: from quimby.gnus.org ([80.91.224.244]) by nas02.math.uh.edu with esmtp (Exim 4.52) id 1FIXCi-0003Zn-44 for ding@lists.math.uh.edu; Sun, 12 Mar 2006 14:30:19 -0600 Original-Received: from pop-cowbird.atl.sa.earthlink.net ([207.69.195.68]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1FIXCh-0002fD-00 for ; Sun, 12 Mar 2006 21:30:15 +0100 Original-Received: from h-68-165-5-58.snvacaid.dynamic.covad.net ([68.165.5.58] helo=olgas.newt.com) by pop-cowbird.atl.sa.earthlink.net with esmtp (Exim 3.36 #10) id 1FIXCf-0005r7-00; Sun, 12 Mar 2006 15:30:13 -0500 Original-Received: by olgas.newt.com (Postfix, from userid 1000) id CA8841707E; Sun, 12 Mar 2006 12:30:12 -0800 (PST) Original-Received: from olgas.newt.com (localhost [127.0.0.1]) by olgas.newt.com (Postfix) with ESMTP id C6EA116FA8; Sun, 12 Mar 2006 12:30:12 -0800 (PST) Original-To: rms@gnu.org In-reply-to: Comments: In-reply-to Richard Stallman message dated "Sun, 12 Mar 2006 07:47:16 -0500." X-Mailer: MH-E 7.93+cvs; nmh 1.1; GNU Emacs 22.0.50.14 X-Image-URL: http://www.newt.com/wohler/images/bill-diving.png Mail-Followup-To: emacs-devel@gnu.org, ding@gnus.org X-Spam-Score: -2.5 (--) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:62222 gmane.emacs.devel:51532 Archived-At: Richard Stallman wrote: > 3. Refactor customize-changed to accept two new optional arguments which is > the prefix of the package and the version symbol to use > ('custom-version by default). > > I don't like that idea, because I don't want to expose version numbers > of parts of Emacs to the user. OK. In that case, we'd refactor the meat of customize-changed into an internal routine that both customize-changed and customize-package-changed would call. Or something like that. > What could be acceptable is to have :package-version for use in > defcustom, and provide a table to translate that into Emacs versions, > so that customize-changed can deduce from :package-version which options > have changed since the previous Emacs release. If I understand correctly, only the :package-version keyword would be used, rather than both a :version and :package-version in my suggestion, or a plist in the :version in Reiner's suggestion. I like your idea too. The table provides a nice historical reference, and in case the "next" Emacs version changes, you only have to change the version number in one place. How would you like me to proceed for this release then? To just use comments as Reiner suggested, or to use a :package-version keyword and extend custom-handle-keyword to allow it? -- Bill Wohler http://www.newt.com/wohler/ GnuPG ID:610BD9AD Maintainer of comp.mail.mh FAQ and MH-E. Vote Libertarian! If you're passed on the right, you're in the wrong lane.