Gnus development mailing list
 help / color / mirror / Atom feed
From: Ted Zlatanov <tzz@lifelogs.com>
To: ding@gnus.org
Subject: Re: auth-sources default
Date: Sat, 12 Feb 2011 15:41:42 -0600	[thread overview]
Message-ID: <87vd0phqw9.fsf@lifelogs.com> (raw)
In-Reply-To: <x6k4h5vuva.fsf@dynalabs.de>

On Sat, 12 Feb 2011 15:52:09 -0500 Michael Piotrowski <mxp@dynalabs.de> 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




  reply	other threads:[~2011-02-12 21:41 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-12 20:52 Michael Piotrowski
2011-02-12 21:41 ` Ted Zlatanov [this message]
2011-02-12 22:19   ` Michael Piotrowski
2011-02-12 23:07     ` Ted Zlatanov
2011-02-13 14:07       ` Ted Zlatanov
2011-02-14 15:19         ` Ted Zlatanov
2011-02-14 18:46           ` Michael Piotrowski
2011-02-14 21:09             ` Ted Zlatanov

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=87vd0phqw9.fsf@lifelogs.com \
    --to=tzz@lifelogs.com \
    --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).