all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Re: master 516ce2c: * lisp/net/tramp.el (tramp-clear-passwd): Call also `auth-source-forget'.
       [not found] ` <20160921100021.1480D22016F@vcs.savannah.gnu.org>
@ 2016-09-21 14:23   ` Ted Zlatanov
  2016-09-21 14:52     ` Michael Albinus
  0 siblings, 1 reply; 3+ messages in thread
From: Ted Zlatanov @ 2016-09-21 14:23 UTC (permalink / raw)
  To: emacs-devel

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




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: master 516ce2c: * lisp/net/tramp.el (tramp-clear-passwd): Call also `auth-source-forget'.
  2016-09-21 14:23   ` master 516ce2c: * lisp/net/tramp.el (tramp-clear-passwd): Call also `auth-source-forget' Ted Zlatanov
@ 2016-09-21 14:52     ` Michael Albinus
  2016-09-22 10:59       ` Ted Zlatanov
  0 siblings, 1 reply; 3+ messages in thread
From: Michael Albinus @ 2016-09-21 14:52 UTC (permalink / raw)
  To: emacs-devel

Ted Zlatanov <tzz@lifelogs.com> writes:

> Hi Michael,

Hi Ted,

> 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?

Silly me, I didn't read carefully. Will fix it in Tramp.

Since Tramp 2.3 still supports Emacs 23, I'll need to add the call of
`auth-source-forget-user-or-password'. Will do.

> Thanks
> Ted

Best regards, Michael.



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: master 516ce2c: * lisp/net/tramp.el (tramp-clear-passwd): Call also `auth-source-forget'.
  2016-09-21 14:52     ` Michael Albinus
@ 2016-09-22 10:59       ` Ted Zlatanov
  0 siblings, 0 replies; 3+ messages in thread
From: Ted Zlatanov @ 2016-09-22 10:59 UTC (permalink / raw)
  To: emacs-devel

On Wed, 21 Sep 2016 16:52:43 +0200 Michael Albinus <michael.albinus@gmx.de> wrote: 

MA> Silly me, I didn't read carefully. Will fix it in Tramp.

MA> Since Tramp 2.3 still supports Emacs 23, I'll need to add the call of
MA> `auth-source-forget-user-or-password'. Will do.

Great! I figured it was just a misunderstanding. Thanks for working on it.

Ted




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-09-22 10:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20160921100020.23173.12603@vcs.savannah.gnu.org>
     [not found] ` <20160921100021.1480D22016F@vcs.savannah.gnu.org>
2016-09-21 14:23   ` master 516ce2c: * lisp/net/tramp.el (tramp-clear-passwd): Call also `auth-source-forget' Ted Zlatanov
2016-09-21 14:52     ` Michael Albinus
2016-09-22 10:59       ` Ted Zlatanov

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.