Gnus development mailing list
 help / color / mirror / Atom feed
From: Ted Zlatanov <tzz@lifelogs.com>
To: ding@gnus.org
Subject: Re: nnimap authentication prompts?
Date: Wed, 23 Feb 2011 08:30:31 -0600	[thread overview]
Message-ID: <87ei6yq0vs.fsf@lifelogs.com> (raw)
In-Reply-To: <87ipwa27kz.fsf@latte.josefsson.org>

On Wed, 23 Feb 2011 14:39:40 +0100 Simon Josefsson <simon@josefsson.org> wrote: 

SJ> Ted Zlatanov <tzz@lifelogs.com> writes:
>> Can you try this with my recent changes?  Sorry for the trouble.

SJ> Now I get an error about unknown function 'read-char-choice'.  I'm using
SJ> Emacs 23.

Fixed to use read-char.

On Wed, 23 Feb 2011 14:41:17 +0100 Simon Josefsson <simon@josefsson.org> wrote: 

SJ> Ted Zlatanov <tzz@lifelogs.com> writes:

>> On Tue, 22 Feb 2011 09:50:52 +0100 Simon Josefsson <simon@josefsson.org> wrote: 
>> 
SJ> Btw, shouldn't all auto-added stanzas to ~/.authinfo* use "port"?  Just
SJ> because you are saving a password for say port 143 doesn't mean you have
SJ> the same password (or even username) for port 587.
>> 
>> If the query had it, yes.  Otherwise no.

SJ> Why?  Gnus knows the port since I specified it in my configuration.
SJ> Maybe this has been fixed already, I'll try again when the
SJ> read-char-choice problem is resolved.

nnimap's `auth-source-search' query will have the port you specified, so
things will work as you expect.  My point is that auth-source.el doesn't
know the right port and has to guess it.  The port comes either from the
query or from `auth-source-creation-defaults'.  The *only* guessed
parameter inside auth-source.el is the user name, and I actually think
that's also questionable.

Ted




  reply	other threads:[~2011-02-23 14:30 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-21 18:09 Simon Josefsson
2011-02-21 18:39 ` Sivaram Neelakantan
2011-02-21 20:46   ` Ted Zlatanov
2011-02-21 21:39     ` Simon Josefsson
2011-02-21 21:43       ` Simon Josefsson
2011-02-22 22:09         ` Ted Zlatanov
2011-02-23 13:39           ` Simon Josefsson
2011-02-23 14:30             ` Ted Zlatanov [this message]
2011-02-23 23:30               ` Lars Ingebrigtsen
2011-02-21 23:34 ` Lars Ingebrigtsen
2011-02-22  8:50   ` Simon Josefsson
2011-02-22 22:08     ` Ted Zlatanov
2011-02-23 13:41       ` Simon Josefsson

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=87ei6yq0vs.fsf@lifelogs.com \
    --to=tzz@lifelogs.com \
    --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).