From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/81866 Path: news.gmane.org!not-for-mail From: XeCycle Newsgroups: gmane.emacs.gnus.general Subject: Re: Bug: auth-sources not set before retrieving authinfo Date: Wed, 06 Jun 2012 11:55:13 +0800 Message-ID: <87aa0hgkm6.fsf@xc.laptop> References: <87fwabe9pz.fsf@xc.laptop> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Trace: dough.gmane.org 1338955051 19289 80.91.229.3 (6 Jun 2012 03:57:31 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 6 Jun 2012 03:57:31 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M30136@lists.math.uh.edu Wed Jun 06 05:57:29 2012 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Sc7NB-00018U-1O for ding-account@gmane.org; Wed, 06 Jun 2012 05:57:29 +0200 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 1Sc7Ll-0004bF-GR; Tue, 05 Jun 2012 22:56:01 -0500 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 1Sc7Lj-0004b2-Mg for ding@lists.math.uh.edu; Tue, 05 Jun 2012 22:55:59 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1Sc7Li-0002DV-8U for ding@lists.math.uh.edu; Tue, 05 Jun 2012 22:55:58 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1Sc7Lf-0007pK-RG for ding@gnus.org; Wed, 06 Jun 2012 05:55:55 +0200 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Sc7La-000682-Fw for ding@gnus.org; Wed, 06 Jun 2012 05:55:50 +0200 Original-Received: from 59.78.37.25 ([59.78.37.25]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 06 Jun 2012 05:55:50 +0200 Original-Received: from XeCycle by 59.78.37.25 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 06 Jun 2012 05:55:50 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 53 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 59.78.37.25 User-Agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.1.50 (gnu/linux) Cancel-Lock: sha1:RGB1M4bocU6aJPJav/uZU+Ak0SY= X-Spam-Score: 0.2 (/) X-Spam-Report: SpamAssassin (3.3.1 2010-03-16) analysis follows Bayesian score: 0.0000 Ham tokens: 0.000-1747--10057h-0s--0d--H*u:Emacs, 0.000-1481--8529h-0s--0d--H*u:Gnus, 0.000-1397--8041h-0s--0d--H*u:linux, 0.000-1397--8041h-0s--0d--H*UA:linux, 0.000-1363--7847h-0s--0d--H*u:gnu Spam tokens: 0.947-12066--5314h-91057s--0d--HX-Spam-Relays-External:quimby.gnus.org, 0.947-12066--5314h-91057s--0d--H*RU:quimby.gnus.org, 0.944-11249--5477h-87633s--0d--HTo:D*gnus.org, 0.938-11343--6422h-93077s--0d--HX-Spam-Relays-Internal:quimby.gnus.org, 0.938-11343--6422h-93077s--0d--H*RT:80.91.231.51 Autolearn status: no 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (xecycle[at]gmail.com) 0.0 DKIM_ADSP_CUSTOM_MED No valid author signature, adsp_override is CUSTOM_MED -0.0 T_RP_MATCHES_RCVD Envelope sender domain matches handover relay domain 1.2 RCVD_NUMERIC_HELO Received: contains an IP address used for HELO -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 0.9 NML_ADSP_CUSTOM_MED ADSP custom_med hit, and not from a mailing list List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:81866 Archived-At: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable XeCycle writes: [...] > I guess the solution is to add this in the let*, before that > call: > > (auth-sources (list nntp-authinfo-file)) > > Can you add it and try? I added it here, and it works. > PS. I don't know why specifying (nntp-authinfo-function my-no-op) > doesn't work, where my-no-op is a function that accepts any > parameter and does nothing; it's never called. Perhaps another > bug out there. Found it. At nntp.el, around line 1359, at the end of defun nntp-open-connection, we're calling (nntp-send-authinfo t), without looking at the server variable nntp-authinfo-function. This behaviour is not the same as described in manual. My gnus-version "Ma Gnus v0.6", checkout on 2012-05-13. Thanks; I think these bugs are trivial to fix. =2D-=20 Carl Lei (XeCycle) Department of Physics, Shanghai Jiao Tong University OpenPGP public key: 7795E591 Fingerprint: 1FB6 7F1F D45D F681 C845 27F7 8D71 8EC4 7795 E591 --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iQEcBAEBAgAGBQJPztSkAAoJEI1xjsR3leWRd4MIAIAdZqIIXwGyH5BoY7uwwbvo h2BWN0mf3BtEak+PkoJHQEHO6faWApkHr9SkRB4iwpatKKiga/PW6KmT3MlYpm4h YFGjD0YHM/BpTr3zLoJCSU4xPDgUHBRTeYb6RjwiLRTZ6z4CiXX3nesaMKmbhim9 iA1YU9dixj5qdbLClbrcNIWnKaY+FEVKHVhbL7WWwrlWo7p+/+AFS2V31W/Gclty /zh2oMZe5zLyp1fR7mqFuejws3x2ghxbslahTGgZcZ6Zp4Oww3aJfOkKzFTZkcnb nYTmLugY2iBiS+OgxNa3vGVlbCGUgsw53ms2/CdqlplLS3XezVuZTvzgOUnw6+0= =svIC -----END PGP SIGNATURE----- --=-=-=--