From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/58866 Path: main.gmane.org!not-for-mail From: "Ted Zlatanov" Newsgroups: gmane.emacs.gnus.general,gmane.emacs.devel Subject: Re: pop3.el itegration with netrc.el Date: 14 Oct 2004 14:37:27 -0400 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Sender: ding-owner@lists.math.uh.edu Message-ID: <4nis9dgn88.fsf@lifelogs.com> References: <4n7jpu4o7d.fsf@lifelogs.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1097779112 2431 80.91.229.6 (14 Oct 2004 18:38:32 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 14 Oct 2004 18:38:32 +0000 (UTC) Cc: ding@gnus.org, "emacs-devel" Original-X-From: ding-owner+M7404@lists.math.uh.edu Thu Oct 14 20:38:21 2004 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13] ident=mail) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CIAUX-0002c0-00 for ; Thu, 14 Oct 2004 20:38:21 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1CIATz-0005Iz-00; Thu, 14 Oct 2004 13:37:47 -0500 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1CIATv-0005Iu-00 for ding@lists.math.uh.edu; Thu, 14 Oct 2004 13:37:43 -0500 Original-Received: from justine.libertine.org ([66.139.78.221] ident=postfix) by util2.math.uh.edu with esmtp (Exim 4.30) id 1CIATs-00014H-Fk for ding@lists.math.uh.edu; Thu, 14 Oct 2004 13:37:40 -0500 Original-Received: from mail.bwh.harvard.edu (sysblade0.bwh.harvard.edu [134.174.9.44]) by justine.libertine.org (Postfix) with ESMTP id 0061D3A0038 for ; Thu, 14 Oct 2004 13:37:39 -0500 (CDT) Original-Received: (qmail 20514 invoked from network); 14 Oct 2004 18:27:46 -0000 Envelope-Sender: tzz@lifelogs.com Envelope-Recipients: jas@extundo.com, ding@gnus.org, emacs-devel@gnu.org, Original-Received: from asimov.bwh.harvard.edu (HELO asimov) (internal?.9?user:?tzz@[134.174.9.63]) (envelope-sender ) by mail.bwh.harvard.edu (qmail-ldap-1.03) with SMTP for ; 14 Oct 2004 18:27:44 -0000 Mail-Followup-To: "Simon Josefsson" , ding@gnus.org, " emacs-devel" Original-To: "Simon Josefsson" 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" X-Hashcash: 1:10:041014:jas@extundo.com::4fc6543f42bd8316:4e2 X-Hashcash: 1:10:041014:ding@gnus.org::8e5357d21cb6ba86:ea0 X-Hashcash: 1:10:041014:emacs-devel@gnu.org::b4a048dae800a962:335 In-Reply-To: (Simon Josefsson's message of "Thu, 14 Oct 2004 20:21:26 +0200") User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux) Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:58866 gmane.emacs.devel:28393 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:58866 On Thu, 14 Oct 2004, jas@extundo.com wrote: > "Ted Zlatanov" writes: > >> pop3.el seems to be separate from the rest of Gnus, so I'm not sure if >> I should add netrc.el (authinfo) support to it - then pop3.el would >> also depend on gnus-encrypt.el. Please advise. > > There are many incompatible forks of pop3.el, the copy in Gnus CVS > used to be one of them. I see now that the copies in Gnus CVS and > Emacs CVS are in sync. I'm not sure how that happened, but it is a > good thing. So perhaps we can make this one the canonical copy, and > add new features to it. I'd say go ahead. I've cc-ed the emacs-devel list in case anyone there has suggestions. This is regarding pop3.el and its use of netrc (~/.authinfo) files. > Btw, is it difficult to modularize gnus-encrypt.el into, say, > encrypt.el, that doesn't use a lot of Gnus functions? I recall some > discussions about that, though. This may be a good time to make that break. The current gnus-encrypt.el can be turned into encrypt.el with very few changes except for the dependency on password.el, which is in Gnus. gnus-encrypt.el will remain as a wrapper for Gnus, using password.el and allowing closer integration with other Gnus libraries. This is not the real problem, though. The root problem is that netrc.el is a part of Gnus I can't break out (I think), so the Gnus version of pop3.el will have a dependency we don't want. Maybe we should have gnus-pop3.el to implement what I'm proposing, so pop3.el remains clean of Gnus dependencies? Ted