From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/62215 Path: news.gmane.org!not-for-mail From: Bill Wohler Newsgroups: gmane.emacs.devel,gmane.emacs.gnus.general Subject: Re: defcustom :version Date: Sat, 11 Mar 2006 15:57:20 -0800 Organization: Newt Software Message-ID: <14394.1142121440@olgas.newt.com> References: <15499.1142047137@olgas.newt.com> NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1142121466 14269 80.91.229.2 (11 Mar 2006 23:57:46 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 11 Mar 2006 23:57:46 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Mar 12 00:57:44 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FIDxo-0001Rm-1S for ged-emacs-devel@m.gmane.org; Sun, 12 Mar 2006 00:57:36 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FIDxn-00088W-Lb for ged-emacs-devel@m.gmane.org; Sat, 11 Mar 2006 18:57:35 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FIDxb-00086Q-P5 for emacs-devel@gnu.org; Sat, 11 Mar 2006 18:57:23 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FIDxa-000840-1L for emacs-devel@gnu.org; Sat, 11 Mar 2006 18:57:23 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FIDxZ-00083q-Tm for emacs-devel@gnu.org; Sat, 11 Mar 2006 18:57:21 -0500 Original-Received: from [207.69.195.72] (helo=pop-sarus.atl.sa.earthlink.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FIE1C-0003yL-DV for emacs-devel@gnu.org; Sat, 11 Mar 2006 19:01:06 -0500 Original-Received: from h-68-165-5-58.snvacaid.dynamic.covad.net ([68.165.5.58] helo=olgas.newt.com) by pop-sarus.atl.sa.earthlink.net with esmtp (Exim 3.36 #10) id 1FIDxZ-0001x1-00; Sat, 11 Mar 2006 18:57:21 -0500 Original-Received: by olgas.newt.com (Postfix, from userid 1000) id 96B691707E; Sat, 11 Mar 2006 15:57:20 -0800 (PST) Original-Received: from olgas.newt.com (localhost [127.0.0.1]) by olgas.newt.com (Postfix) with ESMTP id 92F5116FB0; Sat, 11 Mar 2006 15:57:20 -0800 (PST) Original-To: emacs-devel@gnu.org, ding@gnus.org Original-Newsgroups: gmane.emacs.devel,gmane.emacs.gnus.general In-reply-to: Comments: In-reply-to Reiner Steib message dated "Sat, 11 Mar 2006 14:57:20 +0100." 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-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: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:51507 gmane.emacs.gnus.general:62215 Archived-At: Reiner Steib wrote: > On Sat, Mar 11 2006, Bill Wohler wrote: > > > We don't use any :version keywords in the MH-E package at the moment, > > although I'd like to add them. Before doing so, I hope you can help me > > answer a couple of questions about them. > > > > First, how are people using the defcustom :version keyword? > > Maybe you already know this but... you don't need to add the keyword > to each variable: You can also add it to the custom group. Yup, I did. > Not really an answer to the questions you raised, but this is how I > suggest to handle it in Gnus: > > ,----[ (info "(gnus-coding)Gnus Maintainance Guide") ] > | For new customizable variables introduced in Oort Gnus (including the > | v5-10 branch) use `:version "22.1" ;; Oort Gnus' including the comment. > | If the variable is new in No Gnus use `:version "23.0" ;; No Gnus'. > `---- Good idea. That way you'll at least have the information available until it can be incorporated. I'll do that for now. > > Unless, of course, folks think is reasonable and proper that large > > independent packages that happen to be bundled with Emacs can use their > > versions with the defcustom :version keyword. > > This only would make sense if `customize-changed-options' could handle > such "package versions". Maybe extending the format to allow plists > such as... > > :version '(:emacs 22.1 :mh-e 7.0) > :version '(:emacs 22.1 :gnus 5.10.2) Good. That would actually be more general than the solution I proposed. -- 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.