From: Ted Zlatanov <tzz@lifelogs.com>
To: emacs-devel@gnu.org
Subject: Re: master 516ce2c: * lisp/net/tramp.el (tramp-clear-passwd): Call also `auth-source-forget'.
Date: Wed, 21 Sep 2016 10:23:25 -0400 [thread overview]
Message-ID: <87a8f1e3he.fsf@lifelogs.com> (raw)
In-Reply-To: 20160921100021.1480D22016F@vcs.savannah.gnu.org
On Wed, 21 Sep 2016 10:00:20 +0000 (UTC) Michael.Albinus@gmx.de (Michael Albinus) wrote:
MA> + ;; `auth-source-forget' has been obsoleted with Emacs 24.1. But
MA> + ;; there is no known replacement.
MA> + (when (fboundp 'auth-source-forget)
MA> + (auth-source-forget
MA> + `(:max 1
MA> + :user ,(or (tramp-file-name-user vec) t)
MA> + :host ,(tramp-file-name-host vec)
MA> + :port ,(tramp-file-name-method vec))))
MA> (password-cache-remove
MA> (tramp-make-tramp-file-name
MA> (tramp-file-name-method vec)
Hi Michael,
I think there's some confusion, here's auth-source.el:
(make-obsolete 'auth-source-forget-user-or-password
'auth-source-forget "Emacs 24.1")
So `auth-source-forget' is the new interface for
`auth-source-forget-user-or-password'. It's not obsolete. Does that help?
Thanks
Ted
next parent reply other threads:[~2016-09-21 14:23 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20160921100020.23173.12603@vcs.savannah.gnu.org>
[not found] ` <20160921100021.1480D22016F@vcs.savannah.gnu.org>
2016-09-21 14:23 ` Ted Zlatanov [this message]
2016-09-21 14:52 ` master 516ce2c: * lisp/net/tramp.el (tramp-clear-passwd): Call also `auth-source-forget' Michael Albinus
2016-09-22 10:59 ` Ted Zlatanov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87a8f1e3he.fsf@lifelogs.com \
--to=tzz@lifelogs.com \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).