From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/76918 Path: news.gmane.org!not-for-mail From: Raphael Kubo da Costa Newsgroups: gmane.emacs.gnus.general Subject: Re: Using the new auth-source Date: Fri, 18 Feb 2011 09:59:08 -0200 Message-ID: References: <87d3mq9stp.fsf@gnus.org> <878vxe9s81.fsf@gnus.org> <8739nm9qcw.fsf@gnus.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Trace: dough.gmane.org 1298030416 26235 80.91.229.12 (18 Feb 2011 12:00:16 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 18 Feb 2011 12:00:16 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M25256@lists.math.uh.edu Fri Feb 18 13:00:12 2011 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PqP0L-00039P-S2 for ding-account@gmane.org; Fri, 18 Feb 2011 13:00:10 +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 1PqOzk-0004nA-ML; Fri, 18 Feb 2011 05:59:32 -0600 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1PqOzi-0004mr-JQ for ding@lists.math.uh.edu; Fri, 18 Feb 2011 05:59:30 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1PqOzd-0002VM-QK for ding@lists.math.uh.edu; Fri, 18 Feb 2011 05:59:30 -0600 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1PqOzb-0002P5-Ls for ding@gnus.org; Fri, 18 Feb 2011 12:59:23 +0100 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PqOza-0002j2-Ib for ding@gnus.org; Fri, 18 Feb 2011 12:59:22 +0100 Original-Received: from 201.82.25.112 ([201.82.25.112]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 18 Feb 2011 12:59:22 +0100 Original-Received: from kubito by 201.82.25.112 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 18 Feb 2011 12:59:22 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Followup-To: gmane.emacs.gnus.general Original-Lines: 24 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 201.82.25.112 User-Agent: KNode/4.4.10 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-971--2395h-0s--0d--H*r:sk:1AlnuQ-, 0.000-971--2395h-0s--0d--HX-Spam-Relays-External:80.91.229.12, 0.000-971--2395h-0s--0d--HX-Injected-Via-Gmane:gmane.org, 0.000-971--2395h-0s--0d--H*r:Gmexim, 0.000-971--2395h-0s--0d--HX-Complaints-To:sk:usenet@ Spam tokens: 0.859-1265--11283h-153424s--0d--H*c:ISO-8859-1 Autolearn status: no 0.0 FREEMAIL_FROM Sender email is freemail (kubito[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 0.0 T_TO_NO_BRKTS_FREEMAIL T_TO_NO_BRKTS_FREEMAIL List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:76918 Archived-At: Lars Ingebrigtsen wrote: > Lars Ingebrigtsen writes: > >> It's doing two backends, ~/.authinfo.gpg and ~/.authinfo, and since the >> first doesn't exist, it tries to create it. So it should probably do a >> two-pass thing without :create to see if any of them return credentials. > > I've now implemented this, and it Works For Me. Ted, could you look it > over and fix the bugs I (no doubt) introduced? :-) This commit (747da72a4e98056d9da1881012390a788ffdc0bd) makes me unable to log into my Gmail IMAP account. I get the following warnings when byte-compiling Gnus: In auth-source-search: auth-source.el:581:39:Warning: reference to free variable `backend' auth-source.el:567:31:Warning: assignment to free variable `backend' Then when I start Gnus I immediately get the following error: Warning: Unable to open server nnimap+Personal due to: Symbol's value as variable is void: backend