[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: Fri, 11 Feb 2011 09:21:05 +0100
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux)

Ted Zlatanov <address@hidden> writes:

Hi Ted,

> I have an important change to the auth-source API.  I am attaching a
> patch against the Emacs trunk (including Tramp) to change calls of
> `auth-source-user-or-password' to calls of `auth-source-search'.

This a problem for Tramp. It's upstream version is supposed to support
also older Emacsen, which do not know the changed auth-source.el.

We would need a compatibility function (preferred in tramp-compat.el),
which uses the new API if available, and falls back to the old API otherwise.

I also believe, that tramp-imap.el shall not use auth-source-*
directly. It might be better to use tramp-enter-password (or
tramp-read-passwd). Maybe we could clean it up.

> Thanks
> Ted

Best regards, Michael.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]