From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.devel,gmane.emacs.gnus.general Subject: Re: authinfo gnutls netrc.el auth-sources & smtpmail-starttls-credentials Date: Thu, 11 Jun 2009 09:39:12 -0500 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <87eitqltrj.fsf@lifelogs.com> References: <87prdblrdd.fsf@lifelogs.com> <87zlcf2525.fsf@sandpframing.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1244731244 1706 80.91.229.12 (11 Jun 2009 14:40:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 11 Jun 2009 14:40:44 +0000 (UTC) Cc: Ding Mailing List To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jun 11 16:40:41 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MElSJ-0001zM-Ul for ged-emacs-devel@m.gmane.org; Thu, 11 Jun 2009 16:40:40 +0200 Original-Received: from localhost ([127.0.0.1]:55769 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MElSJ-0004nl-Df for ged-emacs-devel@m.gmane.org; Thu, 11 Jun 2009 10:40:39 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MElRE-0004Ew-W2 for emacs-devel@gnu.org; Thu, 11 Jun 2009 10:39:33 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MElRA-0004Am-6B for emacs-devel@gnu.org; Thu, 11 Jun 2009 10:39:32 -0400 Original-Received: from [199.232.76.173] (port=56688 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MElRA-0004Ag-1B for emacs-devel@gnu.org; Thu, 11 Jun 2009 10:39:28 -0400 Original-Received: from main.gmane.org ([80.91.229.2]:58117 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MElR9-00080D-DM for emacs-devel@gnu.org; Thu, 11 Jun 2009 10:39:27 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1MElR7-0001hv-CK for emacs-devel@gnu.org; Thu, 11 Jun 2009 14:39:25 +0000 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 ; Thu, 11 Jun 2009 14:39:25 +0000 Original-Received: from tzz by 38.98.147.130 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 11 Jun 2009 14:39:25 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 70 Original-X-Complaints-To: usenet@ger.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/23.0.94 (gnu/linux) Cancel-Lock: sha1:4HxtChfkm87dqhlPDDIMGm0iFOY= X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org X-Spam-Report: 5.1 points; * 0.0 RCVD_BY_IP Received by mail server with no name * -0.0 SPF_HELO_PASS SPF: HELO matches SPF record * 1.1 SUBJ_HAS_UNIQ_ID Subject contains a unique ID * -0.0 SPF_PASS SPF: sender matches SPF record * 4.0 RCVD_NUMERIC_HELO Received: contains an IP address used for HELO Xref: news.gmane.org gmane.emacs.devel:111435 gmane.emacs.gnus.general:68611 Archived-At: On Wed, 10 Jun 2009 16:43:14 -0400 MON KEY wrote: MK> Some observations: I appreciate your thoughts, but please realize not everyone has an hour to parse all your code. If you have specific suggestions, please make them directly and succinctly. I've tried to answer what I could; please follow up with questions implicit in your code that I have missed. MK> docstring for `gnus-message' provides some guidelines for message levels: MK> "Guideline for numbers: {...} 9 - messages inside loops." MK> The `gnus-message' is printed when it exceeds the `gnus-verbose' MK> threshold (defaults to 7) MK> Which is to say, assuming the user has `gnus-util' library loaded and MK> his `gnus-verbose' level MK> set at or above level 9(nine) - he may see _gnus-message_ indicating MK> that the password/login has been cached MK> along with a timestamp _if_ `gnus-add-timestamp-to-message' it t. auth-source.el currently is part of Gnus, so it uses Gnus logging facilities. If it's moved out, we can adjust the logging. Perhaps you're suggesting we need an auth-source-verbose variable? MK> Great! No Wait... any code that evaluates MK> `auth-source-user-or-password' directly has the value returned to MK> *Messages* MK> regardless of the `gnus-verbosity' levels. He _may not_ see those but MK> they may well be there anywasy MK> `../emacs/lisp/gnus/gnus-util.el' has one of these: (require 'netrc) MK> `../emacs/lisp/url/url-auth.el' has one of these: MK> (autoload 'auth-source-user-or-password "auth-source") Can you explain what the problem is, please? Is there unwanted information in the *Messages* buffer? MK> Also, re: my previous post: >> auth-sources wants netrc.el per `auth-source-user-or-password' MK> It is worth noting that the call out to netrc.el happens at compile time: MK> (eval-when-compile (require 'netrc)) I'm not sure why that's worth noting. MK> Alongside these really interesting autoloads: MK> (autoload 'encrypt-find-model "encrypt") MK> (autoload 'encrypt-insert-file-contents "encrypt") MK> What _are_ these? encrypt.el was my encryption API, which (through a discussion with many Emacs users and developers) was obsoleted in favor of EPG/EPA. The calls you saw will be removed eventually, together with encrypt.el itself, but I haven't done it yet (primarily due to lack of time). MK> An experiment: ... MK> ;GREAaaaat... I feel so dirty... ... MK> ;=>Why are those sleeper gnus-messages are hanging around in *Messages*? Sorry, as I said above I simply could not figure out everything you're asking through 3-4 pages of code. Please rewrite as simple questions I can answer. Thanks Ted