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: Sun, 13 Feb 2011 08:07:49 -0600	[thread overview]
Message-ID: <87sjvs58p6.fsf@lifelogs.com> (raw)
In-Reply-To: <87r5bcj1hp.fsf@lifelogs.com>

[-- Attachment #1: Type: text/plain, Size: 639 bytes --]

On Sat, 12 Feb 2011 17:07:30 -0600 Ted Zlatanov <tzz@lifelogs.com> wrote: 

TZ> On Sat, 12 Feb 2011 17:19:30 -0500 Michael Piotrowski <mxp@dynalabs.de> wrote: 
MP> No, I checked this.  I'm using XEmacs 21.4.22; according to the
MP> documentation, GNU Emacs' `plist-get' "accepts a malformed plist
MP> argument".  This is not the case in XEmacs--maybe that's the problem?

TZ> Yeah.  I can't fix it for a while but if someone with XEmacs access
TZ> wants to take a shot at it, go ahead.  Sorry for the trouble.

Try out the attached patch and let me know if it works for you.  If so I
will commit it (it's harmless otherwise).

Thanks
Ted


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: auth-plist-xemacs.patch --]
[-- Type: text/x-diff, Size: 634 bytes --]

diff --git a/lisp/auth-source.el b/lisp/auth-source.el
index b7a7b41..d0ca4a2 100644
--- a/lisp/auth-source.el
+++ b/lisp/auth-source.el
@@ -333,7 +333,10 @@ If the value is not a list, symmetric encryption will be used."
 Using the plist ENTRY, get the :host, :protocol, and :user search
 parameters.  Accepts :port as an alias to :protocol.  Sets all
 the parameters to t if they are missing."
-  (let (val)
+  (let ((entry (if (stringp entry)
+                   nil
+                 entry))
+        val)
     (when (setq val (plist-get entry :host))
       (oset backend host val))
     (when (setq val (plist-get entry :user))

  reply	other threads:[~2011-02-13 14:07 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
2011-02-12 22:19   ` Michael Piotrowski
2011-02-12 23:07     ` Ted Zlatanov
2011-02-13 14:07       ` Ted Zlatanov [this message]
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=87sjvs58p6.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).