From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/76567 Path: news.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.tramp,gmane.emacs.gnus.general,gmane.emacs.devel Subject: Re: auth-source.el API change: Gnus and Emacs sync Date: Fri, 11 Feb 2011 09:21:05 +0100 Message-ID: <87k4h7dlse.fsf@gmx.de> References: <87oc6j8qjt.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1297412488 30351 80.91.229.12 (11 Feb 2011 08:21:28 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 11 Feb 2011 08:21:28 +0000 (UTC) Cc: tramp-devel@mail.freesoftware.fsf.org, ding@gnus.org, emacs-devel@gnu.org To: Ted Zlatanov Original-X-From: tramp-devel-bounces+get-tramp-devel=m.gmane.org@gnu.org Fri Feb 11 09:21:24 2011 Return-path: Envelope-to: get-tramp-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PnoFl-0001zd-DT for get-tramp-devel@m.gmane.org; Fri, 11 Feb 2011 09:21:21 +0100 Original-Received: from localhost ([127.0.0.1]:45504 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PnoFk-00076o-S0 for get-tramp-devel@m.gmane.org; Fri, 11 Feb 2011 03:21:20 -0500 Original-Received: from [140.186.70.13] (port=44488 helo=mail.fsf.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PnoFf-0006ud-7l for tramp-devel@mail.freesoftware.fsf.org; Fri, 11 Feb 2011 03:21:17 -0500 Original-Received: from mailout-de.gmx.net ([213.165.64.22]:36352) by mail.fsf.org with smtp (Exim 4.69) (envelope-from ) id 1PnoFe-0003rR-Pw for tramp-devel@mail.freesoftware.fsf.org; Fri, 11 Feb 2011 03:21:15 -0500 Original-Received: (qmail invoked by alias); 11 Feb 2011 08:21:13 -0000 Original-Received: from p57BB9277.dip0.t-ipconnect.de (EHLO detlef.gmx.de) [87.187.146.119] by mail.gmx.net (mp004) with SMTP; 11 Feb 2011 09:21:13 +0100 X-Authenticated: #3708877 X-Provags-ID: V01U2FsdGVkX198HTY1bL58HQ6GK7scIo9lOUC6OYTsLGLluEpfJO 7oQdX4pefYP9Kj User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) X-Y-GMX-Trusted: 0 X-detected-operating-system: by mail.fsf.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: tramp-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: tramp-devel.gnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: tramp-devel-bounces+get-tramp-devel=m.gmane.org@gnu.org Errors-To: tramp-devel-bounces+get-tramp-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.tramp:7643 gmane.emacs.gnus.general:76567 gmane.emacs.devel:135875 Archived-At: Ted Zlatanov 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.