>>>>> Ted Zlatanov wrote: > I've checked in a new version of auth-source.el that supports secrets.el > and should be backwards compatible with the old auth-sources format. > The manual auth.texi was also updated.
> Michael, I left a TODO in the manual for explaining secrets.el. Now `auth-sources' defaults to `((:source "~/.authinfo.gpg"))', which causes `auth-source-pick' to perform: (plist-get "~/.authinfo.gpg" :secrets) Emacs 22/23/24 returns nil for it, however it makes Emacs 21 and XEmacs cause an error and prevents Gnus from starting. This workaround makes it work:
--- auth-source.el~ 2010-03-28 21:49:05 +0000 +++ auth-source.el 2010-03-29 04:58:50 +0000 @@ -214,7 +214,7 @@ (dolist (choice auth-sources) (let* ((s (plist-get choice :source)) ;; this is only set for Secret Service API specs (see secrets.el) - (coll (plist-get s :secrets)) + (coll (and (consp s) (plist-get s :secrets))) (score 0)) (cond (coll ; use secrets.el here
_______________________________________________ Tramp-devel mailing list [email protected] http://lists.gnu.org/mailman/listinfo/tramp-devel
