[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#17425: 24.4.50; tramp-cleanup-this-connection on push-button
From: |
Michael Albinus |
Subject: |
bug#17425: 24.4.50; tramp-cleanup-this-connection on push-button |
Date: |
Mon, 12 May 2014 13:02:59 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
Stefan Monnier <monnier@iro.umontreal.ca> writes:
>>>> ! (if (and (not (file-remote-p default-directory))
>>>> ! (file-accessible-directory-p default-directory))
>
> I think the test should be along the lines of
> unhandled-file-name-directory.
Maybe it is time to extend the semantics of
`file-accessible-directory-p'. When FILENAME is remote, Tramp's (or any
other) respective handler would return nil if there isn't an established
connection. IOW, Tramp wouldn't open a non-existing connection.
By this, we could just test `(file-accessible-directory-p default-directory)'
without the threat to damage other packages like url-handlers.el.
> Stefan
Best regards, Michael.
- bug#17425: 24.4.50; tramp-cleanup-this-connection on push-button, (continued)
- bug#17425: 24.4.50; tramp-cleanup-this-connection on push-button, Glenn Morris, 2014/05/08
- bug#17425: 24.4.50; tramp-cleanup-this-connection on push-button, Sam Steingold, 2014/05/08
- bug#17425: 24.4.50; tramp-cleanup-this-connection on push-button, Michael Albinus, 2014/05/08
- bug#17425: 24.4.50; tramp-cleanup-this-connection on push-button, Glenn Morris, 2014/05/08
- bug#17425: 24.4.50; tramp-cleanup-this-connection on push-button, Michael Albinus, 2014/05/08
- bug#17425: 24.4.50; tramp-cleanup-this-connection on push-button, Michael Albinus, 2014/05/08
- bug#17425: 24.4.50; tramp-cleanup-this-connection on push-button, Glenn Morris, 2014/05/08
- bug#17425: 24.4.50; tramp-cleanup-this-connection on push-button, Michael Albinus, 2014/05/08
- bug#17425: 24.4.50; tramp-cleanup-this-connection on push-button, Michael Albinus, 2014/05/09
- bug#17425: 24.4.50; tramp-cleanup-this-connection on push-button, Stefan Monnier, 2014/05/09
- bug#17425: 24.4.50; tramp-cleanup-this-connection on push-button,
Michael Albinus <=
- bug#17425: 24.4.50; tramp-cleanup-this-connection on push-button, Stefan Monnier, 2014/05/12
- bug#17425: 24.4.50; tramp-cleanup-this-connection on push-button, Michael Albinus, 2014/05/12
- bug#17425: 24.4.50; tramp-cleanup-this-connection on push-button, Stefan Monnier, 2014/05/12
- bug#17425: 24.4.50; tramp-cleanup-this-connection on push-button, Michael Albinus, 2014/05/12
- bug#17425: 24.4.50; tramp-cleanup-this-connection on push-button, Michael Albinus, 2014/05/12
- bug#17425: 24.4.50; tramp-cleanup-this-connection on push-button, Stefan Monnier, 2014/05/12
- bug#17425: 24.4.50; tramp-cleanup-this-connection on push-button, Michael Albinus, 2014/05/13
- bug#17425: 24.4.50; tramp-cleanup-this-connection on push-button, Stefan Monnier, 2014/05/13