GNU bug report logs - #48397
28.0.50; Wrong URL from C-c C-v in html-mode over Tramp

Previous Next

Package: emacs;

Reported by: Jean Louis <bugs <at> gnu.support>

Date: Thu, 13 May 2021 13:21:01 UTC

Severity: minor

Found in version 28.0.50

Fixed in version 28.1

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

Bug is archived. No further changes may be made.

Full log


Message #8 received at 48397 <at> debbugs.gnu.org (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Jean Louis <bugs <at> gnu.support>
Cc: 48397 <at> debbugs.gnu.org
Subject: Re: bug#48397: 28.0.50; Wrong URL from C-c C-v in html-mode over Tramp
Date: Thu, 13 May 2021 16:17:57 +0200
Jean Louis <bugs <at> gnu.support> writes:

Hi,

> I am observing a situation where I have opened HTML file over Tramp, and
> pressed C-c C-v forpr preview, then I get following URL opened up in the
> browser:
>
> ftp://scp/motorolausb:/data/data/com.termux/files/home/index.html
>
> I don't know if this is right strategy that Tramp connection over `scp'
> should be constructed as `ftp' connection in the browser, with /scp at
> first place, this also makes no sense.

That looks wrong. What is the file name you have tried to visit?

> IMHO, in case of Tramp mode, I suggest that `html-mode' uses some
> temporary file for the preview.

Perhaps. But there is the problem that references to relative file names
are not expanded correctly.

Best regards, Michael.




This bug report was last modified 3 years and 338 days ago.

Previous Next


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