From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/77324 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: Thu, 24 Feb 2011 20:42:13 -0800 Organization: Programmerer Ingebrigtsen Message-ID: <87oc60bu8q.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> <87r5ayllt3.fsf@lifelogs.com> <87ipwalgun.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1298608959 25256 80.91.229.12 (25 Feb 2011 04:42:39 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 25 Feb 2011 04:42:39 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M25650@lists.math.uh.edu Fri Feb 25 05:42:36 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 1PspVj-00022y-LH for ding-account@gmane.org; Fri, 25 Feb 2011 05:42:35 +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 1PspVf-0008Gf-C4; Thu, 24 Feb 2011 22:42:31 -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 1PspVd-0008GM-Qk for ding@lists.math.uh.edu; Thu, 24 Feb 2011 22:42:29 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1PspVZ-0003pB-Ns for ding@lists.math.uh.edu; Thu, 24 Feb 2011 22:42:29 -0600 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1PspVZ-0003ru-0a for ding@gnus.org; Fri, 25 Feb 2011 05:42:25 +0100 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PspVY-0001zM-NV for ding@gnus.org; Fri, 25 Feb 2011 05:42:24 +0100 Original-Received: from 109.144.247.156 ([109.144.247.156]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 25 Feb 2011 05:42:24 +0100 Original-Received: from larsi by 109.144.247.156 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 25 Feb 2011 05:42:24 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-Lines: 25 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 109.144.247.156 Mail-Copies-To: never User-Agent: Gnus/5.110014 (No Gnus v0.14) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:1hkdLnwXFRRTpvU7377RwahKpXI= X-Spam-Score: -0.7 (/) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:77324 Archived-At: Ted Zlatanov writes: > nnimap.el should handle the case where the returned info doesn't have a > password. There are cases where IMAP servers do not require a password, > so it would not be appropriate to ask in `nnimap-credentials'. Hm. Are there any servers that require just a user name and not a password? > (defmacro nnimap-login-password (password) > (setq password (if password > password > (read-passwd "Password: ")))) > > This is something that Lars will have to do, though. I don't know that > code well enough to say whether it's the right solution; the password > prompt should mention the server, user name, and port. And it may make > sense to do this prompting for the user name as well. Sorry, I don't understand the use case here. If auth-source didn't return a password, nnimap should then query for a password? -- (domestic pets only, the antidote for overdose, milk.) larsi@gnus.org * Lars Magne Ingebrigtsen