From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/83352 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.gnus.general Subject: Re: .netrc parsing stopped working when not giving port numbers Date: Mon, 17 Jun 2013 19:34:11 -0400 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: References: Reply-To: ding@gnus.org NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1371512165 22377 80.91.229.3 (17 Jun 2013 23:36:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 17 Jun 2013 23:36:05 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M31616@lists.math.uh.edu Tue Jun 18 01:36:05 2013 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Uoixt-0008Gj-BD for ding-account@gmane.org; Tue, 18 Jun 2013 01:36:01 +0200 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 1UoiwQ-0000TX-4v; Mon, 17 Jun 2013 18:34:30 -0500 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 1UoiwP-0000TE-0m for ding@lists.math.uh.edu; Mon, 17 Jun 2013 18:34:29 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1UoiwK-0006gg-Qm for ding@lists.math.uh.edu; Mon, 17 Jun 2013 18:34:28 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1UoiwI-0003Fk-Qc for ding@gnus.org; Tue, 18 Jun 2013 01:34:22 +0200 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UoiwI-00054F-IE for ding@gnus.org; Tue, 18 Jun 2013 01:34:22 +0200 Original-Received: from 11.79-161-196.customer.lyse.net ([79.161.196.11]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 18 Jun 2013 01:34:22 +0200 Original-Received: from tzz by 11.79-161-196.customer.lyse.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 18 Jun 2013 01:34:22 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-Lines: 22 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 11.79-161-196.customer.lyse.net 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" Mail-Copies-To: never User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50 (darwin) Cancel-Lock: sha1:GYqV1oKfwJz9/PE3+QgANiLcgXM= X-Spam-Score: -3.0 (---) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:83352 Archived-At: On Mon, 17 Jun 2013 06:49:11 -0400 Ted Zlatanov wrote: TZ> On Mon, 17 Jun 2013 11:15:10 +0200 Lars Magne Ingebrigtsen wrote: LMI> I have entries like LMI> machine foo login bar password zot LMI> When searching for the smtp or imap passwords on host foo, I'm not LMI> getting anything. .netrc should return this as a match, even though LMI> there's no port number there. I verified it works correctly just now, so I think it's a data issue. TZ> That's very likely my fault and I will look at it later today. I think I fixed *a problem*: if you had a missing token somewhere so it saw "machine" as a data value. Give it a try and if it still fails, send a minimal netrc and a `auth-source-search' call I can check. My change disallows "machine" as a data token. I think that's reasonable, but perhaps I should try harder to catch that case? Ted