GNU bug report logs - #18943
24.4; Cannot jump to bookmark with tramp-via-proxy

Previous Next

Package: emacs;

Reported by: Moritz Bunkus <moritz <at> bunkus.org>

Date: Tue, 4 Nov 2014 08:35:02 UTC

Severity: normal

Found in version 24.4

Done: Michael Albinus <michael.albinus <at> gmx.de>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Moritz Bunkus <moritz <at> bunkus.org>
Cc: 18943 <at> debbugs.gnu.org
Subject: bug#18943: Acknowledgement (24.4; Cannot jump to bookmark with tramp-via-proxy)
Date: Fri, 07 Nov 2014 20:16:45 +0100
Moritz Bunkus <moritz <at> 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 <at> spector|sudo:root <at> 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.




This bug report was last modified 10 years and 282 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.