From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/82660 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.gnus.general Subject: Re: Bug: auth-sources not set before retrieving authinfo Date: Sat, 22 Dec 2012 21:35:35 -0500 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <878v8pebrc.fsf@lifelogs.com> References: <87fwabe9pz.fsf@xc.laptop> <87aa0hgkm6.fsf@xc.laptop> Reply-To: ding@gnus.org NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1356230185 28080 80.91.229.3 (23 Dec 2012 02:36:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 23 Dec 2012 02:36:25 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M30926@lists.math.uh.edu Sun Dec 23 03:36:40 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 1TmbQd-0007If-Ni for ding-account@gmane.org; Sun, 23 Dec 2012 03:36:40 +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 1TmbQ4-0000O2-2S; Sat, 22 Dec 2012 20:36:04 -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 1TmbPx-0000NX-Ji for ding@lists.math.uh.edu; Sat, 22 Dec 2012 20:35:57 -0600 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 1TmbPm-0006y0-U3 for ding@lists.math.uh.edu; Sat, 22 Dec 2012 20:35:57 -0600 Original-Received: from plane.gmane.org ([80.91.229.3]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1TmbPk-000505-Ty for ding@gnus.org; Sun, 23 Dec 2012 03:35:44 +0100 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1TmbPx-0006k1-FO for ding@gnus.org; Sun, 23 Dec 2012 03:35:57 +0100 Original-Received: from c-65-96-148-157.hsd1.ma.comcast.net ([65.96.148.157]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 23 Dec 2012 03:35:57 +0100 Original-Received: from tzz by c-65-96-148-157.hsd1.ma.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 23 Dec 2012 03:35:57 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-Lines: 34 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: c-65-96-148-157.hsd1.ma.comcast.net 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" Mail-Copies-To: never User-Agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.3.50 (gnu/linux) Cancel-Lock: sha1:ixL/6VoVD8PU9Ps/appK2YziPh4= X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:82660 Archived-At: On Wed, 06 Jun 2012 11:55:13 +0800 XeCycle wrote: X> XeCycle writes: X> [...] >> 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? X> I added it here, and it works. Can you send a patch? >> 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. X> Found it. At nntp.el, around line 1359, at the end of defun X> nntp-open-connection, we're calling (nntp-send-authinfo t), X> without looking at the server variable nntp-authinfo-function. X> This behaviour is not the same as described in manual. X> My gnus-version "Ma Gnus v0.6", checkout on 2012-05-13. X> Thanks; I think these bugs are trivial to fix. Was this ever fixed? Thanks Ted