From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/77274 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.gnus.general Subject: Re: bug#8050: Gnus does not connect to my IMAP server any more Date: Thu, 24 Feb 2011 06:50:07 -0600 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <87y655bnr4.fsf@lifelogs.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1298551830 16563 80.91.229.12 (24 Feb 2011 12:50:30 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 24 Feb 2011 12:50:30 +0000 (UTC) Cc: Ding Mailing List Original-X-From: ding-owner+M25601@lists.math.uh.edu Thu Feb 24 13:50:26 2011 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PsaeH-0001a4-7O for ding-account@gmane.org; Thu, 24 Feb 2011 13:50:25 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1Psae8-0002qF-HH; Thu, 24 Feb 2011 06:50:16 -0600 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1Psae6-0002ps-58 for ding@lists.math.uh.edu; Thu, 24 Feb 2011 06:50:14 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1Psae5-0000Dn-4r for ding@lists.math.uh.edu; Thu, 24 Feb 2011 06:50:14 -0600 Original-Received: from z.lifelogs.com ([173.255.230.239]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1Psae4-0001RI-74 for ding@gnus.org; Thu, 24 Feb 2011 13:50:12 +0100 Original-Received: from heechee (c-67-186-102-106.hsd1.il.comcast.net [67.186.102.106]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: tzz) by z.lifelogs.com (Postfix) with ESMTPSA id BBEF32019E for ; Thu, 24 Feb 2011 12:50:10 +0000 (UTC) Original-Newsgroups: gnu.emacs.bug X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6;d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" User-Agent: Gnus/5.110014 (No Gnus v0.14) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:cd9DRh26O/Kzujfkcj81j0Uyb6Q= In-Reply-To: (Stefan Monnier's message of "Wed, 23 Feb 2011 20:03:10 -0500") Posted-To: gnu.emacs.bug X-Spam-Score: -0.9 (/) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:77274 Archived-At: The following message is a courtesy copy of an article that has been posted to gnu.emacs.bug as well. On Wed, 23 Feb 2011 20:03:10 -0500 Stefan Monnier 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