bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#18943: Acknowledgement (24.4; Cannot jump to bookmark with tramp-via


From: Michael Albinus
Subject: bug#18943: Acknowledgement (24.4; Cannot jump to bookmark with tramp-via-proxy)
Date: Fri, 07 Nov 2014 20:16:45 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

Moritz Bunkus <moritz@bunkus.org> writes:

> Hey,

Hi Moritz,

> I've attempted to trace the problem. It happens inside
> bookmark-default-handler when it calls (file-readable-p file). Therefore
> the test case can be boiled down to:
>
> (file-readable-p "/sshx:mbunkus@spector|sudo:root@spector:/etc/fstab")
>
> This function call returns t if there's already a tramp connection open
> with the very same host & proxy. It errors if there's no tramp
> connection open yet.

Could you pls test the following patch?

--8<---------------cut here---------------start------------->8---
*** /home/albinus/src/tramp/lisp/tramp.el.~master~      2014-11-07 
20:13:32.146821148 +0100
--- /home/albinus/src/tramp/lisp/tramp.el       2014-11-07 20:04:49.733712206 
+0100
***************
*** 3919,3925 ****
                  (tramp-file-name-method vec)
                  (tramp-file-name-user vec)
                  (tramp-file-name-host vec)
!                 (tramp-file-name-localname vec))
                 (intern suffix))))
                (remote-uid
                 (tramp-get-connection-property
--- 3919,3926 ----
                  (tramp-file-name-method vec)
                  (tramp-file-name-user vec)
                  (tramp-file-name-host vec)
!                 (tramp-file-name-localname vec)
!                 (tramp-file-name-hop vec))
                 (intern suffix))))
                (remote-uid
                 (tramp-get-connection-property
--8<---------------cut here---------------end--------------->8---

> Kind regards,
> mosu

Best regards, Michael.





reply via email to

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