From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/77238 Path: news.gmane.org!not-for-mail From: Lars Ingebrigtsen 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 15:35:34 -0800 Organization: Programmerer Ingebrigtsen Message-ID: <8739ne494p.fsf@gnus.org> 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> <871v2yq040.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1298504424 30460 80.91.229.12 (23 Feb 2011 23:40:24 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 23 Feb 2011 23:40:24 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M25569@lists.math.uh.edu Thu Feb 24 00:40:19 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 1PsOJe-00037p-RY for ding-account@gmane.org; Thu, 24 Feb 2011 00:40:19 +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 1PsOJZ-00071l-5o; Wed, 23 Feb 2011 17:40:13 -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 1PsOJX-00071S-BJ for ding@lists.math.uh.edu; Wed, 23 Feb 2011 17:40:11 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1PsOJS-0006GN-Q3 for ding@lists.math.uh.edu; Wed, 23 Feb 2011 17:40:10 -0600 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1PsOJS-0002oh-0k for ding@gnus.org; Thu, 24 Feb 2011 00:40:06 +0100 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PsOJR-00031W-DU for ding@gnus.org; Thu, 24 Feb 2011 00:40:05 +0100 Original-Received: from 216.9.106.106 ([216.9.106.106]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 24 Feb 2011 00:40:05 +0100 Original-Received: from larsi by 216.9.106.106 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 24 Feb 2011 00:40:05 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-Lines: 37 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 216.9.106.106 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAG1BMVEUJBAH///IMBwP+/vBk XU66tZ////MVDworJR5lkne3AAACEUlEQVQ4jXWUwYsbIRTGH17S6zAw50EWzHWwYefYLU7jNRjb XsNCzkW26HEpLvpn91MnJd1kPxCCv/e993w6IQlN51uRlF3X4cfpBkwN3DgmgPfRDcAwdHdSTf0z UD8ADMM16KYBQPa9NNbYw2X/REjUl5alMTtrzRWQ/VTBzhhp5RWYVtA0XJrAAa/3J3npgOT/mrr7 AI7zfUcpM3wAMNahgM/qjr4DPPKRuODEBId8yJA/FOCJiGHxERGcCw+ZDiBTE+OOc+IMNm96gPSn gRrKm8dIknPaj2UfcTlV8g/o15JH1LqFCBcq8OoLi3sYakOpOCp43GTNFZL4XIHjPq0gxL3WKYcG PA8ApSuxjeqo6q6ulrA6hNBHneNlGhkpw+G5jGSrdMxZqcUqq1RxhcMJgD4hHmSxAFggwRQHbZEc KyK8eIqlpiK0k0TyQcdaqIDimCknJjAGEY8qNpBKjZllx8rsHuTOHtezVCCSY0x497vUTnWS/gkX NW+8G1lI7u0YFvsDuyTcU3FsHHESI71psdivKe85b4CNIyf/i9TeRatRHHP/dl67GsMrU9694PgZ F+wrYLhbvs3xp3cPADD6BvB8yGWVnc9LHaaOoYJ24yIgeCmzelkf3OyIMRL1NiJmrKJWuaXiDG9h I0K9JyS6OPgq7+qjCngptTg+yVsVx2noeokP993/Bg3n+/oQ/AUNL1iiii+VvgAAAABJRU5ErkJg gg== Mail-Copies-To: never X-Now-Playing: muvo's _289-225-Closer_: "Colony" User-Agent: Gnus/5.110014 (No Gnus v0.14) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:+iSCrxN4pZG+EjiS3Z+DLfJ3zQM= X-Spam-Score: -0.7 (/) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:77238 Archived-At: Ted Zlatanov writes: > 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: " But it'll never be "143 password" -- since "imap" is first in the list. It's a good point, though -- I think it would be way more readable if there's a parameter to auth-source that lets the caller specify what we're asking the user for. So a :service "IMAP" would be nice, and then you can just drop showing the port number at all. > 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. The prompt asks whether to save it to the .authinfo.gpg file, so the user knows that it exists. It's a very easily readable file, so 1) the user knows it exists, 2) the user can open it all they want, and 3) they can edit it trivially, if they so choose. Instead they're faced with this rather complex choice where any normal user will surmise that they're somehow supposed to edit the line for Gnus to work. And that's not good. -- (domestic pets only, the antidote for overdose, milk.) larsi@gnus.org * Lars Magne Ingebrigtsen