Gnus development mailing list
 help / color / mirror / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: ding@gnus.org
Subject: Re: Using the new auth-source
Date: Thu, 17 Feb 2011 15:06:06 -0800	[thread overview]
Message-ID: <878vxe9s81.fsf@gnus.org> (raw)
In-Reply-To: <87d3mq9stp.fsf@gnus.org>

Lars Ingebrigtsen <larsi@gnus.org> 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




  reply	other threads:[~2011-02-17 23:06 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-17 22:53 Lars Ingebrigtsen
2011-02-17 23:06 ` Lars Ingebrigtsen [this message]
2011-02-17 23:46   ` Lars Ingebrigtsen
2011-02-18 10:49     ` Steinar Bang
2011-02-18 11:59     ` Raphael Kubo da Costa
2011-02-18 12:12       ` Katsumi Yamaoka
2011-02-18 12:20         ` Raphael Kubo da Costa
2011-02-18 15:47           ` Raphael Kubo da Costa
2011-02-18 22:09             ` Lars Ingebrigtsen
2011-02-18 20:22     ` Ted Zlatanov
2011-02-18  9:05 ` Steinar Bang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=878vxe9s81.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=ding@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).