From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.bugs Subject: Re: bug#7632: 23.2.91; url-retrieve doesn't read authinfo.gpg file Date: Mon, 14 Feb 2011 11:27:26 -0600 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <871v3asf0h.fsf@lifelogs.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1297705213 12825 80.91.229.12 (14 Feb 2011 17:40:13 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 14 Feb 2011 17:40:13 +0000 (UTC) To: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Feb 14 18:40:09 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Pp2PA-0008FX-7h for geb-bug-gnu-emacs@m.gmane.org; Mon, 14 Feb 2011 18:40:08 +0100 Original-Received: from localhost ([127.0.0.1]:50562 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pp2P9-0006Op-LK for geb-bug-gnu-emacs@m.gmane.org; Mon, 14 Feb 2011 12:40:07 -0500 Original-Path: usenet.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsgate.cistron.nl!newsgate.news.xs4all.nl!news2.euro.net!newsfeed.freenet.ag!news.albasani.net!not-for-mail Original-Newsgroups: gnu.emacs.bug Original-Lines: 35 Original-X-Trace: news.albasani.net cu7a6/JsIepykYEDT7esbZw3sm7WvctybKZnIG/5+sRPo6Qy+zbFfj7WMphQLA83qEs3qydWdbrKO0MAB4alwKgQkYy51/c6YmBsjG9wWVP47DWOLbUd0X0xTg4AIF3T Original-NNTP-Posting-Date: Mon, 14 Feb 2011 17:27:26 +0000 (UTC) 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" Cancel-Lock: sha1:muw+wSaGwZmN9oq54mGbO6HvKCU= sha1:A8p2c7z9pDMmOKOlnPxx0xWjklw= User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) Injection-Info: news.albasani.net; logging-data="Ly57plxfu6U50ogK9bJ6z58ve/XJlQBsfI5ZUZaEqPzadccwVkY9kfDkAwOblrzlTCnj5SzAIhCNav9Qz8QED/Pwr3FlHhABO/nKU3FkjMO/Sle9AtnBDOF2MtJZYZfn"; mail-complaints-to="abuse@albasani.net" Original-Xref: usenet.stanford.edu gnu.emacs.bug:71432 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:44118 Archived-At: On Mon, 13 Dec 2010 08:37:48 +0100 Thierry Volpiatto wrote: TV> actually it seem url-retrieve doesn't read .authinfo.gpg file. TV> I am always prompt for login/password. TV> My entry in .authinfo is: TV> machine mail.google.com port https login xx password xx TV> I also tried:(without succes) TV> machine mail.google.com:443 port https login xx password xx TV> and i call this url: TV> "https://mail.google.com/mail/feed/atom" TV> Note that `auth-source-user-or-password' on this same entry TV> in authinfo work fine. TV> So actually i have to use same function with a start-process/curl that TV> call `auth-source-user-or-password' instead of using url-retrieve. Hi Thierry, please try the latest Emacs dev branch. If it still doesn't work let me know. The entry would be machine mail.google.com:443 port https login xx password xx as you showed. If you could test it, I'd appreciate it. It worked for me, as (auth-source-search :max 1 :host "mail.google.com:443" :protocol "https") with the changes I committed this weekend. Thanks Ted