From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/76828 Path: news.gmane.org!not-for-mail From: Reiner Steib Newsgroups: gmane.emacs.gnus.general Subject: Re: auth-source.el and eieio Date: Wed, 16 Feb 2011 21:28:43 +0100 Message-ID: <87wrkzbu6c.fsf@marauder.physik.uni-ulm.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> <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> <87d3mtmmzz.fsf@lifelogs.com> Reply-To: Reiner Steib NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1297888149 14567 80.91.229.12 (16 Feb 2011 20:29:09 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 16 Feb 2011 20:29:09 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M25167@lists.math.uh.edu Wed Feb 16 21:29:05 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 1Ppnzk-0000oM-Qc for ding-account@gmane.org; Wed, 16 Feb 2011 21:29:05 +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 1Ppnze-0000sN-86; Wed, 16 Feb 2011 14:28:58 -0600 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1Ppnzc-0000s7-9l for ding@lists.math.uh.edu; Wed, 16 Feb 2011 14:28:56 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1PpnzX-0006Wo-Tp for ding@lists.math.uh.edu; Wed, 16 Feb 2011 14:28:56 -0600 Original-Received: from mail.uni-ulm.de ([134.60.1.11]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1PpnzW-0000Ix-I7 for ding@gnus.org; Wed, 16 Feb 2011 21:28:50 +0100 Original-Received: from bridgekeeper.physik.uni-ulm.de (bridgekeeper.physik.uni-ulm.de [134.60.10.175]) by mail.uni-ulm.de (8.14.3/8.14.2) with ESMTP id p1GKSmG1016211 for ; Wed, 16 Feb 2011 21:28:48 +0100 (MET) Original-Received: from localhost (localhost [127.0.0.1]) by bridgekeeper.physik.uni-ulm.de (Postfix) with ESMTP id CDA8C108AF for ; Wed, 16 Feb 2011 21:28:47 +0100 (CET) X-Face: P05mdcZT&lL[-s2=mw~RsllZ0zZAb?vdE}.s (Ted Zlatanov's message of "Tue, 15 Feb 2011 07:43:44 -0600") User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/22.1 (gnu/linux) X-DCC-x.dcc-servers-Metrics: poseidon 104; Body=1 Fuz1=1 Fuz2=1 X-Virus-Scanned: by amavisd-new X-Spam-Score: 0.5 (/) X-Spam-Report: SpamAssassin (3.3.1 2010-03-16) analysis follows Bayesian score: 0.0000 Ham tokens: 0.000-1478--4552h-0s--0d--H*UA:Emacs, 0.000-1369--4216h-0s--0d--H*u:Emacs, 0.000-1318--4058h-0s--0d--H*UA:Gnus, 0.000-1318--4057h-0s--0d--H*u:Gnus, 0.000-1272--3915h-0s--0d--H*u:linux Spam tokens: 0.993-1--0h-2s--0d--H*M:physik, 0.993-1--0h-2s--0d--H*MI:physik, 0.987-1--0h-1s--0d--U*gmane, 0.987-1--0h-1s--0d--H*M:ulm, 0.987-1--0h-1s--0d--H*MI:ulm Autolearn status: no 0.0 FREEMAIL_FROM Sender email is freemail (reinersteib+gmane[at]imap.cc) -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 2.4 FREEMAIL_REPLYTO Reply-To/From or Reply-To/body contain different freemails 0.0 T_TO_NO_BRKTS_FREEMAIL T_TO_NO_BRKTS_FREEMAIL List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:76828 Archived-At: On Tue, Feb 15 2011, Ted Zlatanov wrote: > On Tue, 15 Feb 2011 Reiner Steib wrote: >>> On Mon, 14 Feb 2011 Lars Ingebrigtsen wrote: > 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. > > RS> It is likely to lead to load-path shadows with weird effects. > RS> [ Just imagine compiling Gnus from git on a system with several Emacs > RS> versions (e.g. Debian-based systems). The user will probably compile > RS> with the oldest Emacs and run the compiled version of Gnus with all > RS> versions. With the newer Emacs, Gnus' EIEIO files will probably > RS> shadow the newer ones from Emacs. ] > > We'll have to keep Gnus' EIEIO current. Since it hasn't changed much in > 2 years I think it's not a big burden. We can actually start pulling > all the EIEIO files from the Emacs Bazaar tree so we are in sync with > the *Emacs* version of EIEIO. That doesn't help when using release Gnus versions. Here's a different idea: Wouldn't it be possible *not* to include the EIEIO (or lib/) directory in load-path? Then we'd load along these lines... (ignore-errors (or (require 'eieio)) ;; lib/ from gnus/lisp/lib (load "lib/eieio")) (unless (featurep 'eieio) (error "eieio not found in `load-path' or Gnus lib/ directory.")) Bye, Reiner. -- ,,, (o o) ---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/