From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/77207 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.gnus.general Subject: Re: Making Gnus ask my IMAP username and password after the recent auth-source changes Date: Wed, 23 Feb 2011 08:47:11 -0600 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <871v2yq040.fsf@lifelogs.com> References: <87sjvq127b.fsf@gmail.com> <878vxhmmvj.fsf@lifelogs.com> <87tyg53tju.fsf@gmail.com> <87ipwj4wu8.fsf@lifelogs.com> <87hbc39vwe.fsf@gmail.com> <87d3mqj36i.fsf@lifelogs.com> <87aahu3fwp.fsf@lifelogs.com> <87pqqq8bfk.fsf@gnus.org> <87zkptw0ws.fsf@lifelogs.com> <87fwrl0wj6.fsf@gnus.org> <87hbbvybwp.fsf@lifelogs.com> <87d3mj3zfs.fsf@gnus.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1298472468 1468 80.91.229.12 (23 Feb 2011 14:47:48 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 23 Feb 2011 14:47:48 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M25539@lists.math.uh.edu Wed Feb 23 15:47:42 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 1PsG09-0004fW-JR for ding-account@gmane.org; Wed, 23 Feb 2011 15:47:37 +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 1PsG03-0003kg-0B; Wed, 23 Feb 2011 08:47:31 -0600 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1PsG00-0003kH-SY for ding@lists.math.uh.edu; Wed, 23 Feb 2011 08:47:28 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1PsFzw-00020Y-P7 for ding@lists.math.uh.edu; Wed, 23 Feb 2011 08:47:28 -0600 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1PsFzu-0000cH-KY for ding@gnus.org; Wed, 23 Feb 2011 15:47:22 +0100 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PsFzu-0004ZO-Ex for ding@gnus.org; Wed, 23 Feb 2011 15:47:22 +0100 Original-Received: from 38.98.147.130 ([38.98.147.130]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 23 Feb 2011 15:47:22 +0100 Original-Received: from tzz by 38.98.147.130 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 23 Feb 2011 15:47:22 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 54 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 38.98.147.130 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:AFPECR9PcS9wXC6EvIK1lAbwX4E= X-Spam-Score: -0.7 (/) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:77207 Archived-At: On Wed, 23 Feb 2011 00:52:39 -0800 Lars Ingebrigtsen wrote: LI> Ted Zlatanov writes: >> This is now the case. Any parameters with a nil or t value will be >> omitted from the saved line. The password is the only one we will ask >> for. LI> It needs to ask for the user name, too, doesn't it? Maybe. Right now it's guessed. People seem to prefer fewer prompts and you can always `e'dit the line afterwards. I mentioned that in my reply to Simon Josefsson just now, too. LI> With this call: LI> (nnimap-credentials "foo" '("imap" "imaps")) LI> I get this prompt, which is still confusing (in addition to not LI> prompting for the user name): LI> Password for [any user]@foo:(imap, imaps)? LI> It should say LI> "imap user name at foo: " LI> and LI> "imap password for larsi at foo: " It should have said "Password for [any user]@foo:imap?" and I guess that's a bug (fix just went in) . The "any user" and "any port" part is necessary IMO to make the intent clear. If the port is numeric your proposal is not so good: "143 password at foo: " so I'd rather keep the current prompt. LI> In addition, the prompt you get afterwords is still way to complicated. LI> nnimap has decided what port number to put into the line, so offering to LI> edit the line at all is just confusing. If the user wants to edit the LI> stuff, the user knows that they can just edit the ~/.authinfo file LI> themselves. I disagree. You can make it an option to bypass that prompt if you like, but I really want to show it by default. It's a rare event and when it happens, the user should know it's going to modify a netrc file. The user doesn't necessarily know to edit the .authinfo file. He may not even know what that is. Ted