From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/76784 Path: news.gmane.org!not-for-mail From: David Engster Newsgroups: gmane.emacs.gnus.general Subject: Re: auth-source.el and eieio Date: Tue, 15 Feb 2011 09:41:54 +0100 Message-ID: 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> <87y65i4724.fsf@randomsample.de> <871v3auvnw.fsf@gnus.org> <87ei7anuce.fsf@lifelogs.com> <87fwrqtfzu.fsf@gnus.org> <87vd0mmekw.fsf@lifelogs.com> <87ei79d8fd.fsf@marauder.physik.uni-ulm.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1297759347 6055 80.91.229.12 (15 Feb 2011 08:42:27 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 15 Feb 2011 08:42:27 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M25124@lists.math.uh.edu Tue Feb 15 09:42:22 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 1PpGUH-0002wY-8K for ding-account@gmane.org; Tue, 15 Feb 2011 09:42:21 +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 1PpGUE-00082j-Ro; Tue, 15 Feb 2011 02:42:18 -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 1PpGUD-00082Q-9e for ding@lists.math.uh.edu; Tue, 15 Feb 2011 02:42:17 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1PpGTz-0002En-RB for ding@lists.math.uh.edu; Tue, 15 Feb 2011 02:42:17 -0600 Original-Received: from v3-1008.vxen.de ([79.140.41.8]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1PpGTy-0004lq-3F for ding@gnus.org; Tue, 15 Feb 2011 09:42:02 +0100 Original-Received: from [134.76.4.230] (helo=imac.local) by v3-1008.vxen.de with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.69) (envelope-from ) id 1PpGTw-0007yG-Re for ding@gnus.org; Tue, 15 Feb 2011 09:42:00 +0100 In-Reply-To: <87ei79d8fd.fsf@marauder.physik.uni-ulm.de> (Reiner Steib's message of "Tue, 15 Feb 2011 09:11:02 +0100") User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (darwin) Mail-Copies-To: never Mail-Followup-To: ding@gnus.org X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:76784 Archived-At: Reiner Steib writes: > On Mon, Feb 14 2011, Ted Zlatanov wrote: > >> On Mon, 14 Feb 2011 14:20:53 -0800 Lars Ingebrigtsen wrote: >> >> LI> Ted Zlatanov writes: >>>> OK, so we can't drop 23.1 and older. Are we bundling EIEIO with Gnus or >>>> not? If not, I'll fix auth-source.el to degrade semi-gracefully. >> >> LI> Would bundling EIEIO with Gnus have any other negative impact? >> LI> That is, are there incompatibilities in EIEIO itself that may >> LI> freak out various XEmacs/Emacs instances that may (or may not) >> LI> have other versions of EIEIO installed? >> >> LI> If this can be done cleanly (i.e., a lib directory that dgnushack.el >> LI> figures out whether to add to the load path (or not)), then I think >> LI> including it would be the way to go. > > It is likely to lead to load-path shadows with weird effects. > [ Just imagine compiling Gnus from git on a system with several Emacs > versions (e.g. Debian-based systems). The user will probably compile > with the oldest Emacs and run the compiled version of Gnus with all > versions. With the newer Emacs, Gnus' EIEIO files will probably > shadow the newer ones from Emacs. ] Installing an Emacs package behind the user's back is never a good idea. Can't Gnus determine at run-time whether it has to put its own EIEIO in the load-path or not? >> That would work for me, assuming there are no version issues. But I >> don't know enough about EIEIO to say. Reiner, WDYT? Anyone else? > > I don't object, but it may lead to trouble. I've PMed Eric and he doesn't see much of a problem. EIEIO hasn't seen significant changes in roughly two years, so it's pretty stable. He's fine with whatever we do with it. -David