From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.help Subject: Re: authentification with url-retrieve Date: Mon, 26 Jan 2009 09:31:06 -0600 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <861vuq3wzp.fsf__10403.8498750471$1232993607$gmane$org@lifelogs.com> References: <861vv4lbgs.fsf@lifelogs.com> <874p002xrp.fsf@tux.homenetwork> <86r633hxzh.fsf@lifelogs.com> <86hc3tg725.fsf@lifelogs.com> <86d4egba42.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1232993528 12131 80.91.229.12 (26 Jan 2009 18:12:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 26 Jan 2009 18:12:08 +0000 (UTC) Cc: Ding Mailing List To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jan 26 19:13:21 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LRVxO-0003SL-OH for geh-help-gnu-emacs@m.gmane.org; Mon, 26 Jan 2009 19:13:11 +0100 Original-Received: from localhost ([127.0.0.1]:50214 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LRVw6-0008JV-9g for geh-help-gnu-emacs@m.gmane.org; Mon, 26 Jan 2009 13:11:50 -0500 Original-Path: news.stanford.edu!headwall.stanford.edu!news.glorb.com!news2.glorb.com!news2.arglkargh.de!news.albasani.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 24 Original-X-Trace: news.albasani.net FyFIb08VFfrWhqBMZvoHlTF5bHKJCVpkQI+ulbzoaBgUCr+Qp5StK5f6DnO1N5XvwXcgyV/ntkOqR1wfAwa+EGpQMCcmCPgltSRhKEHi0LAQdkhSpOSGJn2qBiDy+KIn Original-X-Complaints-To: abuse@albasani.net Original-NNTP-Posting-Date: Mon, 26 Jan 2009 15:29:44 +0000 (UTC) X-User-ID: 5zd4iBMamy7E6z3iByr4jSMlNeBJoGuApElAx7CQ7jw= 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" Cancel-Lock: sha1:AiMjkJWO7gJNvr435DVHqI8I1SQ= sha1:o0b0lBbHnLCjuVhviJ8ZZvhFTKo= User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.60 (gnu/linux) X-NNTP-Posting-Host: oDsaZW/nyby7R5GO382FAAhb71kGrkatdAIlPISn6R0= Original-Xref: news.stanford.edu gnu.emacs.help:166332 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:61652 Archived-At: On Thu, 22 Jan 2009 15:19:36 +0100 Thierry Volpiatto wrote: TV> ,---- TV> | auth-source-user-or-password: get login for news.gmane.org (nntp) TV> | /home/thierry/.authi: 0% (0/724) TV> | /home/thierry/.authi: 100% (724/724) TV> | auth-source-user-or-password: get password for news.gmane.org (nntp) TV> | /home/thierry/.authi: 0% (0/724) TV> | /home/thierry/.authi: 100% (724/724) Ah, I see it. It's parsing that file twice, once to get the login name and again to get the password. The current auth-source API didn't allow me to batch this operation, so I had to modify the API. You'll have to get the latest Gnus from CVS (auth-source.el plus the files that use the new API, including nntp.el). The changes will make their way into Emacs CVS as well, but I don't know when. I tried it and it works for me, so please try it out and let me know if you find any problems. Thanks Ted