From: Ted Zlatanov <tzz@lifelogs.com>
To: bug-gnu-emacs@gnu.org
Subject: Re: bug#8050: Gnus does not connect to my IMAP server any more
Date: Mon, 07 Mar 2011 12:23:59 -0600 [thread overview]
Message-ID: <874o7e23i8.fsf@lifelogs.com> (raw)
In-Reply-To: mailman.17.1299357452.24947.bug-gnu-emacs@gnu.org
On Sat, 05 Mar 2011 15:13:53 -0500 Stefan Monnier <monnier@iro.umontreal.ca> wrote:
SM> - But when I'm asked for a user name there is no default, whereas earlier
SM> my local user name was used as default (which happens to work for me on
SM> most of the machines to which I can connect). Please use the local user
SM> name as default in that prompt.
I'll add that. I thought I did but must have forgotten.
SM> - Also when I'm then asked for a password, the prompt says "Password for
SM> user foo, host bar" which is more verbose but not more clear than
SM> "Password for foo@bar" used in earlier Gnus.
That's the default prompt. Every package can supply their own which
makes sense in context. So nnimap.el could supply the password prompt
"IMAP password for user %u, host %h:%p" for instance. Does that seem OK
to you? If so I can add it to nnimap.el.
SM> - I'm asked whether to save the password regardless of whether the
SM> password and user names are correct or not. That's really bad.
auth-source.el doesn't know at that time whether the authentication will
be successful. I think you're saying we need an `auth-source-save'
function to be called after the fact instead of a ":create t" parameter.
But what about the case where the server is down and yet you know the
password is good? Do we throw it away?
SM> - When I was asked whether to save my password, the cursor was not shown in
SM> the prompt, which looked weird. Maybe it was a temporary redisplay
SM> problem (I hit `n' mechanically pretty quickly, so maybe Emacs didn't
SM> have time to display the cursor).
I'm not sure about that one, I'm just using `read-passwd'.
SM> - If the connection fails (e.g. bad password or bad user name), I don't
SM> get asked again, instead Gnus continues in offline mode.
nnimap.el could use `auth-source-forget+' and then retry that query.
But as above, I think you're saying we need to save/cache AFTER
authentication success.
SM> - After refusing to save the password in authinfo.gpg, I get a message
SM> along the lines of "auth-source-search: CREATED 1 results ...".
SM> I don't care whether "results" is replaced by "result" when there's
SM> only 1, but this looks like a debug message which should disappear.
I think it makes sense to show confirmation that we just added to your
passwords. It's a rare event and deserves notice.
Hiding it by default is quite easy, if you feel strongly about it. I don't.
Thanks for the help, as always.
Ted
next prev parent reply other threads:[~2011-03-07 18:23 UTC|newest]
Thread overview: 40+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-16 1:54 bug#8050: Gnus does not connect to my IMAP server any more Stefan Monnier
2011-02-24 1:03 ` Stefan Monnier
[not found] ` <mailman.0.1298509609.2066.bug-gnu-emacs@gnu.org>
2011-02-24 12:50 ` Ted Zlatanov
[not found] ` <87y655bnr4.fsf@lifelogs.com>
2011-02-24 15:22 ` Stefan Monnier
2011-02-24 16:29 ` Ted Zlatanov
2011-02-25 4:29 ` Lars Magne Ingebrigtsen
[not found] ` <87wrkobutr.fsf@gnus.org>
2011-02-25 11:21 ` Ted Zlatanov
2011-02-25 11:50 ` Ted Zlatanov
2011-03-05 12:17 ` Lars Magne Ingebrigtsen
2011-02-25 17:27 ` Ted Zlatanov
2011-03-05 20:13 ` Stefan Monnier
[not found] ` <mailman.17.1299357452.24947.bug-gnu-emacs@gnu.org>
2011-03-07 18:23 ` Ted Zlatanov [this message]
2011-03-07 23:10 ` Stefan Monnier
[not found] ` <mailman.2.1299548219.4111.bug-gnu-emacs@gnu.org>
2011-03-08 16:46 ` Ted Zlatanov
2011-03-08 19:49 ` Ted Zlatanov
2011-03-08 21:34 ` Stefan Monnier
[not found] ` <mailman.12.1299620228.21372.bug-gnu-emacs@gnu.org>
2011-03-08 21:57 ` Ted Zlatanov
2011-03-09 3:04 ` Stefan Monnier
[not found] ` <mailman.4.1299640020.25099.bug-gnu-emacs@gnu.org>
2011-03-09 11:20 ` Ted Zlatanov
2011-03-09 18:34 ` Stefan Monnier
[not found] ` <mailman.4.1299703021.13037.bug-gnu-emacs@gnu.org>
2011-03-09 21:34 ` Ted Zlatanov
2011-03-10 2:16 ` Stefan Monnier
2011-03-12 3:43 ` Stefan Monnier
[not found] ` <mailman.1.1299902822.7270.bug-gnu-emacs@gnu.org>
2011-03-12 18:08 ` Ted Zlatanov
2011-03-14 13:58 ` Stefan Monnier
2011-03-08 18:33 ` Ted Zlatanov
[not found] <mailman.12.1297821996.25725.bug-gnu-emacs@gnu.org>
2011-02-16 18:29 ` Ted Zlatanov
[not found] ` <874o836dfv.fsf@lifelogs.com>
2011-02-16 21:22 ` Stefan Monnier
2011-02-16 21:34 ` Michael Albinus
2011-02-16 22:08 ` Ted Zlatanov
2011-02-18 0:24 ` Lars Ingebrigtsen
2011-02-18 2:37 ` Stefan Monnier
2011-02-18 8:19 ` Lars Ingebrigtsen
2011-02-18 20:16 ` Ted Zlatanov
2011-02-18 22:43 ` Stefan Monnier
2011-02-22 21:51 ` Ted Zlatanov
2011-02-18 23:04 ` Lars Ingebrigtsen
2011-02-22 22:46 ` Stefan Monnier
[not found] ` <mailman.4.1298416010.11499.bug-gnu-emacs@gnu.org>
2011-02-22 23:47 ` Ted Zlatanov
2011-02-16 21:26 ` Lars Magne Ingebrigtsen
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=874o7e23i8.fsf@lifelogs.com \
--to=tzz@lifelogs.com \
--cc=bug-gnu-emacs@gnu.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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.