From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/76756 Path: news.gmane.org!not-for-mail From: David Engster Newsgroups: gmane.emacs.gnus.general Subject: Re: auth-source.el and eieio Date: Mon, 14 Feb 2011 22:53:07 +0100 Message-ID: <87y65i4724.fsf@randomsample.de> References: <87y65jqthf.fsf@gnus.org> <87tyg6skad.fsf@lifelogs.com> <87lj1isgsh.fsf@lifelogs.com> <87hbc65xdi.fsf@randomsample.de> <87pqquqyu7.fsf@lifelogs.com> <8762sm2wyb.fsf@gnus.org> <87pqqupbpm.fsf@lifelogs.com> <87vd0muxfk.fsf@gnus.org> <8739nq5mup.fsf@randomsample.de> <87vd0mnvnr.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1297720448 3801 80.91.229.12 (14 Feb 2011 21:54:08 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 14 Feb 2011 21:54:08 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M25095@lists.math.uh.edu Mon Feb 14 22:54:04 2011 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Pp6Mt-0002n5-NO for ding-account@gmane.org; Mon, 14 Feb 2011 22:54:04 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1Pp6Mq-0004ac-0y; Mon, 14 Feb 2011 15:54:00 -0600 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1Pp6Mo-0004aI-G7 for ding@lists.math.uh.edu; Mon, 14 Feb 2011 15:53:58 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1Pp6Mn-0000LL-Le for ding@lists.math.uh.edu; Mon, 14 Feb 2011 15:53:58 -0600 Original-Received: from v3-1008.vxen.de ([79.140.41.8]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1Pp6Mm-0002Mp-OQ for ding@gnus.org; Mon, 14 Feb 2011 22:53:56 +0100 Original-Received: from dslc-082-082-165-009.pools.arcor-ip.net ([82.82.165.9] helo=spaten) by v3-1008.vxen.de with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.69) (envelope-from ) id 1Pp6Ml-000823-Ni for ding@gnus.org; Mon, 14 Feb 2011 22:53:55 +0100 In-Reply-To: <87vd0mnvnr.fsf@lifelogs.com> (Ted Zlatanov's message of "Mon, 14 Feb 2011 15:39:04 -0600") User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.2 (gnu/linux) Mail-Copies-To: never Mail-Followup-To: ding@gnus.org X-Spam-Score: 0.3 (/) X-Spam-Report: SpamAssassin (3.3.1 2010-03-16) analysis follows Bayesian score: 0.0000 Ham tokens: 0.000-1678--4106h-0s--0d--H*u:Emacs, 0.000-1613--3947h-0s--0d--H*u:Gnus, 0.000-1558--3814h-0s--0d--H*u:linux, 0.000-1558--3814h-0s--0d--H*UA:linux, 0.000-1502--3675h-0s--0d--H*u:gnu Spam tokens: 0.938-1841--1054h-35683s--0d--H*r:quimby.gnus.org, 0.864-4733--29380h-420513s--0d--H*r:helo Autolearn status: no 2.2 RCVD_IN_NJABL_PROXY RBL: NJABL: sender is an open proxy [82.82.165.9 listed in combined.njabl.org] -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:76756 Archived-At: Ted Zlatanov writes: > On Mon, 14 Feb 2011 22:26:38 +0100 David Engster wrote: > > DE> Lars Ingebrigtsen writes: > >>> While it would mean less work not to support older Emacs versions, I >>> think it would be nice to do so, if it's possible. > > DE> I agree it would be nice if Gnus would at least compile on older > DE> Emacsen, but I think it's acceptable that some features don't work or > DE> need additional packages. I think we have this situation already for > DE> stuff needing EPG/EPA, for instance? > > There's no simple way to degrade auth-source.el if EIEIO is not present, > unfortunately. I can special-case strings to mean authinfo files as a > backend designator for all hosts and logins and defalias `oref' and > `defclass' to 'ignore if EIEIO is not available. It will be ugly. I didn't really follow the auth-source development, so I don't know the details. I was hoping that one could fallback to the old .authinfo-stuff in an easier manner in case EIEIO isn't available. > I was hoping to start using EIEIO in other packages, though, hence this > whole discussion. If we must support Emacs 23.1 then I can't do that. Yes, I agree. IMO supporting two Emacs minor versions should be enough (namely 23.2 and 23.3). Users of older Emacsen can still use older Gnus versions without problems. -David