From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/77289 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: Thu, 24 Feb 2011 10:42:21 -0600 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <87y6551j0y.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> <871v2yq040.fsf@lifelogs.com> <87y6562uif.fsf@gnus.org> <87aahmc7ij.fsf@lifelogs.com> <87fwrd7jik.fsf@gnus.org> <87sjvdbmzj.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1298567425 13385 80.91.229.12 (24 Feb 2011 17:10:25 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 24 Feb 2011 17:10:25 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M25616@lists.math.uh.edu Thu Feb 24 18:10:20 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 1Psehm-0002DS-QZ for ding-account@gmane.org; Thu, 24 Feb 2011 18:10: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 1Psehi-0004Ms-8R; Thu, 24 Feb 2011 11:10:14 -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 1Psehg-0004ML-6A for ding@lists.math.uh.edu; Thu, 24 Feb 2011 11:10:12 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1Psehf-0008QA-Be for ding@lists.math.uh.edu; Thu, 24 Feb 2011 11:10:12 -0600 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1Psehd-00070C-TO for ding@gnus.org; Thu, 24 Feb 2011 18:10:09 +0100 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PsehZ-00021E-Um for ding@gnus.org; Thu, 24 Feb 2011 18:10:05 +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 ; Thu, 24 Feb 2011 18:10:05 +0100 Original-Received: from tzz by 38.98.147.130 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 24 Feb 2011 18:10:05 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 24 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:Xm2F1JgHDcTdLFggtTia/qW7YXU= X-Spam-Score: -0.7 (/) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:77289 Archived-At: On Thu, 24 Feb 2011 10:48:45 -0300 Raphael Kubo da Costa wrote: RKdC> Ted Zlatanov wrote: >> I pushed my patch in; let's see what people think. Also see Simon >> Josefsson's suggestions about the prompt. I'm sure we'll figure out >> something that works for everyone. RKdC> It still doesn't work if I have an incomplete RKdC> ~/.authinfo,authinfo.gpg,netrc}, but as you said this probably depends on RKdC> Lars. RKdC> If I remove them, I am correctly prompted for my username, however the RKdC> prompt does show "143 user name" and "143 password for user XXX, host RKdC> imap.gmail.com". And if I press "e" afterwards, the line that would be added RKdC> to ~/.{authinfo,...} has "143" in the port, even though Gnus seems to RKdC> connect to the correct port later. auth-source picks the first port in the search spec's :port entry. So `nnimap-open-connection-1' needs to specify "imap" or "imaps" first in the ports or the ports need to be reordered before they are sent to `auth-source-search'. Ted