unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: Moritz Bunkus <moritz@bunkus.org>
Cc: 18943@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	[thread overview]
Message-ID: <87d28yhlcy.fsf@gmx.de> (raw)
In-Reply-To: <20141105110248.GG24501@bunkus.org> (Moritz Bunkus's message of "Wed, 5 Nov 2014 12:02:49 +0100")

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	other threads:[~2014-11-07 19:16 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-04  8:33 bug#18943: 24.4; Cannot jump to bookmark with tramp-via-proxy Moritz Bunkus
     [not found] ` <handler.18943.B.141509007015217.ack@debbugs.gnu.org>
2014-11-05 11:02   ` bug#18943: Acknowledgement (24.4; Cannot jump to bookmark with tramp-via-proxy) Moritz Bunkus
2014-11-07 19:16     ` Michael Albinus [this message]
2014-11-07 20:06       ` Moritz Bunkus
2014-11-07 20:18         ` Michael Albinus

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=87d28yhlcy.fsf@gmx.de \
    --to=michael.albinus@gmx.de \
    --cc=18943@debbugs.gnu.org \
    --cc=moritz@bunkus.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).