From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/75461 Path: news.gmane.org!not-for-mail From: david.goldberg6@verizon.net (Dave Goldberg) Newsgroups: gmane.emacs.gnus.general Subject: Re: auth-source (.authinfo.gpg) stopped working? Date: Tue, 28 Dec 2010 09:48:33 -0500 Message-ID: <84tyhyhs1q.fsf@davestoy.home> References: <84ipyjkcch.fsf@davestoy.home> <87vd2f2w2f.fsf@lifelogs.com> <8462ufjjya.fsf@davestoy.home> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1293558353 14773 80.91.229.12 (28 Dec 2010 17:45:53 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 28 Dec 2010 17:45:53 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M23812@lists.math.uh.edu Tue Dec 28 18:45:48 2010 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 1PXdcH-0002YJ-Em for ding-account@gmane.org; Tue, 28 Dec 2010 18:45:45 +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 1PXdaR-0000fA-HQ; Tue, 28 Dec 2010 11:43:51 -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 1PXdaN-0000ey-1f for ding@lists.math.uh.edu; Tue, 28 Dec 2010 11:43:47 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1PXdaI-0000v4-4B for ding@lists.math.uh.edu; Tue, 28 Dec 2010 11:43:46 -0600 Original-Received: from vms173001pub.verizon.net ([206.46.173.1]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1PXaqv-0008Gl-E2 for ding@gnus.org; Tue, 28 Dec 2010 15:48:41 +0100 Original-Received: from davestoy.home.verizon.net ([unknown] [173.48.216.252]) by vms173001.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0LE50031K7SHX6P1@vms173001.mailsrvcs.net> for ding@gnus.org; Tue, 28 Dec 2010 08:48:19 -0600 (CST) X-Face: W!bie|rYVd43O:2CkHTb*~s5}Yzx30X<@6Tq_bnP56Hp!xX4sVl4tgYRirjRcke\wfY!JJ9 i?]VIUJicJzq2\!3%7$5R%wi!R[.]Va97q User-Agent: Gnus/5.110011 (No Gnus v0.11) XEmacs/21.4.22 (linux) X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:75461 Archived-At: DG> In case it matters (as I fear it might) I am running on XEmacs 21.4.22. >> Open the .gpg file directly in Emacs. Does that work? If yes, we'll >> look for a problem in auth-source.el. If not, the problem is in EPA or >> in the GPG setup. The sequence you're describing (nothing works, you're >> prompted to save login info) suggests the latter. Looks like it is an XEmacs issue. In the message log: Warning: Opening nnimap server on exchange...failed: ; Unable to open server nnimap+exchange due to: Wrong number of arguments: #, 1; Opening nnimap server on cyrus...failed: ; Unable to open server nnimap+cyrus due to: Wrong number of arguments: #, 1 There is no backtrace, but a look at auth-source.el does indeed show a call to local-variable-p. So in my local copy I modified the call to local-variable-p to add a second argument of (current-buffer) which I think is what's needed for xemacs. Now I can log in to the servers OK, but even though I have appropriate lines in .authinfo.gpg (I even moved it out of the way and let it get regenerated) I am prompted for username and password for each server every time, and the lines are simply repeatedly written to .authinfo.gpg. -- Dave Goldberg david.goldberg6@verizon.net