Ted Zlatanov <[email protected]> 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. _______________________________________________ Tramp-devel mailing list [email protected] http://lists.gnu.org/mailman/listinfo/tramp-devel
