From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/76791 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.gnus.general Subject: Re: auth-source.el and eieio Date: Tue, 15 Feb 2011 07:43:44 -0600 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <87d3mtmmzz.fsf@lifelogs.com> 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 1297777462 6256 80.91.229.12 (15 Feb 2011 13:44:22 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 15 Feb 2011 13:44:22 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M25130@lists.math.uh.edu Tue Feb 15 14:44:17 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 1PpLCS-0007e4-GY for ding-account@gmane.org; Tue, 15 Feb 2011 14:44:16 +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 1PpLCP-00014f-7s; Tue, 15 Feb 2011 07:44:13 -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 1PpLCN-00014N-Mc for ding@lists.math.uh.edu; Tue, 15 Feb 2011 07:44:11 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1PpLCI-0003Nh-Gj for ding@lists.math.uh.edu; Tue, 15 Feb 2011 07:44:11 -0600 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1PpLCG-0001t5-Am for ding@gnus.org; Tue, 15 Feb 2011 14:44:04 +0100 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PpLC8-0007OC-Pe for ding@gnus.org; Tue, 15 Feb 2011 14:43:56 +0100 Original-Received: from 38.98.147.130 ([38.98.147.130]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 15 Feb 2011 14:43:56 +0100 Original-Received: from tzz by 38.98.147.130 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 15 Feb 2011 14:43:56 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 43 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 38.98.147.130 X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6;d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:v8CxT/OS/0RBQd4DJbEMaPIuR08= X-Spam-Score: -0.7 (/) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:76791 Archived-At: On Tue, 15 Feb 2011 09:11:02 +0100 Reiner Steib wrote: RS> On Mon, Feb 14 2011, Ted Zlatanov wrote: >> On Mon, 14 Feb 2011 14:20:53 -0800 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's probably the safest way and it would only be additional work for Yamaoka-san. RS> Would it be feasible to split auth-source.el into a basic version RS> (compatible with older Emacs version without EIEIO; with at least the RS> features we have in auth-source.el bundled with Emacs 23.3) and an RS> advanced version. The advanced version would not be used with older RS> Emacsen. Gnus should check at runtime what is available. It is okay RS> if new features are not available with the basic version (like with RS> shr.el). I can do it, but as I keep saying, my fight is to bring EIEIO's defclass into Gnus. I think it would improve Gnus (or at least my code) significantly to have it. So this kind of hack would really be my last resort if EIEIO is judged unsuitable for inclusion in Gnus. So far, everyone seems kind of wary but not strongly against it. Can we try it and see if Steinar and other pre-23.2 users find it usable? Yamaoka-san, WDYT? Can you set up the EIEIO pull into gnus/lib/ or is that a bother (I can do it too)? I can set up the list of all the required libraries with you and will modify the build process to DTRT. Thanks Ted