From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/76612 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.gnus.general Subject: Re: auth-sources default Date: Sat, 12 Feb 2011 15:41:42 -0600 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <87vd0phqw9.fsf@lifelogs.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1297546959 6012 80.91.229.12 (12 Feb 2011 21:42:39 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 12 Feb 2011 21:42:39 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M24955@lists.math.uh.edu Sat Feb 12 22:42:35 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 1PoNEg-0006Bi-PC for ding-account@gmane.org; Sat, 12 Feb 2011 22: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 1PoNE6-0007CO-DA; Sat, 12 Feb 2011 15:41:58 -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 1PoNE3-0007C5-Hq for ding@lists.math.uh.edu; Sat, 12 Feb 2011 15:41:55 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1PoNE2-0005Fy-A0 for ding@lists.math.uh.edu; Sat, 12 Feb 2011 15:41:55 -0600 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1PoNE1-0006b2-Id for ding@gnus.org; Sat, 12 Feb 2011 22:41:53 +0100 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PoNE1-0005sw-2U for ding@gnus.org; Sat, 12 Feb 2011 22:41:53 +0100 Original-Received: from c-67-186-102-106.hsd1.il.comcast.net ([67.186.102.106]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 12 Feb 2011 22:41:53 +0100 Original-Received: from tzz by c-67-186-102-106.hsd1.il.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 12 Feb 2011 22:41:53 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 29 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: c-67-186-102-106.hsd1.il.comcast.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" User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:Uaz44yfeCidHlcq0aMy1g8Bdm5I= X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:76612 Archived-At: On Sat, 12 Feb 2011 15:52:09 -0500 Michael Piotrowski wrote: MP> At least for me, the default setting of `auth-sources'--or any other MP> setting where `auth-sources' just contains strings--doesn't seem to work MP> in the new version of auth-sources.el. The problem seems to be in MP> `auth-source-backend-parse': `auth-source-backend-parse-parameters' is MP> called with the original entry (i.e., a plain string) in any case, and MP> then `plist-get' fails. MP> As a workaround one can set `auth-sources' to a plist, but I guess it MP> would be good if the default worked ;-) I'm not sure what you're seeing but it works for me: (auth-source-backend-parse "test") => [object auth-source-backend "test" netrc "test" t t t auth-source-netrc-create auth-source-netrc-search] Try to run this: (mapcar 'auth-source-backend-parse auth-sources) and check the output. It should be a list of backend instances like above. Maybe you still have an old .elc file? Or you're using Emacs' auth-source.el, which hasn't been updated yet? Ted