Gnus development mailing list
 help / color / mirror / Atom feed
From: nyc4bos@aol.com
To: ding@gnus.org
Subject: Re: auth-source problem
Date: Wed, 16 Mar 2011 23:27:41 -0400	[thread overview]
Message-ID: <84y64e4eaa.fsf@aol.com> (raw)
In-Reply-To: <871v2bi0aa.fsf@lifelogs.com>

Ted Zlatanov <tzz@lifelogs.com> writes:

> On Sun, 13 Mar 2011 00:28:20 -0500 nyc4bos@aol.com wrote: 
>
> n> One issue I still have though:
> n> The prompt says:
> n>    IMAP user at imap.gmail.com:
> n> I think that the prompt should have the default user showing.
>
> Ah, yes.  Oops.  I forgot to put "(default nyc4bos)" in the prompt, even
> though it was acceptable as a default already.  Your guess was right.
> The prompt is fixed.
>
> n> Before, you were able to specify in your gnus-(secondary)-select-methods:
>
> n> ...
> n>         (nnimap "aol"
> n>                 (nnimap-address "imap.aim.com")
> n>                 (nnimap-server-port 993)
> n>                 (nnimap-stream ssl)
> n>                 (imap-default-user "nyc4bos"))
>
>
> n> This was when nnimap used imap.el but I think a `nnimap-username' should
> n> be defined (`nil' as the default, meaning use '(user-login-name)' as per
> n> auth-source.el if found in authinfo(.gpg), netrc, or `nnimap-username'
> n> is not set).
>
> Yes, that's how it should work.  Let me know if it doesn't.

I think you need to modify auth-source.el from this:

                        (user-login-name))

to this:

                        (if (not nnimap-username)
                          (user-login-name)
                            nnimap-username))

in order to get the prompting to work.

>
> n> I think you also rseponded to Stefan in bug#8050 that you fixed
> n> this (showing the default user) but I can't seem to find that patch
> n> in either git or bzr as of yet).
>
> The commits are 57a4bf164075fe2c36b4a311a3199229ac29a460 and
> 219e1b4f2ae915ca712ed4fb049dde83cf3f6a35.
>
> Thanks for your patience.

Thanks for your efforts with auth-source.el !

> Ted




  reply	other threads:[~2011-03-17  3:27 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-07  2:55 nyc4bos
2011-03-07 11:09 ` Ted Zlatanov
2011-03-09  2:40   ` nyc4bos
2011-03-09 15:24     ` Ted Zlatanov
2011-03-10  4:53       ` nyc4bos
2011-03-10 15:54         ` Ted Zlatanov
2011-03-12  5:47           ` nyc4bos
2011-03-12 18:10             ` Ted Zlatanov
2011-03-13  5:28               ` nyc4bos
2011-03-13 14:05                 ` Ted Zlatanov
2011-03-17  3:27                   ` nyc4bos [this message]
2011-03-17 11:04                     ` Ted Zlatanov
2011-03-17 16:50                       ` Lars Magne Ingebrigtsen
2011-03-17 18:16                     ` Andreas Schwab

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=84y64e4eaa.fsf@aol.com \
    --to=nyc4bos@aol.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).