Gnus development mailing list
 help / color / mirror / Atom feed
From: david.goldberg6@verizon.net (Dave Goldberg)
To: ding@gnus.org
Subject: Re: auth-source (.authinfo.gpg) stopped working?
Date: Tue, 28 Dec 2010 09:48:33 -0500	[thread overview]
Message-ID: <84tyhyhs1q.fsf@davestoy.home> (raw)
In-Reply-To: <8462ufjjya.fsf@davestoy.home>


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: #<subr local-variable-p>, 1; Opening nnimap server on cyrus...failed: ; Unable to open server nnimap+cyrus due to: Wrong number of arguments: #<subr local-variable-p>, 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



  reply	other threads:[~2010-12-28 14:48 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-24  4:45 Dave Goldberg
2010-12-27 13:18 ` Ted Zlatanov
2010-12-27 15:48   ` Dave Goldberg
2010-12-28 14:48     ` Dave Goldberg [this message]
2011-01-02  5:55       ` Lars Magne Ingebrigtsen
2011-01-03 13:35         ` Dave Goldberg
2011-01-03 14:02           ` Dave Goldberg
2011-01-03 23:59             ` Lars Magne Ingebrigtsen
2011-01-04  1:24               ` Dave Goldberg
2011-01-04  1:36               ` Daiki Ueno
2011-01-05  2:51                 ` Daiki Ueno
2011-01-05 14:08                   ` Dave Goldberg
2011-01-05 14:14                   ` Katsumi Yamaoka
2011-01-05 18:43                     ` Daiki Ueno
2011-01-06 13:12                     ` Dave Goldberg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=84tyhyhs1q.fsf@davestoy.home \
    --to=david.goldberg6@verizon.net \
    --cc=ding@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).