[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: auth-source.el API change: Gnus and Emacs sync
From: |
Michael Albinus |
Subject: |
Re: auth-source.el API change: Gnus and Emacs sync |
Date: |
Sat, 12 Feb 2011 15:05:35 +0100 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) |
Ted Zlatanov <address@hidden> writes:
> TZ> How about this:
>
> TZ> (setq auth-info
> TZ> (tramp-compat-funcall
> TZ> 'auth-source-search
> TZ> :max 1
> TZ> :user (or tramp-current-user t)
> TZ> :host tramp-current-host
> TZ> :port tramp-current-method))
>
> TZ> That will match any user if tramp-current-user is nil.
>
> Michael, I'll wait for your reply before comitting my patch in Emacs.
> The backwards compatible wrapper of `auth-source-user-or-password'
> should be OK until then.
Sorry, I have overlooked your previous message. The patch looks OK.
> Thanks
> Ted
Best regards, Michael.