From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/76895 Path: news.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.gnus.general Subject: Re: Using the new auth-source Date: Thu, 17 Feb 2011 15:06:06 -0800 Organization: Programmerer Ingebrigtsen Message-ID: <878vxe9s81.fsf@gnus.org> References: <87d3mq9stp.fsf@gnus.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1297984033 16479 80.91.229.12 (17 Feb 2011 23:07:13 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 17 Feb 2011 23:07:13 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M25233@lists.math.uh.edu Fri Feb 18 00:07:09 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 1PqCwG-0006AO-Qs for ding-account@gmane.org; Fri, 18 Feb 2011 00:07:09 +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 1PqCvY-0000vI-VF; Thu, 17 Feb 2011 17:06:25 -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 1PqCvX-0000uv-CH for ding@lists.math.uh.edu; Thu, 17 Feb 2011 17:06:23 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1PqCvT-0003bD-5W for ding@lists.math.uh.edu; Thu, 17 Feb 2011 17:06:23 -0600 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1PqCvR-0005Ax-OW for ding@gnus.org; Fri, 18 Feb 2011 00:06:17 +0100 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PqCvL-0005Ve-Te for ding@gnus.org; Fri, 18 Feb 2011 00:06:11 +0100 Original-Received: from baybryj.net ([198.144.208.130]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 18 Feb 2011 00:06:11 +0100 Original-Received: from larsi by baybryj.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 18 Feb 2011 00:06:11 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-Lines: 27 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: baybryj.net Mail-Copies-To: never User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:Yiu5qu5HkFKqsP2AWqQ/SLJTPoQ= X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:76895 Archived-At: Lars Ingebrigtsen writes: > Enter host for [USER?](imap.gmail.com imap.gmail.com):(143 993 imap > imaps) (TAB to see the choices): I've now fixed the double host name in nnimap. > This is very confusing. Why is it asking me for the host name and the > port number, when these are given by Gnus/nnimap? Edebugging the code, this is the culprit: (dolist (backend filtered-backends) (setq found-here (apply (slot-value backend 'search-function) :backend backend :create create :delete delete spec)) 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. -- (domestic pets only, the antidote for overdose, milk.) larsi@gnus.org * Lars Magne Ingebrigtsen