unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Ted Zlatanov <tzz@lifelogs.com>
To: bug-gnu-emacs@gnu.org
Cc: Ding Mailing List <ding@gnus.org>
Subject: Re: bug#8050: Gnus does not connect to my IMAP server any more
Date: Thu, 24 Feb 2011 06:50:07 -0600	[thread overview]
Message-ID: <87y655bnr4.fsf__27149.2506530651$1298554818$gmane$org@lifelogs.com> (raw)
In-Reply-To: mailman.0.1298509609.2066.bug-gnu-emacs@gnu.org

On Wed, 23 Feb 2011 20:03:10 -0500 Stefan Monnier <monnier@iro.umontreal.ca> wrote: 

SM> The new code shows much fewer prompts, but now I can't connect any more.
SM> The problem is that among the prompts it doesn't show me any more, the
SM> "username" prompt is now missing, so Gnus then asks me

SM>  "Password for [any user]@(imap.iro.umontreal.ca diro):(143 997 imap imaps): "

This is fixed.  I have a patch coming which will also ask for the user
name and any other parameters.

SM> And when asking me whether to save the password (which it asks even
SM> tough the authentication fails :-() the prompt is again too verbose
SM> asking me

SM>  "Add to .authinfo.gpg? (y)es/(n)o but use it/(e)dit line/(s)kip file"

SM> First, it's hard to parse, second I don't know what "no but use it"
SM> might mean, 

It means "don't write it to the file but remember the password."

SM> I don't know what "line" I might want to "edit" (nor why it's
SM> related to saving a password), 

authinfo/netrc files are line-based.  auth-source manages more than
passwords: in addition you may be adding host, port, user name, and
other tokens.

You may want to edit the line in case you want to change it before it's
written.  Lars also thought this was not good but I feel strongly this
is useful functionality and it's not too intrusive.

SM> and neither do I know what means "skip file".

It means "go to the next source in the auth-sources list, I don't want
to change this one."

SM> Please make it just "Save password to .authinfo.gpg?  [y/n/N/?]"  or
SM> something short and simple like that.

I was trying to avoid the help popup but you're right the prompt is too
verbose.

"Save password" does not describe what's going on fully.  Maybe just
"save to $file" would be better than "add to $file."

The prompting could be, compared to the old 
"(y)es/(n)o but use it/(e)dit line/(s)kip file":

y/n/N/e/s/? => (y)es, save; (n)o but use the info; (N)o and don't use
the info and don't ask again; (e)dit the line; (s)kip this file.

I see two cases for (N): one, you want to use the password just entered
and don't want to be asked to *save* again; two, you don't want to use
the password and don't want auth-source to ask you *anything* again,
including password prompts.  Is either choice what you had in mind with
(N) in your suggestion?

Do you think that skipping to the next file in auth-sources is not
useful?  It doesn't take up too much space in the prompt to add a 's'
option...  But I'm overthinking it, perhaps.

Thanks for the suggestions
Ted


  parent reply	other threads:[~2011-02-24 12:50 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 [this message]
     [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
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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to='87y655bnr4.fsf__27149.2506530651$1298554818$gmane$org@lifelogs.com' \
    --to=tzz@lifelogs.com \
    --cc=bug-gnu-emacs@gnu.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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).